@mikrojs/firmware 0.5.1 → 0.6.0-pr-70.gc88e298
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/components/mikrojs/CMakeLists.txt +2 -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/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 +3 -2
package/README.md
CHANGED
|
@@ -27,4 +27,4 @@ See the [Custom Firmware](https://mikrojs.dev/develop/custom-firmware) docs for
|
|
|
27
27
|
## Requirements
|
|
28
28
|
|
|
29
29
|
- Node.js >= 24
|
|
30
|
-
- ESP-IDF >= 6.0 (installed via [EIM](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html))
|
|
30
|
+
- ESP-IDF >= 6.0.1 (installed via [EIM](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html))
|
|
@@ -65,6 +65,7 @@ idf_component_register(
|
|
|
65
65
|
"${MIK_SRC_DIR}/mik_cbor.cpp"
|
|
66
66
|
"${MIK_SRC_DIR}/mik_result.cpp"
|
|
67
67
|
"${MIK_SRC_DIR}/mik_udp.cpp"
|
|
68
|
+
"${MIK_SRC_DIR}/mik_observable.cpp"
|
|
68
69
|
"${MIK_SRC_DIR}/mikrojs.cpp"
|
|
69
70
|
# nanocbor CBOR codec
|
|
70
71
|
"${MIK_NANOCBOR_DIR}/src/encoder.c"
|
|
@@ -131,7 +132,7 @@ include("${MIK_BYTECODE_CMAKE}")
|
|
|
131
132
|
|
|
132
133
|
# Force linker to include self-registering native modules
|
|
133
134
|
set(_MIK_MODULES cbor pin i2c spi http wifi rtc nvs_kv sntp sleep neopixel pwm uart)
|
|
134
|
-
set(_MIK_BYTECODE_MODULES cbor env result schema fs http/helpers http/request i2c kv/nvs kv/rtc kv/shared neopixel pin pwm reader sleep spi sntp stdio stream sys test uart udp wifi)
|
|
135
|
+
set(_MIK_BYTECODE_MODULES cbor env result schema fs http/helpers http/request i2c kv/nvs kv/rtc kv/shared neopixel observable observable/operators pin pwm reader sleep spi sntp stdio stream sys test uart udp wifi)
|
|
135
136
|
if(CONFIG_BT_ENABLED)
|
|
136
137
|
list(APPEND _MIK_MODULES ble)
|
|
137
138
|
list(APPEND _MIK_BYTECODE_MODULES ble)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikrojs/firmware",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0-pr-70.gc88e298",
|
|
4
4
|
"description": "Mikro.js ESP32 firmware: ESP-IDF component, build tools, and project template",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"esp-idf",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"esbuild": "^0.28.0",
|
|
54
|
-
"@mikrojs/
|
|
55
|
-
"@mikrojs/
|
|
54
|
+
"@mikrojs/native": "0.6.0-pr-70.gc88e298",
|
|
55
|
+
"@mikrojs/quickjs": "0.6.0-pr-70.gc88e298"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=24.0.0"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/project.cmake
CHANGED
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
# project(my-firmware)
|
|
11
11
|
|
|
12
12
|
# ── Validate ESP-IDF version ─────────────────────────────────────────
|
|
13
|
-
if(IDF_VERSION_MAJOR LESS 6
|
|
13
|
+
if(IDF_VERSION_MAJOR LESS 6 OR
|
|
14
|
+
(IDF_VERSION_MAJOR EQUAL 6 AND IDF_VERSION_MINOR EQUAL 0 AND IDF_VERSION_PATCH LESS 1))
|
|
14
15
|
message(FATAL_ERROR
|
|
15
|
-
"mikrojs requires ESP-IDF >= 6.0.
|
|
16
|
+
"mikrojs requires ESP-IDF >= 6.0.1, found ${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}.${IDF_VERSION_PATCH}. "
|
|
16
17
|
"Install a supported version via EIM: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index.html"
|
|
17
18
|
)
|
|
18
19
|
endif()
|