esp32-elfloader
libnklabs
esp32-elfloader | libnklabs | |
---|---|---|
2 | 4 | |
70 | 20 | |
- | - | |
0.0 | 5.3 | |
almost 2 years ago | 4 months ago | |
C | C | |
GNU General Public License v3.0 only | 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.
esp32-elfloader
-
Small Stack, Big Program in C++
The process generally the same for 32-bit binaries. If you want more specifics, this is fairly basic and 32 bit.
-
Rtems Real Time Operating System
..and what should this say about esp32? I don't understand what you are implying...
xtensa/tensilica is a good architecture, cheap and lean, unfortunately its biggest problem seems to be its harvard architecture and weird memory structure because out there I find very few loader/relocator impementations (nominally I only know niicoooo's version[1], brian pug's derivative[2] for his interesting joltos, mongoose/Zephyr's supercustom versions, and my own) and this seems to be the main stumbling block for new os development in this platform
[1] https://github.com/niicoooo/esp32-elfloader
[2] https://github.com/joltwallet/jolt_wallet/tree/master/jolt_o...
libnklabs
-
Keyboard Shortcuts every Command Line Hacker should know about GNU Readline
Two issues with readline: it's GPL and it's big. For embedded systems intended to become products you really need something else. My tiny variant is this, but for sure there are many others:
https://github.com/nklabs/libnklabs
("nkreadline" has editing, tab-completion (for embedded "nkcli" commands) and history)
-
Rtems Real Time Operating System
I used RTEMS on Movius Myriad vision CPU (running on LEON- a SPARC clone).
I remember the RTEMS event concept was not very good- the events are globally shared. You are better off using semaphores.
>I have realized that for a majority of the embedded software using an RTOS is an overkill
I agree with this. Instead of an OS, we like to use a small framework that provides a CLI, database and UART communications (YMODEM protocol). It's a single stack system that provides a simple work-queue for scheduling future tasks / callbacks, and for interrupt code to schedule non-interrupt code. It works for almost everything as long as you are comfortable programming in an event-driven style.
https://github.com/nklabs/libnklabs
(recently added support for AVR 8-bit processors).
-
Framework: Open Sourcing Our Firmware
I've extracted the Chromium-EC encryption functions, they are convenient for signing / verifying firmware on other platforms. Chromium-ec is nice for example code like this:
https://github.com/jhallen/rsa-verify
On the other hand, if you are looking for some generic embedded system code all in C, here is our library:
https://github.com/nklabs/libnklabs
I think it's most unique feature is the embedded schema-based database- so you can save things like calibration and configuration information in local flash memory. Recently I've been adding device drivers for all common devices I can find on break-out boards for the Arduino and Raspberry-PI communities.
- Show HN: Library to quickly make MCU-based products
What are some alternatives?
esp32-snippets - Sample ESP32 snippets and code fragments
mu - Project Mu Documentation