Ciao,
I created the project with processors Expert, but I realized that the dimensions are exaggerated ...almost 10K to configure only the micro KL03CSP without adding any driver !!
Oss then you can not implement?
How can I reduce the size?
Thank you
Original Attachment has been moved to: My_Project.zip
Thank you all.
Hello Jorge
I insert NDEBUG and becomes light, but what does that entail?
I want to understand better
Thank you
Hello Vincenzo:
The NDEBUG macro invalidates all of the calls to the assert() and debug_assert() functions. Such functions check the parameters passed to the KSDK APIs (e.g. that a parameter value is within a valid range) and prints any error to the IDE console or to a UART port for debugging purposes.
You may want to work without the macro while in development and then place the macro for the final version of the code.
Regards!
Jorge Gonzalez
Hello Vincenzo:
You can also add the NDEBUG macro to the compiler's Preprocessor settings and this will significantly reduce the code size. See below:
Regards!
Jorge Gonzalez
Hi,
when you do not need any RTOS you can remove the OSA component from your project to reduce memory allocation. For details please see following thread: KSDK 1.2.0 and MKV30 :How to remove osa1 if i dont want any OS??
This option is available from PEx for KSDK 1.2.
If OSA disabled, CPU will boot using CMSIS startup and only HAL and Init. components can be used. Int his case is supported only 1 clock configuration (= the CMSIS boot clock cfg). In this case you can also check following option in clock manager for additional mem. allocation reduction.
best regards
Vojtech Filip