Dan Halbert
57841dc92b
Merge pull request #5171 from tannewt/unicode_filenames
...
Turn on unicode for FATFS
2021-08-21 16:31:54 -04:00
microDev
f6d1caabc9
Merge pull request #5182 from tannewt/fix_imx
...
Check background pending before sleep
2021-08-21 08:00:10 +05:30
microDev
7a0f8ae87f
Merge pull request #5175 from jepler/canio-timeout
...
canio: Run background tasks while waiting for message reception
2021-08-20 09:25:46 +05:30
Mark
f9f106b58d
Merge pull request #5123 from gamblor21/keypad_dup_pin_check
...
Check for duplicate pins in rows and columns
2021-08-19 22:20:04 -05:00
Scott Shawcroft
5c6e80a2bb
Shrink builds by defining advanced micropython API
...
Also, ignore more pins on SAMD boards and disable EXFAT on others.
2021-08-19 16:49:33 -07:00
Scott Shawcroft
d2860b58b0
Check background pending before sleep
...
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.
Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Jeff Epler
6ea136987e
run codeformat
2021-08-19 13:54:13 -05:00
Jeff Epler
cabe96e188
canio: Run background tasks while waiting for message reception
...
Closes : #5004
2021-08-18 11:39:40 -05:00
Scott Shawcroft
e0ce5ff045
Fix some builds by disabling exfat
2021-08-18 08:22:29 -07:00
gamblor21
d02a4b9f71
Removed ulab to make space in blackpill with flash board
2021-08-18 10:16:44 -05:00
Scott Shawcroft
de796e2304
Move OneWire to onewireio
from busio
...
This will allow finer grained inclusion in 8.0.0
Fixes #5135
2021-08-12 10:47:14 -07:00
Chris Wilson
c0902dade6
stm/boards: Add support for SparkFun STM32 MicroMod Processor board.
2021-08-09 23:11:13 -07:00
evildave666
4d14bcf2a2
Add WeAct manufacturer for black pill boards
2021-08-06 16:06:16 +09:00
Lucian Copeland
da149b0a42
Merge remote-tracking branch 'upstream/main' into stm32-sleepmem
2021-07-30 15:35:55 -04:00
Scott Shawcroft
daf90aae83
Merge remote-tracking branch 'adafruit/main' into pulseout_switch
2021-07-26 18:48:59 -07:00
Scott Shawcroft
412eb87080
Switch to pin, frequency and duty_cycle PulseOut
...
Passing in a PWMOut still works but is deprecated. It will be
removed in CircuitPython 8.0.0
This also switches STM32 timer indices and channel indices to
0-based in our pin data rather than `- 1` everywhere. The latter is
more bug prone.
Most of the way for #3264
Tested on Metro M0, Metro M4, Feather S2, Feather nRF52840, Feather
STM32F4 and Arduino RP2040.
2021-07-26 18:35:49 -07:00
Scott Shawcroft
8258f51132
Merge pull request #5061 from evildave666/blackpill-remove-nvm
...
remove unused nvm reserved space from stm32f411ce_blackpill_with_flash
2021-07-26 14:13:29 -07:00
evildave666
f059bab253
Modify mpconfigboard.mk to point to the new linker file and re-include modules
2021-07-26 14:13:41 +09:00
evildave666
57c6279b40
Added new linker file
2021-07-26 13:59:25 +09:00
Chris Wilson
49dc5805ee
Fix CAN pin assignment on Feather STM32F405 Express board.
2021-07-24 22:01:50 -07:00
Lucian Copeland
696c035b67
Add STM32 sleep memory
2021-06-25 17:43:18 -04:00
Scott Shawcroft
b81573d439
Merge pull request #4891 from dhalbert/keypad-scanning-events
...
keypad: support for vector and matrix key scanning
2021-06-24 10:25:21 -07:00
Dan Halbert
db297add67
fix other too-big builds
2021-06-18 13:20:31 -04:00
Jeff Epler
e1d7e46e88
fix keyboard interrupt
2021-06-18 11:15:51 -05:00
Dan Halbert
4655a71793
Turn off keypad on some builds to avoid overflow
2021-06-15 14:11:04 -04:00
Dan Halbert
f97e0ec631
fix ulab commit
2021-06-15 11:51:28 -04:00
Dan Halbert
a192f1ca2f
merge from upstream
2021-06-15 11:21:08 -04:00
Jeff Epler
1a06d06468
ulab: disable on several stm boards with constrained flash storage
2021-06-11 07:46:21 -05:00
Dan Halbert
b815164bdf
Turn off keypad on a few small builds
2021-06-10 10:09:55 -04:00
Jeff Epler
49db85cb3d
Check that select firmwares build on Windows with MSYS2
...
This configuration is used by @ladyada and more often than it should
we've discovered late that a change introduced problems building
there.
By adding this to regular CI, hopefully we learn about and fix these
issues sooner rather than later.
2021-05-28 16:47:29 -05:00
Scott Shawcroft
561ffec693
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 13:46:42 -07:00
Scott Shawcroft
5643355e90
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 08:35:15 -07:00
Scott Shawcroft
b78e9fcd19
Improve STM reset reason
...
This causes safe mode to skip the wait for reset when waking up
from an alarm. (It also means we don't flash the LED for it.)
2021-05-19 11:48:02 -07:00
Lucian Copeland
bce541dcc5
Minor text fixes
2021-05-18 15:16:25 -04:00
Lucian Copeland
633d83cc3e
Merge remote-tracking branch 'upstream/main' into sleep-revamp
2021-05-17 18:57:10 -04:00
Lucian Copeland
715f7ee490
Add STM32 and NRF52 compatibility
2021-05-14 14:34:35 -04:00
Scott Shawcroft
689ec86225
Merge pull request #4754 from dhalbert/fix-endpoint-checking
...
Fix endpoint checking; Clean up safe mode printing
2021-05-14 11:25:01 -07:00
Dan Halbert
c65986f526
shrink a bit more
2021-05-14 09:18:14 -04:00
Dan Halbert
0fcb11b7b2
shrink some STM32F4 builds: turn MIDI back off
2021-05-13 23:14:12 -04:00
Dan Halbert
fa6c06fb38
count in/out endpoints; allow more usb modules on low-endpoint boards
2021-05-13 21:59:02 -04:00
Scott Shawcroft
1a0b4193b7
Simplify the status LED to save power
...
This also removes the need to pin share because we don't use the
status LED while user code is running.
The status flashes fallback to the HW_STATUS LED if no RGB LED is
present. Each status has a unique blink pattern as well.
One caveat is the REPL state. In order to not pin share, we set the
RGB color once. PWM and single color will be shutoff immediately but
DotStars and NeoPixels will hold the color until the user overrides
it.
Fixes #4133
2021-05-13 14:41:20 -07:00
Scott Shawcroft
35ee4add63
Merge pull request #4388 from hierophect/stm-alarm
...
STM32: Alarms and sleep
2021-05-13 10:27:51 -07:00
Lucian Copeland
849e3a7319
Style fixes, submodules
2021-05-13 11:24:27 -04:00
Lucian Copeland
525b34b042
Fix formatting and broken links
...
Implmements missed pre-commit changes for all files, and fixes links broken by
cleanup in #4698
2021-05-10 18:04:43 -04:00
Lucian Copeland
0d3c5222d8
Merge remote-tracking branch 'upstream/main' into stm-alarm
2021-05-10 17:30:33 -04:00
Kattni Rembor
294ef59f27
Add LED pin to Adafruit boards.
2021-05-10 16:39:01 -04:00
Jeff Epler
446169e078
Merge pull request #4720 from tannewt/merge_1.13
...
Merge in MicroPython 1.13
2021-05-08 08:46:03 -05:00
Lucian Copeland
9920741c2f
Merge remote-tracking branch 'upstream/main' into stm-espr-pico-fix
2021-05-06 17:43:38 -04:00
Scott Shawcroft
42f4065c8a
Merge remote-tracking branch 'adafruit/main' into merge_1.13
2021-05-06 11:17:53 -07:00
Lucian Copeland
80a459d1f8
Remove settings for DNP oscillator
2021-05-06 13:52:07 -04:00