Skip to content

Quick_Start_Guide_Arduino_IDE_Ver2_macOS

SuguruHarada edited this page May 30, 2025 · 1 revision

Installing Arduino IDE

  • https://www.arduino.cc/en/software
    • Download the version of Arduino IDE that matches the type of PC you are using.
      • The example below describes the procedure for “macOS Apple Silicon, 11: “Big Sur” or newer, 64 bits”
        • At the time this Quick Start Guide was created, operation had been confirmed with version “Arduino IDE 2.3.4”

Launching Arduino IDE

  • Unzip the ZIP file and double-click the icon to launch the Arduino IDE.

Using Boards Manager to Install Tools

  • Select Board Manager Icon.
OpenBoardManeger
  • In the text entry box, enter "rl78" and perform a search, then click the Install button.
InputBoardManeger
  • The compiler, Arduino library for Fast Prototyping Board, and board programming tool are downloaded and installed in Arduino IDE.

Writing a sketch to make an LED flash at 1.0-second intervals.

  • Select "File" → "Examples" → "01.Basics" → "Blink".
SelectBlinkSkech

Hardware Setup

  • Connect the PC to the RL78/G23-64p Fast Prototyping Board using a USB cable.

  • Configure the port number setting in Arduino IDE.

    • Select "Tools"→"Port"→"/dev/cu.usbserial-XXX"
SelectPortNumber
  • Select the board in Arduino IDE.
    • Select "Tools" → "Board" → Select board to use.
SelectBoard

Compiling, Uploading, and Running Sketch

  • In Arduino IDE, select "Sketch" → "Upload" to compile and upload the sketch.
CompileAndUpload
  • When the upload completes, the sketch runs and the LED flashes at 1.0-second intervals.

If build errors occur

  • If the error message is “bad CPU type in executable".

    • Execute the following commands in a terminal window. softwareupdate --install-rosetta
  • If the error message is “Library not loaded: /opt/homebrew/opt/zstd/lib/libzstd.1.dylib".

    • Execute the following commands in a terminal window. brew install zstd
    • If you cannot use the brew command, install Homebrew from https://brew.sh/.
Clone this wiki locally