Controller specific defines for STM
Posted: Mon Jan 18, 2021 11:35 am
Hello again,
I´d like to port some code which uses prcocessor specific defines like this ones:
__AVR_ATmega328P__ > AVR Mega 328
ESP8266 > ESP8266
__IMXRT1062__, ARDUINO_TEENSY41 > some Teensy boards
Which defines can I use when working with the STM32?
And can anyone tell me where I can find those defines? So I could search by myself.
For Arduino as an example I can find them in the gcc / Device-Specs Folder.
Dominik
I´d like to port some code which uses prcocessor specific defines like this ones:
__AVR_ATmega328P__ > AVR Mega 328
ESP8266 > ESP8266
__IMXRT1062__, ARDUINO_TEENSY41 > some Teensy boards
Which defines can I use when working with the STM32?
And can anyone tell me where I can find those defines? So I could search by myself.
For Arduino as an example I can find them in the gcc / Device-Specs Folder.
Dominik