diff --git a/cores/arduino/Serial.cpp b/cores/arduino/Serial.cpp index d905edd90..cbd418233 100644 --- a/cores/arduino/Serial.cpp +++ b/cores/arduino/Serial.cpp @@ -260,6 +260,11 @@ void UART::begin(unsigned long baudrate, uint16_t config) { uart_cfg.parity = UART_PARITY_ODD; uart_cfg.stop_bits = UART_STOP_BITS_2; break; + case SERIAL_9N1: + uart_cfg.data_bits = UART_DATA_BITS_9; + uart_cfg.parity = UART_PARITY_OFF; + uart_cfg.stop_bits = UART_STOP_BITS_1; + break; } uart_cfg.p_callback = UART::WrapperCallback; @@ -335,4 +340,4 @@ size_t UART::write_raw(uint8_t* c, size_t len) { i++; } return len; -} \ No newline at end of file +} diff --git a/package.json b/package.json new file mode 100644 index 000000000..8fa7f61f1 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "framework-arduinorenesas-uno", + "version": "1.1.1", + "description": "Arduino Wiring-based Framework for Renesas MCUs (UNOR4 core)", + "keywords": [ + "framework", + "arduino", + "renesas", + "RA" + ], + "repository": { + "type": "git", + "url": "https://github.com/vashadow/ArduinoCore-renesas.git" + } +}