Skip to content

Commit d42f94a

Browse files
committed
Add build defines for host os and fqbn (for debug purposes)
1 parent 28f2855 commit d42f94a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ build.code_debug=0
9595
build.defines=
9696
build.loop_core=
9797
build.event_core=
98-
build.extra_flags=-DESP32 -DCORE_DEBUG_LEVEL={build.code_debug} {build.loop_core} {build.event_core} {build.defines} {build.extra_flags.{build.mcu}}
98+
build.extra_flags=-DARDUINO_HOST_OS="{runtime.os}" -DARDUINO_FQBN="{build.fqbn}" -DESP32 -DCORE_DEBUG_LEVEL={build.code_debug} {build.loop_core} {build.event_core} {build.defines} {build.extra_flags.{build.mcu}}
9999
build.extra_libs=
100100
build.memory_type={build.boot}_qspi
101101

0 commit comments

Comments
 (0)