You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile USB application on KL25Z and K64F without success.
The error output is: main.cpp:2:10: fatal error: USBKeyboard.h: No such file or directory 2 | #include "USBKeyboard.h" | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. ERROR: CMake invocation failed!
Target(s) affected by this defect ?
KL25Z, K64F
Toolchain(s) (name and version) displaying this defect ?
GCC_ARM
What version of Mbed-os are you using (tag or sha) ?
6.17
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 2
How is this defect reproduced ?
`
#include "mbed.h"
#include "USBKeyboard.h"
USBKeyboard key;
#define WAIT_TIME_MS 500
DigitalOut led1(LED1);
int main()
{
while (true)
{
led1 = !led1;
thread_sleep_for(WAIT_TIME_MS);
}
}
`
The text was updated successfully, but these errors were encountered:
Description of defect
I tried to compile USB application on KL25Z and K64F without success.
The error output is:
main.cpp:2:10: fatal error: USBKeyboard.h: No such file or directory 2 | #include "USBKeyboard.h" | ^~~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. ERROR: CMake invocation failed!
Target(s) affected by this defect ?
KL25Z, K64F
Toolchain(s) (name and version) displaying this defect ?
GCC_ARM
What version of Mbed-os are you using (tag or sha) ?
6.17
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 2
How is this defect reproduced ?
`
#include "mbed.h"
#include "USBKeyboard.h"
USBKeyboard key;
#define WAIT_TIME_MS 500
DigitalOut led1(LED1);
int main()
{
while (true)
{
led1 = !led1;
thread_sleep_for(WAIT_TIME_MS);
}
}
`
The text was updated successfully, but these errors were encountered: