Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Forgetfulino Puts Back Up of Source Inside the Binary

Uncategorized
1 1 2
  • Forgetfulino Puts Back Up of Source Inside the Binary

    How often have you pulled out old MCU-based project that still works fine, but you have no idea where the original source code has gone? Having the binary image and the source code as separate things to keep track of usually isn’t a problem, but there’s something to be said for adding the source — and documentation — to this image if you have some flash to spare. This is basically what the Forgetfulino Arduino library by [Nader Al Khatib] does.

    Essentially, the library compresses the source files and assigns it to be burned onto the flash alongside the binary. There is also a bit of code added to the firmware so that this code can be retrieved via the serial port at any time, negating the need for a firmware dump and manual disassembly. For ease of use, the library has an Arduino IDE extension that automates the process. The basic idea could also be adapted to different environments should anyone wish to take up the challenge.

    You probably wouldn’t want debug builds to feature this additional payload as writing it to flash will eat up time and write cycles. But for a release build that will be put out in the (literal) field for a few years or even decades, it could be very convenient. After all, you never know when that Git repository that you relied on might go AWOL.


    hackaday.com/2026/03/18/forget…


Gli ultimi otto messaggi ricevuti dalla Federazione
Post suggeriti
  • La Ressourcerie de la Forge

    Uncategorized scuola softwarelibero
    1
    0 Votes
    1 Posts
    0 Views
    La Ressourcerie de la ForgeAltra mega raccolta di risorse digitali a disposizione di tutti: https://ressourcerie.forge.apps.education.frSono costruite e rivolte alla scuola francese, ma si possono trovare molti spunti utili #scuola italiana e, siccome sono rilasciate con licenza libera #softwarelibero è possibile replicare, tradurre, adattare... @nilocram merci a @arnaudchampollion @framaka @nicolay_lilicre et a toutes les enseignants francais pour le partage
  • 🧵👇

    Uncategorized
    1
    0 Votes
    1 Posts
    0 Views
    RE: https://grapheneos.social/@GrapheneOS/116251325625494349🧵👇
  • 0 Votes
    14 Posts
    4 Views
    @VegaHarmonia I'll simply remind them that I am their creator.
  • 0 Votes
    28 Posts
    5 Views
    @bagigio @kenobit @la_mosca_2 @Donutsaurus @Zambunny dico pure e chiudo che se la risposta ai problemi giganteschi che l'uso capitalistico dell'AI genera è sempre e solo "io non uso una tecnologia che causa licenziamenti o disastri ambientali" oltre ad essere un po' ipocrita (se è così uno dovrebbe essere conseguente e non comprare alcun prodotto industriale) non fa fare alcun passo in avanti alla discussione. serve solo a vantarsi sui social di quanto si sia fichi e intransigenti perchè non si compra da Amazon, non si usa l'AI, ecc ecc. (questo lo dico in generale, do per scontata la buona fede di chi è in questo thread). e si rimane così sempre e solo ad affrontare un problema collettivo ad un livello di scelta individuale, in questo caso di consumo (o boicottaggio) di questo o quel servizio.2/2