upvote
Here are the line counts:

    rust-rpico2-embassy-examples $ tokei .                    
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
     Language              Files        Lines         Code     Comments       Blanks
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
     Alex                      2          330          280            0           50
     Shell                     1           25           13            3            9
     TOML                      2           76           58            7           11
    ─────────────────────────────────────────────────────────────────────────────────
     Markdown                  1          254            0          181           73
     |- BASH                   1            8            8            0            0
     |- Shell                  1            1            1            0            0
     (Total)                              263            9          181           73
    ─────────────────────────────────────────────────────────────────────────────────
     Rust                     10         1256          937           86          233
     |- Markdown              10          340            8          263           69
     (Total)                             1596          945          349          302
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
     Total                    16         2290         1305          540          445
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

I guess "Alex" would be the linker scripts ending in .x?
reply
Well all of the linker script is just two standard memory map files, one for the 2040 and one for the 2350, so really it suggests that this needed very little code to make this work. The 6.4% shell represents a shebang line, two comments, and a single `set -e` call, after all.
reply
Most of the code is already in libraries. rs-matter includes a lot of batteries, so for simple clusters you end up writing little code.
reply
It looks like github is just buggy in this case.
reply
There's nothing about embedded development in Rust that would make it more reliant on linker scripts than any other language. Github's count is misleading here.
reply