diff --git a/src/rp2_common/pico_platform/include/pico/platform.h b/src/rp2_common/pico_platform/include/pico/platform.h index d576e79..e263b42 100644 --- a/src/rp2_common/pico_platform/include/pico/platform.h +++ b/src/rp2_common/pico_platform/include/pico/platform.h @@ -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.` + * The section attribute is `.uninitialized_data.` * * \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