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
Either please, at your desire, add the IF blocks to the component_osa.cmake in core, or, in this repo, switch all the examples that use component_osa to use component_osa_free_rtos
Using the script below, this apparently only affects frmdk64, frdmk66, and rdrw612bga
At present, the CMakeLists.txt file selects the
component_osa
component, see: https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/frdmk66f/usb_examples/usb_device_audio_generator/freertos/armgcc/CMakeLists.txt#L120This means they all[1] fail to compile with a missing implementation of
OSA_ExitCritical
Now, another freertos example for the K66, https://github.com/nxp-mcuxpresso/mcux-sdk-examples/blob/main/frdmk66f/component_examples/log/freertos/armgcc/CMakeLists.txt#L79 instead selects the
component_osa_free_rtos
That example builds, and indeed, using that component in the usb examples fixes them all.
however the https://github.com/nxp-mcuxpresso/mcux-sdk/blob/main/components/osa/component_osa.cmake file over in core, attempts to handle lots of different CPUs directly, but does not have any IF blocks for K66, so that fails.
Either please, at your desire, add the IF blocks to the component_osa.cmake in core, or, in this repo, switch all the examples that use
component_osa
to usecomponent_osa_free_rtos
Using the script below, this apparently only affects frmdk64, frdmk66, and rdrw612bga
[1]
$ ack --type=cmake 'include(component_osa)' /usb_examples//freertos | cut -d'/' -f1-3
At least under K66, the following examples use free_rtos explicit form
And the remainder all use the broken form, and fail to compile
The text was updated successfully, but these errors were encountered: