Skip to content

Commit 76caacc

Browse files
authored
Merge branch '10.0.x' into rm690b0
2 parents bb222a7 + 3d5d51d commit 76caacc

6 files changed

Lines changed: 14 additions & 30 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
cp-version: ${{ needs.scheduler.outputs.cp-version }}
108108

109109
mpy-cross-mac:
110-
runs-on: macos-13
110+
runs-on: macos-latest
111111
needs: scheduler
112112
if: needs.scheduler.outputs.ports != '{}'
113113
env:
@@ -131,33 +131,18 @@ jobs:
131131
gcc --version
132132
python3 --version
133133
msgfmt --version
134-
- name: Build mpy-cross
135-
run: make -C mpy-cross -j4
136-
- uses: actions/upload-artifact@v4
137-
with:
138-
name: mpy-cross-macos-x64
139-
path: mpy-cross/build/mpy-cross
140134
- name: Build mpy-cross (arm64)
141135
run: make -C mpy-cross -j4 -f Makefile.m1 V=2
142136
- uses: actions/upload-artifact@v4
143137
with:
144138
name: mpy-cross-macos-arm64
145139
path: mpy-cross/build-arm64/mpy-cross-arm64
146-
- name: Make universal binary
147-
run: lipo -create -output mpy-cross-macos-universal mpy-cross/build/mpy-cross mpy-cross/build-arm64/mpy-cross-arm64
148-
- name: Upload artifact
149-
uses: actions/upload-artifact@v4
150-
with:
151-
name: mpy-cross-macos-universal
152-
path: mpy-cross-macos-universal
153140
- name: Upload to S3
154141
if: >-
155142
(github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') ||
156143
(github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
157144
run: |
158-
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross-macos-universal s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-"${CP_VERSION}"-universal --no-progress --region us-east-1
159145
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build-arm64/mpy-cross-arm64 s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-"${CP_VERSION}"-arm64 --no-progress --region us-east-1
160-
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build/mpy-cross s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-"${CP_VERSION}"-x64 --no-progress --region us-east-1
161146
env:
162147
AWS_PAGER: ''
163148
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

locale/circuitpython.pot

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,6 @@ msgstr ""
159159
msgid "%q length must be >= %d"
160160
msgstr ""
161161

162-
#: py/runtime.c
163-
msgid "%q moved from %q to %q"
164-
msgstr ""
165-
166162
#: py/argcheck.c
167163
msgid "%q must be %d"
168164
msgstr ""
@@ -1814,10 +1810,6 @@ msgstr ""
18141810
msgid "Not playing"
18151811
msgstr ""
18161812

1817-
#: shared-module/jpegio/JpegDecoder.c
1818-
msgid "Not supported JPEG standard"
1819-
msgstr ""
1820-
18211813
#: ports/espressif/common-hal/paralleldisplaybus/ParallelBus.c
18221814
#: ports/espressif/common-hal/sdioio/SDCard.c
18231815
#, c-format
@@ -2581,6 +2573,10 @@ msgid ""
25812573
"declined or ignored."
25822574
msgstr ""
25832575

2576+
#: shared-module/jpegio/JpegDecoder.c
2577+
msgid "Unsupported JPEG (may be progressive)"
2578+
msgstr ""
2579+
25842580
#: shared-bindings/bitmaptools/__init__.c
25852581
msgid "Unsupported colorspace"
25862582
msgstr ""

ports/espressif/bindings/espcamera/Camera.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static mp_obj_t espcamera_camera_reconfigure(mp_uint_t n_args, const mp_obj_t *p
261261
args[ARG_grab_mode].u_obj != MP_ROM_NONE
262262
? validate_grab_mode(args[ARG_grab_mode].u_obj, MP_QSTR_grab_mode)
263263
: common_hal_espcamera_camera_get_grab_mode(self);
264-
bool framebuffer_count =
264+
mp_int_t framebuffer_count =
265265
args[ARG_framebuffer_count].u_obj != MP_ROM_NONE
266266
? mp_obj_get_int(args[ARG_framebuffer_count].u_obj)
267267
: common_hal_espcamera_camera_get_framebuffer_count(self);

ports/espressif/boards/lilygo_tdongle_s3/mpconfigboard.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@
1111
#define MICROPY_HW_BOARD_NAME "LILYGO T-Dongle S3"
1212
#define MICROPY_HW_MCU_NAME "ESP32S3"
1313

14-
#define DEFAULT_UART_BUS_RX (&pin_GPIO44)
15-
#define DEFAULT_UART_BUS_TX (&pin_GPIO43)
14+
#define MICROPY_HW_APA102_MOSI (&pin_GPIO40)
15+
#define MICROPY_HW_APA102_SCK (&pin_GPIO39)
16+
17+
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO44)
18+
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO43)

shared-bindings/time/__init__.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
//|
2323
//|
2424
//| def monotonic() -> float:
25-
//| """Returns an always increasing value of time with an unknown reference
25+
//| """Returns an always increasing value of time, in fractional seconds, with an unknown reference
2626
//| point. Only use it to compare against other values from `time.monotonic()`
2727
//| during the same code run.
2828
//|
2929
//| On most boards, `time.monotonic()` converts a 64-bit millisecond tick counter
30-
//| to a float. Floats on most boards are encoded in 30 bits internally, with
30+
//| to seconds, as a float. Floats on most boards are encoded in 30 bits internally, with
3131
//| effectively 22 bits of precision. The float returned by `time.monotonic()` will
3232
//| accurately represent time to millisecond precision only up to 2**22 milliseconds
3333
//| (about 1.165 hours).

shared-module/jpegio/JpegDecoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static void check_jresult(JRESULT j) {
4646
msg = MP_ERROR_TEXT("Right format but not supported");
4747
break;
4848
case JDR_FMT3:
49-
msg = MP_ERROR_TEXT("Not supported JPEG standard");
49+
msg = MP_ERROR_TEXT("Unsupported JPEG (may be progressive)");
5050
break;
5151
}
5252
mp_raise_RuntimeError(msg);

0 commit comments

Comments
 (0)