Federico Fuga

Engineering, Tech, Informatics & science

Fixing Zephyr Environment on Linux

03 Dec 2022 11:58 CET
I’m actually experimenting with Zephyr, a Real Time O.S. for IoT devices. It seems very impressive for many aspects, that, out of the topic of this blog post, I list here. It’s a fully fledged microkernel with many drivers for peripherals and protocols It supports many important protocols like Wifi, Bluetooth Low Energy, OpenThread (and Matter) and many others It’s supported and financed by Nordic Semiconductors, It’s open source It has many hardware supporting it, including Nordic chipset, STM, Espressif, Raspberry, etc… It has an extension for Visual Studio and others IDE are supporting it, like, for example, Jetbrain’s CLion So I decided it’s time to test it. Continue reading

Not all Arduino Nanos Are Built Equals

17 Nov 2022 10:19 CET
Not all Arduino Nanos are built equals. I have two samples here, one bought from AZDelivery and one in a NanoCUL. Though both are Nano v3s, they are somhow different. Indeed, I was able to program the second out of the box using avrdude, while I had some issue with other. Using PlatformIO I noticed that the first was not properly configured on my system. Indeed lsusb shows different chips are used: Continue reading

Getting Started With Rust and Stm32F411 Discovery Board

18 Oct 2022 15:38 CEST
Queste sono semplici note sullo sviluppo di una semplice applicazione Rust per la scheda di sviluppo STM 32F411 Discovery. Il tutto è estratto dalla sezione Hardware dell’ottimo libro The Embedded Rust book Compilare un progetto di esempio ed eseguirlo $ cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart 🤷 Project Name : blinkstm32 🔧 Destination: /home/happycactus/Documents/devel/Tutorial/Rust/embed/stm32f411/blinkstm32 ... 🔧 Generating template ... ... [25/25] Done: src 🔧 Moving generated files into: `/home/happycactus/Documents/devel/Tutorial/Rust/embed/stm32f411/blinkstm32`... 💡 Initializing a fresh Git repository ✨ Done! Continue reading

How to switch "\" with "<" keys in linux

28 Nov 2020 10:16 +0000
When using the Apple Magic Keyboard with linux and certain keyboard layout, some key may be exchanged with some other key. In my case, I have an Italian Magic Keyboard and a Ubuntu 20.10 running on VmWare Fusion and the “" and “<” keys are switched. The fix is pretty easy, but not easy to find on the net. This is the recipe: you need to force xmodmap to exchange the two keystrokes. Continue reading

Cos'è il replay attack contro Immuni di Report e perché non dobbiamo preoccuparci

11 Nov 2020 09:26 +0000 cybersecurity
Nella puntata di ieri 9 novembre 2020 di Report si è parlato di un Replay Attack contro i software di Contact Tracing, in particolare contro la app Immuni, il quale potrebbe segnalare come positivo una vittima. Siccome la notizia ha destato un certo scalpore, per lo meno su Twitter, vorrei far luce sul problema e spiegare (spoiler) perché non dobbiamo preoccuparci più di tanto di questo problema. Un piccolo riassunto su come funziona Immuni Come oramai sanno anche i sassi, Immuni funziona scambiando delle chiavi temporanee con i dispositivi nelle vicinanze tramite la tecnologia Bluetooth. Continue reading

Dedurre il numero di nuovi utenti positivi dalle TEK di Immuni

21 Oct 2020 13:12 +0000 Python Scienza
A differenza che in altri paesi, in Italia la gestione del progetto di Contact Tracing elettronico basato sulla tecnologia di Exposure Notification implementato da Apple e Google (il cosiddetto GAEN) non ha brillato per trasparenza. Mentre in Svizzera le statistiche di utilizzo sono disponibili in real time sia attraverso sito web, sia attraverso API Endpoint per il trattamento automatico dei dati, in Italia gli unici dati disponibili sono il numero di download e un numero totale di notifiche e utenti reso disponibile “quando si ricordano” attraverso una apposita dashboard. Continue reading
Older posts Newer posts