Commit Graph

2832 Commits

Author SHA1 Message Date
Dan Halbert 06765ccfa6 RP2040 now builds 2023-10-05 14:49:49 -04:00
Dan Halbert 7e0e6fcdca Metro M4 now compiles 2023-10-03 15:03:59 -04:00
Dan Halbert 2fc5a934a1 add back generic subscript iterator, gc_never_free 2023-09-29 23:01:02 -04:00
Dan Halbert 68a2927385 MP_REGISTER_ROOT_POINTER for port-specific root pointers 2023-09-29 15:46:42 -04:00
Dan Halbert 1c388ab315 finish converting to MP_REGISTER_ROOT_POINTER() 2023-09-29 10:49:34 -04:00
Dan Halbert 76ff01452b Trinket M0 comes up; still very much wip 2023-09-28 16:22:10 -04:00
Jeff Epler 477b2300a1
fix definitoin of MidiTrack type 2023-09-22 13:58:01 -05:00
Jeff Epler 5d9b84dcb2
fix definition of MathOperation 2023-09-22 13:57:51 -05:00
Jeff Epler 78a7c6b164
fix getting make_new slot of object 2023-09-22 13:57:31 -05:00
Jeff Epler f812750a76
fix use of mp_type_fileio 2023-09-22 13:56:55 -05:00
Jeff Epler e48984872b
allow definition of namedtuples in core 2023-09-22 13:56:16 -05:00
Jeff Epler 1c09a0b494
fix string construction 2023-09-22 13:53:56 -05:00
Jeff Epler e1af819a91
fix (unused) default for some required args 2023-09-22 13:53:11 -05:00
Jeff Epler 5108c3a11f
whitespace 2023-09-20 11:27:12 -05:00
Jeff Epler 51f49698c2
indentation 2023-09-20 11:27:01 -05:00
Dan Halbert 4d175ab41a convert to MP_DEFINED_CONST_OBJ_TYPE() 2023-09-19 21:09:29 -04:00
Dan Halbert 2c0fa0f7dc initial merge from v1.20.0; just satisifying conflicts 2023-09-19 11:10:12 -04:00
Dan Halbert 6851faacaa Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.19.1 2023-08-18 13:29:39 -04:00
Dan Halbert 8cf5b6e707 fixes to unix port support; thanks @jepler 2023-08-14 09:51:52 -04:00
Dan Halbert d582407b06 pre-commit fixes 2023-08-14 00:59:22 -04:00
Dan Halbert 2171e67c1b merge latest adafruit/main 2023-08-13 19:43:54 -04:00
Dan Halbert 850877a85f wip; fix generators; typos 2023-08-13 00:30:59 -04:00
Dan Halbert 10b94796c0 wip; fix more m_malloc and gc_alloc 2023-08-11 00:30:34 -04:00
Dan Halbert fe0e2f13bc wip; fix qstr processing 2023-08-10 20:06:32 -04:00
Melissa LeBlanc-Williams db23a9c9fe Disable floppyio for feather m4 express + update docstring 2023-08-09 09:15:17 -07:00
Dan Halbert 2ff8667e75 wip; remove long-lived functionality; remove PR#2614
Trinket M0 compile has no compilation errors, but has link errors to fix.
2023-08-08 20:41:17 -04:00
Melissa LeBlanc-Williams ea39d7089f Updated docstring stuff 2023-08-08 14:21:55 -07:00
Melissa LeBlanc-Williams b25d3131a3 Update doc string 2023-08-08 12:54:14 -07:00
Melissa LeBlanc-Williams 549bbdc31c Alphablend changes 2023-08-08 12:42:48 -07:00
Dan Halbert 0d2c3c3f08 wip: continuing compilation fixes; mp_obj_alloc everywhere 2023-08-07 20:45:57 -04:00
Jeff Epler ddeb27d335
the note is in its attack phase 2023-08-04 18:40:30 -05:00
Scott Shawcroft 9152659912
Merge remote-tracking branch 'adafruit/main' into cache_config_desc 2023-08-03 13:37:53 -07:00
Scott Shawcroft 59e6cab252
Cache configuration descriptor
We use it to open endpoints as they are used. Fetching the descriptor
as needed can cause issues with devices that we're expecting a control
packet while another transaction was ongoing. Specifically, a usb
thumb drive didn't expect a control transaction while doing a SCSI
transaction.

This PR also aborts transactions on timeout or ctrl-c interrupt. It
doesn't always recover though...
2023-08-02 14:26:11 -07:00
Jeff Epler 16937b8a0d
Fix markup of bitmaptools.blit stubs
this prevented bitmaptools.blit from properly appearing in documentation.
2023-08-02 10:54:47 -05:00
Dan Halbert 0d4bc8c163 initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
Scott Shawcroft 03261fe188
Merge pull request #8191 from gaweng/main
displayio: added Mapping to bits_per_value getter
2023-07-24 10:18:56 -07:00
Scott Shawcroft be0028ec16
Merge pull request #8192 from gaweng/ssl
ssl: Mapping python None to NULL in cadata var
2023-07-24 10:18:09 -07:00
Gaweng Tan 8140d0cb03 Mapping python None to NULL in cadata var 2023-07-22 14:34:06 +02:00
Gaweng Tan e58496feb2 added Mapping to bits_per_value getter 2023-07-22 13:26:34 +02:00
Scott Shawcroft 924422eff8
Merge remote-tracking branch 'adafruit/main' into three_small 2023-07-21 09:37:26 -07:00
Jeff Epler 60b233f160
document EnvelopeState 2023-07-20 16:26:07 -05:00
Jeff Epler 29a4364ba7
fix method signature 2023-07-20 14:05:56 -05:00
Scott Shawcroft 5f082561b3
Unify some error strings 2023-07-20 11:20:32 -07:00
Jeff Epler 346f08f8b9
synthio: Add Synthesizer.note_state
This enables the specific use case of checking whether a note's release
phase has ended, but is also potentially useful to implement a sort of
"voice stealing" algorithm in Python code, which can take account of
the note's envelope state as well as other factors specific to the
program.
2023-07-20 13:16:00 -05:00
Scott Shawcroft 305303996d
Merge pull request #8182 from tannewt/usb_host_singleton
Make usb_host.Port a singleton
2023-07-19 15:04:19 -07:00
Dan Halbert 74eb360922
Merge pull request #8143 from kolkmvd/ShiftRegister-multi-data-pin
Extended ShiftRegisterKeys to support multiple data pins with shared clock and latch
2023-07-18 23:30:13 -04:00
Jeff Epler 3ec9f8a118
Merge pull request #8136 from FoamyGuy/blit_skip_self_index
adding skip_self_index argument to bitmap.blit()
2023-07-18 15:17:28 -05:00
Scott Shawcroft 1629faf8b3
Make usb_host.Port a singleton
This allows you to initialize usb_host.Port once successfully and
then returns the same object as long as you pass the same arguments
in. It does allow you to fix incorrect pins but not switching from
one valid set to another. (It needs a reset for that.)

This also moves hcd cache operations to RAM so that they don't
access the cache when doing maintenance.
2023-07-18 10:40:54 -07:00
Scott Shawcroft a2002e364c
Merge pull request #8165 from anecdata/wifi_docs
Networking docs updates: Access Point, MDNS
2023-07-17 14:58:28 -07:00
Scott Shawcroft 2a83657b6f
Merge pull request #8161 from jepler/usb_host_keyboard
usb host: add keyboard map control in usb workflow
2023-07-17 14:57:13 -07:00