Skip to content

Commit f0b5dc0

Browse files
committed
modules: hal_rpi_pico: Make PICO_NO_BINARY_INFO configurable
Use the definition of PICO_NO_BINARY_INFO if it already exists, set it as 1 if not so. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent 4639ed3 commit f0b5dc0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/hal_rpi_pico/pico/config_autogen.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@
2929
/* Convert uses of asm, which is not supported in c99, to __asm */
3030
#define asm __asm
3131

32-
/* Disable binary info */
32+
/* Configure binary info */
33+
#ifndef CONFIG_RPI_PICO_BINARY_INFO
3334
#define PICO_NO_BINARY_INFO 1
35+
#else
36+
#define PICO_NO_BINARY_INFO 0
37+
#endif
3438

3539
#ifdef CONFIG_DT_HAS_RASPBERRYPI_PICO_XOSC_ENABLED
3640
#include <zephyr/devicetree.h>

0 commit comments

Comments
 (0)