chore: preserve current FreeRTOS and C card updates

This commit is contained in:
user
2026-07-21 19:14:19 +02:00
parent 4785d506fc
commit 10a8be72e3
37 changed files with 2857 additions and 1571 deletions
+7 -2
View File
@@ -8,8 +8,13 @@ objdump="${prefix}objdump"
test -s "$elf"
for symbol in pvPortMalloc vPortFree prvInsertBlockIntoFreeList ucHeap \
heap4_fragmented_checkpoint task03_debug_checkpoint g_task03_pass; do
heap4_reset_checkpoint heap4_alloc_a_checkpoint \
heap4_alloc_b_checkpoint heap4_alloc_c_checkpoint \
heap4_free_a_checkpoint heap4_fragmented_checkpoint \
heap4_coalesced_checkpoint task03_debug_checkpoint \
g_initial_stats g_after_allocations_stats g_fragmented_stats \
g_final_stats g_rv32_layout_expected g_task03_pass; do
"$nm" -a "$elf" | grep -E "[[:space:]]${symbol}$" >/dev/null
done
"$objdump" -d "$elf" | grep -E 'addi[[:space:]]+sp,sp,-' >/dev/null
printf 'PASS Task 3 links upstream heap_4 and observable checkpoints: %s\n' "$elf"
printf 'PASS Task 3 links upstream heap_4 and eight observable checkpoints: %s\n' "$elf"
+1 -1
View File
@@ -19,4 +19,4 @@ check_output "$root/host-build/task01_first_fit_split/prog" \
check_output "$root/host-build/task02_address_order_coalesce/prog" \
'before_nodes=2 before_total=96 before_largest=48 after_nodes=1 after_total=144 after_largest=144 pass=1'
check_output "$root/host-build/task03_freertos_heap4/prog" \
'initial=4080 after=3952 fragmented=2 final=4080 min=3952 aligned=1 oom=1 hooks=1 asserts=0 pass=1'
'initial=4080 after_a=4040 after_b=3984 after_c=3952 free_a=3992 fragmented=4024 final=4080 min=3952 consumed=40/56/32 aligned=1 oom=1 hooks=1 asserts=0 pass=1'