Commit Graph

1149 Commits

Author SHA1 Message Date
Neradoc 8987bf18d0 Add Winbond flash substitute to boards 2022-05-16 22:39:25 +02:00
Dan Halbert 624a00ac45 shrink circuitplayground_express_displayio 2022-05-14 08:54:46 -04:00
Dan Halbert 9028bf213d
Merge pull request #6331 from pypewpew/pewpew_lcd
Add new board pewpew_lcd
2022-05-13 12:33:08 -04:00
Radomir Dopieralski e7735a3631 Add new board pewpew_lcd 2022-05-10 22:25:32 +02:00
Dan Halbert 5edc59f070
Merge pull request #6337 from jepler/property-storage
Optimize flash storage of properties
2022-05-06 09:55:18 -04:00
Dan Halbert b181caaefc add board.LED to Metro M4 AirLift LIte and PyRuler 2022-05-03 16:08:01 -04:00
Jeff Epler 510890b207
Enable squeezing property storage in flash
.. and enable it on atmel-samd and raspberrypi. On trinket_m0 this saves
96 net bytes of flash. There are 216 bytes actually saved by reducing
the flash storage size of the property descriptors, but added code in
several paths takes back over half of the 'raw savings'.

By organizing the "get-only" and "get-set" (but no delete) properties
each in a different section, we can represent then more efficiently.

Testing performed: that a get-only property can still be gotten but
can't be set or deleted; that a get-set property can sill be gotten or
set but can't be deleted.  Tested on pygamer.

Because this requires linker file support, I only enabled it on two of
the ports.
2022-05-03 08:48:53 -05:00
Dan Halbert b7541088f4 shrink circuitplayground_express_crickit 2022-04-26 17:51:47 -04:00
Dan Halbert 7a77aae4be shrink feather_m0_supersized 2022-04-26 16:52:43 -04:00
Dan Halbert 3a8fb4e956
Merge pull request #5852 from jepler/floppy
Add floppyio
2022-04-26 11:40:19 -04:00
Dan Halbert 0642917cf7
Merge pull request #6270 from FoamyGuy/tilegrid_bitmap_property
adding bitmap property to TileGrid
2022-04-25 09:09:28 -04:00
Dan Halbert 76d54ca8ad shrink sparkfun_redboard_turbo 2022-04-21 12:58:46 -04:00
George White 3b5171c4ff Move hook implementation to supervisor 2022-04-18 14:09:36 +00:00
George White 32fc084b39 Removed compiler flag in favor of MP_WEAK implementation 2022-04-18 13:10:12 +00:00
George White 0ba93b20e5 Setup flash pins on Sparkfun SAMD51 Micromod 2022-04-18 13:10:12 +00:00
foamyguy 948040f1f0 disable onewire instead of displayio on boards without room 2022-04-10 10:00:37 -05:00
foamyguy 7ad5fa511e disable displayio for some boards 2022-04-09 16:24:06 -05:00
Jeff Epler 766bf8f671
disable floppyio on kicksat-sprite 2022-04-07 10:57:37 -05:00
Mark 8ed7b114cd
Merge branch 'main' into uzlib-module 2022-04-03 11:48:37 -05:00
gamblor21 9d67e62f4d Removed from small board 2022-04-03 11:47:19 -05: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
Scott Shawcroft 4363361c87
Board definition clean up
Removes:
* AUTORESET_DELAY_MS which never did anything but was introduced
  somehow.
* CIRCUITPY_BOOT_BUTTON in all but one ESP board because they all have
  them. There is a default based on the strapping pins.
* BOARD_USER_SAFE_MODE_ACTION because it was all the same for boards
  with boot buttons. Now the safe mode code manages the message.
2022-03-21 17:58:43 -07:00
Scott Shawcroft c098474854
Disable aesio and traceback on matrixportal to save space 2022-03-16 10:41:17 -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 f602296e59
Re-enable BLE on MatrixPortal. Remove PortalBase
We have a guide that uses it. It was removed in #6043 without
realizing that.

