Skip to content

Commit

Permalink
Merge pull request #8 from adafruit/main
Browse files Browse the repository at this point in the history
Merge latest changes
  • Loading branch information
ecasadod authored Jan 20, 2021
2 parents 7c9f631 + f1e4960 commit 984f1a1
Show file tree
Hide file tree
Showing 170 changed files with 5,732 additions and 755 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
board:
- "8086_commander"
- "ADM_B_NRF52840_1"
- "TG-Watch02A"
- "TG-Watch"
- "aloriumtech_evo_m51"
- "aramcon_badge_2019"
- "arduino_mkr1300"
Expand Down Expand Up @@ -261,6 +261,7 @@ jobs:
- "monster_m4sk"
- "ndgarage_ndbit6"
- "ndgarage_ndbit6_v2"
- "neopixel_trinkey_m0"
- "nfc_copy_cat"
- "nice_nano"
- "nucleo_f746zg"
Expand Down Expand Up @@ -314,6 +315,7 @@ jobs:
- "spresense"
- "stackrduino_m0_pro"
- "stm32f411ce_blackpill"
- "stm32f411ce_blackpill_with_flash"
- "stm32f411ve_discovery"
- "stm32f412zg_discovery"
- "stm32f4_discovery"
Expand Down Expand Up @@ -431,6 +433,8 @@ jobs:
fail-fast: false
matrix:
board:
- "adafruit_feather_esp32s2_nopsram"
- "adafruit_feather_esp32s2_tftback_nopsram"
- "adafruit_magtag_2.9_grayscale"
- "adafruit_metro_esp32s2"
- "electroniccats_bastwifi"
Expand Down Expand Up @@ -461,7 +465,7 @@ jobs:
id: idf-cache
with:
path: ${{ github.workspace }}/.idf_tools
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200801
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210114
- name: Clone IDF submodules
run: |
(cd $IDF_PATH && git submodule update --init)
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- name: Install deps
run: sudo apt-get update && sudo apt-get install -y gettext
- name: Populate selected submodules
run: git submodule update --init extmod/ulab
- name: set PY
run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
- uses: actions/cache@v1
Expand Down
15 changes: 15 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -156,3 +156,18 @@
[submodule "ports/esp32s2/certificates/nina-fw"]
path = ports/esp32s2/certificates/nina-fw
url = https://github.com/adafruit/nina-fw.git
[submodule "frozen/Adafruit_CircuitPython_ST7789"]
path = frozen/Adafruit_CircuitPython_ST7789
url = https://github.com/adafruit/Adafruit_CircuitPython_ST7789
[submodule "frozen/Adafruit_CircuitPython_Display_Shapes"]
path = frozen/Adafruit_CircuitPython_Display_Shapes
url = https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes
[submodule "frozen/Adafruit_CircuitPython_Display_Text"]
path = frozen/Adafruit_CircuitPython_Display_Text
url = https://github.com/adafruit/Adafruit_CircuitPython_Display_Text
[submodule "frozen/Adafruit_CircuitPython_ProgressBar"]
path = frozen/Adafruit_CircuitPython_ProgressBar
url = https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar
[submodule "frozen/Adafruit_CircuitPython_LC709203F"]
path = frozen/Adafruit_CircuitPython_LC709203F
url = https://github.com/adafruit/Adafruit_CircuitPython_LC709203F
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ pseudoxml:
all-source:

locale/circuitpython.pot: all-source
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
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' > $@

# Historically, `make translate` updated the .pot file and ran msgmerge.
# However, this was a frequent source of merge conflicts. Weblate can perform
Expand Down
8 changes: 6 additions & 2 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import subprocess
import sys
import urllib.parse
import time

import recommonmark
from sphinx.transforms import SphinxTransform
Expand Down Expand Up @@ -101,9 +102,12 @@
# The master toctree document.
#master_doc = 'index'

# Get current date (execution) for copyright year
current_date = time.localtime()

