This :
extern char end asm ("end");
extern char heap_limit asm ("__HeapLimit");
inside of fsl_misc_utilites.c causes a compiler error.
I did a search through the entire KSDK 1.2 path and the term heap_limit doesn't show up anywhere other than the .c file itself, meaning it isn't actually externally declared.
Under the assumption I won't need this file for my project, I've deleted it from the path and the projects local SDK folder, however I'm wondering if I'm missing something else I may need?
Yes, I have sdk lib.a in my paths, and have built the library.
Yes, I have the eclipse update installed and can compile when the file is removed.
Hello Donald Bosley,
please, can you tell me in which demo/project the issue occurs?
Thank you,
Best Regards,
Iva
An application that I'm building from scratch using the dev_msd_disk_frdmk22f_bm_frdmk22f as an example, as well as the usbd_sdk_frdmk22f_bm_frdmk22f library.
First there is type-o in the documentation :
From theUSB Stack Device Reference Manual, Rev. 1, 04/2015, page 56:
7.4.1 msc_handle_t
Description
Represents the MSC class handle.
Synopsis
typedef uint32_t msc_handle_t;
The actual typedef in the library is msd_handle_t
Also, even though I'm building out a device only application, do I need to also build and use elements from the host or another library? There seem to be a lot of missing types and externals that don't exist anywhere in the library : OS_MsgQ_Is_Empty as an example. Says declared externally in multiple places,
OS_MsgQ_Is_Empty Externally declared :
khci.c
usb_dev.c --> Function commented out that includes is
adapter_sdk.h ---> says declared externally
And appears to be declared in adapter_sdk.c...
uint32_t OS_MsgQ_Is_Empty(os_msgq_handle msgq, void* msg)
But won't build?
Any advice?
***IF INCLUDE adapter_sdk.c instead of .h, it compiles...
Hello Donald,
I apologize for my late response.
Please, have you been still facing the issue?
Best Regards,
Iva