mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 06:07:52 -04:00
[sw] fix twd demo
This commit is contained in:
parent
955c4b1eb4
commit
878dae36ad
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue