I just got the KL46Z. I've upgraded the bootloader to 1.11 and examples like hello world and bubble level I have compiled and uploaded to the board ok. When I try to compile this example I get an error I can't quite understand. The error is as follow:
make: *** No rule to make target 'C:/Freescale/KSDK_1.3.0/examples/frdmkl46z/demo_apps/usb/device/hid/hid_mouse/bm/kds/../../../../../../../../../usb/usb_core/device/lib/bm/kds/MKL46Z4/debug/libusbd_bm.a', needed by 'dev_hid_mouse_bm_frdmkl46z.elf'.
make: Target 'all' not remade because of errors.
Hi Rodrigo,
please do you have in your workspace imported also the library for this project?
Please, compile the libraries first, then the project.
Please let us know, if this helps you.
Best Regards,
Iva
Hello! And thank you for your answer!
That did resolve my issue, as soon as I imported and built the usbd library I was able to compile the example.
How was I supposed to know that I had to import that library? I couldn't find any documentation about library usage for the examples, and the error wasn't very helpful either.
Thanks again for your help!
Regards,
Rodrigo.
EDIT: Nevermind! I've just found the readme inside the example folder.... Such a dork
Hi Rodrigo.
I exactly understand your feelings.
For this case I always use importing project through .wsd file.
I describe the process:
2. Select Existing Working Sets
3. Click on Browse
4. Browse the demo and find the .wsd file
5. Now you will see all needed libraries to your project
6. Now in KDS you will see all needed libraries
By this way you can import every demo.
I hope this helps you.
Best Regards,
Iva