channge DWC2_CHANNEL_COUNT/DWC2_EP_COUNT to inline function

This commit is contained in:
hathach
2025-04-14 16:31:17 +07:00
parent af0c47e06e
commit d039d54a89
8 changed files with 177 additions and 170 deletions

View File

@@ -42,7 +42,7 @@ function(add_board_target BOARD_TARGET)
-ffreestanding
-mgeneral-regs-only
-fno-exceptions
-std=gnu17
-std=c17
)
target_include_directories(${BOARD_TARGET} PUBLIC
${SDK_DIR}

View File

@@ -10,7 +10,7 @@ CFLAGS += \
-nostartfiles \
-mgeneral-regs-only \
-fno-exceptions \
-std=gnu17
-std=c17
CROSS_COMPILE = arm-none-eabi-