Skip to content

Commit 422a446

Browse files
committed
Add -DESP8266 preprocessor flag
Close #26
1 parent a74213f commit 422a446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/esp8266com/esp8266/platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ compiler.size.cmd=xtensa-lx106-elf-size
4242
compiler.esptool.cmd=esptool
4343

4444
# This can be overriden in boards.txt
45-
build.extra_flags=
45+
build.extra_flags=-DESP8266
4646

4747
# These can be overridden in platform.local.txt
4848
compiler.c.extra_flags=

0 commit comments

Comments
 (0)