Fixes #6152
2022-03-14 17:04:46 -07:00
Dan Halbert 19e7647f3d turn off MIDI on sensebox_mcu for sapce 2022-03-10 18:20:04 -05:00
Dan Halbert a7260a8b61 squeeze arduino_zero further 2022-03-10 15:56:51 -05:00
Dan Halbert c5947fd6de squeeze arduino_zero and sensebox_mcu 2022-03-10 12:46:08 -05:00
Dan Halbert 6ddab0f3c8 shrink matrixportal_m4 2022-03-10 11:20:44 -05:00
Dan Halbert 05a4d24a0f
Merge pull request #6117 from dhalbert/__future__
implement `from __future__ import annotations`
2022-03-08 09:33:36 -05:00
Dan Halbert eff6057fa3 shrink matrixportal_m4 2022-03-07 21:37:28 -05:00
Michael Himing 78d7bce02a seeeduino_xiao_kb: Copy pins from seeeduino_xiao 2022-03-08 08:58:32 +11:00
Scott Shawcroft ff865b60da
Merge pull request #5298 from pewpew-game/logo-remove
Add a flag for removing the Blinka logo from the REPL
2022-03-07 12:53:56 -08:00
Dan Halbert 96aec37ead fix whitespace 2022-03-07 09:11:29 -05:00
Dan Halbert e91c2e13fb
Seediuno XIAO SAMD21: inverted pins 2022-03-07 09:03:32 -05:00
Rick Sorensen be3129a917
Update ports/atmel-samd/boards/seeeduino_xiao/pins.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-03-06 22:59:54 -06:00
Rick Sorensen 6fd0643b1e Remove trailing white space 2022-03-06 21:15:37 -06:00
Rick Sorensen d7ef8f18df pins.c: added comment of reverse wiring for XIAO LEDs 2022-03-06 20:07:42 -06:00
Rick Sorensen 36a27806d8 pins.c: Modify and correct LED pin mappings and names for Xiao
Added YELLOW_LED=LED=D13,
      BLUE1_LED=RX_LED,
      BLUE2_LED=TX_LED
