PlatformIO
TinyGo
Our great sponsors
PlatformIO | TinyGo | |
---|---|---|
96 | 95 | |
7,509 | 14,439 | |
1.2% | 1.5% | |
9.2 | 9.4 | |
1 day ago | about 22 hours ago | |
Python | Go | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PlatformIO
-
Help Needed with Tauri Desktop App for NFC Card Enrollment on ESP32
For the ESP32 in read mode, we've successfully developed a project using PlatformIO that accepts the key during build time and stores it in memory.
-
It's 2023 why embedded development is so cumbersome?(rant)
Check out Zephyr OS and Platform IO. Zephyr is part of the Linux foundation and has similarities to Linux with how it performs hardware abstraction (device tree). Platform IO integrates with other frameworks including mbed and Arduino.
- Is there an extension in vs code to do embedded programming
-
Debug program using PlatformIO and avr-stub
PlatformIO together with avr-stub can be used to do source level debugging but there are some caveats.
-
Do you know some sbc or soc that can be programed to run rtos and c++ on top?
Look into https://platformio.org/, it can abstract over a few RTOSes, and can show you which OSes work with which chips/boards.
-
Newbie question on identifying board in IDE
If the HW looks like it works, you could also try alternate programming software. (e.g. TinyGo or PlatformIO)
-
Issue with Adafruit ESP32-S3: COM port switching, etc.
You might have better luck with PlatformIO than the Arduino IDE; it's better at automatically choosing the serial port, though I can't say I've used it under Windows.
-
Made some progress on the Chessboard this week
My other suggestion takes more work but will make your life oh so much better. Professionally I have used and highly recommend. https://platformio.org/ which is free!
-
Ask HN: Best books to learn embedded systems?
Will you be doing embedded Linux? Embedded RTOS? Bare metal? Microcontrollers? SoC (say, FPGA with a hard processor core)?
You can do a lot with QEMU. https://bootlin.com/ has a lot of great, free training material.
https://bootlin.com/doc/training/embedded-linux-qemu/embedde...
is one of my favorites.
Learning to cross-compile, do embedded debugging, the process of booting an embedded system (which varies depending on the answers to the above questions), learning how to read a technical reference for the processor you’re using as well as for peripherals you’re likely to interact with - SPI, i2c, UART, maybe PCIe, are all handy skills. Learn a bit about JTAG, hardware, reading schematics, etc. Even being able solder is helpful.
There may be books (I had a great embedded Linux book when I started) but there are lots of online materials too. Check out https://platformio.org/
There are fun embedded boards and projects for microcontrollers too - micropython on an rpi pico, tinygo, eLua, etc.
TinyGo
- Gokrazy – Go Appliances
-
A "Tiny" APISIX Plugin
Reading through the documentation, you will understand why this plugin is called "tiny," i.e., the SDK uses the TinyGo compiler instead of the official Go compiler. You can read more about why this is the case on the SDK\'s overview page, but the TLDR version is that the Go compiler can only produce Wasm binaries that run in the browser.
-
What's Zig got that C, Rust and Go don't have? [video]
Not only you can fit Go into a kernel, there is at least two products that do so.
TamaGo, used to write the firmware used in USB armory.
https://www.withsecure.com/en/solutions/innovative-security-...
TinyGo, which even has official Arduino and ARM support, and is sponsored by Google
Ah but that isn't proper Go! Well neither is the C code that is allowed to be used in typical kernel code, almost nothing from ISO C standard library is available, and usually plenty of compiler specific language extensions are used instead.
-
Show HN: A new stdlib for Golang focusing on platform native support
Reminds me of https://tinygo.org/ - a project that brings Golang to embedded devices, browser (wasm) contexts. Do you converge or diverge from that project?
- TinyGo release 0.29 is out
-
Pico with C
You should also consider TinyGo. It can compile Go for the Pico, and is starting to get good device support.
-
Rust 1.71.0
Thankfully some folks completly ignored whatever the rest of the world thinks system programming is all about and created:
- TinyGo (https://tinygo.org/), which is acknowledged by people in the industry[0][1]
- TamaGo unikernel on USB Armory secure key (https://www.withsecure.com/de/solutions/innovative-security-...)
And then there is the question if writing compilers, assemblers, linkers is systems programming or not.
[0]-https://www.cnx-software.com/2019/08/28/tinygo-go-compiler-f...
[1]-https://twitter.com/ArmSoftwareDev/status/131680481331796787...
-
When would you (not) recommend Go over Rust?
Have you seen TinyGo? In the case of embedded system I would probably still chose C over Rust if the system didn't support dynamic memory allocation, and most embedded systems do not.
-
“C is quirky, flawed, and an enormous success” – Dennis Ritchie
>I really hate how for microcontrollers the only two choices are either C++ or Micropython
There's TinyGo as well. https://tinygo.org/
-
WebAssembly System Interface (WASI) with sockets for Go
Gist link fixed, thanks. Compared to TinyGo, Go with GOOS=wasip1 will probably generate larger artifacts (at least, for now). This is because it bundles the entire Go runtime. The benefit is that it fully supports goroutine scheduling and non-blocking I/O. TinyGo (I believe) still uses a custom asyncify pass and does not support non-blocking I/O nor basic WASI networking (e.g. https://github.com/tinygo-org/tinygo/pull/2748 never landed, but GOOS=wasip1 supports it).
What are some alternatives?
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
duino-coin - ᕲ Duino-Coin is a coin that can be mined with almost everything, including Arduino boards.
go - The Go programming language
meson - The Meson Build System
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
BitBake - The official bitbake Git is at https://git.openembedded.org/bitbake/. Do not open issues or file pull requests here.
micropython-ulab - a numpy-like fast vector module for micropython, circuitpython, and their derivatives
ESPAsyncWebServer - Async Web Server for ESP8266 and ESP32
awesome-micropython - A curated list of awesome MicroPython libraries, frameworks, software and resources.
Invoke - Pythonic task management & command execution.
zephyr - Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.