Closed DhruvaG2000 closed 1 year ago
Doing a git bisect
got me here:
8c6b5fd6ec60b65e22459d72d8866fbaa357faf0 is the first bad commit
commit 8c6b5fd6ec60b65e22459d72d8866fbaa357faf0
Author: TOKITA Hiroshi <tokita.hiroshi@fujitsu.com>
Date: Thu Oct 13 08:25:07 2022 +0900
zephyrSerial: Redesign to supporting hardware serial
Add support for the hardware serial device. The implementation
using the UART interrupt, enabling CONFIG_UART_INTERRUPT_DRIVEN.
Instantiate as 'Serial' with UART device defined in 'serials' array
under zephyr,user node. If the 'serials' array is not defined,
try to instantiate with a UART device labeled 'arduino_serial'.
If even 'arduino_serial' does not define, it uses the stub
implementation that redirects to printk().
Kconfig | 5 +
cores/arduino/main.cpp | 3 +-
cores/arduino/zephyrSerial.cpp | 223 +++++++++++++++++----
cores/arduino/zephyrSerial.h | 90 +++++++--
variants/arduino_mkrzero/arduino_mkrzero.overlay | 2 +
.../arduino_nano_33_ble.overlay | 2 +
.../arduino_nano_33_ble_sense.overlay | 2 +
.../arduino_nano_33_iot.overlay | 2 +
8 files changed, 270 insertions(+), 59 deletions(-)
The nrf52840dk build fails for all samples with following errors: