Mbed: Failed to extract configuration for custom board

that was it! mbed does not report errors on the custom target any more.
I fixed the definition of BUTTON1 (and some other pin definitions, repo is updated). Compilation starts now, but compiling the files inside the TOOLCHAIN_* directories fails:

Compiling .pio\build\Clicker2_for_STM32\src\TARGET_STM32F407xG\device\TOOLCHAIN_GCC_ARM\startup_stm32f407xx.o
src\TARGET_STM32F407xG\device\TOOLCHAIN_ARM\startup_STM32F407xx.S: Assembler messages:
src\TARGET_STM32F407xG\device\TOOLCHAIN_ARM\startup_STM32F407xx.S:1: Error: junk at end of line, first unrecognized character is `*'
[...]
Compiling .pio\build\Clicker2_for_STM32\src\TARGET_STM32F407xG\device\TOOLCHAIN_IAR\startup_stm32f407xx.o
src\TARGET_STM32F407xG\device\TOOLCHAIN_ARM\startup_STM32F407xx.S:12: Error: junk at end of line, first unrecognized character is `*'
[...]
src\TARGET_STM32F407xG\device\TOOLCHAIN_ARM\startup_STM32F407xx.S:80: Error: bad instruction `dcd DMA1_Stream1_IRQHandler'

and many more lines like this. (I was following platform-ststm32/examples/mbed-rtos-custom-target at master · platformio/platform-ststm32 · GitHub setting up the project)

correct, I had an issue with pio update before but managed to solve it, and am now using mbed 6.2.0

1 Like