mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
rules: Add threadx support
Should not break existing bare-metal pulp runtime since the makefrag is included only if it exists (`-include`)
This commit is contained in:
parent
7c7ba940a7
commit
0bf9d54375
1 changed files with 10 additions and 0 deletions
|
|
@ -32,4 +32,14 @@ ifeq '$(platform)' 'fpga'
|
|||
CONFIG_IO_UART=1
|
||||
endif
|
||||
|
||||
###########
|
||||
# Threadx #
|
||||
###########
|
||||
|
||||
-include $(TX_DIR)/threadx.mk
|
||||
TX_INCS += -I$(TX_DIR)/ports/safety_island/gnu/inc
|
||||
PULP_APP_CFLAGS += -DTEST_STACK_SIZE_PRINTF=4096
|
||||
PULP_APP_CFLAGS += $(TX_INCS)
|
||||
PULP_LDFLAGS += $(TX_SW_LIBS)
|
||||
|
||||
include $(PULPRT_HOME)/rules/pulpos/default_rules.mk
|
||||
|
|
|
|||
Loading…
Reference in a new issue