Some entries for macros missing in generated docs #2129
Labels
No labels
bazel
bluetooth
board settings
boot_stage2
bug
build
c++
can't reproduce
clang
clib-interface
cmsis
code cleanliness
code size
compiler version issues
cyw43_driver
debug
discussion
documentation
duplicate
dynamic_clock
elf2uf2
enhancement
errata
filesystem
flash layout
floating point
FreeRTOS
hardware_adc
hardware_claim
hardware_clocks
hardware_dma
hardware_exception
hardware_flash
hardware_gpio
hardware_i2c
hardware_irq
hardware_pio
hardware_pwm
hardware_rcp
hardware_rtc
hardware_spi
hardware_sync
hardware_uart
hardware_vreg
hardware_watchdog
hardware_xosc
help wanted
host
IAR
installation
invalid
linker scripts
lto
lwip
mbedtls
missing API
needs reporter detail
networking
newlib
newlib-multicore
non-c
non-cmake
non-gcc
openocd
orphan PR
OS integration
pico_async_context
pico_base
pico_binary_info
pico_flash
picolibc
pico_lwip
pico_malloc
pico_multicore
pico_printf
pico_runtime
pico_stdio
pico_stdio_usb
pico_sync
pico_time
pico_util
pioasm
port
question
review
review2
rtos interop
runtime init
static library
svd
test
tinyusb
vscode
wifi integration
wontfix
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-raspberrypi/pico-sdk#2129
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It looks like some macro entries like for
__not_in_flash(group)or__not_in_flash_func(func_name)are missing in the online and PDF docs. Actually, their example entries are there but under__scratch_x(group)and__no_inline_not_in_flash_func(func_name)instead:https://www.raspberrypi.com/documentation/pico-sdk/runtime.html#macros-3
https://www.raspberrypi.com/documentation/pico-sdk/runtime.html#group_pico_platform_1gad8b78e068558946081789ce1935528bf
https://www.raspberrypi.com/documentation/pico-sdk/runtime.html#group_pico_platform_1gad9ab05c9a8f0ab455a5e11773d610787
It looks like the description of
__uninitialized_ram(group)should have dash and/or closing parenthesis somehow changed and the description of parametergroupextended that it would also specify the name of the variable itself.I came here to report this as an issue. I'd try to figure out what the actual mistake is, but the doc generation is a complex system I can't really run myself.
My guess is that that unclosed
{are the issue. and that the three lines like:should be changed to
Have a look at Appendix B of https://pip.raspberrypi.com/documents/RP-009085-KB if you haven't already seen it.
Yes, I refer to that document regularly, it is excellent, which is why I am reporting the minor error in the handling of that specific area. Indeed in the PDF linked, it has the same issue (see section 5.5.16.4.13) - it is a mishmash of
__not_in_flash_func,_no_inline_not_in_flash_func, and__time_critical_func, all in the5.5.16.4.13. __no_inline_not_in_flash_funcsection because of the mis-parsing of the header file.My point about the doc generation was simply that I am unable to generate the docs myself and thus try to figure out what in particular is causing the error in parsing, but my guess is it is the unmatched
{as I could not see anything else in there that looked clearly different to other sections.