Commit Graph

2045 Commits

Author SHA1 Message Date
Scott Shawcroft 7fc0aa5791
Fix windows and two samd builds 2022-05-31 14:48:41 -07:00
Scott Shawcroft 9d10a3da66
Conditionalize LTO 2022-05-27 12:59:54 -07:00
Scott Shawcroft dc5565a5ce
Merge pull request #6436 from dhalbert/judicious-lto
LTO: Use -flto and -flto-partition only as needed
2022-05-27 10:31:06 -07:00
Dan Halbert ca085150ee disable traceback on samd21; re-enable onewireio on Metro m0 2022-05-26 15:33:04 -04:00
Dan Halbert 95fc7e4713 harmless change to force all ports to build 2022-05-26 11:52:58 -04:00
Dan Halbert d74193c298 Use -flto and -flto-partition only as needed 2022-05-26 11:36:41 -04:00
George White 8539d6518e flip CTS and RTS pinmux to match RX and TX 2022-05-26 00:06:00 +00:00
George White 99b23b96d9 fix comment typo and mention datasheet 2022-05-26 00:03:46 +00:00
George White fb3077ccc2 Implement UART hardware flow control on SAMD chips 2022-05-25 21:34:06 +00:00
Dan Halbert 38f91539dc
Merge pull request #6432 from CytronTechnologies/add-maker-zero-samd21
Add new board: Cytron Maker Zero SAMD21
2022-05-25 13:58:33 -04:00
Dan Halbert 1fb210bd40
Merge pull request #5491 from pypewpew/remove-gamepadshift
Remove gamepadshift module
2022-05-25 13:58:06 -04:00
Luqmanul Hakim Zulkifli aef5bc40fb
Deleted white spaces 2022-05-26 00:13:27 +08:00
Luqmanul Hakim Zulkifli 9ed71f0c09
Add Cytron Maker Zero SAMD21 2022-05-25 10:09:30 +08:00
Luqmanul Hakim Zulkifli 0b99967839
Add Cytron Maker Zero SAMD21 2022-05-25 10:08:58 +08:00
Luqmanul Hakim Zulkifli 46f4fcc42f
Add Cytron Maker Zero SAMD21 2022-05-25 10:08:17 +08:00
Luqmanul Hakim Zulkifli 9385f793dc
Add Cytron Maker Zero SAMD21 2022-05-25 10:07:33 +08:00
Luqmanul Hakim Zulkifli 6fa552e257
Delete board.c 2022-05-25 10:04:06 +08:00
Luqmanul Hakim Zulkifli 5453b331f7
Delete mpconfigboard.h 2022-05-25 10:03:53 +08:00
Luqmanul Hakim Zulkifli 8806f5b5d8
Delete mpconfigboard.mk 2022-05-25 10:03:45 +08:00
Luqmanul Hakim Zulkifli 9649d80ea3
Delete pins.c 2022-05-25 10:03:34 +08:00
Luqmanul Hakim Zulkifli 4e467b7f34
Add Cytron Maker Zero SAMD21 2022-05-25 09:46:20 +08:00
Radomir Dopieralski c0152e7dab Remove gamepadshift module
Everything should be using the keypad module instead.

Note: there are several boards that still had gamepadshift enabled. I
did not contact their authors to make sure they already switched to
keypad in their code and documentation. We should probably wait with
merging this for their go ahead.
2022-05-25 00:48:55 +02:00
Dan Halbert 791064a934
Merge pull request #6427 from dhalbert/8.0.0-onewireio
Remove busio.OneWire and bitbangio.OneWire in favor of onewireio.OneWire
2022-05-24 15:32:33 -04:00
Dan Halbert ecd30d2338
Merge pull request #6428 from dhalbert/8.0.0-restore-rainbowio
restore rainbowio to small builds
2022-05-24 15:32:08 -04:00
Dan Halbert 335c93c044 restore rainbowio to small builds 2022-05-24 12:34:08 -04:00
Dan Halbert 74c92ffe9e Remove busio.OneWire and bitbangio.OneWire 2022-05-24 12:26:33 -04:00
Paint Your Dragon eefba16644
Correctly scale analog reading per issue #4794 2022-05-24 08:40:51 -07:00
Dan Halbert 9c643aa907 Merge branch '7.3.x' into merge-7.3.0-rc.1-to-main 2022-05-21 12:57:46 -04:00
Dan Halbert 338e14d9d4 shrink arduino_mkr1300 2022-05-21 10:21:59 -04:00
Dan Halbert 309dab4c75 merge 7.3.0-rc.1 changes to main 2022-05-20 15:37:56 -04:00
Dan Halbert f63b26c534 address jepler's comments and further squeezes 2022-05-20 10:10:55 -04:00
Dan Halbert a01dec1df9 message consolidation and more use of validators 2022-05-19 15:38:37 -04:00
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 98ae047525 Compile more SAMD things conditionallly 2022-05-04 11:41:48 -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
Jeff Epler 78cf0a90af
Make MP_PROPERTY_GETTER / _GETSET fully declare the property
This will enable setting data attributes, namely, the section of the
symbol.
2022-05-03 08:48:53 -05:00
Jeff Epler 31da335cac
Introduce, use MP_PROPERTY_GETTER, _GETSET
Later, these can be changed in cunning ways to save flash storage.
2022-05-03 08:48:52 -05:00
Dan Halbert 816a26e8b7
Merge pull request #6321 from dhalbert/samd21-ticks-for-display
Preserve ticks for displays across VMs
2022-04-28 09:37:21 -04:00
Michael Wisslead e63a327107 Bound PulseIn start indexes to maxlen. 2022-04-28 02:28:34 +00:00
Dan Halbert b25d810af9 Preserve ticks for displays across VMs 2022-04-27 20:06:47 -04: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 6b25ccf1a4 remove stray space 2022-04-26 14:26:42 -04:00
Dan Halbert 63abd9a9cf
Merge pull request #6312 from dhalbert/adjust-neopixel-timings
test and adjust NeoPixel timings on multiple ports
2022-04-26 13:18:47 -04:00
Dan Halbert 3a8fb4e956
Merge pull request #5852 from jepler/floppy
Add floppyio
2022-04-26 11:40:19 -04:00