WIP: type per command #4

Draft
vinzenz wants to merge 25 commits from next into main

25 commits

Author SHA1 Message Date
Vinzenz Schroeter 7b33084a3e more configs work now
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 5m24s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m18s
```
make LIBC=gnu LINK=dynamic
make LIBC=musl LINK=dynamic CC=musl-gcc
make LIBC=musl LINK=static CC=musl-gcc
```
2025-05-30 00:09:41 +02:00
Vinzenz Schroeter 4d9c9e2ac4 clean up .PHONY and all
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 5m20s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m14s
2025-05-28 17:29:28 +02:00
Vinzenz Schroeter a4699b9bc8 rename size-optimized to size_optimized 2025-05-28 16:48:19 +02:00
Vinzenz Schroeter c7d40b828b per-config build output using VPATH
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 5m13s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m13s
based on https://make.mad-scientist.net/papers/multi-architecture-builds/
2025-05-28 15:07:04 +02:00
Vinzenz Schroeter 6c3792330d do not overwrite header if content did not change 2025-05-28 12:25:30 +02:00
Vinzenz Schroeter 2d937b9c3c simplify conditional logic with constructed macro names
based on https://make.mad-scientist.net/constructed-macro-names/
2025-05-28 11:49:44 +02:00
Vinzenz Schroeter e7426bdabe update cargo packages and flake
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 7m7s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m29s
2025-05-24 13:52:04 +02:00
Vinzenz Schroeter e5825819e6 update to servicepoint v0.15.0 2025-05-24 13:50:21 +02:00
Vinzenz Schroeter 01b3169020 sp_cmd_brightness_global_get returns value 2025-05-24 13:50:01 +02:00
Vinzenz Schroeter c9d2479f5e sp_cmd_generic_try_from_packet return struct directly 2025-05-18 11:20:57 +02:00
Vinzenz Schroeter 389ced492c change typedef style, add optional logging
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m24s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m28s
2025-05-16 00:33:27 +02:00
Vinzenz Schroeter 0c6efcee56 add example for reading packages, fix functions return pointers to copy on stack 2025-05-15 23:48:03 +02:00
Vinzenz Schroeter 4ab5305377 add example helper, translate more examples
update to wip servicepoint lib
2025-05-10 15:01:49 +02:00
Vinzenz Schroeter b8a55d0433 even more docs
All checks were successful
Rust / build-gnu-apt (pull_request) Successful in 4m16s
Rust / build-size-gnu-unstable (pull_request) Successful in 1m18s
2025-05-07 22:52:19 +02:00
Vinzenz Schroeter 36f3d84dc8 a bunch of docs 2025-05-07 22:31:26 +02:00
Vinzenz Schroeter 626a887480 move heap functions to own mod 2025-05-07 08:53:49 +02:00
Vinzenz Schroeter cf6e6385ec move containers to own mod 2025-05-07 08:43:38 +02:00
Vinzenz Schroeter e7cad5b5a3 doc changes 2025-05-07 08:29:43 +02:00
Vinzenz Schroeter a4bacd53a2 remove SPBitVec wrapper type
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m19s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m9s
2025-05-06 23:05:06 +02:00
Vinzenz Schroeter 85ccf4123c expose tagged union instead of TypedCommand to C
Some checks failed
Rust / build-gnu-apt (pull_request) Failing after 1m18s
Rust / build-size-gnu-unstable (pull_request) Failing after 1m11s
2025-05-06 22:58:38 +02:00
Vinzenz Schroeter 32d39f8006 misc mod and doc changes 2025-05-06 21:27:01 +02:00
Vinzenz Schroeter 4f0eca3ea0 more commands 2025-05-06 21:27:01 +02:00
Vinzenz Schroeter 2165629bef add badges 2025-05-05 22:59:14 +02:00
Vinzenz Schroeter 373725c648 add first specific commands 2025-05-05 22:59:14 +02:00
Vinzenz Schroeter 84adf166a9 add heap_move_ok and heap_move_some helpers 2025-05-05 18:25:59 +02:00