We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7880405 commit 1e6c122Copy full SHA for 1e6c122
src/common/pico_binary_info/include/pico/binary_info/code.h
@@ -7,7 +7,12 @@
7
#ifndef _PICO_BINARY_INFO_CODE_H
8
#define _PICO_BINARY_INFO_CODE_H
9
10
+// pico.h is not available when PICO_NO_BINARY_INFO=1 is used for builds outside of the SDK (e.g. picotool)
11
+// and only needed anyway (because of macro definitions) in PICO_NO_BINARY_INFO=0 builds
12
+#if !PICO_NO_BINARY_INFO
13
#include "pico.h"
14
+#endif
15
+
16
#include "pico/binary_info/structure.h"
17
18
#if !PICO_NO_BINARY_INFO
0 commit comments