Implement etimer callback
This commit is contained in:
parent
c043a00bb4
commit
0232e6c9dc
8 changed files with 47 additions and 11 deletions
2
examples/osd/ico-wallclock-time/.gitignore
vendored
2
examples/osd/ico-wallclock-time/.gitignore
vendored
|
@ -4,7 +4,9 @@ icosoc.mk
|
|||
icosoc.pcf
|
||||
icosoc.v
|
||||
icosoc.ys
|
||||
icosoc.rpt
|
||||
wallclock.co
|
||||
wallclock.pico-rv32-icoboard
|
||||
icosoc.c
|
||||
icosoc.h
|
||||
testbench.v
|
||||
|
|
|
@ -73,10 +73,7 @@ PROCESS (wallclock, "Wallclock Example Server");
|
|||
AUTOSTART_PROCESSES(&wallclock);
|
||||
|
||||
//#define LOOP_INTERVAL (30 * CLOCK_SECOND)
|
||||
//#define LOOP_INTERVAL (3 * CLOCK_SECOND)
|
||||
// one more than this will currently hang, probably due to
|
||||
// non-implemented etimer callback.
|
||||
#define LOOP_INTERVAL (25461)
|
||||
#define LOOP_INTERVAL (5 * CLOCK_SECOND)
|
||||
|
||||
/*
|
||||
* Set led to on or off, we abuse the given pointer to simply carry the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue