1.8.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.8.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:149abc1746c734cc7e4024e6358eef2c4730ba9b22333ef5345775250862d263",
"sha512:8fcb433e6ee3ff0d55f8bc746d6d7a515f1e476d05523e3a61144fa72de16962181034c421281a6324b2b7f67eb39e348d8ac71dbafc0390fc0421c8ff63cbf0"
]
}