microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Dan Halbert
9939c59caa
wip
2021-03-02 15:16:55 -05:00
Dan Halbert
39e1f52e28
wip; not compiling yet
2020-11-19 17:47:12 -05:00
Dan Halbert
649c930536
wip
2020-11-19 15:43:39 -05:00
Scott Shawcroft
9a4efed8cb
Start tweaking the workflow to sleep
2020-10-27 17:55:03 -07:00
Scott Shawcroft
2b470b1486
Fix RGB LED use
2020-08-24 18:29:50 -07:00
Lucian Copeland
4613b58a31
Add skip for rgb matrix exception handling
2020-08-10 18:00:50 -04:00
Lucian Copeland
d47bd5529c
Fix neopixel macro issue, set default neopixel color
2020-08-10 13:16:20 -04:00
Lucian Copeland
78d049d0f1
Fix pwm reset spew, protect against null reference in led status
2020-08-05 14:05:53 -04:00
Lucian Copeland
14b3b51c58
Rework build flags, prevent idf errors
2020-08-04 18:40:24 -04:00
Scott Shawcroft
612ba2f45d
Fix DotStar status LED init.
2020-03-17 12:11:11 -07: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
8ff1bc0132
add missing include
2019-11-15 12:49:47 -05:00
Hierophect
de5691acf5
Add never_reset and reset to pin common hal, adjust files
2019-11-15 12:47:00 -05:00
Dan Halbert
99fe905039
Reduce DotStar status brightness; macros for status colors
2019-11-01 13:37:36 -04:00
Dan Halbert
ab6fd34828
add object types to rgb status objects;mark spi rgb objects as never_reset
2019-10-25 22:32:43 -04:00
Dan Halbert
cdeb0857a9
Initial Itsy nRF52840 defn
2019-10-25 11:15:34 -04:00
Dan Halbert
b8200d7295
fix atmel-samd filesystem_tick'ing; clear_temp_status() should check for status indicator in use
2019-09-09 23:17:52 -04:00
Dan Halbert
4b97ec9d23
Merge in 4.x status dotstar fix
2019-09-02 10:25:38 -04:00
Scott Shawcroft
0876d5c4ad
Disable bitbangio on Itsy M0
...
Also, switch CIRCUITPY_BITBANG_APA102 to makefile setting so it can alter included files
2019-08-27 15:21:47 -07:00
C47D
40fbac13cd
[rgb status] Adjust to current brightness
2019-07-08 22:06:43 -05:00
C47D
324cbe4327
[rgb status] Also invert the pwm values on clear_temp_status
2019-07-07 21:15:51 -05:00
C47D
fae1039401
[rgb led status] Add CP_RGB_STATUS_PWM_INVERTED symbol to invert pwm signals.
2019-07-06 16:50:48 -05:00
Scott Shawcroft
5610e05b8c
Fix up nrf so that it is initialized properly. Also, do not reset
...
it's pins.
2019-07-06 12:48:16 -07:00
Carlos
9de46f3edd
[supervisor/shared/rgb_led_status.c] Initial support for RGB led as Status
2019-06-04 21:22:38 -05:00
Terri Oda
a9b05d37d7
Make status light flash blue for incompatible mpy ( fixes #1369 )
2019-05-08 11:54:08 -07:00
Scott Shawcroft
503642e794
Make status LED brightness change immediate.
...
Fixes #1516
2019-03-26 16:43:35 -07:00
Dan Halbert
9ea809bef7
add pin claiming to devices
2018-08-31 18:38:05 -04:00
Scott Shawcroft
168aa394db
Move pin struct to the peripherals library.
...
Its slimmed down by removing the qstr and bit packing TCC info.
The trinket m0 build actually grows by 20 bytes. The arduino zero
build shrinks by 188 bytes.
2018-08-02 13:59:05 -07:00
Scott Shawcroft
fd71e56891
atmel-samd: Re-org helper peripheral files into their own subdirectory.
...
Ideally in the future they won't depend on ASF4 or MicroPython.
2018-06-01 15:07:31 -07:00
Scott Shawcroft
5f9b3f2b87
Fix the status neopixel flashing.
...
We were storing the wrong current color.
2018-04-12 13:33:58 -07:00
Bryan Siepert
942b7ffbe0
fixes hardware dotstar support for 3.0 and addresses issue #514
2018-03-08 20:39:47 -08:00
Scott Shawcroft
bf05183158
Merge remote-tracking branch 'adafruit/2.x' into merge_2x
2018-02-27 15:24:16 -08:00
mrmcwethy
a38d8948b3
M4 status LED flashing with no main.py present #447 Initialized stack variable
2017-11-22 22:57:50 -08:00
Scott Shawcroft
3177e10e9e
atmel-samd: Add samd21 neopixel support.
...
Also, fix and enable the status neopixel.
Fixes #264
2017-10-31 22:38:09 -07:00
Scott Shawcroft
6839fff313
Move to ASF4 and introduce SAMD51 support. ( #258 )
...
* atmel-samd: Remove ASF3. This will break builds.
* atmel-samd: Add ASF4 for the SAMD21 and SAMD51.
* Introduce the supervisor concept to facilitate porting.
The supervisor is the code which runs individual MicroPython VMs. By
splitting it out we make it more consistent and easier to find.
This also adds very basic SAMD21 and SAMD51 support using the
supervisor. Only the REPL currently works.
This begins the work for #178 .
2017-09-22 21:05:51 -04:00