Commit graph

1426 commits

Author SHA1 Message Date
Hurst, Brandon
efae9e2b1f Fix CI run issues with docs & tlsf submodule 2024-11-25 15:28:42 -08:00
U-ANALOG\BHurst
0374e99484 Initial commit for ADI MAX32690 support. Still many modules to implement/unstub, but builds clean. 2024-11-25 15:28:40 -08:00
Bernhard Bablok
3b07c3c7a7 support setups with all modules in src-directory 2024-09-30 09:08:10 +02:00
Dan Halbert
d777cd7d78 Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.23.0 2024-09-13 15:54:55 -04:00
Dan Halbert
05825a0af9 fix raw_code is_generator and is_async 2024-09-13 11:35:17 -04:00
Dan Halbert
1c2eb47055 pre-commit format check: ignore *.py in ports/unix 2024-09-10 17:14:25 -04:00
Scott Shawcroft
2a6f0c8d4b
Disable USB PID check for P4 2024-09-10 13:47:02 -07:00
Dan Halbert
1f68fffa13 merge from main 2024-09-10 16:36:32 -04:00
Dan Halbert
27effe659c tools/mpy-tools.py: add .is_async; fix casting align issue 2024-09-09 19:15:25 -04:00
Dan Halbert
7812695281 non-conflict merge changes 2024-09-05 14:54:18 -04:00
Dan Halbert
ac7e15f88a (only) reserve merge conflicts 2024-08-28 16:31:37 -04:00
elpekenin
1eaa51e516 handle tuple/dict when creating board stubs 2024-08-23 22:56:52 +02:00
Dan Halbert
e5e9c5ca84
Merge pull request #9469 from dhalbert/merge-from-micropython-v1.22.2
Merge from micropython v1.22.2
2024-08-21 18:11:19 -04:00
Dan Halbert
450cb4963e address review comments 2024-08-21 16:50:19 -04:00
Scott Shawcroft
ea56e2e22b
Update to new license header 2024-08-19 14:02:44 -07:00
Dan Halbert
2991c481c0
Merge pull request #9514 from tannewt/rp2350_usb_host
Enable PIO USB Host on RP2350
2024-08-14 13:06:09 -04:00
Scott Shawcroft
9838def638
Enable PIO USB Host on RP2350
It was crashing due to memcpy being left on the flash. Core 1 can't
use code from flash because it may run during a flash operation that
core 0 is doing.

Fixes #9493
2024-08-12 15:50:42 -07:00
Scott Shawcroft
84306c7c71
Fix ESP startup
The RP2350 branch brought in a bug via TLSF.

Fixes #9508
2024-08-12 13:37:58 -07:00
Radomir Dopieralski
2c7b11b1af displayio.Bitmap is now byte-aligned for depth < 8
The traditional layout of pixels in bitmaps of depth less than eight
is with the order of values in a byte reversed, but with bytes in
the same order as the pixels on the line.

Before now, displayio.Bitmap did reverse the values, but did it on a
word (four bytes) basis, not byte, which resulted in groups of four
bytes being in the order opposite to the screen order.

This patch fixes this, by making processing of pixels in bitmaps of
depth less than 8 bits based on bytes, not words. Since the internal
details are changing, any code that accessed bitmaps through the
memoryview buffer, or that created bitmaps directly from raw data,
and that used depth of less than 8 bits will be affected.

