Commit Graph

509 Commits

Author SHA1 Message Date
Dan Halbert 4cb69a51d5 Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -04:00
Dan Halbert 41bcd7b260 Remove support for auto-brightness 2022-08-09 22:40:21 -04:00
Arudinne a55aebc718 Added support for 8MB flash for Challenger 840 2022-07-26 20:34:01 -05:00
Neradoc eabe8b971a list extensions instead of macros names ("bin,uf2" not BIN_UF2)
the modules_support_matrix usees a dictionnary per board instead of a list
optionally include the frozen modules URLs in it
2022-07-26 18:15:59 +02:00
Neradoc d021d9ae4a Move build extensions to board directories
- define CIRCUITPY_BUILD_EXTENSIONS to predefined values
- set CIRCUITPY_BUILD_EXTENSIONS in port and board config
- reuse the support matrix "get_settings_from_makefile" to get it
- move the existing port and board specific values
- remove the C3 specific board values because it's not the default
- update build_release_files.py to use get_settings_from_makefile
2022-07-26 18:15:50 +02:00
Dan Halbert 8bb369cac5 refactor debug UART to console UART; get working on ESP32 2022-06-30 23:16:46 -04:00
Scott Shawcroft 894cea217d
Merge pull request #6486 from DavePutz/issue_6478
Fix for Issue #6478
2022-06-15 09:43:09 -07:00
root 015e95807a Fix for Issue #6478 2022-06-14 12:14:05 -05:00
Scott Shawcroft 1a3d2a5b5e
Shrink nrf52833 builds
Make them CIRCUITPY_FULL_BUILD = 0 and rework the boards to have
the same modules enabled (ish.)

Also make ZLIB require FULL_BUILD and disable advanced `micropython`
module APIs by default on all builds.
2022-06-13 15:36:15 -07:00
foamyguy 260994d16e Merge branch 'main' into display_brightness_pwm 2022-06-04 11:32:15 -05:00
foamyguy cbff9dd8e3 add new argument for all boards with built-in display 2022-06-04 11:08:20 -05:00
Dan Halbert 947f564672 tune LTO on nrf 2022-05-26 22:16:41 -04:00
Dan Halbert d74193c298 Use -flto and -flto-partition only as needed 2022-05-26 11:36:41 -04:00
Neradoc 17bba7b17d remove Adafruit_CircuitPython_BusDevice from frozen modules, it's built in now 2022-04-19 06:49:11 +02:00
Dan Halbert 2693a4cfe1
Merge pull request #6069 from gamblor21/uzlib-module
zlib Module
2022-04-06 12:06:44 -04:00
Pontus Oldberg 286e26edf0 Added support for 4MB flash. 2022-04-06 11:08:22 +02:00
Mark 8ed7b114cd
Merge branch 'main' into uzlib-module 2022-04-03 11:48:37 -05:00
Pontus Oldberg f2d10237d2
Merge branch 'adafruit:main' into main 2022-03-30 16:43:39 +02:00
Scott Shawcroft fcde108d03
Merge pull request #6194 from jepler/revamp-duplicate-usb-check
Improve the USB vid:pid duplicate checker
2022-03-24 14:57:48 -07:00
jerryneedell bcec1e44f0 add status LED to nrf pca10059 dongdle 2022-03-24 15:05:02 -04:00
Jeff Epler d91ca7369c
Merge remote-tracking branch 'origin/main' into revamp-duplicate-usb-check 2022-03-24 09:44:41 -05:00
Jeff Epler a07ac72cc5
Improve the USB vid:pid duplicate checker
To me, it made more sense to track which boards go together in a cluster;
when reviewing a request to actually use a duplicate vid/pid, you want
to know what board(s) it is aliasing.

I also revamped the detection of non-USB boards so that a board .mk file
that couldn't be parsed by the code here would raise a problem instead
of just being skipped for the purposes of checking.

There were some lines with comments on the end, and some variation in
capitalization of the IDs. These are all normalized and a (sometimes
unfriendly!) error printed when it's incorrect.

