Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.

CortexMx ItmPort.cpp relies on ITM_SendChar which is hidden by __CMSIS_GENERIC #532

Open
JackDay opened this issue Dec 31, 2016 · 0 comments

Comments

@JackDay
Copy link

JackDay commented Dec 31, 2016

\DeviceCode\Cores\arm\Processors\CortexMx\ItmPort\ItmPort.cpp imports cmsis_generic.h which in turn selects core_cmx.h based on defines, however it also defines __CMSIS_GENERIC which hides the ITM_SendChar function needed by ItmPort.

The fix should be to include ARMCMX.h instead of core_cmx.h but requires fixing the build scripts to include the path CMSIS/Device/ARM/ARMCMX/Include/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant