MicroDev
d9d94eacca
run updated pre-commit
2023-02-01 13:38:41 +05:30
Scott Shawcroft
ad2d190507
Merge pull request #7247 from tannewt/picow_web_workflow
...
Enable* web workflow for Pico W
2022-11-28 14:19:42 -08:00
Dan Halbert
6d022733b3
Merge pull request #7162 from rhooper/boards-list
...
add boards list to make error message
2022-11-21 23:18:37 -05:00
Scott Shawcroft
c3a96a63c0
Enable* web workflow for Pico W
...
* Except for circuitpython.local which depends on MDNS and will be
done in a follow up PR.
Progress on #7214
2022-11-21 16:24:05 -08:00
MicroDev
c3c1717813
refactor common port specific Makefile code
2022-11-18 23:00:28 +05:30
MicroDev
e2a3597263
add awesome new make error message
...
Copied from initial implementation on atmel-samd
Co-authored-by: Rose Hooper <rhooper@toybox.ca>
Co-authored-by: Jeff Epler <jepler@gmail.com>
2022-11-18 11:27:23 +05:30
Dan Halbert
fdeaf805d3
STM: off-by-one TIMx reference; other code cleanup and minor fixes
2022-11-14 13:00:32 -05:00
Matthew McGowan
97f693d2d8
docs(swan_r5): updated copyright notices
2022-11-08 14:18:54 -08:00
Matthew McGowan
843d6b42f9
formatting(swan_r5): lexicographically sorted the board module names in the swan_r5 makefile include [ci-skip][skip-ci]. Skip CI since this is a cosmetic change only.
2022-11-08 12:04:30 -08:00
Matthew McGowan
ad9db01f5f
Implements PDMIn for STM32L4 using the SAI peripheral and decimation/filtering in software.
2022-11-04 17:27:08 -07:00
Dan Halbert
ded134c346
store wake_alarm in a static object
2022-10-29 16:26:36 -04:00
Dan Halbert
9307b62ad5
wip
2022-10-27 22:42:04 -04:00
microDev
b33a2b45dc
add coproc alarm
2022-10-20 18:38:20 +05:30
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
Dan Halbert
28b14e05e3
shrink thunderpack_v12
2022-05-13 15:45:12 -04:00
Michael Wisslead
e63a327107
Bound PulseIn start indexes to maxlen.
2022-04-28 02:28:34 +00:00
Dan Halbert
4eeaf41edc
test and adjust NeoPixel timings on multiple products
2022-04-25 23:12:24 -04:00
Dan Halbert
3885bc9018
Merge pull request #6303 from DavePutz/issue_4452
...
Fix for issue #4452 - time.sleep on STM
2022-04-22 13:34:31 -04:00
root
289aaae954
Fix for issue #4452 - time.sleep on STM
2022-04-21 17:05:44 -05:00
Mark
8ed7b114cd
Merge branch 'main' into uzlib-module
2022-04-03 11:48:37 -05:00
gamblor21
7b586e077c
Removed from small boards
2022-04-02 12:22:14 -05:00
Scott Shawcroft
ee4c501936
Merge remote-tracking branch 'adafruit/main' into c3_serial_jtag
2022-03-23 12:17:02 -07:00
Scott Shawcroft
2fa182147b
Fix STM non-F4 builds
2022-03-22 23:07:38 -07:00
Scott Shawcroft
f5d90fc84f
Switch to port_serial_* hooks
...
This makes it easier to integrate port specific serial alongside
the common approaches.
2022-03-22 19:40:33 -07: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
dcc3ec171e
Merge remote-tracking branch 'adafruit/7.2.x' into merge_7.2.2
2022-03-15 13:56:11 -07:00
Scott Shawcroft
32ac396a41
Further refine autoreload
...
This unifies the delay into the post-run delay that also waits
for user input and fake sleep. This ensures we always delay.
Previous code would only delay if the code.py was running when
autoreload was triggered. Now it will always delay.
We also now suspend autoreload when a USB write starts and then
resume on completion. This should prevent reloading in between
sectors of a single write.
2022-03-14 16:49:30 -07:00
Dan Halbert
6465d81918
Update ports/stm/boards/stm32f411ce_blackpill_with_flash/mpconfigboard.h
...
whoopsies
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2022-03-09 13:33:54 -05: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
661140ebcc
Add missing BOARD_DICT_STANDARD_ITEMS to two boards
2022-03-03 09:03:34 +11:00
Scott Gauche
46129e327d
add stm32f412cx micro to cpy
2022-02-26 16:53:30 -05:00
gamblor21
edee8e3409
disable on some boards
2022-02-21 00:47:05 -06:00
Scott Gauche
6827586d33
add setting SPI CLK pin pull up/down based on SPI polarity config
2022-02-19 08:46:02 -05:00
EmergReanimator
4e0bd4a27f
Fixed pre-commit script issues.
2022-02-13 08:46:24 +01:00
EmergReanimator
69aa0b4edb
Fixed lost UART data.
...
Use non-blocking HAL call to allow reception of data over UART while
transmission is active.
2022-02-12 18:51:21 +01:00
Scott Gauche
a8d8651873
Canonical C style for half_duplex = true/false
2022-02-08 23:13:22 -05:00
Scott Gauche
3b418dbddc
change half_duplex to be on spi construct
2022-02-08 21:37:38 -05:00
Scott Gauche
4110b44b8a
add support for half-duplex SPI on STM parts
2022-02-07 21:08:44 -05:00
Scott Gauche
70ba229d23
add adafruit/stm32f4xx_hal_driver submodule
2022-02-03 14:01:11 -05:00
Scott Gauche
3d1b2b6ad6
remove ST's stm32f4xx_hal_driver submodule due to bug in qspi driver
2022-02-03 13:59:20 -05:00
Scott Gauche
92c9be9a4f
change st_driver to use ST's github drivers as submodules
2022-02-02 21:30:23 -05:00
Scott Gauche
4e305aa39c
Removed submodule st_driver
2022-02-02 19:51:23 -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
cc410ad6a3
common-hal I2C combined write_read
2022-01-31 22:03:30 -05:00
EmergReanimator
66cf66f118
Fixed common_hal_busio_uart_deinited incorrect pin assignment check.
...
The pin must be tested instead of pin->number in the same way as in STM
I2C busio layer.
2022-01-26 17:46:42 +01:00
Jeff Epler
1d13c4ccd1
Centralize LONGINT_IMPL handling
...
This closes #5782
2021-12-27 10:21:47 -06:00
Scott Shawcroft
7fea970379
Merge pull request #5597 from NathanY3G/add-board-sparkfun-thing-plus-stm32
...
Add board definition for SparkFun Thing Plus - STM32
2021-12-13 14:58:04 -08:00
Nathan Young
ffd41cf2b7
Updated USB product name to remove duplication
...
Output from lsusb now reads: SparkFun Electronics Thing Plus - STM32
2021-12-13 18:01:07 +01:00
Nathan Young
463d94475b
Use correct PID for SparkFun Thing Plus - STM32
...
This value was kindly provided by brhoff720.
2021-12-13 17:37:02 +01:00