TinyGo for Raspberry Pi Bare Metal #4833
Replies: 7 comments
-
|
That would indeed be very interesting! So anybody who would like to pick up this project is welcome to do so :) You can take a look at #1027 for example. I'm not sure why it stalled, probably in part because it's a large patch. It will also need to be rebased to be mergeable. |
Beta Was this translation helpful? Give feedback.
-
|
Processors for Raspberry Pi: BCM2835 BCM2836 BCM2837 BCM2837B0 BCM2711 BCM2712 Reference: |
Beta Was this translation helpful? Give feedback.
-
|
Searching on Github I found this project. But I haven't tested it yet. TamaGo is a framework that enables compilation and execution of unencumbered Go applications on bare metal AMD64/ARM/RISC-V processors. |
Beta Was this translation helpful? Give feedback.
-
|
My dream project (using TinyGo):
I have no programming experience - just the basics. I recently discovered an amazing and little-known feature of the Raspberry Pi - Secondary Memory Interface - more than 16-bit fast direct bus. The SMI interface has up to 18 bits of data, 6 address lines, read & write select lines. DMA will be useful too: |
Beta Was this translation helpful? Give feedback.
-
|
I've been testing the Circle project and I'm increasingly impressed by the Raspberry Pi's ability to function as a Super Baremetal Microcontroller! https://github.com/rsta2/circle For example (the old model I have here at home):
All Raspberry Pi models: |
Beta Was this translation helpful? Give feedback.
-
|
I'm testing programming support using GDB via serial port. The Circle GDB project isn't mature yet, but it worked in my first test. I'm researching other options. Unfortunately, the Raspberry Pi's JTAG interface is multiplexed across the GPIO pins, making it not very user-friendly. This GDB project is old but it works perfectly. " GDB offers the best embedded software development experience by allowing you to remotely load, debug and test your programs and hardware/software interfaces. It feels like native programming thanks to a similar smooth "Edit-Compile-Run" cycle. Alpha server (aka "gdbstub" and "gdb stubs") allowing you to dynamically debug anything running in your hardware target, from bare metal software to OS-backed programs, including their threads, the underlying drivers, etc. All with a single GDB session and without any JTAG probe." |
Beta Was this translation helpful? Give feedback.
-
|
I know it's very complex, but how do I start a project to integrate a Raspberry Pi into the awesome Tinygo? I'm going to study and take tests. Much information about Broadcom's chips is not readily available. But I think the information that already exists is a good starting point. https://www.raspberrypi.com/documentation/computers/raspberry-pi.html |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There are currently several very interesting Bare Metal Raspberry Pi projects. Using the Rasp Pi as a SUPER microcontroller without an operating system. Very interesting!
https://github.com/smuehlst/circle-stdlib
https://github.com/rsta2/circle
I've already built a synthesizer based on the Yamaha DX7, using a Rasp Pi Bare Metal. Fantastic!
https://github.com/probonopd/MiniDexed
I know it must be quite complex, but my suggestion would be to develop Tinygo to use the Raspberry Pi as a Super Microcontroller.
I'm sure countless professional and industrial applications could be easily developed for the Raspberry Pi using the awesome Tinygo.
Beta Was this translation helpful? Give feedback.
All reactions