Embedded programming and micro controllers

2 readers
1 users here now

About embedded programming, micro controllers, ARM Cortex M, RISC-V, Arduino, Micro:Bit, etc.

founded 3 years ago
MODERATORS
1
 
 
2
 
 

A micro Erlang VM for embedded devices like ESP32 and Raspberry Pico

3
4
5
6
7
8
 
 

cross-posted from: https://lemmy.ml/post/221845

This is arguably one of the most important archives of computer science and engineering information available. And 50 years of it is now free. Get out there and play while educating yourself on things you didn't know were ancient history!

9
 
 

When last I wrote about COROS I explored the EVQ component of it with a focus on the API and some of its underlying construction. In this post I will expand on that underlying construction giving reasons for some of the design decisions, as well as providing some example use cases for this.

10
 
 

With coroutines and their use cases at least reasonably well established, the event queue mechanism of COROS is introduced to tie them up into a convenient architecture.

11
 
 

The first piece of COROS explored was the coroutine system, but coroutines are not a well-understood facility in programming circles for some reason. This article builds up some use cases for coroutines and their application in preparation for the next major component of COROS.

12
1
COROS I: The Beating Heart (personaljournal.ca)
submitted 2 years ago* (last edited 2 years ago) by ttmrichter@lemmy.ml to c/embedded_prog@lemmy.ml
 
 

The first in a series of articles that builds up a coroutine-based RTOS for use primarily in memory-constrained embedded systems. Future articles will expound on other pieces of the RTOS after which the full, production-ready source will be published under my usual choice of the WTFPL2 license.

13
 
 

Dynamic SRAM allocation is the device-killer …

… but it doesn't have to be.

14
 
 

This is probably meta, but I'd like to know what are the boards in the picture in the banner of the sublemmy?

15
 
 

Following-up to my post about LuatOS yesterday, this is the underlying RTOS that LuatOS builds upon. The English language site is not as complete and all-encompassing as the Chinese site, but it's more than enough to get a taste of the system and even put it to use.

One of the things that projects like LuatOS and RT-Thread highlight is that the days of China just consuming western technology are over. Homegrown software is rapidly spreading through the country's engineering world (RT-Thread is in a bewildering variety of products now!) and even homegrown hardware, down to home-grown ISAs like the XuanTie XT804 cores, is starting to supplant imports.

The future is looking decidedly interesting.

16
 
 

eLua as a project died. But from its ashes, and paired with the Chinese RT-Thread project, LuatOS has arisen.

Using this if you can't do Chinese will be a bit of a challenge, but it's not impossible.

17
 
 

Build your own 8-bit computer on a breadboard. 3 times Picture

18
 
 

Based on the CM/P Turbo Modula 2 this implements a re-engineered version to run in a 64K virtual machine on any platform. Small enough to fit on almost every micro-controller like AVR.

19
 
 

To use Ada (or any other programming language for that matter) on a new embedded device you often need quite a lot of technical bit fiddling.

This article shows how to get a simple Ada programme quickly ready for most ARM Cortex-4 devices, even new once.

20
 
 

A prototype system based on a ARM Cortex-M7 to inspect the quality of COVID-19 masks

21