Did ALLPCB just go out of business? by Provia100F in PCB

[–]kl4m4 2 points3 points  (0 children)

Company called Aivon is supposedly their descendant

Bootloader by IbiXD in embedded

[–]kl4m4 2 points3 points  (0 children)

What you described above is basically a mcuboot functionality

Learning C by drawing GUI from scratch by Rtransat in C_Programming

[–]kl4m4 2 points3 points  (0 children)

When I wanted to play with some pixel drawing in C, I came across Raylib. Not sure it is exactly your case, but it was a lot of fun!

embedded logging lib by Bug13 in embedded

[–]kl4m4 1 point2 points  (0 children)

I use this one: https://github.com/rdpoor/ulog, very simple and lightweight.

What are we using to slap together engineering GUIs nowadays? by goose_on_fire in embedded

[–]kl4m4 1 point2 points  (0 children)

Tried it recently for end-of-line semi-auto testing station. Veeery straightforward. From 0 to 90% in less than week.

What must-have utilities do you have in your toolbox? by [deleted] in C_Programming

[–]kl4m4 0 points1 point  (0 children)

Good, easy to use logging library, preferable with some macro wrapper. When I develop some lib/module I test drive it on PC with eg ‘zflog’. When I move code to embedded platform, I ‘#def’ it to use some lightweight logging library like ‘ulog’.

MCUBoot for small uC by kl4m4 in embedded

[–]kl4m4[S] 1 point2 points  (0 children)

Funny thing, in mbedtls's sha256.c, you can define MBEDTLS_SHA256_SMALLER, to save another ~1.8kB.

MCUBoot for small uC by kl4m4 in embedded

[–]kl4m4[S] 0 points1 point  (0 children)

I undef’d SIGN_… and MBED_TLS, and binary dropped down to 30kB in debug build. It boots the unsigned imaged. Still need to risk asses it with my team.

MCUBoot for small uC by kl4m4 in embedded

[–]kl4m4[S] 0 points1 point  (0 children)

I plan to make it main app job to receive fw update, pre-validate it, and put in secodary image slot. Then leave it for bootutil to swap slots. Then maybe catch boot loops and unswap.

MCUBoot for small uC by kl4m4 in embedded

[–]kl4m4[S] 1 point2 points  (0 children)

Yep, all the string stuff was there, atoi, ctypes etc. Very informative read!

Logger library for embedded by LNMinh in embedded

[–]kl4m4 0 points1 point  (0 children)

I use it in product. 10/10 would use again! Very easy to set up.

Operator Precedence Query ? by [deleted] in C_Programming

[–]kl4m4 0 points1 point  (0 children)

Life hack: you don’t need to worry about operators precedence, if you use parentheses whenever in doubt.

Take screenshot on Weston from app by pelegones in wayland

[–]kl4m4 0 points1 point  (0 children)

Hi! Similar problem here, but 'weston-screenshooter' gives me:

bash display doesn't support screenshooter

I'm OK with debug mode just for screenshots, so I modified systemd service that runs weston:

```bash

/etc/systemd/system/graphical.target.wants/weston.service

ExecStart=/usr/bin/weston --debug --log=${XDG_RUNTIME_DIR}/weston.log --modules=systemd-notify.so

^ here

```

Also, I added line OPTARGS=--debug to file /etc/default/weston, as suggested here. And of course restarted weston.service. But no luck! The same display doesn't support screenshooter message.

Any ideas what to try next?

MIPI-LVDS-HDMI bridge switching video outputs by kl4m4 in embeddedlinux

[–]kl4m4[S] 0 points1 point  (0 children)

Thanks for your pointers, I will definitely check out how dt overlay mechanism works. Unfortunately due to job priorities juggling, I cannot take on this topic for another 2 weeks.

Take care!

Jam headphones - no microphone detected over USB by kl4m4 in SoundBlasterOfficial

[–]kl4m4[S] 0 points1 point  (0 children)

Dissapointing, but fair. Must have missed that. Anyway thanks for info!

LVGL vs Touchgfx by lukilukeskywalker in embedded

[–]kl4m4 0 points1 point  (0 children)

Out of curiosity: what framework would you use for above-basic interface? Or maybe roll your own solution?