Commit fe30fe5
committed
zephyrSerial: export automatic serial macros
Export two macros that automatically map to Serial objects depending on
the current board's DT configuration:
- ARDUINO_CONSOLE_SERIAL: Serial object used for the Zephyr console
- ARDUINO_HARDWARE_SERIAL: First generic Serial object (usually on pins
D0/D1)
Signed-off-by: Luca Burelli <l.burelli@arduino.cc>1 parent 0f7575d commit fe30fe5
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
119 | 135 | | |
120 | 136 | | |
121 | 137 | | |
| |||
0 commit comments