@protoboardai/ext-esp-idf 0.2.0 → 0.2.1
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/package.json +13 -2
- package/protoboard-extension.json +32 -10
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protoboardai/ext-esp-idf",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "Protoboard
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Protoboard extension: ESP-IDF firmware configuration for ESP32-C3 boards.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Delta Robotics, Inc.",
|
|
7
7
|
"repository": {
|
|
@@ -29,5 +29,16 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@protoboardai/core": "^0.2.0",
|
|
31
31
|
"@deltarobotics/uhd": ">=0.3.0"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"protoboard",
|
|
35
|
+
"hardware",
|
|
36
|
+
"firmware",
|
|
37
|
+
"esp32",
|
|
38
|
+
"esp-idf"
|
|
39
|
+
],
|
|
40
|
+
"homepage": "https://protoboard.ai",
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/Delta-Robotics-Inc/protoboard-stack/issues"
|
|
32
43
|
}
|
|
33
44
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "protoboard.extension/v0",
|
|
3
3
|
"id": "@protoboardai/ext-esp-idf",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1",
|
|
5
5
|
"description": "firmware provider: ESP-IDF pin and peripheral header and sdkconfig.defaults for ESP32-C3 modules, every setting citing the UHD facts it comes from.",
|
|
6
6
|
"compatibility": {
|
|
7
7
|
"protoboard": "^0.2.0",
|
|
@@ -20,17 +20,39 @@
|
|
|
20
20
|
"summary": "ESP-IDF 5.3 board_pins.h (buses, addresses, buttons, controls, wake mask) and sdkconfig.defaults (target, flash, console, RTC clock) for an ESP32-C3 board",
|
|
21
21
|
"native": "esp-idf",
|
|
22
22
|
"operations": {
|
|
23
|
-
"generate": {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
"generate": {
|
|
24
|
+
"entry": "./ops/firmware.ts#generate",
|
|
25
|
+
"summary": "Read the board into a firmware map, apply the rules, write board_pins.h and sdkconfig.defaults under esp-idf/ with the line index"
|
|
26
|
+
},
|
|
27
|
+
"export": {
|
|
28
|
+
"entry": "./ops/firmware.ts#exportOutputs",
|
|
29
|
+
"summary": "Copy the generated files to out/config/ and write out/firmware.manifest.json (refuses files edited since generate)"
|
|
30
|
+
},
|
|
31
|
+
"extract": {
|
|
32
|
+
"entry": "./ops/firmware.ts#extract",
|
|
33
|
+
"summary": "Artifact references and the GPIOs the header names"
|
|
34
|
+
},
|
|
35
|
+
"check": {
|
|
36
|
+
"entry": "./ops/firmware.ts#check",
|
|
37
|
+
"summary": "Pin table, single use, bus functions, I2C addresses, strapping pins, Deep-sleep wake sources, controller counts, and drift between the files and the board"
|
|
38
|
+
}
|
|
27
39
|
},
|
|
28
40
|
"constraints": {
|
|
29
|
-
"controller": {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
41
|
+
"controller": {
|
|
42
|
+
"description": "instance path of the controller, when the board has more than one microcontroller"
|
|
43
|
+
},
|
|
44
|
+
"console": {
|
|
45
|
+
"description": "usb (USB Serial/JTAG; default when GPIO18/19 are wired) or uart0"
|
|
46
|
+
},
|
|
47
|
+
"i2c_frequency_hz": {
|
|
48
|
+
"description": "I2C bus clock (default: the slowest device's limit, 400 kHz at most)"
|
|
49
|
+
},
|
|
50
|
+
"uart_baud": {
|
|
51
|
+
"description": "{ <instance>: baud } for UART devices that state no baud_rate"
|
|
52
|
+
},
|
|
53
|
+
"wake": {
|
|
54
|
+
"description": "[<button or device instance | net>] inputs that wake the chip from Deep-sleep; each must be on an RTC GPIO (GPIO0-5)"
|
|
55
|
+
}
|
|
34
56
|
}
|
|
35
57
|
}
|
|
36
58
|
]
|