Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

VK Boards

Arduino Renesas Core based package containing definitions for Vekatech's Custom Arduino boards.

Supported Boards

Platform

  • VK NANO R4 (works with the original Arduino NANO R4 bootloader (dfu_nano.hex))

Platform

  • VK-RA4M2_NANO (new board for the Arduino Renesas Core, works with own dedicated bootloader (dfu_vk-ra4m2-nano.hex))
  • VK-RA4M2-FEMTO (new board for the Arduino Renesas Core, works with own dedicated bootloader (dfu_vk-ra4m2-femto.hex))

Platform

  • Comming soon

Platform

  • Comming soon

Installation

Arduino IDE

  1. Open File → Preferences
  2. In Additional Boards Manager URLs, add:
https://raw.githubusercontent.com/Vekatech/Arduino/main/package_vekatech_index.json
  1. Open Tools → Board → Boards Manager
  2. Search for:
VK Boards
  1. Click Install

Select the Board

After installation:

Tools → Board → VK Boards → VK NANO R4

Uploading

Connect the board via USB and upload your sketch normally using:

Sketch → Upload

Example

void setup() {
#if defined(ARDUINO_VK_NANO_R4)
  pinMode(LEDR, OUTPUT);
  pinMode(LEDG, OUTPUT);
  pinMode(LEDB, OUTPUT);
#elif defined(ARDUINO_VK_RA4M2_NANO)
  pinMode(LED_USER, OUTPUT);
  pinMode(LED_BUILTIN, OUTPUT);
#elif defined(ARDUINO_VK_RA4M2_FEMTO)
  pinMode(LED_BUILTIN, OUTPUT);
#else
#error Unsupported board!
#endif
}

void loop() {
#if defined(ARDUINO_VK_NANO_R4)
  digitalWrite(LEDB, LOW);
  digitalWrite(LEDR, HIGH);
  delay(100);
  digitalWrite(LEDR, LOW);
  digitalWrite(LEDG, HIGH);
  delay(100);
  digitalWrite(LEDG, LOW);
  digitalWrite(LEDB, HIGH);
  delay(100);
#elif defined(ARDUINO_VK_RA4M2_NANO)
  digitalWrite(LED_USER, LOW);
  digitalWrite(LED_BUILTIN, HIGH);
  delay(100);
  digitalWrite(LED_BUILTIN, LOW);
  digitalWrite(LED_USER, HIGH); 
  delay(100);
#elif defined(ARDUINO_VK_RA4M2_FEMTO)
  digitalWrite(LED_BUILTIN, LOW);
  delay(100);
  digitalWrite(LED_BUILTIN, HIGH);
  delay(100);
#endif
}

About

Arduino Package

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors