Skip to content

Commit ae4bb75

Browse files
committed
split espnow between bindings and common-hal
1 parent 9c430d4 commit ae4bb75

8 files changed

Lines changed: 535 additions & 307 deletions

File tree

locale/circuitpython.pot

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ msgstr ""
491491
msgid "Already have all-matches listener"
492492
msgstr ""
493493

494+
#: ports/espressif/bindings/espnow/ESPNow.c
494495
#: ports/espressif/common-hal/espulp/ULP.c
495496
#: shared-module/memorymonitor/AllocationAlarm.c
496497
#: shared-module/memorymonitor/AllocationSize.c
@@ -2431,6 +2432,7 @@ msgid "addresses is empty"
24312432
msgstr ""
24322433

24332434
#: ports/espressif/bindings/espnow/ESPNow.c
2435+
#: ports/espressif/common-hal/espnow/ESPNow.c
24342436
msgid "an error occured"
24352437
msgstr ""
24362438

@@ -3818,6 +3820,10 @@ msgstr ""
38183820
msgid "peer already exists"
38193821
msgstr ""
38203822

3823+
#: ports/espressif/bindings/espnow/ESPNow.c
3824+
msgid "peer not found"
3825+
msgstr ""
3826+
38213827
#: shared-bindings/bitmaptools/__init__.c shared-bindings/displayio/Bitmap.c
38223828
msgid "pixel coordinates out of bounds"
38233829
msgstr ""

ports/espressif/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,9 @@ CFLAGS += -isystem esp32-camera/conversions/include
260260
endif
261261

262262
ifneq ($(CIRCUITPY_ESPNOW),0)
263-
SRC_ESPNOW := $(wildcard bindings/espnow/*.c)
263+
SRC_ESPNOW := \
264+
$(wildcard common-hal/espnow/*.c) \
265+
$(wildcard bindings/espnow/*.c)
264266
SRC_C += $(SRC_ESPNOW)
265267
endif
266268

0 commit comments

Comments
 (0)