Compiling on OSX for Adafruit STM32F405 Feather Express
Compiling on OSX for Adafruit STM32F405 Feather Express
Hi - are there any recent guides on setting up a development environment on OSX so that I can compile for the Adafruit STM32F405 Feather Express board? I have done it about a year ago but can't find my build notes.
Re: Compiling on OSX for Adafruit STM32F405 Feather Express
I was able to get part way through compiling:
Before it failed:
Code: Select all
cd mpy-cross
make
cd ../ports/stm32
make BOARD=ADAFRUIT_F405_EXPRESS
Code: Select all
CC ../../lib/oofatfs/ffunicode.c
CC build-ADAFRUIT_F405_EXPRESS/pins_ADAFRUIT_F405_EXPRESS.c
LINK build-ADAFRUIT_F405_EXPRESS/firmware.elf
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_adc_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rtc_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_spi.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_utils.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sd.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_sdmmc.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_mmc.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sdram.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dcmi.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2s_ex.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/CMSIS/STM32F4xx/Source/Templates/gcc/startup_stm32f405xx.o: No such file or directory
arm-none-eabi-ld: cannot find build-ADAFRUIT_F405_EXPRESS/lib/stm32lib/CMSIS/STM32F4xx/Source/Templates/system_stm32f4xx.o: No such file or directory
make: *** [build-ADAFRUIT_F405_EXPRESS/firmware.elf] Error 1
Re: Compiling on OSX for Adafruit STM32F405 Feather Express
I did a
and it worked
Code: Select all
make BOARD=ADAFRUIT_F405_EXPRESS clean
and
make BOARD=ADAFRUIT_F405_EXPRESS deploy