(Eclipse)(STM32) STM32在Eclipse編程


 

因為Keil需要破解才能compile超過32K大小的程式碼,最近在STM32上使用Lua Lib。

所以輕易就超過32K了,萌生想換IDE的想法。之後轉到Ubuntu 應該也能越來越適應。

首先安裝Eclipse必須先安裝jave jre

1. Java jre

2. Eclipse下載安裝

3. ARM Eclipse Plug-in 在 Help --> Install New Software --> Add (GUN ARM Eclipse Plug-in)

4. Open on Chip Debug (OpenOCD)

5. C/C++ Development Tooling (CDT)

6. GUN Toolchain (GUN ARM Embedded Toolchain)

從0開始配置的話大概是需要這幾項東西,其中 3、5巷可以透過Eclipse (Install New Software) 安裝。

在 Eclipse 建立完 project 再來就適配置 Debugger 和 下載Packs

Download Device

 

 

Debug Configurations

Project Setting - Device Select

Project Setting - Tool Chain Editor

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM