Commit Graph

25199 Commits

Author SHA1 Message Date
James Carr
c6f2dae591
Remove unused varg part of Error calls. 2021-09-10 09:39:20 +01:00
James Carr
1f446916c3
Improve the bounds checking on the location (the x, y co-ordinates) of a
VectorShape object so that it is consistent no matter where it is set from:
 * the constructor
 * the x and y setters
 * the location setter
2021-09-10 09:39:12 +01:00
Scott Shawcroft
0ee0ed7035
Merge pull request #5320 from rjp5th/main
Implement reset_reason for raspberrypi port
2021-09-09 10:54:14 -07:00
microDev
4986742e0e
Merge pull request #5322 from rdoursenaud/patch-1
Add required python packages to building docs
2021-09-09 22:12:59 +05:30
microDev
0bde894b5d
Merge pull request #5324 from Neradoc/patch-1
remove lingering reference to settings.py in docs
2021-09-09 22:11:43 +05:30
Neradoc
2ac0c0f686
remove lingering reference to settings.py in docs 2021-09-09 18:38:21 +02:00
Limor "Ladyada" Fried
492ce0216b
Merge pull request #5323 from PontusO/main
Added support for Challenger RP2040 WiFi
2021-09-09 12:11:32 -04:00
Pontus Oldberg
647eca6a81 Added support for Challenger RP2040 WiFi 2021-09-09 17:36:56 +02:00
microDev
09859a60e7
Merge pull request #5319 from tannewt/fix_nrf_gcc11
Fix the nRF builds with GCC 11.2
2021-09-09 09:09:34 +05:30
microDev
d3ab761f16
Merge pull request #5316 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-09-09 09:09:10 +05:30
Hosted Weblate
e7fd35b189
Merge remote-tracking branch 'origin/main' into main 2021-09-09 04:56:51 +02:00
Dan Halbert
8cef3d2773
Merge pull request #5321 from tannewt/fix_scan_after_p_bond
Fix scanning after a peripheral bond has been made
2021-09-08 22:56:46 -04:00
Max Holliday
fa83c1c2f9
adding boot counter to main.c
The boot counter is a uint8_t single-byte counter stored in the first NVM byte position (`micrcontroller.nvm[0]`). The counter increments by 1 each time the board boots, regardless if it's a hard or soft reset. 

Enable the boot counter by adding `#define CIRCUITPY_BOOT_COUNTER 1` to your board's mpconfigboard.h file. Note that an error will be thrown during the build if `CIRCUITPY_INTERNAL_NVM_SIZE` is not also set within mpconfigboard.h.
2021-09-08 19:56:23 -06:00
Max Holliday
5d29caf499
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-08 19:37:06 -06:00
Scott Shawcroft
2b4fdcdfa2
Fix scanning after a peripheral bond has been made
The BLE workflow will be advertising and the scan's load of
identities conflicts with it. This change ensures scanning and
advertising happens exclusively.

This showed as an unknown error 3204.

Fixes https://github.com/adafruit/Adafruit_CircuitPython_BLE/issues/134
2021-09-08 16:58:53 -07:00
Robert Pafford
65f8804816
Implement reset_reason for raspberrypi port 2021-09-08 18:34:34 -04:00
Raphaël Doursenaud
5dd19938ed
Add required python packages to building docs
Build fails almost silently without them.
Syncs with instructions at https://learn.adafruit.com/building-circuitpython/build-circuitpython
2021-09-08 23:48:50 +02:00
Scott Shawcroft
f2de010059
Fix the nRF builds with GCC 11.2
See adafruit/Adafruit_nRF52_Bootloader#221
for background on the flag.
2021-09-08 12:53:39 -07:00
Hosted Weblate
20d1ef27b9
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-09-08 21:35:28 +02:00
Scott Shawcroft
cfc4ed19aa
Merge pull request #5308 from microDev1/patch
Revert localization of `REPL` messages
2021-09-08 12:35:18 -07:00
Dan Halbert
f3da2808ab
Merge pull request #5312 from tannewt/ci_opt
Selectively build boards based on changed files
2021-09-07 22:34:21 -04:00
Dan Halbert
cce08c1997
Merge pull request #5314 from dhalbert/update-frozen-20210907
Update frozen libraries for 7.0.0
2021-09-07 22:31:46 -04:00
Dan Halbert
3c8eca3ef9 Update frozen libraries for 7.0.0 2021-09-07 18:23:19 -04:00
Kattni
2ea330581d
Merge pull request #5310 from dhalbert/rsp2040-i2s-fix
Fix RP2040 I2S: always copy to output buffer
2021-09-07 18:18:30 -04:00
Scott Shawcroft
a874043e1b
Selectively build boards based on changed files
This uses a step output from the test job to set the build matrix
for the board build jobs. The built boards depends on which files
were changed.

