© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
S. SmithRP2040 Assembly Language Programminghttps://doi.org/10.1007/978-1-4842-7753-9_3

3. How to Build and Debug Programs

Stephen Smith1  
(1)
Gibsons, BC, Canada
 

In this chapter, we look in more detail at the build tools we are using. The RP2040 SDK does much of the work supporting building our programs, but it is beneficial to understand what is going on underneath the high-level tools. Next, we delve into the GNU debugger (gdb), which single-steps through our programs and examines registers and memory as we go.

CMake

CMake is an open source, build automation tool that is cross-platform and compiler independent. The goal of using CMake in the RP2040 SDK is ...

Get RP2040 Assembly Language Programming: ARM Cortex-M0+ on the Raspberry Pi Pico now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.