Report
6 months, 2 weeks ago.

EXported to KDS, compile failed with K64F, p8 p9 not defined

Hello, all

I am newbie here.

I am working with this project:

https://github.com/ARMmbed/mbed-os-example-client

I tried to export this project with offline tool mbed, command like : mbed export -m K64F, -t GCC_ARM -j0 -c

But under the KDS environment, the project can not to be compiled with this error:

..\mbed-os\features\unsupported\tests\mbed\serial_interrupt_2\main.cpp:14:14: error: 'p9' was not declared in this scope Serial uartx(p9, p10); ^ ..\mbed-os\features\unsupported\tests\mbed\serial_interrupt_2\main.cpp:14:18: error: 'p10' was not declared in this scope Serial uartx(p9, p10);

Could anyone has an idea? Any help is highly appreciated.

Thanks

Haisheng

Question relating to:

The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64, K63, and K24 MCUs.
Comment on this question

1 Answer

4 months, 3 weeks ago.

Just share a guide of How to use mbed with KDS: https://frdmtoplay.com/using-mbed-with-kinetis-design-studio/

I assume the error function is not what you care, so a workaround is to change the pin name with standard definition which may located in ...\TARGET_KPSDK_MCUS\TARGET_MCU_K64F\TARGET_FRDM\PinNames.h


To post an answer, please log in.