mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 03:40:52 +00:00
add cmake for ch32v20x, skip freertos examples for CH32V20X, also skip net webserver due to lack of RAM update to use openocd with wlinke adapter
17 lines
314 B
Makefile
17 lines
314 B
Makefile
ifeq ($(TOOLCHAIN),gcc)
|
|
CFLAGS += \
|
|
-march=rv32i_zicsr \
|
|
-mabi=ilp32 \
|
|
|
|
else ifeq ($(TOOLCHAIN),clang)
|
|
CFLAGS += \
|
|
-march=rv32i_zicsr \
|
|
-mabi=ilp32 \
|
|
|
|
else ifeq ($(TOOLCHAIN),iar)
|
|
$(error not support)
|
|
endif
|
|
|
|
# For freeRTOS port source
|
|
FREERTOS_PORTABLE_SRC = $(FREERTOS_PORTABLE_PATH)/RISC-V
|