Damien George
b3f2f18f92
renesas-ra: Fix spelling mistakes found by codespell.
...
And enable codespell for this port in `pyproject.toml`.
Signed-off-by: Damien George <damien@micropython.org>
2024-03-07 14:15:49 +11:00
Takeo Takahashi
81049edf7c
renesas-ra/ra/ra_i2c: Fix 1 byte and 2 bytes read issue.
...
Tested on Portenta C33 with AT24256B (addrsize=16) and SSD1306.
Fixes issue #13280 .
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
2024-01-31 14:16:36 +11:00
iabdalkader
c6f6f345e6
renesas-ra/ra: Remove unnecessary min_delay() declaration.
...
This function is private to ra_adc.c.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-01-17 11:19:02 +11:00
iabdalkader
1f04808151
renesas-ra/ra: Fix SysTick clock source.
...
The SysTick_Config function must use the system/CPU clock to configure the
ticks.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
2024-01-17 11:17:59 +11:00
mbedNoobNinja
fae96b17a7
renesas-ra: Add support for RA6M5, and add machine PWM, DAC, SDCard.
...
This commit adds support for a new processor RA6M5. It also adds the
following classes to the machine module: PWM, DAC, SDCard.
Signed-off-by: mbedNoobNinja <novoltage@gmail.com>
2023-06-27 12:30:25 +10:00
Takeo Takahashi
92c7532d8e
renesas-ra: Support changing baudrate for UART.
...
* Use R_SCI_UART_BaudCalculate() of fsp/src/r_sci_uart/r_sci_uart.c
* Support UART.init(baudrate)
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
2023-06-26 22:04:39 +10:00
Takeo Takahashi
b4834e5cba
renesas-ra: Update boards and ra directory files to support FSP v4.4.0.
...
* Update boards and ra files
* Remove unreferenced files, board_init.c and board_leds.c, from Makefile
* Remove unreferenced FSP instances from ra_gen/*.[ch]
* Remove unreferenced FSP config files ra_cfg/*.h
* e2 studio generates FSP instances but renesas-ra uses only followings:
lpm, flash, ioport
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
2023-05-11 16:18:39 +10:00
robert-hh
988b6e2dae
renesas-ra: Add the UART methods uart.txdone() and uart.flush().
...
This required to add two functions down the stack to uart.c and ra.sci.c.
- One for telling, whther the transmission is busy.
- One for reporting the size of the TX buffer.
Tested with a EK-RA6M2 board.
2022-12-15 12:09:34 +01:00
Takeo Takahashi
621bff8557
renesas-ra/machine_pin: Support drive keyword and fix GPIO setting.
...
Changes are:
- Support drive= keyword argument.
- Fix trigger keyword check.
- Fix GPIO pin setting.
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
2022-08-31 11:59:49 +10:00
Takeo Takahashi
0f57ccf7f2
renesas-ra: Add new port to Renesas RA.
...
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
2022-04-29 12:29:06 +09:00