@mikrojs/firmware 0.18.2-next.20260826235606 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +3 -3
- package/prebuilds/esp32/bootloader/bootloader.bin +0 -0
- package/prebuilds/esp32/mikrojs.bin +0 -0
- package/prebuilds/esp32c3/bootloader/bootloader.bin +0 -0
- package/prebuilds/esp32c3/mikrojs.bin +0 -0
- package/prebuilds/esp32c5/bootloader/bootloader.bin +0 -0
- package/prebuilds/esp32c5/mikrojs.bin +0 -0
- package/prebuilds/esp32c6/bootloader/bootloader.bin +0 -0
- package/prebuilds/esp32c6/mikrojs.bin +0 -0
- package/prebuilds/esp32s3/bootloader/bootloader.bin +0 -0
- package/prebuilds/esp32s3/mikrojs.bin +0 -0
- package/project.cmake +2 -2
- package/sdkconfig.defaults +1 -6
package/README.md
CHANGED
|
@@ -26,6 +26,6 @@ See the [Custom Firmware](https://mikrojs.dev/develop/custom-firmware) docs for
|
|
|
26
26
|
## Requirements
|
|
27
27
|
|
|
28
28
|
- Node.js >= 24
|
|
29
|
-
- ESP-IDF >= 6.
|
|
29
|
+
- ESP-IDF >= 6.1 (installed via [EIM](https://docs.espressif.com/projects/idf-im-ui/en/latest/))
|
|
30
30
|
|
|
31
31
|
To build, activate ESP-IDF in your shell first: run `eim select` and source the activation script it prints, then use `idf.py` as usual.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikrojs/firmware",
|
|
3
|
-
"version": "0.18.2
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "Mikro.js ESP32 firmware: ESP-IDF component, build tools, and project template",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"esp-idf",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"esbuild": "^0.28.0",
|
|
50
|
-
"@mikrojs/native": "0.18.2
|
|
51
|
-
"@mikrojs/quickjs": "0.18.2
|
|
50
|
+
"@mikrojs/native": "0.18.2",
|
|
51
|
+
"@mikrojs/quickjs": "0.18.2"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=24.0.0"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/project.cmake
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
|
|
12
12
|
# ── Validate ESP-IDF version ─────────────────────────────────────────
|
|
13
13
|
if(IDF_VERSION_MAJOR LESS 6 OR
|
|
14
|
-
(IDF_VERSION_MAJOR EQUAL 6 AND IDF_VERSION_MINOR
|
|
14
|
+
(IDF_VERSION_MAJOR EQUAL 6 AND IDF_VERSION_MINOR LESS 1))
|
|
15
15
|
message(FATAL_ERROR
|
|
16
|
-
"mikrojs requires ESP-IDF >= 6.
|
|
16
|
+
"mikrojs requires ESP-IDF >= 6.1, found ${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}.${IDF_VERSION_PATCH}. "
|
|
17
17
|
"Install a supported version via EIM: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html"
|
|
18
18
|
)
|
|
19
19
|
endif()
|
package/sdkconfig.defaults
CHANGED
|
@@ -185,7 +185,7 @@ CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED=n
|
|
|
185
185
|
|
|
186
186
|
# Use smaller cert bundle (common CAs only)
|
|
187
187
|
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN=y
|
|
188
|
-
# Deliberate deviation from IDF
|
|
188
|
+
# Deliberate deviation from IDF, which defaults this to n to save ~700 B
|
|
189
189
|
# of heap. We need it: with n, esp_crt_bundle looks up only the top served
|
|
190
190
|
# cert's issuer, so any chain that serves a cross-signed root fails outright.
|
|
191
191
|
# That is ~2 in 5 real hosts, mostly Google Trust Services roots cross-signed
|
|
@@ -193,10 +193,5 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_CMN=y
|
|
|
193
193
|
# Device-confirmed against registry.npmjs.org (MBEDTLS_ERR_X509_FATAL_ERROR,
|
|
194
194
|
# -0x3000). Neither cross-signing root ships in the CMN or the full bundle, so
|
|
195
195
|
# bundle selection is not an escape either.
|
|
196
|
-
#
|
|
197
|
-
# The cost on 6.0.2 is a leak: ~215 B of issuer-name copies per successful
|
|
198
|
-
# handshake, ~10 KB/day at a 30-minute check-in cadence. Fixed upstream by
|
|
199
|
-
# 0d8ff68f8a47 and a1f1d9072900, landing in an upcoming release. Until our
|
|
200
|
-
# IDF floor gets there, patch IDF rather than turning this off.
|
|
201
196
|
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_CROSS_SIGNED_VERIFY=y
|
|
202
197
|
|