When using MDK5 to compile STM32, the newly added .c file needs to be added to the include Paths, otherwise an error will be reported during compilation.
When using STM8, IAR is used. The newly added .c file needs to add the header file path to options->c/c++ Compiler->Additional include directories under Preprocessor;
Otherwise, if you add the header file to the main function, an error will be reported: cannot open source file "xx.h" error
Previous article:STM8——printf()
Next article:STM8——IAR uses STLINK V2 to burn the program
- Popular Resources
- Popular amplifiers
- Learn ARM development(15)
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Smith Chart
- CC3200 LaunchPad Development Board IC Resources
- plc wireless remote control water and fertilizer integration + remote soil environment monitoring + cloud platform + smart irrigation + automatic spraying agricultural Internet of Things...
- Three considerations for selecting Ethernet for harsh industrial environments
- Simplify the design of automotive body motor controllers and quickly achieve lightweighting
- Analysis of Directivity and Directivity Coefficient of Microwave Antenna
- Does anyone know how to calculate the input power by first boosting the voltage and then reducing it?
- Remote control aircraft, electric vehicles, motorcycle anti-theft devices, flashlights, etc. single chip computer development
- Why do I/O ports of microcontrollers need drivers?
- Talking about modification, I added a HUD head-up display, and the effect is good!