From 4c33bd09e7b17dcb639773eb63bed7a75f0de386 Mon Sep 17 00:00:00 2001 From: Martin Krischik Date: Wed, 25 Mar 2026 01:00:34 +0100 Subject: [PATCH] pico_ada_c01_blink_lt 1.2.0 (#1832) --- .../pico_ada_c01_blink_lt-1.2.0.toml | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 index/pi/pico_ada_c01_blink_lt/pico_ada_c01_blink_lt-1.2.0.toml diff --git a/index/pi/pico_ada_c01_blink_lt/pico_ada_c01_blink_lt-1.2.0.toml b/index/pi/pico_ada_c01_blink_lt/pico_ada_c01_blink_lt-1.2.0.toml new file mode 100644 index 00000000..e67077f0 --- /dev/null +++ b/index/pi/pico_ada_c01_blink_lt/pico_ada_c01_blink_lt-1.2.0.toml @@ -0,0 +1,71 @@ +name = "pico_ada_c01_blink_lt" +description = "Chapter 1 Reloaded: Dual-Core Light Tasking" +long-description = """Blinking LEDs on Both Cores +Updated Chapter 1 using the new +light_tasking_rp2040 runtime - now with proper multi-core support, +Ada.Real_Time, and delay until for accurate, slippage-free LED blinking on +Raspberry Pi Pico. + +Contained in Chapter 01 reloaded are: + +1. blink - Jeremy Grosser Ada sample +2. sketch_01_1_blink - Chapter 1.1 Blink internal LED +3. sketch_01_2_blink - Chapter 1.2 Blink external LED +4. double_blink-main - double blink using both cores. + +Read the full tutorial at [Chapter 1 Reloaded: Dual-Core Light Tasking - +Blinking LEDs on Both +Cores](https://pi-ada-tutorial.sourceforge.io/pico_ada_c01_blink_lt) + +> After quick community help, I rewrote Chapter 1 to use light tasking on both +> RP2040 cores. No more manual timers - clean, precise dual-LED blinking with +> zero slippage. +""" + +version = "1.2.0" +licenses = "GPL-3.0-or-later" +authors = ["Martin Krischik "] +maintainers = ["Martin Krischik "] +maintainers-logins = ["krischik"] +website = "https://sourceforge.net/projects/pi-ada-tutorial/" +tags = ["raspberry", "pi", "pico", "rp2040", "tasking", "light-tasking", "ada2022"] +executables = [ + "blink", + "sketch_01_1_blink", + "sketch_01_2_blink", + "double_blink-main" +] + +[build-switches] +"*".ada_version = ["-gnat2022"] +development.compile_checks = "Warnings" +development.contracts = "Yes" +development.runtime_checks = "Overflow" +release.compile_checks = "Warnings" +release.contracts = "No" +release.runtime_checks = "Default" +validation.compile_checks = "Warnings" +validation.contracts = "Yes" +validation.runtime_checks = "Everything" + +[[depends-on]] +pico_bsp = "^2.2" +light_tasking_rp2040 = "^15.2" + +[configuration.values] +rp2040_hal.Use_Startup = false +rp2040_hal.Interrupts = "bb_runtimes" +light_tasking_rp2040.Max_CPUs = 2 +light_tasking_rp2040.Board = "rpi_pico" + +# vim: set textwidth=0 nowrap tabstop=8 shiftwidth=4 softtabstop=4 expandtab : +# vim: set filetype=toml fileencoding=utf-8 fileformat=unix foldmethod=diff : +# vim: set spell spelllang=en_gb : + +[origin] +hashes = [ +"sha256:90c8b4e828696b644170ba12b84c2a0487ebd49de3c27f5bd6d13d7600d7c5ba", +"sha512:9479290adb26d5bb7c588cf7fcb026e130be0148e4f441036b83b3d220f284ff7cd857aac74b5b4136a59dbeb1f271de93751a20c589b2e8fc08301f77dc7fef", +] +url = "https://sourceforge.net/projects/pi-ada-tutorial/files/Alire/pico_ada_c01_blink_lt-1.2.0.tgz" +