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.
11 years, 2 months ago.
Compiler Error setting PwmOut period in main on FRDM-KL25Z
""/extras/mbed_5e5da4a5990b/LPC1768/ARM/LPC1768.sct", line 4 (column 9): Error: L6235E: More than one section matches selector - cannot all be FIRST/LAST." in file "/"
Did this on FRDM-KL25Z :
PwmOut rled(LED_RED);
int main(void) { rled.period(0.0010);
. . . }
1 Answer
11 years, 2 months ago.
I had inadvertently brought in the actual mbed header files to take a look at them and forgot to move the directory to an archive. My error! ;-) BTW I'm new to the online mbed compiler/SDE. Does mbed publish their actual API source code anywhere?
As I remember, look for mbed src in the online libraries or there are sources on github - github - http://github.com/mbedmicro/
posted by 01 Sep 2013
Hello Brendan Graham,
as you could spot the linker error which states the application included sources from LPC1768. Verify you did not include mbed sources for another target. How did you create your project and what did you include?
Regards, 0xc0170
posted by Martin Kojtal 01 Sep 2013