Running Linker
clnk -m Debug\anttest.map -l"C:\Program Files\STMicroelectronics\st_toolset\CXSTM8_V434\Lib" -o Debug\anttest.sm8 Debug\anttest.lkf
#error clnk Debug\anttest.lkf:1 symbol _GPIO_Init not defined (Debug\main.o )
#error clnk Debug\anttest.lkf:1 symbol _GPIO_Write not defined (Debug\main.o )
The command: "clnk -m Debug\anttest.map -l"C:\Program Files\STMicroelectronics\st_toolset\CXSTM8_V434\Lib" -o Debug\anttest.sm8 Debug\anttest.lkf " has failed, the returned value is: 1
exit code=1.
STM 8L discovery含
1.STM8L152C6T6 microcontroller, 32 KB Flash,2 KB RAM, 1 KB EEPROM in 48-pin LQFP(12-bit ADC up to 1 Msps/25 channels)(10pc unit price 90nt/pc)
2.On-board ST-Link with selection mode switch to use the kit as a stand-alone ST-Link (with SWIM connector for programming anddebugging)
3.LCD 28-pin DIP (24 segments, 4 commons)
ST-Link 2與On-board ST-Link不同是有JTAG supported
On-board ST-Link只有– SWD and serial wire viewer (SWV) communication supported
stm32 用ST-Link 2比較合適(JTAG)
開發板基於STM8L152C6T6 設計,開發板還集成了ST-LINK仿真下載器(但僅對外提供SWIM接口),免除您另外採購仿真器或下載器的麻煩。
讓您更快速的入門STM8L單片機。一起來釋放您的創造力吧!
特點
· 採用超低功耗的STM8L152C6T6微控制器
o 32 KB FLASH,2 KB RAM,1 KB EEPROM
o 48引腳,LQFP封裝
· 開發板集成ST-LINK的仿真調試器(但僅對外提供SWIM接口)
· 指示燈
o LD1:USB通訊指示燈
o LD2:3.3V電源指示燈
o LD3:應用指示燈
o LD4:應用指示燈
· 按鍵
o 復位按鈕
o 應用按鈕
· 電源
o 通過USB取電5V(系統通過穩壓芯片轉換3.3V)
o 可對外供電5V和3.3V
· 顯示LCD
o 28-pin DIP
o 24 段, 4 個公共
· IDD電流檢測
· 規則的引出了所有IO口,方便做相關實驗