Therefore, the gen_display_resources.py script also had to be modified
to account for the changes.
2024-08-05 23:14:55 +02:00
Dan Halbert
2e33e00a8e add formatting/spelling exceptions 2024-07-29 18:59:59 -04:00
Dan Halbert
be6fa2af21 merge from main 2024-07-29 17:41:46 -04:00
Dan Halbert
69b667406b MPy v1.22 merge: initial merge; not compiled yet 2024-07-25 15:16:24 -04:00
Dan Halbert
364e5f1bda
Merge pull request #9410 from elpekenin/fix/9407
[FIX] [Tooling] Broken regex'es in `build_board_specific_stubs`
2024-07-06 15:46:42 -04:00
Pablo Martínez
dc6c4eeb72
Update board_stub_builder.py 2024-07-06 21:13:14 +02:00
Pablo Martínez
28e6afca47
Update tools/board_stubs/build_board_specific_stubs/board_stub_builder.py
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-07-06 21:12:49 +02:00
Pablo Martínez
23b86b35d7
Update tools/board_stubs/build_board_specific_stubs/board_stub_builder.py
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2024-07-06 21:12:43 +02:00
elpekenin
fec63786ec allow any number of whitespaces 2024-07-06 19:25:42 +02:00
foamyguy
01ab0ea8ca check version first thing 2024-06-23 11:22:44 -05:00
foamyguy
798e38e447 enforce min py3.9 for setboard. create init.py in board-stubs 2024-06-23 11:14:35 -05:00
Dan Halbert
59954cfd06
Update tools/ci_check_duplicate_usb_vid_pid.py - add comma 2024-06-19 16:20:16 -04:00
applecuckoo
a17517fc97
add exception for CI check 2024-06-20 07:43:34 +12:00
Tim
0c9a683ad7 move board_summaries.py to tools 2024-05-29 15:59:52 -07:00
Damien George
fbf811474a tools/ci.sh: Simplify selection of natmod tests to run.
The `run-natmodtests.py` script now properly excludes tests that don't use
the corresponding native module.

Signed-off-by: Damien George <damien@micropython.org>
2024-05-27 11:45:59 +10:00
Brian Pugh
c624a5c0c4 py/dynruntime: Export mp_load_method_maybe and mp_arg_parse_all* funcs.
Also define `mp_type_bytearray`.  These all help to write native modules.

Signed-off-by: Brian Pugh <bnp117@gmail.com>
Signed-off-by: Damien George <damien@micropython.org>
2024-05-24 13:50:57 +10:00
Damien George
482292cc66 py/dynruntime: Add mp_obj_exception_init function to create C exception.
Signed-off-by: Damien George <damien@micropython.org>
2024-05-23 14:20:20 +10:00
Dan Halbert
16e9fe6ce6 fix a few regexps that are better as raw strings 2024-05-21 18:26:26 -04:00
Dan Halbert
6c4bfd6738
Merge pull request #9222 from tannewt/esp_ble_server
Add ESP BLE GATT server support
2024-05-17 17:24:45 -04:00
Dan Halbert
bb959ba094 save header change tool for posterity 2024-05-17 14:56:28 -04:00
Scott Shawcroft
689c6fac20
Add ESP BLE GATT server support
Enable BLE where we can. Switch 4MB, non-USB board default partitioning
over to a single 2MB firmware bank. Old boards override this setting to
keep the same behavior.

This also adds alpha support for the ESP32-C2 (aka ESP8684).

Fixes #5926 and fixes #7170
2024-05-17 11:08:07 -07:00
Olivier Lenoir
85c85e8f0d tools/mpremote: Add support to mip install from GitLab.
Changes are:
- main.py: Add gitlab:org/repo, gitlab:org/repo@branch.
- mip.py: Implement install from GitLab.
- README.md: Add mip install gitlab:org/repo@branch example.

Signed-off-by: Olivier Lenoir <olivier.len02@gmail.com>
2024-05-15 13:32:02 +10:00
elpekenin
49e0f5ab47 search by port, dont print dev info 2024-05-06 21:21:36 +02:00
elpekenin
8c92cd80d0 fix typo 2024-05-04 01:10:22 +02:00
elpekenin
cdd6fea907 add filtering option 2024-05-04 00:57:09 +02:00
elpekenin
7140008a18 grouped and sorted 2024-05-03 19:40:12 +02:00
elpekenin
933efe082e add --list to stubs setboard 2024-05-03 16:53:13 +02:00
Scott Shawcroft
28b7421124
Merge remote-tracking branch 'adafruit/main' into renode 2024-04-29 11:27:19 -07:00
Scott Shawcroft
0da83a9d37
Fix silabs 2024-04-26 13:35:02 -07:00
Scott Shawcroft
8f5c6920a9
Fix CI USB PID check 2024-04-26 13:24:19 -07:00
Scott Shawcroft
79888acd15
Fix lint, ESP BLE and renode fetch deps 2024-04-24 10:00:36 -07:00
Scott Shawcroft
983771b1b0
Skip id check for renode builds 2024-04-23 14:07:13 -07:00