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 <tokita.hiroshi@gmail.com>
This commit is contained in:
TOKITA Hiroshi
2024-12-25 08:31:17 +09:00
committed by Fabio Baltieri
parent 1e6fe9ffda
commit e8a35bc567

View File

@@ -29,8 +29,12 @@
/* Convert uses of asm, which is not supported in c99, to __asm */
#define asm __asm
/* Disable binary info */
/* Configure binary info */
#ifndef CONFIG_RPI_PICO_BINARY_INFO
#define PICO_NO_BINARY_INFO 1
#else
#define PICO_NO_BINARY_INFO 0
#endif
#ifdef CONFIG_DT_HAS_RASPBERRYPI_PICO_XOSC_ENABLED
#include <zephyr/devicetree.h>