[sw] fix twd demo

This commit is contained in:
LukasP46 2025-03-18 08:57:45 +01:00
parent 955c4b1eb4
commit 878dae36ad
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ int main() {
// setup TWD
neorv32_rte_handler_install(TWD_RTE_ID, isr_twd);
neorv32_twd_set_tx_dummy(status);
neorv32_twd_setup(TWD_DEVICE_ID, 0, 1, 0, 0, 1);
neorv32_twd_setup(TWD_DEVICE_ID, 0, 1, 0, 0, 1, 0);
neorv32_cpu_csr_set(CSR_MIE,
1 << TWD_FIRQ_ENABLE);
neorv32_cpu_csr_set(CSR_MSTATUS,

View file

@ -30,4 +30,4 @@ USER_FLAGS += -Wl,--defsym,__neorv32_ram_size=8k
NEORV32_HOME ?= ../../..
# Include the main NEORV32 makefile
include $(NEORV32_HOME)/sw/common/common.mk
include $(NEORV32_HOME)/sw/common/common.mk