uSTM32
STM32duino compile error (컴파일 오류발생시)
DIYworld
2018. 5. 22. 14:57
STM32duino 설치후 아두이노에서
컴파일 하면 에러 발생
할 경우가 있다.
원인은 ARM 컴파일러가 설치되지 않아서 임
따라서 컴파일러를 설치해 주면 해결
Compile error: "exec: "/bin/arm-none-eabi-g++": file does not exist
arduino - tool -> board manager로 간다.
나타나는 보드 목록에서
Arduinob SAM Boards (32bits ARM Cortex-M3)
를 설치해 준다.
http://thebcfactor.net/electronics/stm32-microcontrollers/stm32duino-setup/
또는 : https://www.onetransistor.eu/2017/11/stm32-bluepill-arduino-ide.html
http://dan.drown.org/stm32duino/package_STM32duino_index.json
https://github.com/stm32duino/BoardManagerFiles/raw/master/STM32/package_stm_index.json
Tools - Boards - Boards Manager.
==> STM32 and choose STM32F1xx for "blue pill"