mirror of https://github.com/ARMmbed/mbed-os.git
f04904c6e8
The ACTLR register itself is conditional on chip revision, but its bit definitions were always defined. Make the the bit definitions also conditional, so it is possible to produce portable code that sets DISDEFWBUF if available: #ifdef SCnSCB_ACTLR_DISDEFWBUF_Msk SCnSCB->ACTLR |= SCnSCB_ACTLR_DISDEFWBUF_Msk; #endif (cherry-picked from CMSIS b2b04dbeece0a046556bfc320bef6b20bef3f16f) |
||
---|---|---|
.. | ||
TARGET_CORTEX_A | ||
TARGET_CORTEX_M | ||
RTE_Components.h | ||
mbed_cmsis_conf.h |