Jeff Epler
510890b207
Enable squeezing property storage in flash
...
.. and enable it on atmel-samd and raspberrypi. On trinket_m0 this saves
96 net bytes of flash. There are 216 bytes actually saved by reducing
the flash storage size of the property descriptors, but added code in
several paths takes back over half of the 'raw savings'.
By organizing the "get-only" and "get-set" (but no delete) properties
each in a different section, we can represent then more efficiently.
Testing performed: that a get-only property can still be gotten but
can't be set or deleted; that a get-set property can sill be gotten or
set but can't be deleted. Tested on pygamer.
Because this requires linker file support, I only enabled it on two of
the ports.
2022-05-03 08:48:53 -05:00
Jeff Epler
78cf0a90af
Make MP_PROPERTY_GETTER / _GETSET fully declare the property
...
This will enable setting data attributes, namely, the section of the
symbol.
2022-05-03 08:48:53 -05:00
Jeff Epler
31da335cac
Introduce, use MP_PROPERTY_GETTER, _GETSET
...
Later, these can be changed in cunning ways to save flash storage.
2022-05-03 08:48:52 -05:00
Tod Kurt
7e622c3ff7
mpconfigboard.h also needs neopixel tweak
2022-05-02 13:23:55 -07:00
Tod Kurt
5d4e964de0
fix qtpy_esp32s3_nopsram neopixel pins
2022-05-02 13:04:05 -07:00
Dan Halbert
816a26e8b7
Merge pull request #6321 from dhalbert/samd21-ticks-for-display
...
Preserve ticks for displays across VMs
2022-04-28 09:37:21 -04:00
Michael Wisslead
e63a327107
Bound PulseIn start indexes to maxlen.
2022-04-28 02:28:34 +00:00
Dan Halbert
b25d810af9
Preserve ticks for displays across VMs
2022-04-27 20:06:47 -04:00
Dan Halbert
b7541088f4
shrink circuitplayground_express_crickit
2022-04-26 17:51:47 -04:00
Dan Halbert
7a77aae4be
shrink feather_m0_supersized
2022-04-26 16:52:43 -04:00
Dan Halbert
6b25ccf1a4
remove stray space
2022-04-26 14:26:42 -04:00
Dan Halbert
63abd9a9cf
Merge pull request #6312 from dhalbert/adjust-neopixel-timings
...
test and adjust NeoPixel timings on multiple ports
2022-04-26 13:18:47 -04:00
Dan Halbert
3a8fb4e956
Merge pull request #5852 from jepler/floppy
...
Add floppyio
2022-04-26 11:40:19 -04:00
Dan Halbert
c8e8171cec
Merge pull request #6300 from jepler/pio-continuous
...
rp2040: add a background write with looping to StateMachines
2022-04-26 10:09:02 -04:00
ZodiusInfuser
910662e833
Finalised motor 2040 pins
2022-04-26 12:56:31 +01:00
ZodiusInfuser
1ccf767112
Merge branch 'adafruit:main' into motor
2022-04-26 10:23:14 +01:00
Dan Halbert
4eeaf41edc
test and adjust NeoPixel timings on multiple products
2022-04-25 23:12:24 -04:00
Dan Halbert
0642917cf7
Merge pull request #6270 from FoamyGuy/tilegrid_bitmap_property
...
adding bitmap property to TileGrid
2022-04-25 09:09:28 -04:00
Dan Halbert
fdf8207e05
Merge pull request #6281 from ViktorWiz/w5100s-evb-pico
...
Added WIZnet board W5100s-evb-pico
2022-04-25 09:09:08 -04:00
Dan Halbert
5b7e0754dd
Merge pull request #6287 from KurtE/mimxrt_pwm
...
Fix PWM Support for the MIMXRT boards
2022-04-25 09:02:40 -04:00
Jeff Epler
1a89a2d366
fix doc build
2022-04-23 13:25:59 -05:00
Jeff Epler
989fb828d4
Revamp background writing
...
Now a 'once' and a 'loop' buffer can be specified.
'once' is useful for things like writing a neopixel strip in the background,
if you can guarantee the buffer contents are stable until the write is complete.
'loop' is useful for periodic things, like pwm & servos.
both together are useful for some special cases of pwm/servo, where a
transitional waveform needs to be played for one repetition and then
a new waveform needs to be played after that.
The API is renamed to reflect that it's a more generic 'background'
operation.
2022-04-23 13:09:36 -05:00
KurtE
8d9dc1fb93
Update ports/mimxrt10xx/supervisor/port.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 11:47:40 -07:00
KurtE
3c343cf1b8
Update ports/mimxrt10xx/supervisor/port.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 11:47:30 -07: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
KurtE
1312e5c759
Update ports/mimxrt10xx/supervisor/port.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:16:27 -07:00
KurtE
f102c15bb4
Update ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:15:40 -07:00
KurtE
79dd2a6cd5
Update ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
...
Fix Comment spelling
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:15:29 -07:00
KurtE
53b7caf13c
Update ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:15:01 -07:00
ViktorWiz
e8541e866c
fix end of file issue
2022-04-22 15:02:50 +09:00
ViktorWiz
28296f98f8
update pid
2022-04-22 14:59:28 +09:00
ViktorWiz
f91be019f6
Merge branch 'adafruit:main' into w5100s-evb-pico
2022-04-22 14:52:04 +09:00
root
289aaae954
Fix for issue #4452 - time.sleep on STM
2022-04-21 17:05:44 -05:00
Dan Halbert
76d54ca8ad
shrink sparkfun_redboard_turbo
2022-04-21 12:58:46 -04:00
Jeff Epler
457aba79f4
fix doc build
2022-04-20 08:09:38 -05:00
Dan Halbert
4aea8049c5
Merge pull request #6279 from mjs513/main
...
Added Settable Clock for MIMXRT BOARDS
2022-04-20 08:31:41 -04:00
Dan Halbert
1fcc73bc24
Merge pull request #6261 from KurtE/PortSerialHooksIssue
...
disable on mimxrt10xx (Teensy40 41) Serial port Hooks
2022-04-19 23:04:07 -04:00
Jeff Epler
144eb5dfd4
fix lost DMA IRQ
2022-04-19 16:42:27 -05:00
Jeff Epler
ebc426d9e6
Remove debug prints, improve docs
2022-04-19 16:39:04 -05:00
Jeff Epler
b128f180ca
switch to single single dma channel, fix some bugs
2022-04-19 16:33:51 -05:00
KurtE
49769cfea4
Convert to use debug rx/tx pins to trigger adding this code
...
As per review request
2022-04-19 14:02:16 -07:00
Jeff Epler
33d6d55675
the basics work
...
the sequence has to be a minimum length, 8 entries, but this problem
is not detected. I don't THINK this is an insurmountable problem.
2022-04-19 15:14:50 -05:00
Jeff Epler
33f5598acc
Stub 'continuous write' functionality
2022-04-19 11:35:43 -05:00
Neradoc
17bba7b17d
remove Adafruit_CircuitPython_BusDevice from frozen modules, it's built in now
2022-04-19 06:49:11 +02:00
Dan Halbert
6425e937b5
Merge pull request #6289 from stonehippo/samd51_mm_flash
...
Samd51 mm flash
2022-04-18 18:59:58 -04:00
KurtE
eab4867e61
Remove dead replaced code
...
As requested, I removed the dead code that was replaced
2022-04-18 15:46:36 -07:00
George White
3b5171c4ff
Move hook implementation to supervisor
2022-04-18 14:09:36 +00:00
Dan Halbert
4ab3881a82
Merge pull request #6282 from xuhow/elecfreaks_picoed
...
Elecfreaks picoed
2022-04-18 10:07:17 -04:00
George White
32fc084b39
Removed compiler flag in favor of MP_WEAK implementation
2022-04-18 13:10:12 +00:00
George White
0ba93b20e5
Setup flash pins on Sparkfun SAMD51 Micromod
2022-04-18 13:10:12 +00:00