Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I am trying to compile offline with mbed-cli using the following commands:
Commands
mbed import http://mbed.org/teams/MultiTech/code/Dot-Examples/ cd Dot-Examples mbed config -G GCC_ARM_PATH "C:\Program Files (x86)\GNU Tools ARM Embedded\6 2017-q2-update\bin" mbed config target mts_mdot_f411re mbed toolchain GCC_ARM mbed add http://mbed.org/teams/MultiTech/code/libxDot-mbed5/ mbed compile -t GCC_ARM -m mts_mdot_f411re
profile mbed-os/tools/profiles/debug.jsonThis produces many linker errors. Has anybody successfuly compiled Dot-Examples using mbed-cli? How?
Link errors
Link: Dot-Examples ./libxDot-mbed5\libxDot-GCC_ARM.a(stm32l1xx_hal_flash_ex.o): In function `HAL_FLASHEx_OBProgram': stm32l1xx_hal_flash_ex.c:(.text.HAL_FLASHEx_OBProgram+0x0): multiple definition of `HAL_FLASHEx_OBProgram' ./BUILD/mts_mdot_f411re/GCC_ARM/mbed-os/targets/TARGET_STM/TARGET_STM32F4/device/stm32f4xx_hal_flash_ex.o:F:\Dev\stm32\dot-examples\Dot-Examples/.\mbed-os\targets\TARGET_STM\TARGET_STM32F4\device/stm32f4xx_hal_flash_ex.c:303: first defined here ./libxDot-mbed5\libxDot-GCC_ARM.a(stm32l1xx_hal_flash_ex.o): In function `HAL_FLASHEx_OBGetConfig': stm32l1xx_hal_flash_ex.c:(.text.HAL_FLASHEx_OBGetConfig+0x0): multiple definition of `HAL_FLASHEx_OBGetConfig'
....