7 years, 8 months ago.

Custom FRDM-K64F problem with mbed-dev

I made a custom board based on FRDM-K64F, which only has the main MCU. Thus, it is programmed from the SWD interface. I used to modify the mbed-src to change the clock source from internal clock. Now the mbed-src does not compile and produces error: Error: Undefined symbol serial_set_flow_control (referred from SerialBase.K64F.o).

It was suggested to use mbed-dev. But I cannot modify the same file to change the clock source. Anybody knows what should I do?

1 Answer

7 years, 8 months ago.

mbed-dev contains KSDK2 where mbed-src contained KSDK 1.x. I'd suggest modifying the equivalent file in mbed-dev if you are trying to keep somewhat up to date with incoming changes.

I modified line 103 from system_MK64F12.h from #define CLOCK_SETUP 2 to #define CLOCK_SETUP 4. Now this line and all its references in the same file has been removed from mbed-dev file. I even tried to add all those lines to mbed-dev file, but it didn't work. I assumed the changes in compiler shouldn't make compiling of the mbed-src impossible.

posted by Kasra Haghighi 08 Aug 2016