You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example_i2s example, the interrupt service routine should set a flag to print irq 1 on the serial output via the PRINTF macro when the internal I2S FIFO's watermark is reached:
Summary
In the
example_i2s
example, the interrupt service routine should set a flag to printirq 1
on the serial output via thePRINTF
macro when the internal I2S FIFO's watermark is reached:But it does not. The interrupt does not seem to be handled.
Steps to reproduce
Run the example_i2s example according to the docs.
x-heep
directory and issue the following commands:conda activate core-v-mini-mcu
make mcu-gen
x-heep/sw/applications/example_i2s/main.c
by replacing the line#define PRINTF_IN_SIM 0
by#define PRINTF_IN_SIM 1
make app PROJECT=example_i2s
make verilator-sim
cd ./build/openhwgroup.org_systems_core-v-mini-mcu_0/sim-verilator
./Vtestharness +firmware=../../../sw/build/main.hex
cat uart0.log
Expected behaviour
Finding some
irq 1
s into theuart0.log
logs file.Actual behaviour
uart0.log
logs the following:The program exit value is
0
. There is not a single standaloneirq 1
printed.The text was updated successfully, but these errors were encountered: