EasyManua.ls Logo

Raspberry Pi RP2040 - Setting Common Fields from Cmake

Raspberry Pi RP2040
77 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Setting common fields from CMake
You can also set fields directly from your project’s CMake file, e.g.,
pico_set_program_name(foo "not foo")
pico_set_program_description(foo "this is a foo")
pico_set_program_version_string(foo "0.00001a")
pico_set_program_url(foo "www.plinth.com/foo")
1. The name "foo" would be the default.
NOTE
All of these are passed as command line arguments to the compilation, so if you plan to use quotes, newlines etc.
you may have better luck defining it using
bi_decl in the code.
Getting started with Raspberry Pi Pico
Binary Information 73

Table of Contents

Related product manuals