8000 Add ESP-NOW Support by microdev1 · Pull Request #7470 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

Add ESP-NOW Support #7470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions locale/circuitpython.pot
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ msgstr ""

#: ports/espressif/boards/m5stack_core_basic/mpconfigboard.h
#: ports/espressif/boards/m5stack_core_fire/mpconfigboard.h
#: ports/espressif/boards/m5stack_stick_c/mpconfigboard.h
msgid "Button A was pressed at start up.\n"
msgstr ""

Expand Down Expand Up @@ -917,6 +918,18 @@ msgstr ""
msgid "ESP-IDF memory allocation failed"
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "ESPNow.recv(): buffer error"
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "ESPNow.recvinto(): Invalid argument"
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "ESPNow: bytes or bytearray wrong length"
msgstr ""

#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
Expand Down Expand Up @@ -2429,6 +2442,10 @@ msgstr ""
msgid "addresses is empty"
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "an error occured"
msgstr ""

#: py/compile.c
msgid "annotation must be an identifier"
msgstr ""
Expand Down Expand Up @@ -2953,6 +2970,10 @@ msgid ""
"documentation for instructions."
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "espnow not inited"
msgstr ""

#: py/runtime.c
msgid "exceptions must derive from BaseException"
msgstr ""
Expand Down Expand Up @@ -3314,6 +3335,10 @@ msgstr ""
msgid "invalid format specifier"
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "invalid handler"
msgstr ""

#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
Expand Down Expand Up @@ -3858,6 +3883,10 @@ msgstr ""
msgid "queue overflow"
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "rate option not supported"
msgstr ""

#: py/parse.c
msgid "raw f-strings are not supported"
msgstr ""
Expand Down Expand Up @@ -4153,6 +4182,10 @@ msgstr ""
msgid "unindent doesn't match any outer indent level"
msgstr ""

#: ports/espressif/bindings/espnow/ESPNow.c
msgid "unknown config param"
msgstr ""

#: py/objstr.c
#, c-format
msgid "unknown conversion specifier %c"
Expand Down
5 changes: 5 additions & 0 deletions ports/espressif/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ CFLAGS += -isystem esp32-camera/driver/include
CFLAGS += -isystem esp32-camera/conversions/include
endif

ifneq ($(CIRCUITPY_ESPNOW),0)
SRC_ESPNOW := $(wildcard bindings/espnow/*.c)
SRC_C += $(SRC_ESPNOW)
endif

ifneq ($(CIRCUITPY_ESPULP),0)
SRC_ULP := \
$(wildcard common-hal/espulp/*.c) \
Expand Down
Loading
0