Dan Halbert
2a75196aa3
merge from adafruit/circuitpython
3 years ago
Dan Halbert
189f2d5f07
Make requiring I2C pullups be optional
3 years ago
Scott Shawcroft
a10cd8580c
Merge pull request #2445 from jepler/mp3-jeplayer-fixes
...
Fixes for JEplayer
3 years ago
Scott Shawcroft
866ac13405
Merge pull request #2450 from Marius-450/marius-display-limit-2
...
CIRCUITPY_DISPLAY_LIMIT = 2 for monster m4sk
3 years ago
Radomir Dopieralski
59ded1131f
Take display offsets for PewPew M4 from the bootloader config
...
The PewPew M4 devices come with different displays, which require
different offsets. Since the information about offsets is saved in
the bootloader, we can take it from there.
3 years ago
Marius-450
3ad3d49959
changes only for monster m4sk
3 years ago
Dan Halbert
242d572470
wip
3 years ago
Jeff Epler
bd8650d35b
samd/peripherals: take upstream update
3 years ago
Dan Halbert
32b82032a1
Merge pull request #2423 from pewpew-game/pewpew-m4-update
...
Update the PewPew M4 board and circuitpython-stage
3 years ago
Scott Shawcroft
0223589e6c
Fix default UART too
3 years ago
Scott Shawcroft
e1d026f815
Update pins.c
3 years ago
hathach
62c4028cde
sync with https://github.com/hathach/tinyusb/pull/246
...
should fix slow enumeration
3 years ago
Jeff Epler
5aa3e3eabb
samd/peripherals: update
3 years ago
Radomir Dopieralski
b06057395b
Update PewPew M4
...
PewPew M4 now has the pew.py added to its frozen libraries. Some
features needed to be disabled to make room for that.
3 years ago
Scott Shawcroft
f60b6481e0
Turn off `gamepad` on cpx crickit
3 years ago
Scott Shawcroft
b859e2b710
Remove `re` from CPX Displayio build to make space.
3 years ago
Jeff Epler
d31a387ace
circuitplayground_express_displayio: reduce inlining to make .ko translation fit
3 years ago
ndgarage
16688180c6
add-ndbit6
3 years ago
Dan Halbert
81581b345c
Increase CPX stack size slightly
3 years ago
KalbeAbbas
89ed64157d
Merge branch 'master' into master
3 years ago
KalbeAbbas
87dc9bee8b
Update mpconfigboard.mk
3 years ago
KalbeAbbas
6f6d6c01ab
Update mpconfigboard.mk
3 years ago
Dan Halbert
e11fabd5e0
moved nrf internal filesystem to just below bootloader
3 years ago
Dan Halbert
ae64a669dd
address review comments
3 years ago
Dan Halbert
d9ca4c9a60
fix build failures
3 years ago
Dan Halbert
c6221c5956
Remove no-longer-used nrf and atmel-samd .ld files
3 years ago
Dan Halbert
68ae47907c
merge from upstream
3 years ago
Dan Halbert
013c840862
working on all ports
3 years ago
Jeff Epler
a08d9e6d8e
audiocore: Add MP3File using Adafruit_MP3 library
3 years ago
Jeff Epler
1905d0746d
samd: neopixel: Fix neopixels after #2297
...
This adapts the "inline assembler" code from the UF2 bootloader, which
in turn is said to be adapted from the arduino neopixel library.
This requires the cache remain ON when using M0, and be turned OFF on M4
(determined by trial and error)
Testing performed on a Metro M4:
* measured timings using o'scope and found all values within
datasheet tolerance.
* Drove a string of 96 neopixels without visible glitches
* on-board neopixel worked
Testing performed on a Circuit Playground Express (M0):
* Color wheel code works on built-in neopixels
* Color wheel code works on 96 neopixel strip
As a bonus, this may have freed up a bit of flash on M0 targets. (2988 ->
3068 bytes free on Trinket M0)
Closes : #2297
3 years ago
Dan Halbert
d628d2a261
atmel-samd working
3 years ago
Dan Halbert
40434d6919
wip
3 years ago
Scott Shawcroft
fce81e6868
Merge pull request #2297 from jepler/tick-refactor
...
Call background tasks only once per ms
3 years ago
Jeff Epler
002f5c0f1c
samd: trinket_m0: make board fit again
3 years ago
Jeff Epler
899202aca7
Merge branch 'master' into gcc9
3 years ago
Jeff Epler
95d9c49e43
Merge remote-tracking branch 'origin/master' into tick-refactor
3 years ago
Jeff Epler
d843156a5e
samd: Consolidate small build optimization flags
...
.. inline-unit-growth was the same across all boards, and the highest
max-inline-insns-auto parameter was shared across 2 of 5 boards, so it's
worth a little work to follow the DRY principle
3 years ago
Dan Halbert
dd6dfeb30a
Squeeze pyruler zh_Latn_pinyin
3 years ago
Dan Halbert
b32a9192df
make UART.write be blocking on SAMD; add timeout property
3 years ago
Dan Halbert
e560b419f8
Merge pull request #2325 from sarfata/sarfata/add-shirtty-master
...
Add shIRtty board
3 years ago
Dan Halbert
97d90c6039
Merge pull request #2329 from theacodes/set-winterbloom-sol-usb-name
...
Set USB_INTERFACE_NAME for winterbloom_sol
3 years ago
Thea Flowers
e77046d49b
Set USB_INTERFACE_NAME for winterbloom_sol
3 years ago
Thomas Sarlandie
2647ea0754
fix: disable touchio to save some space
3 years ago
Scott Shawcroft
58ad38a88e
Remove DotStar from pIRkey M0 for now to free up space
...
Once we use PixelBuf, the library will be much smaller.
3 years ago
Jeff Epler
82f55dc046
atmel-samd: reduce inlining on constrained boards again
...
pewpew10, pirkey_m0, and uchip all fit now. However, pirkey_m0
now has just 76 bytes flash available.
3 years ago
Jeff Epler
3ed6de7baf
atmel-samd: reduce inlining on pyruler again
...
By tweaking the optimizer flags further, this build also fits
3 years ago
Jeff Epler
2e4a6b94e7
atmel-samd: get most constrained m0 builds to work again
...
By tweaking the optimizer flags, we can get back a few hundred bytes
and allow these builds to work with the gcc9 compiler.
3 years ago
Thomas Sarlandie
11dc572bce
feature: our own PID - thanks @ladyada
3 years ago
Thomas Sarlandie
fc71ed9789
add shirtty board - hackaday supercon 2019 addon
3 years ago
Dan Halbert
1ccb7b4c5e
cosmetic commit, mostly to re-run
3 years ago
Dan Halbert
13375d16f1
change mpconfigport.mk files so they can be overriden by mpconfigboard.mk
3 years ago
Jeff Epler
77b78d7fb9
Merge remote-tracking branch 'origin/master' into tick-refactor
3 years ago
Dan Halbert
e18d3e0f76
Merge branch 'master' into m4-network-ps2io
3 years ago
Dan Halbert
1a62a9cb17
remove network from kicksat_sprite
3 years ago
Dan Halbert
2e9aa38700
turn off network in pewpew_m4
3 years ago
Dan Halbert
1d411d2874
Merge remote-tracking branch 'adafruit/master' into testing-fixes
3 years ago
Dan Halbert
228a619af5
enable network, wiznet5k, and ps2io by default on M4
3 years ago
wallarug
fce7b89087
removed Robo HAT MM1 M0 board.
3 years ago
ndgarage
b3d7467719
add-ndbit6
3 years ago
Jeff Epler
40a47d41df
samd: background: Allow monitoring time taken in background task
...
If you define MONITOR_BACKGROUND_TASK, then a physical output pin
(Metro M4 Express's "SCL" pin by default) will be set HIGH while in
the background task and LOW at other times
3 years ago
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
3 years ago
Cedar Grove Maker Studios
e7df288a34
add USB interface description
...
... to "StringCarM0Ex"
3 years ago
Hierophect
81223c76bd
revert error
3 years ago
Hierophect
2c6781f74d
move neopixel_in_use flag to shared-bindings
3 years ago
Hierophect
de5691acf5
Add never_reset and reset to pin common hal, adjust files
3 years ago
KalbeAbbas
8134ceec83
Update pins.c
3 years ago
KalbeAbbas
799770926b
Update pins.c
3 years ago
KalbeAbbas
949f87fd25
Update pins.c
3 years ago
KalbeAbbas
3db7f2798f
updated
3 years ago
☒ Bjarke Gotfredsen
d745c1023e
Support for XinaBox CC03 and CS11
...
CC03 is a ATSAMD21G18 Cortex-M0+ breakout in xChips format. CS11 is the same, but with a SD Card Interface.
https://xinabox.cc/products/cc03
https://xinabox.cc/products/cs11
3 years ago
Thea Flowers
c7195c4bc5
Allow boards to enable the `micropython.native` decorator
...
Adds the `CIRCUITPY_ENABLE_MPY_NATIVE` for `mpconfigboard.mk` that enables
the `micropython.native` decorator.
3 years ago
Thea Flowers
73989dbcaf
Add board configuration for Winterbloom Sol
3 years ago
Scott Shawcroft
cd3fcc87ab
Merge pull request #2252 from dhalbert/cpb-two-i2c
...
nrf: allocate two I2C on CPB
3 years ago
Dan Halbert
85a648224f
Check for no pullups on I2C on nrf; give arduino nano 33 ble two I2C devices
3 years ago
brentru
2f04c5891f
flip it around
3 years ago
brentru
ab3da3071c
flip MADCTL BGR bit to reflect RGB colors
3 years ago
ladyada
d2b613134d
we should use native rotation, and tweak madctl (not done yet)
3 years ago
ladyada
1e869d1334
switch to 8-bit mode - tested on hardware!
3 years ago
Dan Halbert
1505da784f
wip
3 years ago
Dan Halbert
56ac41fabf
Merge pull request #2240 from theacodes/fix-2086
...
Track unadjusted PWM duty cycle to avoid accumulating conversion errors
3 years ago
Thea Flowers
4b742f88d9
Fix spelling
3 years ago
Thea Flowers
4fdf518251
Track unadjusted PWM duty cycle to avoid accumulating conversion errors
...
Fixes #2086
When the frequency of a `PWMOut` is change it re-sets the PWM's duty cycle as
well, since the registers have to be re-calculated based on the new frequency.
Unfortunately, `common_hal_pulseio_pwmout_get_duty_cycle`
will return a value very close to, but not exactly, the value passed to `common_hal_pulseio_pwmout_set_duty_cycle`. If the frequency is modified
without the calling code also re-setting the duty cycle then the duty cycle
will decay over time. This fixes that problem by tracking the unadjusted duty
cycle and re-setting the duty cycle to that value when the frequency is changed.
3 years ago
ProductDev
4cd5571203
Adds builds for sparkfun_qwiic_micro with and without flash
3 years ago
Dan Halbert
7b79ac3739
Parameterize linker script
3 years ago
Kamil Tomaszewski
96756b3945
Add functions to get top and limit stack
3 years ago
wallarug
8f2e5990db
Changed to follow standard that Pad 0 is always TX
3 years ago
Scott Shawcroft
63790f01f8
Merge pull request #2218 from CedarGroveStudios/master
...
Definitions for StringCar M0 Express and AT25SF161-SSHD-T 2MiB SPI flash chip
3 years ago
Cedar Grove Maker Studios
bd608e0807
remove placeholder
3 years ago
Cedar Grove Maker Studios
b04a218bbc
initial load of stringcar m0 express defs
3 years ago
Cedar Grove Maker Studios
44ebc4c95d
establish stringcar m0 express definitions
3 years ago
Dan Halbert
c1ab2486f9
return chip vcc value
3 years ago
Chris Osterwood
137a4f8a5d
Added new flash SKU for production hardware
3 years ago
Kamil Tomaszewski
7aefcc449a
Add an alternative way to number the USB endpoints
...
Two options available:
- relative numbering (USB_RELATIVE_EP_NUM = 1) - default
- absolute numbering (USB_RELATIVE_EP_NUM = 0) - new!
3 years ago
Scott Shawcroft
cdc116291b
Merge pull request #2177 from wallarug/walla/robohatmm1-production
...
Robo HAT MM1 - Fixes after testing
3 years ago
arturo182
21f8c3e40a
serpente: Update PID and enable as many modules as we can fit
3 years ago
wallarug
3c99a23adb
fix spi
3 years ago
wallarug
533a5bc7a3
fixed SPI on M4
3 years ago
wallarug
5cd10b3ba0
updated robohatmm1_m0
3 years ago
wallarug
39265fccf3
included a version number
3 years ago
wallarug
db9495b04b
updated board name
3 years ago