Commit Graph

25061 Commits

Author SHA1 Message Date
Max Holliday
dbd557dc89 splitting pycubed board def into pycubed_v04 and pycubed_v05 2021-09-11 20:29:40 -06:00
Max Holliday
d9ae2c00b4
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-11 20:09:59 -06:00
microDev
cf5c32be3b
Merge pull request #5327 from lesamouraipourpre/vectorio
Consistently validate location on VectorShape
2021-09-11 23:42:24 +05:30
James Carr
145836e7e5
Make the x and y bounds checking functions static 2021-09-11 17:10:21 +01:00
Dan Halbert
f5bb53e112
Merge pull request #5329 from dhalbert/prox-trinkey-squeeze
proxlight: Freeze adafruit_apds9960 instead of adafruit_hid; enable usb_midi
2021-09-10 18:17:42 -04:00
James Carr
2bc260a102
Rework of changes to bounds checking of location in VectorShape, moving most of the code into shared-module. 2021-09-10 21:48:01 +01:00
Max Holliday
aaf2c3752e
boot counter using existing nvm object 2021-09-10 13:43:04 -06:00
Max Holliday
bc26194bd0
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-10 13:33:11 -06:00
Dan Halbert
1b5afc0f8e
Merge pull request #5326 from dhalbert/nrf-deinit-pin-fix
Use NO_PIN, not 0, for PDMIn unset pins
2021-09-10 15:09:55 -04:00
Dan Halbert
aa1d089cdb proxlight: Freeze adafruit_adps9960 instead of adafruit_hid; enable usb_midi 2021-09-10 14:50:09 -04:00
Dan Halbert
189efdf074 Use NO_PIN, not 0, for PDMIn unset pins.
Also:
- Use NO_PIN, not 0xff for I2SOut (cosmetic fix only; no actual functional change)
- Add VOLTAGE_MONITOR/BATTERY, ACCELEROMETER_INTERRUPT pins for LED Glasses Driver
2021-09-10 13:18:29 -04:00
Dan Halbert
616c0c1521
Merge pull request #5328 from adafruit/tannewt-patch-1
Add if pre-condition to builds
2021-09-10 13:16:55 -04:00
Scott Shawcroft
832e608d3e
Add if pre-condition to builds 2021-09-10 07:30:29 -07:00
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