Debugging-zephyr-assert-header

From Wiki at Neela Nurseries
Revision as of 20:02, 9 August 2022 by Ted (talk | contribs) (Noting Zephyr commit which fixes conflicting definitions of assert().)
Jump to: navigation, search

2022-08-09 Tuesday

Which of these assert.h files need we include in our RP2040 explorations project?

ted@localhost:~/projects-sandbox/workspace-for-rpi$ find . -name assert.h
./zephyr/lib/libc/minimal/include/assert.h
./modules/lib/chre/platform/include/chre/platform/assert.h
./modules/lib/chre/util/include/chre/util/nanoapp/assert.h
./modules/lib/chre/std_overrides/include/assert.h
./modules/hal/libmetal/libmetal/lib/assert.h
./modules/hal/libmetal/libmetal/lib/system/freertos/assert.h
./modules/hal/libmetal/libmetal/lib/system/zephyr/assert.h
./modules/hal/libmetal/libmetal/lib/system/nuttx/assert.h
./modules/hal/libmetal/libmetal/lib/system/generic/assert.h
./modules/hal/libmetal/libmetal/lib/system/linux/assert.h
./modules/hal/rpi_pico/src/common/pico_base/include/pico/assert.h
./modules/hal/espressif/components/newlib/platform_include/assert.h


Reviewing latest committed Zephyr RTOS sources for ~/zephyr/include/zephyr/drivers/reset.h find that there is a name conflict addressed here between drivers/reset/reset_rpi_pico.c and newlibc assert() definition or name: