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.
10 years, 3 months ago.
Compile error for Xadow m0
Am trying to compile for the Xadow m0 and getting the following error:
Error: "/extras/mbed_6213f644d804/TARGET_XADOW_M0/TOOLCHAIN_ARM_MICRO/LPC11U35.sct", line 4 (column 9): Error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.
Question relating to:
2 Answers
10 years, 3 months ago.
Hi Haiyan,
I got the same error when updating to the latest mbed lib (revision 87). When switching to revision 86, it is ok. You can use mbed lib revision 86 at the moment. Sorry for the inconvenience.
I will track the issue and try to get it solved.
Yihui
Hi Yihui,
This is probably same issue which nRF51822 variant targets had. You can refer following fix.
https://github.com/mbedmicro/mbed/commit/4cb75a3fbb083ffd4a56484a93c5daf0fe3218fd
Regards, Toyo
posted by 11 Aug 2014Hi Toyo,
Thanks. I think it's the same. That's helpful. It seems mbed build scripts has changed. Creating a new TARGET_NEW by inheriting a TARGET_ORIGIN in workspace_tools/target.py will get this issue. The build scripts will generate TARGET_NEW and TARGET_ORIGIN folders with the same contents. It's likely the reason of this issue.
Best, Yihui
posted by 11 Aug 201410 years, 1 month ago.
Hello Yihui,
Did you get this working? Is this the code related to making GATT calls from a Zadow controller connected to a BLE device? I'm trying to figure out how to get a Zadowm M0 controller to advertise itself correct using GATT to an iOS or Android device. Can you help shed some light in this area?
Hi Enrico,
The compile error bug is fixed in the latest mbed library.
Are you using a Xadow M0 and a Xadow BLE to communicate with an iOS or Android device? If it is the case, we can use AT command to set the Xadow BLE as a slave, then iOS or Android can connect the slave device and exchange data with it, the Xadow M0 can read/write data through the UART which is connected with the Xadow BLE
posted by 28 Sep 2014
Hi there, are you using mbed-src or mbed library. If mbed lib, what revision?
posted by Martin Kojtal 10 Aug 2014Hi Martin, mbed lib - revision 87
The sample code here for example does not compile with the new revision: http://mbed.org/teams/Seeed/code/xadow_m0_blinky/?platform=Seeed-Xadow-M0
posted by Haiyan Zhang 10 Aug 2014Updated:
There is another bug - the online compiler outputs a invalid binary without a checksum code for Xadow M0. Before we get these bugs fixed, please use http://mbed.org/platforms/TG-LPC11U35-501/ as the target.
posted by Yihui Xiong 13 Aug 2014