# General information about the project.
project = 'Adafruit CircuitPython'
copyright = '2014-2020, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'
copyright = f'2014-{current_date.tm_year}, MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)'

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

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
6 changes: 6 additions & 0 deletions docs/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
User-agent: *
Allow: /*/latest/
Allow: /en/latest/ # Fallback for bots that don't understand wildcards
Allow: /*/6.0.x/
Allow: /en/6.0.x/ # Fallback for bots that don't understand wildcards
Disallow: /
2 changes: 1 addition & 1 deletion extmod/ulab
Submodule ulab updated 102 files
2 changes: 1 addition & 1 deletion frozen/Adafruit_CircuitPython_DRV2605
2 changes: 1 addition & 1 deletion frozen/Adafruit_CircuitPython_DS3231
1 change: 1 addition & 0 deletions frozen/Adafruit_CircuitPython_Display_Shapes
1 change: 1 addition & 0 deletions frozen/Adafruit_CircuitPython_Display_Text
1 change: 1 addition & 0 deletions frozen/Adafruit_CircuitPython_LC709203F
1 change: 1 addition & 0 deletions frozen/Adafruit_CircuitPython_ProgressBar
2 changes: 1 addition & 1 deletion frozen/Adafruit_CircuitPython_RFM9x
2 changes: 1 addition & 1 deletion frozen/Adafruit_CircuitPython_Register
2 changes: 1 addition & 1 deletion frozen/Adafruit_CircuitPython_Requests
1 change: 1 addition & 0 deletions frozen/Adafruit_CircuitPython_ST7789
2 changes: 1 addition & 1 deletion lib/tinyusb
Submodule tinyusb updated 40 files
+0 −10 .github/ISSUE_TEMPLATE/question.md
+3 −0 CONTRIBUTORS.md
+3 −2 README.md
+5 −0 docs/boards.md
+0 −0 examples/device/cdc_msc_freertos/.skip.MCU_MKL25ZXX
+6 −1 examples/device/hid_composite_freertos/src/main.c
+0 −0 examples/device/msc_dual_lun/.skip.MCU_MKL25ZXX
+0 −0 examples/device/net_lwip_webserver/.skip.MCU_MKL25ZXX
+1 −1 hw/bsp/board_mcu.h
+234 −0 hw/bsp/double_m33_express/LPC55S69_cm33_core0_uf2.ld
+51 −0 hw/bsp/double_m33_express/board.mk
+400 −0 hw/bsp/double_m33_express/double_m33_express.c
+46 −0 hw/bsp/frdm_kl25z/board.mk
+148 −0 hw/bsp/frdm_kl25z/frdm_kl25z.c
+1 −1 hw/mcu/nxp
+1 −1 src/class/hid/hid_device.h
+1 −1 src/class/msc/msc.h
+193 −191 src/class/msc/msc_device.c
+0 −871 src/common/sys_queue.h
+1 −0 src/common/tusb_compiler.h
+8 −2 src/common/tusb_fifo.c
+21 −1 src/device/usbd.c
+8 −0 src/device/usbd_control.c
+3 −4 src/portable/dialog/da146xx/dcd_da146xx.c
+19 −4 src/portable/espressif/esp32s2/dcd_esp32s2.c
+12 −3 src/portable/microchip/samd/dcd_samd.c
+1 −1 src/portable/microchip/samg/dcd_samg.c
+1 −1 src/portable/nordic/nrf5x/dcd_nrf5x.c
+1 −2 src/portable/nuvoton/nuc120/dcd_nuc120.c
+1 −1 src/portable/nuvoton/nuc121/dcd_nuc121.c
+477 −0 src/portable/nxp/khci/dcd_khci.c
+1 −1 src/portable/nxp/lpc17_40/dcd_lpc17_40.c
+2 −2 src/portable/nxp/lpc_ip3511/dcd_lpc_ip3511.c
+1 −1 src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c
+128 −93 src/portable/st/synopsys/dcd_synopsys.c
+3 −3 src/portable/ti/msp430x5xx/dcd_msp430x5xx.c
+1 −1 src/portable/valentyusb/eptri/dcd_eptri.c
+10 −6 src/tusb_option.h
+1 −1 test/test/device/msc/test_msc_device.c
+3 −3 test/test/support/tusb_config.h
2 changes: 1 addition & 1 deletion lib/uzlib
Submodule uzlib updated 248 files
Loading

0 comments on commit 984f1a1

Please sign in to comment.