1.9.0
Learn three different ways to perform serial communication with the
Raspberry Pi Pico using Ada - SWD semihosting, UART and USB CDC-ACM.
Three practical serial output methods together with complete example programs for sending and receiving data.
Contained in Chapter 08 are:
- sketch_08_1_serial_print.adb - Chapter 8.1 Print on all three destinations
- sketch_08_2_serial_rw.adb - Chapter 8.2 Read data from all three destinations
Read the full tutorial at Chapter 8: Serial Communication (UART, USB,
SWD), GNATdoc
documentation, SourceForge
repository
- Authors
- Martin Krischik <krischik@users.sourceforge.net>
- Maintainers
- Martin Krischik <krischik@users.sourceforge.net>
- Licenses
- GPL-3.0-or-later
- Tags
- raspberry, pi, pico, rp2040, tasking, light-tasking, ada2022, embedded
- Executables
- sketch_08_1_serial_print, sketch_08_2_serial_rw
- Manifest
- index/pi/pico_ada_c08_serial_communication/pico_ada_c08_serial_communication-1.9.0.toml
Build and platform metadata 3 fields
- Build switches
{
"*": {
"ada_version": [
"-gnat2022"
]
},
"development": {
"compile_checks": "Warnings",
"contracts": "Yes",
"runtime_checks": "Overflow"
},
"release": {
"compile_checks": "Warnings",
"contracts": "No",
"runtime_checks": "Default"
},
"validation": {
"compile_checks": "Warnings",
"contracts": "Yes",
"runtime_checks": "Everything"
}
}
- Configuration
{
"values": {
"adacl_embedded": {
"Event_Log_Buffer_Size": 0,
"Variant": "no_tasking"
},
"embedded_rp2040": {
"Board": "rpi_pico",
"Max_CPUs": 2
},
"pico_xbsp": {
"Variant": "tasking"
},
"rp2040_hal": {
"Interrupts": "bb_runtimes",
"Use_Startup": false
}
}
}
- Additional origin data
{
"hashes": [
"sha256:6af7d7bc67ed28453773884696c855912b7aa8929ff90dbc79e475a6b305efbc",
"sha512:67f813c36dec010abc561c0d878863df74f19d5c53cc0fac00439b6af54d8057f1f57ba1836d13d19b135b8f76b572549db98feb6a8c962be791f1293b958e6b"
]
}