Closed mwadva closed 2 years ago
Thanks for the information, already forward the issue to develop team for checking. Reply could be delayed and appreciate for your patience.
Hi, develop team checked the issue and suggested below fix: changing the enumeration assignment from (uint32_t)(&(CCM)->ROOT[1].TARGET_ROOT) to assignment as below: (uint32_t)CCM_BASE + offsetof(CCM_Type, ROOT[1].TARGET_ROOT)
The updated patch include other new features so it still under checking. Will try to provide patch this week. Appreciate for your patience.
Fix has been applied to the latest main branch, please check commit https://github.com/NXPmicro/mcux-sdk/commit/7d2944c528ba4fe4416c7796a9186a9ac66e8b98
Is your enhancement proposal related to a problem? Please describe.
we're using MCUXpresso with FreeRTOS on a Variscite Module (imx8mp-var-dart), targeting the Cortex M7 Coprocessor.
While FreeRTOS itself is fine with gcc and C++, we cannot go down that route due to issues with the register file, in our case
devices/MIMX8ML8/MIMX8ML8_cm7.h
:Describe the solution you'd like
make the register file compliant with gcc's C++ compiler
Describe alternatives you've considered
none yet
we failed trying to wrap the file with the usual extern C compiler hint
The boilerplate of that register-file indicates, but is also not clear about other compilers in concunction with C++:
still it would be nice, wise and smart to make it work with g++
Additional context