Skip to content

Commit 287770f

Browse files
committed
Merge remote-tracking branch 'upstream/main' into esp-tcpserver
2 parents 37a8c1c + 47015d7 commit 287770f

File tree

209 files changed

+7842
-1254
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+7842
-1254
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,32 @@ jobs:
4343
run: |
4444
gcc --version
4545
python3 --version
46+
- name: Translations
47+
run: make check-translate
48+
- name: New boards check
49+
run: python3 -u ci_new_boards_check.py
50+
working-directory: tools
51+
- name: Duplicate USB VID/PID Check
52+
run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
53+
- name: Build and Validate Stubs
54+
run: make check-stubs -j2
55+
- uses: actions/upload-artifact@v2
56+
with:
57+
name: stubs
58+
path: circuitpython-stubs*
59+
- name: Test Documentation Build (HTML)
60+
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
61+
- uses: actions/upload-artifact@v2
62+
with:
63+
name: docs
64+
path: _build/html
65+
- name: Test Documentation Build (LaTeX/PDF)
66+
run: |
67+
make latexpdf
68+
- uses: actions/upload-artifact@v2
69+
with:
70+
name: docs
71+
path: _build/latex
4672
- name: Build mpy-cross
4773
run: make -C mpy-cross -j2
4874
- name: Build unix port
@@ -68,32 +94,6 @@ jobs:
6894
- name: mpy Tests
6995
run: MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
7096
working-directory: tests
71-
- name: Build and Validate Stubs
72-
run: make check-stubs -j2
73-
- uses: actions/upload-artifact@v2
74-
with:
75-
name: stubs
76-
path: circuitpython-stubs*
77-
- name: Test Documentation Build (HTML)
78-
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
79-
- uses: actions/upload-artifact@v2
80-
with:
81-
name: docs
82-
path: _build/html
83-
- name: Test Documentation Build (LaTeX/PDF)
84-
run: |
85-
make latexpdf
86-
- uses: actions/upload-artifact@v2
87-
with:
88-
name: docs
89-
path: _build/latex
90-
- name: Translations
91-
run: make check-translate
92-
- name: New boards check
93-
run: python3 -u ci_new_boards_check.py
94-
working-directory: tools
95-
- name: Duplicate USB VID/PID Check
96-
run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
9797
- name: Build mpy-cross.static-raspbian
9898
run: make -C mpy-cross -j2 -f Makefile.static-raspbian
9999
- uses: actions/upload-artifact@v2
@@ -185,6 +185,7 @@ jobs:
185185
- "arduino_nano_33_iot"
186186
- "arduino_zero"
187187
- "bast_pro_mini_m0"
188+
- "bastble"
188189
- "bdmicro_vina_d21"
189190
- "bdmicro_vina_d51"
190191
- "bless_dev_board_multi_sensor"
@@ -260,6 +261,7 @@ jobs:
260261
- "monster_m4sk"
261262
- "ndgarage_ndbit6"
262263
- "ndgarage_ndbit6_v2"
264+
- "neopixel_trinkey_m0"
263265
- "nfc_copy_cat"
264266
- "nice_nano"
265267
- "nucleo_f746zg"
@@ -430,6 +432,8 @@ jobs:
430432
fail-fast: false
431433
matrix:
432434
board:
435+
- "adafruit_feather_esp32s2_nopsram"
436+
- "adafruit_feather_esp32s2_tftback_nopsram"
433437
- "adafruit_magtag_2.9_grayscale"
434438
- "adafruit_metro_esp32s2"
435439
- "electroniccats_bastwifi"

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v1
1717
- uses: actions/setup-python@v1
18+
- name: Install deps
19+
run: sudo apt-get update && sudo apt-get install -y gettext
20+
- name: Populate selected submodules
21+
run: git submodule update --init extmod/ulab
1822
- name: set PY
1923
run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
2024
- uses: actions/cache@v1

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git
153153
[submodule "ports/esp32s2/esp-idf"]
154154
path = ports/esp32s2/esp-idf
155-
url = https://github.com/jepler/esp-idf.git
155+
url = https://github.com/adafruit/esp-idf.git
156156
[submodule "ports/esp32s2/certificates/nina-fw"]
157157
path = ports/esp32s2/certificates/nina-fw
158158
url = https://github.com/adafruit/nina-fw.git

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pseudoxml:
222222
all-source:
223223

224224
locale/circuitpython.pot: all-source
225-
find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
225+
find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o - | sed -e '/"POT-Creation-Date: /d' > $@
226226

227227
# Historically, `make translate` updated the .pot file and ran msgmerge.
228228
# However, this was a frequent source of merge conflicts. Weblate can perform

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
# Add any extra paths that contain custom files (such as robots.txt or
277277
# .htaccess) here, relative to this directory. These files are copied
278278
# directly to the root of the documentation.
279-
#html_extra_path = []
279+
html_extra_path = ["docs/robots.txt"]
280280

281281
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
282282
# using the given strftime format.

docs/robots.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
User-agent: *
2+
Allow: /*/latest/
3+
Allow: /en/latest/ # Fallback for bots that don't understand wildcards
4+
Allow: /*/6.0.x/
5+
Allow: /en/6.0.x/ # Fallback for bots that don't understand wildcards
6+
Disallow: /

extmod/ulab

Submodule ulab updated 101 files

0 commit comments

Comments
 (0)