Giter Site home page Giter Site logo

Comments (5)

arwidcool avatar arwidcool commented on July 18, 2024 1

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.

from platform-renesas-ra.

arwidcool avatar arwidcool commented on July 18, 2024 1

That sounds good. In the end I started playing with the RASC directly:

https://github.com/djix123/WeActRA4M1CMake.git

https://github.com/djix123/WeActRA4M1RASC.git

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.

from platform-renesas-ra.

arwidcool avatar arwidcool commented on July 18, 2024

I second this one.

I ordered one. If I can set up the board correctly I will link it for someone to check over.

from platform-renesas-ra.

djix123 avatar djix123 commented on July 18, 2024

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.

from platform-renesas-ra.

djix123 avatar djix123 commented on July 18, 2024

That sounds good. In the end I started playing with the RASC directly:

https://github.com/djix123/WeActRA4M1CMake.git

https://github.com/djix123/WeActRA4M1RASC.git

from platform-renesas-ra.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.