mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 13:47:33 -04:00
fixed broken freeRTOS makefile
This commit is contained in:
parent
ec693bd3af
commit
87ffb2e148
1 changed files with 31 additions and 0 deletions
|
@ -65,6 +65,37 @@ NEORV32_HOME ?= ../../..
|
|||
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# FreeRTOS
|
||||
# -----------------------------------------------------------------------------
|
||||
ifneq (,$(findstring RUN_FREERTOS_DEMO,$(USER_FLAGS)))
|
||||
# FreeRTOS home folder (adapt this!)
|
||||
FREERTOS_HOME ?= /mnt/n/Projects/FreeRTOS/FreeRTOS
|
||||
|
||||
# Application
|
||||
APP_SRC += blinky_demo/main_blinky.c
|
||||
|
||||
# FreeRTOS core
|
||||
APP_SRC += $(wildcard $(FREERTOS_HOME)/Source/*.c)
|
||||
APP_SRC += $(wildcard $(FREERTOS_HOME)/Source/portable/MemMang/heap_1.c)
|
||||
|
||||
APP_INC += -I $(FREERTOS_HOME)/Source/include
|
||||
|
||||
# FreeRTOS RISC-V specific
|
||||
APP_SRC += $(wildcard $(FREERTOS_HOME)/Source/portable/GCC/RISC-V/*.c)
|
||||
APP_SRC += $(FREERTOS_HOME)/Source/portable/GCC/RISC-V/portASM.S
|
||||
|
||||
APP_INC += -I $(FREERTOS_HOME)/Source/portable/GCC/RISC-V
|
||||
|
||||
# NEORV32 specific
|
||||
ASM_INC += -DportasmHANDLE_INTERRUPT=SystemIrqHandler
|
||||
|
||||
APP_INC += -I chip_specific_extensions/neorv32
|
||||
|
||||
ASM_INC += -I chip_specific_extensions/neorv32
|
||||
endif
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# NEORV32 framework
|
||||
# -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue