Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [embedded]

For code that targets an embedded device or some severely resource-constrained environment.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers

Tuple-like container for packed data

I'm writing some code which needs to be compatible accross a Cortex-M based embedded device and x86 / x86_64 based PCs. I needed a solution for sending binary data between the Cortex-M and the ...
Venemo's user avatar
  • 243
3 votes
0 answers

USB implementation of device that tests system latency on gaming computers - SysLat Cleanup #3

Here's my open source project: The hardware controlled by this software can be found at This is the 3rd question in a series of ...
Skewjo's user avatar
  • 185
3 votes
0 answers

C++ object pool using C memory pool as base

I started out with this question on Stack Overflow. I have since then gotten an official answer from the mbed developers that the MemoryPool that I was asking about only issued raw C malloc/free type ...
paulluap's user avatar
3 votes
0 answers

Daemonizing shell scripts - MqSH

This is an mqtt driven, interactive, and asynchronous remote shell daemon written in bash. I call it "MqSH" or simply "mq". It works with bash, the busybox ash shell, and perhaps other Bourne-like ...
Shellz's user avatar
  • 61
2 votes
0 answers

Decoding audio encoded with LDAC codec

The full code (works on x86_64) is available on GitHub At first I used just original floating-point version, but it turned out to be too slow, because used DSP (32 bit, 120 MHz max, 112kB program and ...
Anonymix321's user avatar
2 votes
0 answers

Automatic resource allocation for the purpose of resource-dependent task scheduling

Here is what I'm trying to accomplish: Suppose you are trying to control an embedded system with several external hardware resources/components/devices. Naturally, you are concerned with the issue of ...
Julian's user avatar
  • 131
1 vote
0 answers

C# like Dependency injection for C++ on embedded device

I was wondering if it would be possible to create a C# like syntax for dependency injection. My device is running constantly and acting more or less like a service. I came up with the following. My ...
Bas Visscher's user avatar
1 vote
0 answers

a simple interrupt polling program due to AXI DMA IP

The program transfers a data array from a Zynq-7000 PS DDR to a BRAM IP (block RAM) memory in a PL part of a FPGA due to a PL AXI DMA IP. Inferring a xilinx axi dma driver (not scatter-gather mode), ...
Drakonof's user avatar
  • 423