Add Arduino host sample.

Tested on Arduino Uno (ATMega328P)
    Sketch uses 9950 bytes (30%) of program storage space. Maximum is 32256 bytes.
    Global variables use 1254 bytes (61%) of dynamic memory, leaving 794 bytes for local variables. Maximum is 2048 bytes.
This commit is contained in:
Toby Jaffey 2025-12-06 22:29:29 +00:00
parent 047c9e3853
commit 6d12ce5a80
8 changed files with 968 additions and 0 deletions

View file

@ -0,0 +1,10 @@
// Definitions needed by both host and target
// CSRs for exposed host functions
#define IOREQ_PRINT 0x13A
#define IOREQ_PRINTLN 0x13B
#define IOREQ_PRINTD 0x13C
#define IOREQ_PRINTX 0x13D
#define IOREQ_MILLIS 0x13F
#define IOREQ_PRINTC 0x140