Closed jite closed 1 year ago
Thanks for the report. We'll remove arm_compat.h from the include. This will be done in the next ThreadX release.
Thanks. I suspect the same might be true for cortex-m85
and cortex-m33
(perhaps others too) as tx_port.h
seems to be copy-paste. I have only tested cortex-m55
though so don't take my word on it.
I'm trying to compile latest master of threadx (as static library) for
cortex-m55,
usingarmclang
version 6+.I'm running into compilation issues where the include of
arm_compat.h
(ports/cortex_m55/ac6/inc/tx_port.h
) causes conflicts with CMSIS definitions for__enable_irq
and__disable_irq
.Specifically in the
cortex-m55
port I can not find that the use ofarm_compat.h
is necessary, removing the include solves the issue for me.