Before this, here were some ways to trick the duplicate vid/pid checker:
```
USB_PID = 0XABCD
USB_PID = 0xAbCd
USB_PID = 0xABCD # harmless comment?
```
None of these things were ever done on purpose.
2022-03-24 09:42:11 -05:00
Pontus Oldberg c7b28eb2ef
Update ports/nrf/boards/challenger_840/pins.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-23 17:14:49 +01:00
Pontus Oldberg d26297ae98
Update ports/nrf/boards/challenger_840/pins.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-23 17:14:40 +01:00
Pontus Oldberg 7901850bb8
Update ports/nrf/boards/challenger_840/pins.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-23 17:14:28 +01:00
Pontus Oldberg 5e09ed611e Added Challenger 840 board. 2022-03-22 21:36:54 +01:00
Neradoc 367e0ea901 Enable rgb status LED on MakerDiary USB Dongle 2022-03-22 20:53:12 +01:00
Scott Shawcroft 51701e6abe
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2 2022-03-17 14:15:55 -07:00
Scott Shawcroft 78cb61c7a3
Turn off traceback on bluemicro833 2022-03-17 11:38:27 -07:00
Scott Shawcroft dcc3ec171e
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2 2022-03-15 13:56:11 -07:00
Scott Shawcroft 4ffbf0830b
Merge pull request #6157 from arms22/ssci_isp1807_micro_board
Add board ssci_isp1807_micro_board
2022-03-15 13:42:34 -07:00
arms22 2b4917bbf5 change USB_PID 2022-03-15 14:54:29 +09:00
arms22 7482148a78 Add board ssci_isp1807_micro_board 2022-03-15 14:39:32 +09:00
arms22 b671ba81b9 Add board ssci_isp1807_dev_board 2022-03-15 14:29:24 +09:00
Scott Shawcroft a719fabbb6
Shrink bluemicro833 build 2022-03-11 16:04:12 -08:00
Dan Halbert 9b2e22a6df Make autoreload checking more robust
- Add reset for autoreload. De-request ticks.
- Separate state a little more in autoreload.c
- Rename some routines.
- Remove redundant settings of CIRCUITPY_AUTORELOAD_DELAY_MS.
2022-03-09 11:07:55 -05:00
Scott Shawcroft 83593a1558
Start of USB host API
This allows you to list and explore connected USB devices. It
only stubs out the methods to communicate to endpoints. That will
come in a follow up once TinyUSB has it. (It's in progress.)

Related to #5986
2022-03-07 18:07:25 -08:00
Michael Himing c2434782c4 Seeed_XIAO_nRF52840_Sense: remove redundant MICROPY_HW_LED_STATUS 2022-03-03 10:18:58 +11:00
Michael Himing 661140ebcc Add missing BOARD_DICT_STANDARD_ITEMS to two boards 2022-03-03 09:03:34 +11:00
Michael Himing 9ad50dfefb Seeed_XIAO_nRF52840_Sense: Enable rgb status LED 2022-03-02 22:34:01 +11:00
gamblor21 edee8e3409 disable on some boards 2022-02-21 00:47:05 -06:00
Scott Gauche 309f4fb2b9 add half_duplex false param to spi construct function call in some board files 2022-02-08 22:59:26 -05:00
Neradoc b2c8fd3938 add board.STEMMA_I2C alias to some boards 2022-02-02 01:18:46 +01:00
Michael Himing c92c8ac184 Only enable is31fl3741 for led glasses board
Also fix a warning in is31fl3741
2022-02-01 09:45:50 +11:00
jerryneedell 9c31346c45 fix implmetation 2022-01-25 16:42:49 -05:00
jerryneedell 70512758a9 enable binascii in microbit_v2 build 2022-01-25 16:06:47 -05:00
0hotpotman0 9b9dd97e00 add softdev_version 7.0.1 2022-01-17 14:49:11 +08:00
0hotpotman0 86a482f520 add ble stack 7.3.0 version for complie the uf2 flie 2022-01-10 11:05:06 +08:00
0hotpotman0 0f5b20c650 Correct pin name 2021-12-27 13:45:39 +08:00
0hotpotman0 9810f0f824 Correct the pin LED 2021-12-27 09:24:33 +08:00