bernard 296d57e859 [BSP] remove components.h file. 8 năm trước cách đây
..
Libraries b4de7cce57 Re-normalizing the repo 13 năm trước cách đây
applications 296d57e859 [BSP] remove components.h file. 8 năm trước cách đây
drivers 296d57e859 [BSP] remove components.h file. 8 năm trước cách đây
SConscript 8c2a11c234 update stm32f10x project directory structure. 12 năm trước cách đây
SConstruct 8c2a11c234 update stm32f10x project directory structure. 12 năm trước cách đây
project.ewp 13c30f9269 update usart driver: use serial driver component. 12 năm trước cách đây
project.eww a183f1fbe9 update stm32f10x project. 12 năm trước cách đây
project.uvproj be895cc9b2 [BSP] update Keil MDK project file. 10 năm trước cách đây
project.uvprojx 09f698a209 add eth driver 8 năm trước cách đây
readme.txt 9b2b1bb4a1 [bsp] Add some descriptions and an English version about building project in readme.txt. 8 năm trước cách đây
rtconfig.h 5e3b3b19a6 [BSP] change the type of cmd. 8 năm trước cách đây
rtconfig.py fc2467a190 fix keil armcc compiling report "Error: expected an expression" 10 năm trước cách đây
stm32_rom.ld cc8301d0f1 update linker script for components auto initial. 12 năm trước cách đây
stm32_rom.sct 8109f9d59c revert stm32_rom.sct 14 năm trước cách đây
stm32f10x_flash.icf 573c294216 [BSP] Fix component initialization functions may be not sequential storage on ROM when used for IAR linker. 8 năm trước cách đây
template.ewp efeb6231be define RT_USING_RTT_CMSIS in rtconfig.h while using IAR 6.30+ 13 năm trước cách đây
template.uvproj fc2467a190 fix keil armcc compiling report "Error: expected an expression" 10 năm trước cách đây
template.uvprojx fc2467a190 fix keil armcc compiling report "Error: expected an expression" 10 năm trước cách đây

readme.txt

-- cn --
Ҫɹļ:
1. ޸ĵǰļ rtconfig.py :
CROSS_TOOL='keil' #ʹõĹ.
STM32_TYPE = 'STM32F10X_HD' #STM32Ӧͺ.
EXEC_PATH = 'C:/Keil' #Keilװ·.
IAR_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' #IARװ·.
2. ޸ĵǰļ rtconfig.h ҪĹ.
3. MDKڵǰļִ scons --target=mdk scons --target=mdk4 MDK 4ļ project.uvproj
ڵǰļִ scons --target=mdk5 MDK 5ļ project.uvprojx
IARڵǰļִ scons --target=iar IAR project.eww.
4. bsp\stm32f10x\driversboard.hSTM32_SRAM_SIZEֵ޸ΪоƬSRAMСһ.

note: Ҫװ python 2.7,scons.
οhttp://www.rt-thread.org/book/13.html
http://www.rt-thread.org/dokuwiki/doku.php?id=%E9%85%8D%E7%BD%AErt-thread%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83

-- en --
Generate project files as needed:
1. Modify the files in the current folder:
CROSS_TOOL='keil' #The tool chain in use.
STM32_TYPE = 'STM32F10X_HD' #The type of stm32.
EXEC_PATH = 'C:/Keil' #The installation path of the Keil.
IAR_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' #The installation path of the IAR.
2. Configure the required functionality by modifying rtconfig.h in the current folder.
3. MDK:Execute the scons --target=mdk or scons --target=mdk4 in the current folder to generate the MDK4 project project.uvproj.
Or execute the scons --target=mdk5 in the current folder to generate the MDK5 project project.uvprojx.
IAR:Execute the scons --target=iar in the current folder to generate the IAR project project.eww.
4. Change the value of STM32_SRAM_SIZE in board.h(bsp\stm32f10x\drivers) to match the chip SRAM size.

note:Need to install python 2.7 and scons.
For more information, please refer to the website http://www.rt-thread.org/book/13.html
and http://www.rt-thread.org/dokuwiki/doku.php?id=%E9%85%8D%E7%BD%AErt-thread%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83