Dan Halbert
8176325130
Merge remote-tracking branch 'adafruit/master' into ld-cleanup
2019-12-11 22:52:59 -05:00
Dan Halbert
ae64a669dd
address review comments
2019-12-11 15:43:06 -05:00
Dan Halbert
68ae47907c
merge from upstream
2019-12-10 21:04:46 -05:00
hierophect
30aba46735
Merge branch 'master' into stm32-blackpill
2019-12-10 15:38:42 -05:00
Hierophect
33233934e9
text fix
2019-12-10 15:13:11 -05:00
Hierophect
0e2a03e3bd
revert usb.c additions
2019-12-10 15:07:39 -05:00
Scott Shawcroft
387ab6c87e
Merge pull request #2315 from hierophect/stm32-pyb-nano
...
STM32: Add PYB Nano support
2019-12-10 11:25:07 -08:00
Hierophect
dd4d3a662d
conditional for F412 register difference
2019-12-06 16:44:17 -05:00
Hierophect
252da17bc9
Create VBUS disable interface in shared supervisor
2019-12-06 15:55:00 -05:00
Scott Shawcroft
840f88b8f0
Merge pull request #2350 from hierophect/stm32-neopixel-fix
...
Fix for neopixels on <100MHz STM32 boards
2019-12-06 10:40:50 -08:00
Hierophect
6c8503b3c6
VBUS fix actually doesn't work
2019-12-06 12:39:22 -05:00
Hierophect
2a01f0806e
text fixes
2019-12-06 11:58:26 -05:00
Hierophect
0ae08e275d
remove pyb nano folder
2019-12-06 11:54:01 -05:00
Hierophect
f6d0e912c9
remove old 401 files
2019-12-06 11:52:40 -05:00
Hierophect
2dcfc9d411
USB fixes and cleanup
2019-12-06 11:41:38 -05:00
Dan Halbert
a0721fc94a
Merge remote-tracking branch 'adafruit/master' into ld-cleanup
2019-12-05 22:46:38 -05:00
Dan Halbert
40434d6919
wip
2019-12-05 22:45:53 -05:00
Hierophect
9b43d5ced4
Merge remote-tracking branch 'upstream/master' into stm32-blackpill
2019-12-05 14:25:39 -05:00
Hierophect
c53496a55e
remove redundant NOPs
2019-12-05 12:45:09 -05:00
Hierophect
f3f2c7f5de
change default phase for SPI
2019-12-05 11:38:20 -05:00
Hierophect
3de1b9edbe
Merge remote-tracking branch 'upstream/master' into stm32-displayio
2019-12-04 10:50:14 -05:00
Hierophect
e6b45656f9
Add module and empty parallelbus
2019-12-03 17:18:42 -05:00
Hierophect
012b3bdf18
Add I2C never reset, SPI bugfix
2019-12-03 16:18:49 -05:00
Hierophect
45a6b03d40
copy from busted branch
2019-12-03 15:30:12 -05:00
Hierophect
12737e2821
remove F401 additions to streamline
2019-12-02 12:28:48 -05:00
Jeff Epler
95d9c49e43
Merge remote-tracking branch 'origin/master' into tick-refactor
2019-11-29 11:27:09 -06:00
Dan Halbert
b32a9192df
make UART.write be blocking on SAMD; add timeout property
2019-11-27 13:05:29 -05:00
Dan Halbert
13375d16f1
change mpconfigport.mk files so they can be overriden by mpconfigboard.mk
2019-11-22 15:44:51 -05:00
Jeff Epler
bfdfe0e681
stm32: fix uses of ticks_ms global
2019-11-22 14:30:08 -06:00
Jeff Epler
77b78d7fb9
Merge remote-tracking branch 'origin/master' into tick-refactor
2019-11-22 14:28:51 -06:00
Hierophect
352bd95f5a
remove blackpill
2019-11-22 11:19:39 -05:00
Hierophect
0d8eb3cfb4
add correct VID/PID pairs
2019-11-22 10:54:35 -05:00
Hierophect
6a7c8d6341
minor fix
2019-11-21 20:56:05 -05:00
Hierophect
b5ff9684bb
remove misplaced status LED definitions
2019-11-21 17:09:28 -05:00
Hierophect
4e4ecafd97
Add definitions for PYB Nano and blackpill
2019-11-21 16:53:06 -05:00
Hierophect
a96317d566
requested style changes
2019-11-21 14:30:07 -05:00
Hierophect
13d786b2ef
added pin defs
2019-11-21 14:27:59 -05:00
Hierophect
006182f4e8
Remove meowbit for now
2019-11-20 15:56:00 -05:00
Hierophect
cf4a3237e7
Merge remote-tracking branch 'upstream/master' into stm32-meowbit-etc
2019-11-20 15:31:55 -05:00
Hierophect
9764006f81
add F401 pin definition
2019-11-20 15:30:31 -05:00
Hierophect
3d1b6d9fc8
fix typo
2019-11-20 12:07:12 -05:00
Hierophect
bd9893ab98
clean up SPI module readability
2019-11-20 12:00:45 -05:00
Hierophect
0b558e8714
fix error in SPI busclock selection
2019-11-20 11:34:49 -05:00
Dan Halbert
1a22d8a0f2
Merge pull request #2291 from hierophect/stm32-neopixel
...
STM32: Neopixel support
2019-11-18 23:45:09 -05:00
Hierophect
4a25c2344e
implement os urandom
2019-11-18 18:27:25 -05:00
Hierophect
256abf5505
Add board folders
2019-11-18 16:13:27 -05:00
Hierophect
a4797327cd
add microcontroller toggles for status LED
2019-11-18 13:51:59 -05:00
Jeff Epler
7f744a2369
Supervisor: move most of systick to the supervisor
...
This code is shared by most parts, except where not all the #ifdefs
inside the tick function were present in all ports. This mostly would
have broken gamepad tick support on non-samd ports.
The "ms32" and "ms64" variants of the tick functions are introduced
because there is no 64-bit atomic read. Disabling interrupts avoids
a low probability bug where milliseconds could be off by ~49.5 days
once every ~49.5 days (2^32 ms).
Avoiding disabling interrupts when only the low 32 bits are needed is a minor
optimization.
Testing performed: on metro m4 express, USB still works and
time.monotonic_ns() still counts up
2019-11-18 11:01:23 -06:00
Hierophect
51078cc38f
timing tweaks with testing
2019-11-15 17:17:05 -05:00
Hierophect
98fd372d5b
Add missing define
2019-11-15 13:19:37 -05:00