Tweaks to section-attribute stuff in platform.h (#1202)
This commit is contained in:
parent
36ba9e64bc
commit
729c7f4326
@ -153,9 +153,9 @@ extern "C" {
|
||||
*
|
||||
* For example a `uint32_t` foo that will retain its value if the program is restarted by reset.
|
||||
*
|
||||
* uint32_t __uninitialized_ram("foo");
|
||||
* uint32_t __uninitialized_ram(foo);
|
||||
*
|
||||
* The section attribute is `.uninitialized_ram.<group>`
|
||||
* The section attribute is `.uninitialized_data.<group>`
|
||||
*
|
||||
* \param group a string suffix to use in the section name to distinguish groups that can be linker
|
||||
* garbage-collected independently
|
||||
@ -174,7 +174,7 @@ extern "C" {
|
||||
* \param group a string suffix to use in the section name to distinguish groups that can be linker
|
||||
* garbage-collected independently
|
||||
*/
|
||||
#define __in_flash(group) __attribute__((section(".flashdata" group)))
|
||||
#define __in_flash(group) __attribute__((section(".flashdata." group)))
|
||||
|
||||
/*! \brief Indicates a function should not be stored in flash
|
||||
* \ingroup pico_platform
|
||||
|
Loading…
Reference in New Issue
Block a user