Hello,
I am trying to build the factory firmware for the MTDOT-BOX using the mbed CLI and I am running into a lot of linker errors that seem to be related to the mDot library for mbed 5.
After first configuring mbed CLI I then imported the project using the following:
mbed import https://os.mbed.com/teams/MultiTech/code/MTDOT-BOX-EVB-Factory-Firmware/
I then compiled the project using the following:
mbed compile -t GCC_ARM -m MTS_MDOT_F411RE
There were some warnings generated during compiling but it did compile successfully. However there are a large number of “undefined reference to” errors which all appear to be symbols that should be present in the mDot library (libmDot-GCC_ARM.a). As far as I can tell, that library is being linked in, but I’m wondering if it is not compatible with the toolchain that I am using (arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors 6-2017-q2-update) 6.3.1 20170620 (release) [ARM/embedded-6-branch revision 249437])
An excerpt of the mbed CLI output is as follows:
`…
Compile [ 99.4%]: us_ticker.c
Compile [ 99.7%]: stm_spi_api.c
Compile [100.0%]: test_env.cpp
Link: MTDOT-BOX-EVB-Factory-Firmware
./BUILD/MTS_MDOT_F411RE/GCC_ARM/./main.o: In function `mainMenu()’:
main.cpp:(.text._Z8mainMenuv+0xa2): undefined reference to `mDot::FrequencyBandStr[abi:cxx11](unsigned char)’
./BUILD/MTS_MDOT_F411RE/GCC_ARM/CommandTerminal/CmdData.o: In function `CmdData::action(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >)’:
…`
Can anyone suggest what I could be doing wrong here?
Thank you.