10 months, 1 week ago.
EXported to KDS, compile failed with K64F, p8 p9 not defined
I am newbie here.
I am working with this project:
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.
Question relating to:
8 months, 2 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.