From d778383d88621a8e2db306d15fed0a58b89a7acf Mon Sep 17 00:00:00 2001 From: BlackMark Date: Wed, 2 Sep 2026 18:00:31 +0200 Subject: [PATCH] deps: the libavr pin advances, and the tiny85 image grows 24 B The growth is not this bump's. It entered at libavr 32f8167, where the software master started clocking the rate it is told: the phase padding has to cover the shortest bit of a byte, and paying for it costs `shift_out` and `read_acked` twelve bytes each on the tiny85. Those two symbols are the whole of the move - an avr-nm diff across the two images names them and nothing else. So the claim went unheld through two pin bumps. 1246 B was last measured at libavr e697920; the tiny85 preset has read 1270 since 32f8167, which both 5a042a9 and f2205a7 pinned past without re-recording it. The number is stated in test/CMakeLists.txt and in README.md, and this is what keeps them one fact - a check that only ever ran on one of the two chips keeps neither. The suite also stops depending on its host: libavr's launcher and skip marker register every check everywhere, and one this machine cannot run reads as Skipped rather than going missing. Co-Authored-By: Claude Opus 5 --- README.md | 2 +- libavr | 2 +- test/CMakeLists.txt | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 13e6824..d3f2684 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ cmake --build --preset attiny85-generated Presets cover attiny85/atmega328p in both libavr modes (generated and reflect); `ctest` runs the consteval battery over the BCD, the hours register's two formats, the weekday and the alarm rate encodings, and holds -the example to its stated size — **1480 B** on the mega328P and **1246 B** +the example to its stated size — **1480 B** on the mega328P and **1270 B** on the tiny85, byte-identical across the two modes. The legacy yazoalfa-based driver lives on the `master` branch. diff --git a/libavr b/libavr index b62d6b5..8521f48 160000 --- a/libavr +++ b/libavr @@ -1 +1 @@ -Subproject commit b62d6b5b30b1122128b1d277c715f92aeb2abcff +Subproject commit 8521f48a3361100c5f3e3c5004a5ff415e2d1484 diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 62dbcea..b8f11c2 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -5,7 +5,7 @@ libavr_format_test() if(LIBAVR_MCU STREQUAL "atmega328p") libavr_size_claim_test(clock 1480) elseif(LIBAVR_MCU STREQUAL "attiny85") - libavr_size_claim_test(clock 1246) + libavr_size_claim_test(clock 1270) endif() # The README says the two modes emit the same image, and only a tree with @@ -19,3 +19,9 @@ target_link_libraries(consteval_tests PRIVATE ds3231) add_test(NAME ds3231.consteval COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target consteval_tests) + +# A check this host cannot run reads as Skipped rather than Failed: the marker +# a stubbed launcher prints, over every test registered here. Nothing in this +# suite is host-gated today, and this is what keeps that a property of the +# suite rather than of whoever adds the next check. +libavr_skip_unverified()