Bridgetek / pico-brteve

Example code and utility to make Raspberry Pi/Raspberry Pi Pico work with Eve GPU from BridgeTek. https://brtchip.com/eve/
MIT License
8 stars 5 forks source link

support Arduino-Pico #19

Open brtchip-paul-jiao opened 2 years ago

brtchip-paul-jiao commented 2 years ago

https://github.com/earlephilhower/arduino-pico

brtchip-tuannguyen commented 1 year ago

Hi Paul, just to clarify, the target of this request is: Port the EveApps into C++ and run with Arduino IDE , am I right? Below is some targets I'm considering:

  1. Port the EveApps into Arduino IDE, includes Eve_Hal and all the example.

    • The language is C++.
    • User can select the EVE example from the Arduino IDE
  2. Port the pico-brteve into Arduino IDE

    • The language is C++
  3. Port the pico-brteve into Arduino IDE

    • The language is CircuitPython
brtchip-paul-jiao commented 1 year ago

My purpose is to add the support of IDM2040 into the device list of this Arduino Pico :

image

Then we can port one or two examples in EveApps or Pico-BrtEve for Arduino IDE.

brtchip-tuannguyen commented 1 year ago

Hi Paul,

I'm going to apply an USB_PID number on https://github.com/raspberrypi/usb-pid for the IDM2040-7A The purpose is to get a valid pid number in board.txt

Is this ok with you?

Best regards, Tuan Nguyen

brtchip-tuannguyen commented 1 year ago

Hi Paul,

Please have a look to review this commit: https://github.com/brtchip-tuannguyen/arduino-pico-fork/commit/bdd8d75deebd675f7d2192fcbc179b2eead8ad84

I ported the game "Space Invader" from c/pico_Spaced_Invaders_Demo into arduino-pico and committed to my fork project.

Screenshot on IMD2040: image

Porting and running steps: porting_steps.txt

brtchip-tuannguyen commented 1 year ago

Updated the commit id: https://github.com/brtchip-tuannguyen/arduino-pico/commit/7218d27d6d2678effe30e83199fc3cdcf12d835f

Json url: https://raw.githubusercontent.com/brtchip-tuannguyen/arduino-pico/Add_idm20407a_ver2/package_rp2040_index.json

brtchip-tuannguyen commented 1 year ago

Hi Paul, please help to create a new github repository to store our library for arduino-pico, this repo will be added into .gitmodules of the arduino-pico repo.

The repo name maybe BridgetekPicoArduino, or BridgetekRP2040Arduino, or just Bridgetek.

Here is some example in .gitmodules: image

Best regards, Tuan Nguyen

chungsoftvn-tuannguyen commented 1 month ago

Pull request url: https://github.com/earlephilhower/arduino-pico/pull/912