Open djix123 opened 1 year ago
I second this one.
I ordered one. If I can set up the board correctly I will link it for someone to check over.
I've had some success by using the UNO R4 Minima as the board selection, and using JLink. Not perfect, but can get it going.
I've had some success by using the UNO R4 Minima as the board selection, and using JLink. Not perfect, but can get it going.
Having some issues initializing a blink sketch, Says programming is successful . The pin mapping on the LED corresponds to "pin 21" on the Arduino. Do you have your blink code?
(EDIT:)
Got it working.
You need to add "frequency = 48000000L" to the platformio.ini file
I also flashed the bootloader before direct via Renesas Flash Programmer but I am not sure if that helped.
Also was able to get unexposed pins working by first adding the pin to : "extern "C" const PinMuxCfg_t g_pin_cfg[] " location in variant.cpp Example : PIN 206 to D17 : {BSP_IO_PORT_02_PIN_06, P206}, / (27) D17 / and then defining the array position in pins_arduino.h and adding the "#define PIN_D17 (27u)"
Were 27U is the array position. This way by calling PIN_D17 should call array position 27
I am just finishing up another project and I will sit down and re-edit the arduino uno minima board files and the framework variants to work with the renesas board as a board selection.
That sounds good. In the end I started playing with the RASC directly:
That sounds good. In the end I started playing with the RASC directly:
Using the the Minima board and flashing with jlink when setting the cpu freq i was able to get the USB working no issues btw, so it has all the features and you can expose the pins.
Please would you consider adding support for the new WeAct Studio RA4M1 board:
https://github.com/WeActStudio/WeActStudio.RA4M1_64Pin_CoreBoard
Thanks!