fix freertos build with iar, format/indent link_type

This commit is contained in:
hathach 2023-03-08 22:34:54 +07:00
parent 05e0205ad0
commit 2cf092464b
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
4 changed files with 952 additions and 904 deletions

View File

@ -1 +1,4 @@
return USB0.INTSTS1.BIT.ATTCH ? true : false;
return LINK_REG->INTSTS1_b.ATTCH ? true : false;
volatile uint16_t ATTCH : 1; /* [11..11] ATTCH Interrupt Status */
#define LINK_REG_INTSTS1_ATTCH_Pos (11UL) /* ATTCH (Bit 11) */
#define LINK_REG_INTSTS1_ATTCH_Msk (0x800UL) /* ATTCH (Bitfield-Mask: 0x01) */

View File

@ -30,7 +30,7 @@ SRC_C += \
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORT)/*.c))
SRC_S += \
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORTABLE_SRC)/*.s))
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORT)/*.s))
# include heap manage if configSUPPORT_DYNAMIC_ALLOCATION = 1
# SRC_C += $(FREERTOS_SRC)/portable/MemMang/heap_1.c

View File

@ -29,7 +29,7 @@ SRC_C += \
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORT)/*.c))
SRC_S += \
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORTABLE_SRC)/*.s))
$(subst $(TOP)/,,$(wildcard $(TOP)/$(FREERTOS_PORT)/*.s))
# include heap manage if configSUPPORT_DYNAMIC_ALLOCATION = 1
# SRC_C += $(FREERTOS_SRC)/portable/MemMang/heap_1.c

File diff suppressed because it is too large Load Diff