* Changes contained within ports/*/boards/ will build each board.
* Changes contained within ports/* will build all boards from the
  port.
* All other file changes will build all boards.

All boards will be build for pushes in `adafruit/circuitpython` as
well.

A side-effect is that we no longer need to explicitly list the
boards to build. It will automatically update as new folders are
added.

Related to #4009
2021-09-07 14:59:45 -07:00
Scott Shawcroft
daad0d0a86
Merge pull request #5304 from sommersoft/build_info_frozen_libs
Include Frozen Libraries In build_board_info.py
2021-09-07 14:15:41 -07:00
Scott Shawcroft
a5ac5e1efb
Merge pull request #5297 from durapensa/s2mini
Lolin S2 Mini - remove NeoPixel, pin assignments to match Wemos
2021-09-07 14:11:21 -07:00
Dan Halbert
d2d0bd289f Fix RP2040 I2S: always copy to output buffer 2021-09-07 16:35:42 -04:00
Ha Thach
d29a12cd81
Merge pull request #5303 from kamtom480/tinyusb_update
Update TinyUSB
2021-09-07 20:10:45 +07:00
Kamil Tomaszewski
8a023b04ca Update TinyUSB 2021-09-07 13:09:27 +02:00
microDev
86221b9895
revert localization of repl messages 2021-09-07 16:28:00 +05:30
sommersoft
37007b4158 Revert "black formatted 'build_board_info.py'"
Originally ran black with the incorrect line length

This reverts commit cb586a4018.
2021-09-05 18:52:37 -05:00
sommersoft
cb586a4018 black formatted 'build_board_info.py' 2021-09-05 18:49:55 -05:00
sommersoft
791937b149 black formatted 'build_board_info.py' 2021-09-05 18:42:05 -05:00
sommersoft
10706e9376 add frozen libraries to the board info 2021-09-05 18:40:58 -05:00
microDev
119cc8488b
Merge pull request #5300 from kamtom480/fix_movable
Fix incorrect use of allocate_memory()
2021-09-05 09:46:07 +05:30
microDev
c90ba66814
Merge pull request #5301 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-09-05 09:36:16 +05:30
Max Holliday
674a3027fc
updating pycubed firmware for mainboardv05 :) 2021-09-04 18:39:24 -06:00
hexthat
b1e71aecb0
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1021 of 1021 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-09-05 01:34:10 +02:00
Kamil Tomaszewski
ff807f8f19 Fix incorrect use of allocate_memory() 2021-09-04 11:17:39 +02:00
microDev
7ce3f25650
Merge pull request #5299 from Neradoc/nera-rework-board-dicts
change board dicts to include a common macro with __name__
2021-09-04 09:03:36 +05:30
Durapensa
7e10785ec7 Lolin S2 Mini - fix EOF issue caught by pre-commit 2021-09-03 16:46:50 -04:00
durapensa
2fc372b9e1
Lolin S2 Mini - Apply suggestions from code review
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-09-03 15:10:22 -04:00
Neradoc
8625e53817 change board dicts to include a common macro with __name__ 2021-09-03 21:03:55 +02:00
Mark
69e7b8bb79
Merge pull request #5296 from microDev1/traceback
Add test for `traceback` module
2021-09-03 12:43:40 -05:00
Durapensa
15fc44cab7 Lolin S2 Mini fix typo in pin assignment 2021-09-03 12:20:07 -04:00
Durapensa
32b9450e7f Lolin S2 Mini removed some redundant comments 2021-09-03 12:14:59 -04:00
Durapensa
c0f039da29 Lolin S2 Mini added pin definitions from Wemos/Lolin D1 Mini 2021-09-03 12:08:38 -04:00
microDev
7dbf750dd0
add test for traceback module 2021-09-03 20:52:30 +05:30
Durapensa
ef6d7fe731 Lolin S2 Mini change 'Espressif' references to 'Wemos' 2021-09-03 10:17:44 -04:00