Skip to content

Variant board not showing up on Arduino IDE #138

Open
@saleema90

Description

@saleema90

I'm trying to add support for Raspberry Pi Pico for the ArduinoCore-zephyr but I'm running into an issue where I don't see the Pico under the Board Manager. I'm not sure if the symlink is working properly.

The steps that I followed:

  1. Install Arduino IDE 2 and Arduino Zephyr Boards
  2. Skip Burn Bootloader since it's not needed for Pico
  3. Clone the repository to ~/zephyr_arduino folder
  4. Install pre-requirements
  5. Ran the bootstrap script inside the ~/zephyr_arduino/ArduionCore-zephyr folder
  6. Symlink the core to ~/Arduino/hardware/arduino-git/zephyr where ~/Arduino is the location of the sketch.
  7. Added a rpi_pico folder under the variant folder with overlay and config file
  8. Rename code_partition to user_sketch in ~/zephyr_arduino/zephyr/boards/raspberrypi/rpi_pico/rpi_pico-common.dtsi
  • Note: If you don't do Step 9 then you run into an issue with building the loader
  1. Build the loader: ./extra/build.sh rpi_pico
  2. Updated the board.txt
  • Note: Adding rpi_pico.name = Raspberry Pi Pico doesn't update the board manager to include the pico at all unless I update the board.txt from ~/.arduino15/packages/arduino/hardware/zephyr/0.3.1/boards.txt which shouldn't be happening

Activity

changed the title [-]Using the core in Arduino IDE for variant board[/-] [+]Variant board not showing up on Arduino IDE[/+] on Jun 12, 2025
facchinm

facchinm commented on Jun 12, 2025

@facchinm
Member

Hi @saleema90 ,
are you working on a fork? If you could share it we can try to understand what's wrong.

saleema90

saleema90 commented on Jun 12, 2025

@saleema90
Author

Hi @saleema90 , are you working on a fork? If you could share it we can try to understand what's wrong.

Here is my fork: https://github.com/saleema90/ArduinoCore-zephyr/tree/arduino

metehoca

metehoca commented on Jun 13, 2025

@metehoca

Why isn't the Pi Pico /2 supported? It would increase the number of users and help speed up the debugging process. From what I’ve seen, only a few of Arduino’s more common boards are supported.

saleema90

saleema90 commented on Jun 13, 2025

@saleema90
Author

There's an bug when trying to build through west with one of the sample code. The path within /ArduinoCore-zephyr/core/CMakeLists.txt seems to be outdate and should be changed to ../../modules/lib/ArduinoCore-API/api.

pennam

pennam commented on Jun 17, 2025

@pennam

Hi @saleema90 @metehoca Thanks for your interest in this project. Please take a look at #144 It is still a wip but i was able to load and run a blink sketch on the rpi pico.

saleema90

saleema90 commented on Jun 17, 2025

@saleema90
Author

Hi @saleema90 @metehoca Thanks for your interest in this project. Please take a look at #144 It is still a wip but i was able to load and run a blink sketch on the rpi pico.

I ran the go build in the extra/bin2uf2/ folder. I put the rpi in boot mode and the loader ./extra/build.sh rpi_pico. When I tried to flash using Tools > Burn Bootloader I'm missing the programmer as I don't see the Pico. Also copying the file from build/rpi_pico_rp2040/zephyr/zephyr.uf2 doesn't do anything.

pennam

pennam commented on Jun 18, 2025

@pennam

I'm missing the programmer as I don't see the Pico.

Select one of the programmers available ARM CMSIS DAP or Jlink is the same, the IDE will use rp2040load tool to flash the loader.

Also copying the file from build/rpi_pico_rp2040/zephyr/zephyr.uf2 doesn't do anything.

The loader doesn't do anything visibile, it starts the sketch if there is one. You can check if the loader is running connecting a 3.3.v serial to USB adapter to pins UART0_TX : P0 ; UART0_RX : P1. The loader exposes here a shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Variant board not showing up on Arduino IDE · Issue #138 · arduino/ArduinoCore-zephyr