mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-24 05:42:57 +08:00
add __evenaccess keyword for CCRX compiler compatibility
Signed-off-by: Rafael Silva <rafaelsilva@ajtec.pt>
This commit is contained in:
parent
fbc2979428
commit
ea81d22f18
@ -52,7 +52,11 @@
|
|||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
|
||||||
/* LINK core registers */
|
/* LINK core registers */
|
||||||
|
#if defined(__CCRX__)
|
||||||
|
#define LINK_REG ((LINK_REG_t __evenaccess*)LINK_REG_BASE)
|
||||||
|
#else
|
||||||
#define LINK_REG ((LINK_REG_t*)LINK_REG_BASE)
|
#define LINK_REG ((LINK_REG_t*)LINK_REG_BASE)
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Start of definition of packed structs (used by the CCRX toolchain) */
|
/* Start of definition of packed structs (used by the CCRX toolchain) */
|
||||||
TU_ATTR_PACKED_BEGIN
|
TU_ATTR_PACKED_BEGIN
|
||||||
|
@ -48,7 +48,11 @@
|
|||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
|
|
||||||
/* LINK core registers */
|
/* LINK core registers */
|
||||||
|
#if defined(__CCRX__)
|
||||||
|
#define LINK_REG ((LINK_REG_t __evenaccess*)LINK_REG_BASE)
|
||||||
|
#else
|
||||||
#define LINK_REG ((LINK_REG_t*)LINK_REG_BASE)
|
#define LINK_REG ((LINK_REG_t*)LINK_REG_BASE)
|
||||||
|
#endif
|
||||||
|
|
||||||
TU_ATTR_PACKED_BEGIN
|
TU_ATTR_PACKED_BEGIN
|
||||||
TU_ATTR_BIT_FIELD_ORDER_BEGIN
|
TU_ATTR_BIT_FIELD_ORDER_BEGIN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user