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.
8 years 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:
1 Answer
7 years, 10 months 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