Commit Graph

8614 Commits

Author SHA1 Message Date
Scott Shawcroft 6d3698848c
Fix PDMIn.c formatting 2022-06-01 11:04:33 -07:00
Scott Shawcroft 7fc0aa5791
Fix windows and two samd builds 2022-05-31 14:48:41 -07:00
Scott Shawcroft 4d776339ad
Separate translate object control from LTO 2022-05-31 12:42:59 -07:00
Scott Shawcroft 3cc46c74b9
Fix compiles 2022-05-27 15:39:55 -07:00
Scott Shawcroft 9d10a3da66
Conditionalize LTO 2022-05-27 12:59:54 -07:00
Scott Shawcroft c676253834
Switch translate() to the header file
This allows the compile stage to optimize most of the translate()
function away and saves a ton of space (~40k on ESP). *However*, it
requires us to wait for the qstr output before we compile the rest
of our .o files. (Only qstr.o used to wait.)

This isn't as good as the current setup with LTO though. Trinket M0
loses <1k with this setup.

So, we should probably conditionalize this along with LTO.
2022-05-27 10:33:53 -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 947f564672 tune LTO on nrf 2022-05-26 22:16:41 -04:00
Scott Shawcroft 67e9fb13bc
Merge pull request #6437 from blues/7.3.x
swan_r5 improvements
2022-05-26 15:20:22 -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
Matthew McGowan 321163da1a feat(swan_r5): blink the LED on startup. set VUSB_SELECT and DISCHARGE to floating to avoid any potential issues with them being outputs. 2022-05-25 14:22:19 -07:00
Matthew McGowan 65a5ad09ab feat(swan_r5): define an `ext` attribute on the board, which contains attributes for the extended set of castellated pins 2022-05-25 14:21:03 -07:00
Matthew McGowan 5bbaa3b732 feat(swan_r5): the upper 1MB of flash (bank 2) is made available for the filesystem 2022-05-25 14:19:35 -07:00
Matthew McGowan b607631ae1 feat(swan_r5): UF2 support, with UF2 family IDs assigned to stm32 chipsets. 2022-05-25 14:18:37 -07: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 8665e85ea6
Merge pull request #6424 from ladyada/main
add esp32s3 tft
2022-05-24 15:31:48 -04:00
Dan Halbert 99d7d0d8bb Disable ulab for ESP32-S3 TFT 2022-05-24 14:59:34 -04:00
Scott Shawcroft 0ea72d61e0
Merge pull request #6425 from KurtE/teensy_retain_fs
Teensy Builds retain Filesystem
2022-05-24 11:03:47 -07: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 92fa02effa
Change 12- to 16-bit scaling to match other ports
Result is identical, implementation just resembles other ports instead of being all 1337 about it.
2022-05-24 08:49:05 -07:00
Paint Your Dragon c3f58193ca
Correctly scale analog reading per issue #4794 2022-05-24 08:46:39 -07:00
lady ada e22de975b3 try just bitbangio remove 2022-05-24 11:46:03 -04:00
Paint Your Dragon 5ef1f2dd5a
Correctly scale analog reading per issue #4794 2022-05-24 08:45:14 -07:00
Paint Your Dragon 44b31b098e
Correctly scale analog reading per issue #4794 2022-05-24 08:44:09 -07:00
Paint Your Dragon e9b9f0b13f
Correctly scale analog reading per issue #4794 2022-05-24 08:42:00 -07:00
Paint Your Dragon eefba16644
Correctly scale analog reading per issue #4794 2022-05-24 08:40:51 -07:00
lady ada 9439ce04bd try to remove some space? 2022-05-24 11:28:55 -04:00
KurtE d47662c448 Teensy Builds retain Filesystem
Changed a few things in the link step that satisfies the teensy
loader apps, both the teensy.exe as well as the teensy_loader_cli

such that when you program the board again it should retain the
file sytem that is stored in the upper area of the Flash
2022-05-24 07:06:16 -07:00
lady ada bb4beb3fab add esp32s3 tft 2022-05-23 23:57:35 -04:00
Dan Halbert 64df933a83
Merge pull request #6422 from dahanzimin/main
Repair mixgo_ce frozen lib to frozen/
2022-05-23 15:00:42 -04:00