@@ -343,6 +343,11 @@ $(GEN)/esp32_spi-flash.h: \
343
343
$< spi_flash_source $(VERSION) $(REVISION) \
344
344
esp32/optional/spi-flash/spi-flash.fs >$@
345
345
346
+ $(GEN ) /esp32_espnow.h : \
347
+ tools/source_to_string.js esp32/optional/espnow/espnow.fs | $(GEN)
348
+ $< espnow_source $(VERSION) $(REVISION) \
349
+ esp32/optional/espnow/espnow.fs >$@
350
+
346
351
$(GEN ) /esp32_serial-bluetooth.h : \
347
352
tools/source_to_string.js \
348
353
esp32/optional/serial-bluetooth/bterm.fs \
@@ -358,7 +363,8 @@ OPTIONAL_MODULES = \
358
363
$(ESP32 ) /ESP32forth/interrupts.h \
359
364
$(ESP32 ) /ESP32forth/rmt.h \
360
365
$(ESP32 ) /ESP32forth/serial-bluetooth.h \
361
- $(ESP32 ) /ESP32forth/spi-flash.h
366
+ $(ESP32 ) /ESP32forth/spi-flash.h \
367
+ $(ESP32 ) /ESP32forth/espnow.h
362
368
363
369
add-optional : $(OPTIONAL_MODULES )
364
370
@@ -702,6 +708,15 @@ $(ESP32)/ESP32forth/optional/spi-flash.h: \
702
708
spi_flash=@$(GEN ) /esp32_spi-flash.h \
703
709
>$@
704
710
711
+ $(ESP32 ) /ESP32forth/optional/espnow.h : \
712
+ esp32/optional/espnow/espnow.h \
713
+ $(GEN)/esp32_espnow.h | $(ESP32)/ESP32forth/optional
714
+ cat esp32/optional/espnow/espnow.h | tools/replace.js \
715
+ VERSION =$(VERSION ) \
716
+ REVISION=$(REVISION ) \
717
+ espnow=@$(GEN ) /esp32_espnow.h \
718
+ >$@
719
+
705
720
# ---- ESP32 ARDUINO BUILD AND FLASH ----
706
721
707
722
ARDUINO_BUILDER ="/mnt/c/Program Files (x86)/Arduino/arduino-builder.exe"
@@ -805,7 +820,8 @@ $(ESP32)/ESP32forth.zip: \
805
820
$(ESP32)/ESP32forth/optional/interrupts.h \
806
821
$(ESP32)/ESP32forth/optional/rmt.h \
807
822
$(ESP32)/ESP32forth/optional/serial-bluetooth.h \
808
- $(ESP32)/ESP32forth/optional/spi-flash.h
823
+ $(ESP32)/ESP32forth/optional/spi-flash.h \
824
+ $(ESP32)/ESP32forth/optional/espnow.h
809
825
cd $(ESP32) && rm -f ESP32forth.zip && zip -r ESP32forth.zip ESP32forth
810
826
811
827
# ---- Publish to Archive ----
0 commit comments