>>> %Run -c $EDITOR_CONTENT

MPY: soft reboot
============================================================
tiny_bclibc Integration Test - DUAL CORE
============================================================

Configuration:
  Version: 1.1.0-11-g07794d0
  Platform: RP2040 (dual-core)
  Zero distance: 300 m
  Custom drag: G7 table (82 points)

[Main] Starting Core1 test thread...
[Main] Core0 will run heartbeat (LED)
[Main] ✅ Core1 thread started

[Core1] ============================================================
[Core1] Starting integration tests on Core1[Core0] ❤️ Heartbeat started

[C[Core0] LED patterns:ore1] =====================================
=======================
  ⚡ Fast blink (5Hz): Tests running
  🐢 Slow blink (1Hz): Tests complete
  ✨ 3 quick blinks: Finished

[Core1] Version: 1.1.0-11-g07794d0
[Core1] Total tests: 10

[Core1] --- scalar helpers ---
[Core1]   ✅ PASS  calculate_energy
[Core1]   ✅ PASS  get_correction (at zero)
[Core1]   ✅ PASS  calculate_ogw

[Core1] --- integrate (builtin G7, 1500 ft, step 300) ---
[Core0] Progress: 3/10 (30%)
[Core1]   ✅ PASS  integrate — 6 rows, stop reason 1
[Core1]    dist_ft   vel_fps  height_ft      mach
[Core1]          0    2750.0    -0.125     2.463
[Core1]        300    2601.7    -0.324     2.330
[Core1]        600    2457.9    -0.951     2.202
[Core1]        900    2318.6    -2.058     2.077
[Core1]       1200    2184.1    -3.704     1.956
[Core1]       1500    2054.3    -5.958     1.840

[Core1] --- integrate (custom array G7, 1500 ft, step 300) ---
[Core0] Progress: 4/10 (40%)
[Core1]   ✅ PASS  integrate custom — 6 rows, stop reason 1

[Core1] --- find_zero_angle (300 m zero) ---
[Core0] Progress: 5/10 (50%)
[Core1]   ✅ PASS  find_zero_angle elev_rad=0.001360  (0.0779 deg)

[Core1] --- find_zero_angle (100 m zero) ---
[Core0] Progress: 6/10 (60%)
[Core1]   ✅ PASS  find_zero_angle 100m  elev_rad=0.000602  (0.0345 deg  0.60 mrad)

[Core1] --- find_apex (zeroed shot) ---
[Core1]   ✅ PASS  find_apex dist_ft=302.1  height_ft=0.1
[Core0] Progress: 7/10 (70%)

[Core1] --- integrate_at (POS_X = 1000 ft) ---
[Core1]   ✅ PASS  integrate_at dist_ft=1000.0  vel_fps=2273.2

[Core1] --- RAM: integrate 3 km / 100 m step ---
[Core0] Progress: 9/10 (90%)
[Core1]   ✅ PASS  integrate 3 km — 31 rows  alloc=10928 B  alloc_after_gc=9888 B
[Core1]   mem_before=64080 B  mem_peak=75008 B  mem_after_gc=73968 B

[Core1] ============================================================
[Core1] Test Summary
[Core1] ============================================================
[Core1]   Total tests:  10
[Core1]   ✅ Passed:    10
[Core1]   ❌ Failed:    0
[Core1]   Success rate: 100.0%
[Core1] ============================================================
[Core1] 🎉 ALL TESTS PASSED!
[Core1] Tests complete!

[Core0] ❤️ Heartbeat finished - 10/10 tests completed

============================================================
Final Results
============================================================
  ✅ Passed: 10
  ❌ Failed: 0
  📊 Total:  10
  📈 Rate:   100.0%

🎉 ALL TESTS PASSED!
============================================================
Done!
>>> 
