AnsweredAssumed Answered

what should be the value of stack and heap for K66

Question asked by rimi dhanjal on Apr 29, 2016
Latest reply on May 7, 2016 by Iva Susnova

hi ,

   I have tryed to create a project for usb hid (keyboard as host) for k66 ,using processor expert .I have configured  the stack and Heap size  to 4k each ,while building the project it generates elf error and at default setting (stack / Heap size ) it gets build ...

While Debugging

usb_khci_host_state_struct_t* usb_host_ptr = (usb_khci_host_state_struct_t*) OS_Mem_alloc_zero(sizeof(usb_khci_host_state_struct_t));


OS_Mem_alloc_zero( )  returns a null to usb_host_ptr, so what can be the issue ,if its the issue with stack / Heap size ,what should be its size .