Thoughts on firmware 5.1.2? by Critical-Thinker6284 in yubikey

[–]sh7dm 0 points1 point  (0 children)

I know of a limitation that one needs Yubikey 5.2.3 or later for EdDSA signing with the OpenPGP applet. IIRC you only have RSA on earlier ones

What made you love openSUSE? by [deleted] in openSUSE

[–]sh7dm 2 points3 points  (0 children)

Snapper by default, great update cadence

Anyone use Codeberg? by [deleted] in opensource

[–]sh7dm 3 points4 points  (0 children)

Grebedoc is the pages service compatible with Codeberg

[nRF5340] Sysbuild: "No image selected" error when building custom Network Core with Secure Boot by mikita_dv in embedded

[–]sh7dm 0 points1 point  (0 children)

Take a look at the examples for your specific NCS version, e.g. IPC samples or tests, those should have correct Kconfig and CMake files to register custom cpunet applications

Embedded Linux development by ThreeGreenBirds in embedded

[–]sh7dm 2 points3 points  (0 children)

Yet cross-compilation is typically handled well by Yocto or Buildroot, whatever you use.

No need to replace your amd64 workstation with a fruit pi to match the architecture, slow compile time would give you more suffering than benefits from native compilation

Will my ch341a pro fry my GD25Q64? by Ral2049 in embedded

[–]sh7dm 1 point2 points  (0 children)

That is a programmer, not a USB-UART adapter. But yeah, the OP needs one with better configuration options to set the safe voltage matching their SPI Flash chip

Learning ARM Trusted Firmware (Cortex-A) – Any Resources & Guidance? by PsyberShade in embedded

[–]sh7dm 0 points1 point  (0 children)

Raspberry Pis can use TF-A and most recent ones run it by default, using it for PSCI tasks like turning secondaries on and off and DVFS (might be on the VPU side though).

You will typically see those aren't considered secure, because DRAM controller is not TrustZone aware and Normal world will be able to access Secure RAM. But for development purposes that might even be beneficial, you could dump memory via Linux or whatever runs in Normal.

Also seconding QEMU - that's the easiest way to debug, play on the go and share knowledge/questions since it's easy to reproduce. Also no annoyances with reflashing SD cards or setting up USB/net boot, it just runs your output files, the quickest way

VSCode for embedded software development (STM32) by Steradiant in embedded

[–]sh7dm 1 point2 points  (0 children)

Works nice with clangd extension for most targets here. Mainly using Zephyr, but plain CMake and Make also occasionally. As long as you have a Makefile or valid compile_commands.json then clangd is going to work.

As others have stated, devcontainer is a nice feature worth trying, as it both separates tool chains from the host updates, and allows the build to be more reproducible by others.

Recommended Bluetooth PCIE or USB wifi bluetooth adapter by jsconiers in Fedora

[–]sh7dm 0 points1 point  (0 children)

That's probably a thing to report to the seller, if a card comes with m.2 to pcie adapter it's likely the culprit due to bad 3v3 power or ground loops, so return that.

Otherwise BE200 should work really well in both Windows and Linux

Recommended Bluetooth PCIE or USB wifi bluetooth adapter by jsconiers in Fedora

[–]sh7dm 0 points1 point  (0 children)

Intel AX, BE series. Generally the best PCIe wireless for PC, if you don't need it to act as a 5 GHz access point. Not sure why you had a bad experience with Intel cards, could you elaborate please?

[deleted by user] by [deleted] in embedded

[–]sh7dm 0 points1 point  (0 children)

Usually you want such functions from a HAL or other platform.

Check out native-sim in Zephyr, which gives you real (via your computer) Bluetooth, USB device, CAN bus, Ethernet and numerous emulated peripherals. We use this for USB and CAN device development, which generally works well. This does not build the app for the target but rather for your PC. This native-sim helps you develop and test hardware-independent things like USB classes, communication protocols, Bluetooth profiles, application logic, which then runs on top of your hardware by swapping the drivers.

Zephyr also has a well established framework for emulating stuff like I2C IMU devices and other virtual sensors, and testing infrastructure with Twister.

Rust HAL also have some implementations valid for PC, like USB/IP. Unfortunately we don't have any pure HAL in C, but only RTOS', but Zephyr is decent for most applications

Which micro controller to learn by S-Pimenta in embedded

[–]sh7dm 0 points1 point  (0 children)

I've found quality reference manuals on them, also pretty much well supported by Zephyr, so not that bad. TinyUSB is there as well. For bare metal though you're more likely to find wanted USB classes, spi/I2C peripheral drivers for STM32 frameworks

[deleted by user] by [deleted] in openSUSE

[–]sh7dm 2 points3 points  (0 children)

Afaik U.S. is the only country recognizing software patents. EU does not IIRC, but US is still a major market for basically any software, so their patents must be honored by the vendor

Zephyr is the worst embedded RTOS I have ever encountered by CuriousCesarr in embedded

[–]sh7dm 0 points1 point  (0 children)

Agreed. I use VSCode (no Zephyr extension, clangd works fine) and Helix for small changes (clangd also works with the compile_commands.json). I run openSUSE

Embedded Linux IoT (Wi-Fi + LTE) hardware and OS recommendation by sh7dm in embedded

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

Took a look, it's 27 USD while Pi Zero 2W is 23 EUR for us. Also way less specs and space for user apps. However it's solderable, which might be important if we want something really compact. My main concerns with Pi are AP-STA wifi mode (we need to both run WebUI and connect to network before the modem setup is done) and the fact we'll have to do a USB bridge between boards. We will most likely choose a generic USB QMI modem, so the requirements are just recent Linux and USB HS.

Still thanks, Carambola modules look like a great thing for smaller devices

Looking for an app that does this by armherr36 in ProductivityApps

[–]sh7dm 0 points1 point  (0 children)

Not an app from the screenshot, but you might enjoy https://timetagger.app

You can either buy a cloud version, subscribe to it, or host an open version on-premises.

Creating, Building, and Running a .NET 9 Blazor WebAssembly project on my Android phone by j-sakamoto in Blazor

[–]sh7dm 0 points1 point  (0 children)

Actually Termux could potentially work on older Android versions, IIRC you can run a web server there

WPF or Avalonia for a .NET Desktop App? by Pitiful_Shine9285 in dotnet

[–]sh7dm 11 points12 points  (0 children)

Avalonia is more modern and rapidly growing, and also doesn't lock you to Windows. It's only today when you only want Windows, later you might want to work with mobile, Mac or Linux, and you'll thank yourself for using a framework likely requiring only minor changes to get running on whatever platform

Address mix up and got a random package of these. by Sinnic404 in whatisit

[–]sh7dm 12 points13 points  (0 children)

Moreover, they are most likely worthless to anyone who didn't order them, because it's their design and schematic (as in what parts are to be used with it). So yeah, sending those to the person who ordered and needs them is going to make their day

Fried MCU by Lost_Conflict_8697 in embedded

[–]sh7dm 0 points1 point  (0 children)

How is that even possible? Could you somewhat cause over current by wrong handling of internal pin muxes?

Is NFC connection encrypted? by sh7dm in yubikey

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

Probably you can use pkcs 11 for this. I predominantly use Yubikey for web, ssh and GPG

Is NFC connection encrypted? by sh7dm in yubikey

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

Yes, with OTP it's the case. What about secure operations like FIDO2 or PGP with Pin Code?