Commit Graph

517 Commits

Author SHA1 Message Date
flom84 81d227de73 Use types from circuitpython. 2022-10-10 20:55:44 +02:00
Florin Maticu ab1de66dd3 Remove redundant header files. 2022-10-10 20:37:31 +02:00
Dan Halbert 7bb90dbf45 remove redundant port/*/.gitignore; cleanup others 2022-10-01 11:52:36 -04:00
flom84 7af8a23ddf Use macro for computing size of array. 2022-09-29 22:10:21 +02:00
flom84 3609c29b27 Update STM DFU mode software implementation.
- fix for sizeof array calculation.

 - follow ARM recommendation to turn off interruptions with NVIC.
2022-09-29 21:15:51 +02:00
Dan Halbert db065a299f
Merge pull request #6933 from jepler/🥧🐮
Implement a useful subset of `wifi` and `socketpool` modules on 🥧🐮
2022-09-28 18:09:24 -04:00
Jeff Epler 346fff2e7c
cyw43 basic gpio support, hwaddr in boot_out 2022-09-28 10:06:33 -05:00
flom_84 96a83ecbfe
Update mpconfigboard.h 2022-09-26 19:58:33 +02:00
flom84 e626502fd2 Add USB VID and PID from STM. 2022-09-26 19:45:33 +02:00
flom84 2bd2406d13 Update license info and remove redundant board functions. 2022-09-26 19:39:07 +02:00
Florin Maticu 8754a6ec53 Add circuitpython support for STM Nucleo-F446RE. 2022-09-26 19:12:42 +02:00
Dan Halbert de80db681f
Merge pull request #6915 from dhalbert/ringbuf-cleanup
ringbuf cleanup
2022-09-25 17:50:21 -04:00
Dan Halbert ea15a9118a ringbuf cleanup 2022-09-21 10:03:05 -04:00
Florin Maticu 745d83adac DFU mode implementation for STM32F4 MCU. 2022-09-18 18:24:38 +02:00
Dan Halbert 60f43b1703 allow preserving pin state during deep sleep 2022-09-15 17:35:14 -04:00
Dan Halbert 4cb69a51d5 Use MP_WEAK for default board.c routines 2022-09-08 07:36:50 -04:00
Dan Halbert 02cc6c2aee Merge remote-tracking branch 'adafruit/main' into remove-autobrightness 2022-08-10 08:35:53 -04:00
Scott Shawcroft 138c92f035
Merge pull request #6727 from dhalbert/restore-deleted-modules
restore rainbowio and onewireio to a number of boards
2022-08-09 21:44:26 -07:00
Dan Halbert 41bcd7b260 Remove support for auto-brightness 2022-08-09 22:40:21 -04:00
Dan Halbert 34b22eac2a restore rainbowio and onewireio to a number of boards 2022-08-09 16:10:17 -04:00
Dan Halbert 84807cd6eb Change I2C terminology from "peripheral" to "target" 2022-08-09 13:13:19 -04:00
Neradoc 6e5c818311 fix extensions for atmel and 2 boards, matching main 2022-07-26 18:15:59 +02:00
Neradoc 87e8994c4a no default extension for ESP, fix duplicate line in rp2 2022-07-26 18:15:59 +02: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
Scott Shawcroft ac460dd1e1
Merge branch 'main' into esp32 2022-07-13 15:30:53 -07:00
Nathan Young f22f4f896a stm: Make family IDs consistent with TinyUF2
This should allow UF2 images for STM32F405 boards to be flashed by
TinyUF2.
2022-07-10 21:34:07 +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 562c73bcc7
Merge pull request #6458 from blues/swan_r5_3v3_enable
fix(swan_r5): 3v3 was enabled but then immediately reset.
2022-06-21 13:56:58 -07:00
Matthew McGowan 019a160983 exposes `DigitalInOutPin` instances on the board, initialized and reserved. 2022-06-20 14:46:58 -07:00
Matthew McGowan beafbc7c60 enable RTC for all STM32 devices 2022-06-10 17:37:33 -07:00
Matthew McGowan 6ee8e00936 fix(stm32): correct include path after translation header was moved 2022-06-10 17:37:33 -07:00
Matthew McGowan a889638468 feat(swan_r5): adds a basic RTC implementation. 2022-06-10 17:37:32 -07:00
Dan Halbert 80ae14202a
Merge pull request #6416 from FoamyGuy/display_brightness_pwm
display brightness pwm 500hz frequency
2022-06-05 23:52:42 -04: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
Scott Shawcroft be67067809
Merge remote-tracking branch 'adafruit/main' into translate_header 2022-06-03 15:18:18 -07:00
Matthew McGowan 78e4b9446b chore(swan_r5): pre-commit formatting 2022-06-03 15:12:41 -07:00
Matthew McGowan 113b070e77 fix(swan_r5): 3v3 was enabled but then immediately reset. Moved initialization to `reset_board` which happens after `reset_all_pins`. 2022-06-03 14:19:47 -07:00
EmergReanimator e8dd5d35d6 # WARNING: head commit changed in the meantime
Fixed STM SPI frequency settings.

Corrected default frequency settings in common_hal_busio_spi_construct.
Fixed common_hal_busio_spi_get_frequency.
2022-05-29 16:13:38 +02:00
Scott Shawcroft 9d10a3da66
Conditionalize LTO 2022-05-27 12:59:54 -07: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 1fb210bd40
Merge pull request #5491 from pypewpew/remove-gamepadshift
Remove gamepadshift module
2022-05-25 13:58:06 -04: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
Paint Your Dragon e9b9f0b13f
Correctly scale analog reading per issue #4794 2022-05-24 08:42:00 -07: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