2022-03-06 19:20:37 -06:00
Radomir Dopieralski 93ea1bd9bd Add a flag for removing the Blinka logo from the REPL
There may be several reasons why we might want to remove the logo form
the REPL: a fork of CircuitPython that doesn't have the right to use the
logo, an especially small display that needs all the room it has to be
useful, displays that are especially vulnerable to burn-in, maybe even
the smaller chips where we want to save as much flash memory as
possible.
2022-03-05 15:38:59 +01:00
James Bowman 353ea6f70e Add EVE support to Feather M4 CAN 2022-02-27 18:34:30 -08:00
Dan Halbert 01d880829a
Merge pull request #6041 from t-ikegami/enable_uasyncio
Enable _uasyncio module
2022-02-25 13:42:29 -05:00
Dan Halbert 61425864f0 turn off onewireio in matriportal_m4 2022-02-25 12:22:45 -05:00
Scott Shawcroft 9e16487203
Merge pull request #6048 from t-ikegami/atmel-samd-fix-alarm
Fix atmel-samd alarm module
2022-02-23 15:29:54 -08:00
Tsutomu IKEGAMI 6499d18bb8 Remove board_deep_sleep_hook, which should be done in board_deinit. 2022-02-21 19:21:42 +09:00
gamblor21 edee8e3409 disable on some boards 2022-02-21 00:47:05 -06:00
Tsutomu IKEGAMI bd9dd3dc63 Fix atmel-samd alarm module. 2022-02-17 23:00:26 +09:00
Melissa LeBlanc-Williams 8f741e7767 Removed more frozen libs and disabled unlikely used modules 2022-02-16 14:47:12 -08:00
Melissa LeBlanc-Williams 0aadb4e256 Remove DisplayText Frozen Lib from MatrixPortal saving about 60K 2022-02-16 14:04:00 -08:00
Melissa LeBlanc-Williams 726bf02ea8 Add PortalBase and Fake Requests and update Frozen Libs on Portal boards 2022-02-16 10:12:54 -08:00
George White f3b67cc104 MicroMod SAMD51: Correct default MISO 2022-02-12 17:49:50 +00:00
Chris Osterwood 7247990c3e
Update pins.c
Fix typo
2022-02-09 14:26:20 -05:00
Chris Osterwood 8e3f719056
Update mpconfigboard.mk
Add build flags to turn off subsystems which are not relevant to the USB Hub
2022-02-09 13:54:08 -05:00
Chris Osterwood 4c371db5b2
Update pins.c
Adds a pin which is used by recent firmware for PCB hardware identification.
2022-02-09 13:53:19 -05:00
Dan Halbert 72317c309d turn off CIRCUITPY_ONEWIREIO by default for skinny SAMD21 builds 2022-02-09 11:40:07 -05: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
Dan Halbert e355ea2b91 shrink seeeduino_xiao build 2022-02-03 13:27:36 -05:00
Dan Halbert 0129735dbe
Merge pull request #5969 from Life-Imaging-Services/crc32
crc32() code moved into binascii
2022-02-02 18:07:02 -05:00
Dan Halbert 0d43e3e734 squeeze datum_imu build 2022-02-02 13:44:40 -05:00
Dan Halbert a04cd6444b
Merge pull request #5966 from Neradoc/add-alias-stemma-i2c
Add alias board.STEMMA_I2C for all boards with qwiic/stemma/QT
2022-02-02 11:08:13 -05:00
Neradoc b2c8fd3938 add board.STEMMA_I2C alias to some boards 2022-02-02 01:18:46 +01:00
Dan Halbert d0453f460d shrink sensebox; fix doc error 2022-02-01 10:12:26 -05:00
Dan Halbert 20a17bec25 shrink arduino_mkrzero and sparkfun_samd21_dev 2022-01-31 09:16:03 -05:00
Dan Kulinski 19f9163892 Bringing branch up to date with current main 2022-01-25 11:02:00 -07:00
Dan Kulinski 60801066b2 Fix magtag, openbook for EPaperDisplay constructor 2022-01-24 12:34:01 -07:00
Scott Shawcroft 9a353a4f56
Merge pull request #5422 from Neradoc/nera-secondary-I2C
Allow multiple board buses
2022-01-21 11:08:14 -08:00
microDev 67293c265c
Merge branch 'main' into board-bus 2022-01-21 10:08:39 +05:30
Dan Halbert fed5227de9 shrink stringcar_m0_express 2022-01-20 20:34:04 -05:00
Brian Dean 1fb4f02de2 ports/atmel-samd/boards/bdmicro_vina_d51/pins.c: Add LED_AUX pin. 2022-01-06 16:32:17 -05:00
Jeff Epler 34e8bfd09e
explicitly use mpz long ints on this board 2021-12-27 16:39:04 -06:00
Dan Halbert 325c2161e9 shrink CPX crickit build 2021-12-23 12:24:16 -05:00
microDev b6858e4ca7
allow multiple board buses
Co-authored-by: Neradoc <neraOnGit@ri1.fr>
2021-12-11 23:07:21 +05:30
Dan Halbert e8ea9c75a1 check for missing pins; deinit txrx leds 2021-11-30 19:16:21 -05:00
Dan Halbert 57c33059f3 board_deinit() everywhere 2021-11-30 11:00:10 -05:00
Scott Shawcroft e6a68cc4a7
Shrink 3 SAMD builds by disabling onewireio 2021-11-24 14:27:49 -08:00
Jeff Epler dfef5014ed
enable rainbowio with newly free space 2021-11-12 17:31:12 -06:00
microDev b5dd8891e2
turn off `onewireio` on `feather_m0_adalogger` 2021-11-12 20:02:22 +05:30
Dan Halbert adac5ee596
Merge pull request #5563 from jepler/enable-error-missing-prototypes
Additional missing-prototypes fixes
2021-11-11 11:57:43 -05:00
Jeff Epler cd6599ce65
A few more missing-prototypes fixes 2021-11-11 08:42:30 -06:00
Dan Halbert f058c5ec8c fix kicksat-sprite 2021-11-10 23:05:06 -05:00
Dan Halbert e7d9dc323b shrink kicksat-sprite, simmel, pyb_nano_v2 2021-11-10 21:12:41 -05:00
microDev 53a68f7ce6
turn off `onewireio` on `arduino_nano_33_iot` 2021-11-10 20:25:46 +05:30
Jeff Epler 8e8c44afea Merge remote-tracking branch 'origin/main' into alphablend 2021-11-05 11:24:51 -05:00
Jeff Epler d532ad388b disable framebufferio so bitmaptools can fit 2021-11-05 11:24:03 -05:00
Jeff Epler 334a9c85ce Merge remote-tracking branch 'origin/main' into gifio 2021-11-04 20:22:00 -05:00
Jeff Epler 18eaee9beb reenable RAINBOWIO on these boards 2021-11-01 12:52:13 -05:00
Jeff Epler 3e020a73a8 Disable gifio if no displayio & for small boards
Technically all gifio needs from displayio is the definition of
colorspaces, but let's just disable it for now.
2021-10-26 08:54:18 -05:00
Dan Halbert e868f1b1fe
Merge pull request #5510 from jepler/cmd25-v2
sdcardio: Use CMD25 across multiple writeblocks() calls
2021-10-26 08:46:28 -04:00
Jeff Epler d999a88e57 Drop Adafruit_CircuitPython_SD where sdcardio is enabled 2021-10-25 16:07:27 -05:00
Max Holliday 7cbcc2f9ec updating pycubed board defs & including 2021-10-11 15:34:58 -07:00
Max Holliday 238b07c3af Fixed merge conflict for circuitpython.pot 2021-10-09 14:28:20 -07:00
Dan Halbert 4c45364dca
Merge pull request #5442 from jpconstantineau/board-xiao-kb
Add new board variant: Seeed XIAO targeted for Keyboards/HID Devices
2021-10-08 18:19:58 -04:00
Pierre Constantineau 37d3adfe4f updated PID from Seeed provided VID/PID 2021-10-08 07:15:18 -06:00
Max Holliday d536be7228 working samd deep sleep timealarm and pinalarm (sketchy) 2021-09-29 11:44:15 -06:00
Pierre Constantineau c5672066d0 initial xiao kb config 2021-09-20 15:52:28 -06:00
Max Holliday 4eda8b04c4 removing redudant pycubed v04 board defs 2021-09-16 12:12:15 -06:00
Max Holliday 1ccaeeb619
adding back heritage pycubed board defs 2021-09-15 14:36:27 -06:00
Max Holliday 4f10a91f85 moving boot counter to main() and re-adding old pin names for SD_CS 2021-09-15 14:33:54 -06:00
Max Holliday 5b69aa0a58
Merge branch 'adafruit:main' into pycubed_v05c 2021-09-15 14:23:56 -06:00