Skip to content

Commit 984f1a1

Browse files
authored
Merge pull request #8 from adafruit/main
Merge latest changes
2 parents 7c9f631 + f1e4960 commit 984f1a1

File tree

170 files changed

+5732
-755
lines changed

Some content is hidden

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

170 files changed

+5732
-755
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ jobs:
176176
board:
177177
- "8086_commander"
178178
- "ADM_B_NRF52840_1"
179-
- "TG-Watch02A"
179+
- "TG-Watch"
180180
- "aloriumtech_evo_m51"
181181
- "aramcon_badge_2019"
182182
- "arduino_mkr1300"
@@ -261,6 +261,7 @@ jobs:
261261
- "monster_m4sk"
262262
- "ndgarage_ndbit6"
263263
- "ndgarage_ndbit6_v2"
264+
- "neopixel_trinkey_m0"
264265
- "nfc_copy_cat"
265266
- "nice_nano"
266267
- "nucleo_f746zg"
@@ -314,6 +315,7 @@ jobs:
314315
- "spresense"
315316
- "stackrduino_m0_pro"
316317
- "stm32f411ce_blackpill"
318+
- "stm32f411ce_blackpill_with_flash"
317319
- "stm32f411ve_discovery"
318320
- "stm32f412zg_discovery"
319321
- "stm32f4_discovery"
@@ -431,6 +433,8 @@ jobs:
431433
fail-fast: false
432434
matrix:
433435
board:
436+
- "adafruit_feather_esp32s2_nopsram"
437+
- "adafruit_feather_esp32s2_tftback_nopsram"
434438
- "adafruit_magtag_2.9_grayscale"
435439
- "adafruit_metro_esp32s2"
436440
- "electroniccats_bastwifi"
@@ -461,7 +465,7 @@ jobs:
461465
id: idf-cache
462466
with:
463467
path: ${{ github.workspace }}/.idf_tools
464-
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200801
468+
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210114
465469
- name: Clone IDF submodules
466470
run: |
467471
(cd $IDF_PATH && git submodule update --init)

.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: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,18 @@
156156
[submodule "ports/esp32s2/certificates/nina-fw"]
157157
path = ports/esp32s2/certificates/nina-fw
158158
url = https://github.com/adafruit/nina-fw.git
159+
[submodule "frozen/Adafruit_CircuitPython_ST7789"]
160+
path = frozen/Adafruit_CircuitPython_ST7789
161+
url = https://github.com/adafruit/Adafruit_CircuitPython_ST7789
162+
[submodule "frozen/Adafruit_CircuitPython_Display_Shapes"]
163+
path = frozen/Adafruit_CircuitPython_Display_Shapes
164+
url = https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes
165+
[submodule "frozen/Adafruit_CircuitPython_Display_Text"]
166+
path = frozen/Adafruit_CircuitPython_Display_Text
167+
url = https://github.com/adafruit/Adafruit_CircuitPython_Display_Text
168+
[submodule "frozen/Adafruit_CircuitPython_ProgressBar"]
169+
path = frozen/Adafruit_CircuitPython_ProgressBar
170+
url = https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar
171+
[submodule "frozen/Adafruit_CircuitPython_LC709203F"]
172+
path = frozen/Adafruit_CircuitPython_LC709203F
173+
url = https://github.com/adafruit/Adafruit_CircuitPython_LC709203F

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: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import subprocess
2424
import sys
2525
import urllib.parse
26+
import time
2627

2728
import recommonmark
2829
from sphinx.transforms import SphinxTransform
@@ -101,9 +102,12 @@
101102
# The master toctree document.
102103
#master_doc = 'index'
103104

105+
# Get current date (execution) for copyright year
106+
current_date = time.localtime()
107+
104108
# General information about the project.
105109
project = 'Adafruit CircuitPython'
106-
copyright = '2014-2020, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'
110+
copyright = f'2014-{current_date.tm_year}, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'
107111

108112
# These are overwritten on ReadTheDocs.
109113
# The version info for the project you're documenting, acts as replacement for
@@ -276,7 +280,7 @@
276280
# Add any extra paths that contain custom files (such as robots.txt or
277281
# .htaccess) here, relative to this directory. These files are copied
278282
# directly to the root of the documentation.
279-
#html_extra_path = []
283+
html_extra_path = ["docs/robots.txt"]
280284

281285
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
282286
# 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 102 files

lib/tinyusb

Submodule tinyusb updated 40 files

lib/uzlib

Submodule uzlib updated 248 files

0 commit comments

Comments
 (0)