Created
September 23, 2013 19:34
-
-
Save CromFr/6675752 to your computer and use it in GitHub Desktop.
STM32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Projet STM32 F4 Disc en C++11 : http://forums.openpilot.org/topic/19613-stm32f4-antenna-tracker/ | |
Pinout : http://kornak.ca/parts/stm32-discovery-f4/Kornak-(STM32-Discovery-F4)-0001%20Rev%201.00%20Module%20Pinouts%20&%20Functions.xls | |
Contrôle bus SPI pour RF : http://eliaselectronics.com/stm32f4-tutorials/stm32f4-spi-tutorial/ | |
Installation toolchain & build des libs : http://sigalrm.blogspot.fr/2012/09/stm32f4-discovery-quick-start-guide.html | |
Tuto stm32 : http://jeremyherbert.net/get/stm32f4_getting_started | |
Compilation============================ | |
Fonctionne : | |
arm-none-eabi-gcc -g -O2 -Wall -Tstm32_flash.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 | |
-I. -I../STM32F4-Discovery_FW_V1.1.0/Utilities/STM32F4-Discovery -I../STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/Include -I../STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Include -I../STM32F4-Discovery_FW_V1.1.0/Libraries/STM32F4xx_StdPeriph_Driver/inc | |
main.c | |
system_stm32f4xx.c | |
../STM32F4-Discovery_FW_V1.1.0/Libraries/CMSIS/ST/STM32F4xx/Source/Templates/TrueSTUDIO/startup_stm32f4xx.s | |
-o blinky.elf | |
Ne fonctionne pas : | |
arm-none-eabi-gcc -g -O2 -Wall -Tstm32_flash.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 | |
-I/home/crom/Bureau/STM32Env/include/ | |
main.c | |
-o main.elf | |
PDF sur les proco ARM: http://www.state-machine.com/arm/Building_bare-metal_ARM_with_GNU.pdf | |
Explique aussi comment réduite la taille d'un executable C++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment