MicroPython experimental port for the Dabao (Baochip-1x RISC-V) #19580
mattytrentini
started this conversation in
Show and tell
Replies: 3 comments
|
Ah! i was wondering how long this might take! I have a board waiting for me in the studio and I'll give this a test soon! |
0 replies
|
I received mine today. I willl give it a try |
0 replies
|
[gear, no idea] I'm probably missing something but after copying firmware.uf2 it didn't reboot here, I tried typing "boot" over the USB serial and I could then see "MicroPython v1.29.0-preview.457.ga7b7409173 on 2026-08-05; DABAO with Baochip-1x" on the new USB serial port after it restarted and from there I was able to see life toggling SPI2_CS. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Overview
The Dabao is an awesome RISC-V eval board built around the Baochip-1x SoC, both created by @bunnie. @andrewleech and I have been working on a port for MicroPython building on @ArmstrongSubero's daobao-sdk.
This port is still experimental, but if you have a Dabao, I'd love some testers!
[Also, anyone arriving here via DEFCON 34, I think your badge may also work. I'd be very keen to hear if it does/doesn't work!]
Details
Implemented features:
machine.Pin(digital I/O, Pin.board aliases + full Pin.cpu PA0-PF15 access) andmachine.Signalmachine.I2C(hardware, fixed to I2C0_SCL/I2C0_SDA) andmachine.SoftI2C(any pins)machine.SPI(hardware, fixed to the SPI2_* pins) andmachine.SoftSPI(any pins)machine.RTCmachine.WDTmachine.PWM(8 channels: PB0-PB3 and PC0-PC3, two slices of 4 sharing a frequency each)os.urandom()(hardware TRNG)machine.bootloader()Not yet implemented:
machine.UART,machine.ADC, filesystem/storage...Flashing the prebuilt firmware
Unzip and deploy firmware.zip
Building it yourself
Install a recent version of mpbuild.
You'll find the UF2 in
ports/baochip/build-DABAO/firmware.UF2.Any feedback would be very welcome!
All reactions