Jelajahi Sumber

add bsp/stm32l010rb-nucleo, fix some pr suggest.

xupenghu_huaweipc 5 tahun lalu
induk
melakukan
3b20282e13

+ 1 - 0
.travis.yml

@@ -107,6 +107,7 @@ env:
   - RTT_BSP='stm32/stm32h743-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
   - RTT_BSP='stm32/stm32h747-st-discovery' RTT_TOOL_CHAIN='sourcery-arm'
   - RTT_BSP='stm32/stm32l4r9-st-eval' RTT_TOOL_CHAIN='sourcery-arm'
+  - RTT_BSP='stm32/stm32l010-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm' 
   - RTT_BSP='stm32/stm32l053-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
   - RTT_BSP='stm32/stm32l432-st-nucleo' RTT_TOOL_CHAIN='sourcery-arm'
   - RTT_BSP='stm32/stm32l475-atk-pandora' RTT_TOOL_CHAIN='sourcery-arm'

+ 1 - 1
bsp/stm32/stm32l010-st-nucleo/README.md

@@ -29,7 +29,7 @@ NUCLEO-L010RB 开发板是 ST 官方推出的一款基于 ARM Cortex-M0+ 内核
 	- 20KB RAM
 	- 512 byte EEPROM
 - 常用外设
-  - LED:3个,USB communication(LD1 双色),power LED(LD3 红色),user LED(LD2 黄色)
+  - LED:3个,USB communication(LD1 双色),power LED(LD3 红色),user LED(LD2 黄色)
   - 按键:1个,B1(兼具唤醒功能,PC13),B2(RESET)
 - 常用接口:USB 支持 3 种不同接口:虚拟 COM 端口、大容量存储和调试端口;arduino 接口等
 - 调试接口:标准 SWD

+ 1 - 1
bsp/stm32/stm32l010-st-nucleo/board/linker_scripts/link.icf

@@ -26,4 +26,4 @@ do not initialize  { section .noinit };
 place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
 
 place in ROM_region   { readonly };
-place in RAM_region   { readwrite, last block CSTACK};
+place in RAM_region   { readwrite, last block CSTACK};