We can double-click the error and then automatically navigate to the error in the file stm32f10x.h where you can see the code:#if!defined (stm32f10x_ld) &&!defined (STM32F10X_LD_VL) &&!defined(STM32F10X_MD) &&!defined (STM32F10X_MD_VL) &&!defined
When you just took over STM32, you only write an int main () {while (1);} Build://program size:code=340 ro-data=252 rw-data=0 zi-data=1632 compiled, you will find that this program has used more than 1600 RAM, if the 51 SCM, the pain of death, Where
Q:
The role of the header file STM32F10X_SDIO.C.
Sometimes when adding a path, why not add src. In some projects, the role of each folder in a new project has been added.Core, Obj,stm32_fwlib (this is why the name changed when you added the group.) )
Do a project to write a small project, compile the title as shown by the error (L6236e:no section matches selector-no), Baidu on the internet, some people say that is the problem of startup files, so look at their own works, It's true: I'm using a
An in-depth understanding and application of C51 to standard Ansic is one of the keys to learning C51. Because most of the extension features are directed to the 8051 series CPU hardware. There are roughly 8 categories:
8051 storage type and
Do a project to write a small project, compile the error shown title (L6236e:no section matches selector-no section), Baidu on the internet a bit, some say is the issue of startup files, so look at their own projects, Yes: I'm using a medium-density
1. Hint unresolved EXTERNAL symbol symbol:? C
It is very likely that the corresponding code forgot to join the code group.
2, has been prompted me to repeat the definition of functions, search the Internet, it seems that only the variables of the
C Language
To learn a programming language, the most important thing is to establish an exercise environment where you can learn and practice well. Keil software is currently the most popular software for the development of 80C51 series single-chip microcomputer. Keil provides a complete development solution including C compiler, macro assembly, connector, library management, and a powerful simulation debug
:
CLASSPATH = $ CLASSPATH: $ TOSROOT/support/sdk/java/tinyos. jar :.
To automatically set TinyOS environment variables when shell is started
Sudo gedit ~ /. Bashrc
Add the following statement to the. bashrc file under $ HOME:
Source/opt/tinyos-2.1.1/tinyos. sh export CLASSPATH = $ TOSROOT/support/sdk/java/tinyos. jar :. finally, run tos-check-env to check whether you have correctly installed it.
2. Install Keil (K
Eclipse+cdt+yagarto+j-li; Open source development environment setup and commissioning; Chongqing e-mail: [Email protected] ; Document version: V1.0; release date: 2014-08-04; This document is based on the LGPL protocol, which is published on the basis of open source, because of the small information on the online open source MCU and microcontroller development platform, it is because of the keiluvision development environment of ARM company. ; Because Eclipse is a
Eclipse + CDT + Yagarto +
The stm32 microprocessor is based on the ARM core, so many ARM-based embedded development environments can be used on the stm32 development platform. Development tools can be used for stm32 development. Selecting an appropriate development environment can speed up development and reduce development costs. This chapter briefly introduces the commonly used development tools Keil MDK and IAR ewarm of stm32, and then explains how to use resources on the s
Header file path settings in keil4
It has been plagued by the path setting of the header file for a long time. Now I know it!
How to set the path of the header file in keil4:
Suppose there are several files:
Main. c Dong. c Peng. h
Both main. C and Dong. c depend on Peng. h. Their contents are as follows:
Main. C:
Absolute path: e: \ my_documents \ Keil \ C51 \ include \ FF \ dd \ UU
Dong. h:
Absolute path: e: \ my_documents \
Related articles: * Linux Configuration Stm32 Development Environment Overview
2017/7/9 UPDATEDhighly recommended use of Coide+gnu ARMG tool chain Development STM32, all is one-click to create a new complete project, not like in the Keil MDK modify the change that so troublesome, the most important is coide and GNU ARM Embedded Tooltrain are free, there is no infringement problem, Almost all projects under Keil
Document directory
4. Create a simulation Chip
5. Start Simulation
STC monitor51 simulator User Guide
1. Install the simulation driver of the Keil version.
2. Create a project in Keil
3. Set the project and select the STC simulation driver.
4. Create a simulation Chip
5. Start Simulation
1. Install the simulation driver of the Keil version
For examp
?EmWin for 12864 and port transplantSource code Download:rtx_emwin5.24_keil_vs2008-20141122.zip?Hardware environment:Cpu:stm32f103velcd:st7920 Controller 12864 and Port?Software Environment:Keil MDK4.74VS2008emWin5.24?Using the RTX operating system??1, the implementation of emWin5.24 in Keil and vs2008 the same code of the project, VS2008 catalog implementation on the official FMC Simulator simulation, Keil
The following is an example of a xplain STM32 (using the STM32F103ZET6 CPU) Development Board, which is used to migrate RTX to the board. In order to let people who have just come into contact with the system understand the entire porting process, a project will be re-established to add all the source code (including the RTX kernel) to the project, Instead of using the format of the RTX library.
1. Create a new folder (Rtx-stm32) with the following contents:
--
are also expressed using a 16-Bit Signed short integer. During the operation, 32-bit signed integer is sometimes used to improve the operation accuracy.
3. Type migration
As mentioned in the preceding section, to facilitate transplantation, the program variables in VC must be of the same type as the variables in the Keil code. Therefore, a typeext. h file of the Keil environment needs to be redefined i
Software:
Compiling keil720_newestProgramSoftware
Digital Display 1-8asm
HL-340 (USB to serial port)
Serial Communication
PDF
Word
Sst89e516rd and Keil software combined with simulation 51 microcontrollerThe most important part of single-chip microcomputer experiment and development is program debugging. In my spare time, most people use the method of burning and writing chips directly to the target board for
defined using the same port. And the computer to today, do not say notebook computers, now desktop computers have a few of the same port, and replaced by more and more USB interface. Then can you let JTAG support USB protocol, with USB interface to debug arm? This is going to be about Jlink and Ulink.Note: For the JTAG principle, please refer to the article "Jtag Debugging Principle".Jlink EmulatorJ-link is a JTAG-based emulator launched by the German Segger company. Simply put, is to give a JT
the detailed description.There is another situation, that is, we C language inside, in addition to expressions, there are constants, in practice, we are not 0 of the constant is considered to be true, only 0 think it is false, so we add a while (1), this number 1, can be changed to 2,3,4 ... and so on, it's a dead loop, Continuously executes the loop body statement, but if the number is changed to 0, then the statement of the loop body will not be executed.1.5 Simple Introduction to FunctionsTh
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.