@typecad/framework-zephyr 1.0.0-alpha.15 → 1.0.0-alpha.18
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/LICENSE +202 -21
- package/README.md +49 -87
- package/dist/as-built.d.ts +2 -2
- package/dist/as-built.js +2 -2
- package/dist/boardgen.d.ts +1 -9
- package/dist/boardgen.js +228 -45
- package/dist/chips/types.d.ts +1 -1
- package/dist/debug-codegen.js +1 -1
- package/dist/display/touch-adapter.js +1 -1
- package/dist/display/ui-adapter.js +549 -549
- package/dist/doctor.js +4 -4
- package/dist/dt-config/custom-board.js +2 -2
- package/dist/dt-config/kconfig.js +18 -12
- package/dist/dt-config/overlay.d.ts +2 -2
- package/dist/dt-config/overlay.js +2 -2
- package/dist/framework.manifest.d.ts +3 -3
- package/dist/framework.manifest.js +10 -7
- package/dist/index.js +5 -5
- package/dist/licenses.d.ts +2 -2
- package/dist/licenses.js +8 -8
- package/dist/lowering/fs.js +1 -1
- package/dist/lowering/gpio.js +0 -32
- package/dist/lowering/http.js +264 -32
- package/dist/lowering/i2c.js +0 -8
- package/dist/lowering/interrupts.js +6 -0
- package/dist/lowering/mqtt.js +110 -8
- package/dist/lowering/usb.js +11 -11
- package/dist/lowering/wdt.js +2 -29
- package/dist/sdk/board-catalog-sync.d.ts +1 -3
- package/dist/sdk/board-catalog-sync.js +4 -10
- package/dist/strategy.d.ts +22 -44
- package/dist/strategy.js +152 -155
- package/dist/tmp-probe.d.ts +2 -0
- package/dist/tmp-probe.js +9 -0
- package/dist/toolchain/debug-config.d.ts +50 -90
- package/dist/toolchain/debug-config.js +241 -502
- package/dist/toolchain/env-check.d.ts +1 -3
- package/dist/toolchain/env-check.js +2 -7
- package/dist/toolchain/index.d.ts +65 -2
- package/dist/toolchain/index.js +432 -55
- package/dist/toolchain/runners.d.ts +16 -0
- package/dist/toolchain/runners.js +75 -0
- package/dist/toolchain/scaffold.d.ts +1 -1
- package/dist/toolchain/scaffold.js +12 -12
- package/dist/toolchain/west-discover.d.ts +6 -0
- package/dist/toolchain/west-discover.js +36 -13
- package/dist/toolchain/west-spawn.js +8 -2
- package/installer/README.md +328 -328
- package/installer/install.sh +2 -2
- package/installer/templates/project/.typecad/activate-zephyr.ps1 +1 -1
- package/installer/templates/project/.typecad/activate-zephyr.sh +1 -1
- package/installer/templates/project/.vscode/settings.json +1 -1
- package/installer/templates/project/README.md +2 -2
- package/package.json +5 -5
- package/src/as-built.ts +206 -206
- package/src/boardgen.ts +214 -48
- package/src/chips/types.ts +567 -567
- package/src/display/touch-adapter.ts +204 -204
- package/src/display/ui-adapter.ts +781 -781
- package/src/doctor.ts +4 -4
- package/src/dt-config/custom-board.ts +2 -2
- package/src/dt-config/kconfig.ts +18 -12
- package/src/dt-config/overlay.ts +1058 -1058
- package/src/framework.manifest.ts +538 -535
- package/src/index.ts +5 -5
- package/src/licenses.ts +425 -425
- package/src/lowering/fs.ts +135 -135
- package/src/lowering/gpio.ts +0 -33
- package/src/lowering/http.ts +264 -32
- package/src/lowering/i2c.ts +0 -9
- package/src/lowering/interrupts.ts +6 -0
- package/src/lowering/mqtt.ts +109 -8
- package/src/lowering/usb.ts +221 -221
- package/src/lowering/wdt.ts +2 -25
- package/src/sdk/board-catalog-sync.ts +4 -25
- package/src/strategy.ts +2265 -2309
- package/src/toolchain/debug-config.ts +264 -514
- package/src/toolchain/env-check.ts +279 -285
- package/src/toolchain/index.ts +1703 -1286
- package/src/toolchain/runners.ts +80 -0
- package/src/toolchain/scaffold.ts +296 -296
- package/src/toolchain/west-discover.ts +35 -13
- package/src/toolchain/west-spawn.ts +174 -168
- package/dist/async/timer-polyfill.d.ts +0 -10
- package/dist/async/timer-polyfill.js +0 -95
- package/dist/chips/board-overrides.d.ts +0 -7
- package/dist/chips/board-overrides.js +0 -11
- package/dist/chips/esp32.d.ts +0 -2
- package/dist/chips/esp32.js +0 -71
- package/dist/chips/esp32s3.d.ts +0 -2
- package/dist/chips/esp32s3.js +0 -103
- package/dist/chips/soc/.d.ts +0 -2
- package/dist/chips/soc/.js +0 -129
- package/dist/chips/soc/esp32.d.ts +0 -2
- package/dist/chips/soc/esp32.js +0 -120
- package/dist/chips/soc/esp32c3.d.ts +0 -2
- package/dist/chips/soc/esp32c3.js +0 -90
- package/dist/chips/soc/esp32c6.d.ts +0 -2
- package/dist/chips/soc/esp32c6.js +0 -109
- package/dist/chips/soc/esp32s3.d.ts +0 -2
- package/dist/chips/soc/esp32s3.js +0 -189
- package/dist/chips/soc/index.d.ts +0 -2
- package/dist/chips/soc/index.js +0 -23
- package/dist/chips/soc/nrf52840.d.ts +0 -2
- package/dist/chips/soc/nrf52840.js +0 -130
- package/dist/chips/soc/rp2040.d.ts +0 -2
- package/dist/chips/soc/rp2040.js +0 -141
- package/dist/chips/soc/rp2350a.d.ts +0 -2
- package/dist/chips/soc/rp2350a.js +0 -145
- package/dist/chips/soc/samd21g18a.d.ts +0 -2
- package/dist/chips/soc/samd21g18a.js +0 -143
- package/dist/chips/soc/stm32f411xe.d.ts +0 -2
- package/dist/chips/soc/stm32f411xe.js +0 -251
- package/dist/chips/xiao-ble.d.ts +0 -2
- package/dist/chips/xiao-ble.js +0 -100
- package/dist/lowering/power.d.ts +0 -9
- package/dist/lowering/power.js +0 -60
- package/dist/lowering/pulse.d.ts +0 -7
- package/dist/lowering/pulse.js +0 -51
- package/dist/lowering/tone.d.ts +0 -10
- package/dist/lowering/tone.js +0 -63
- package/dist/lowering/worker-backing.d.ts +0 -14
- package/dist/lowering/worker-backing.js +0 -79
- package/dist/lowering/worker.d.ts +0 -6
- package/dist/lowering/worker.js +0 -14
- package/dist/sdk/board-data.generated.d.ts +0 -2
- package/dist/sdk/board-data.generated.js +0 -4
- package/dist/sdk/catalog-walker.d.ts +0 -90
- package/dist/sdk/catalog-walker.js +0 -682
- package/dist/sdk/dts-reader.d.ts +0 -83
- package/dist/sdk/dts-reader.js +0 -596
- package/src/debug-codegen.ts +0 -207
package/dist/chips/esp32s3.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
// ---------------------------------------------------------------------------
|
|
2
|
-
// Espressif ESP32-S3 (esp32s3_devkitc) — Zephyr board descriptor
|
|
3
|
-
//
|
|
4
|
-
// Board target: `esp32s3_devkitc` (mainline Zephyr,
|
|
5
|
-
// boards/espressif/esp32s3_devkitc). Programmed over USB via the esptool
|
|
6
|
-
// runner (see toolchain/index.ts), unlike the J-Link/nrfjprog path used for
|
|
7
|
-
// the XIAO nRF52840.
|
|
8
|
-
//
|
|
9
|
-
// GPIO is split across TWO devicetree controllers — `gpio0` (pins 0–31) and
|
|
10
|
-
// `gpio1` (pins 32–48) — so this descriptor lists both in `gpioControllers`.
|
|
11
|
-
// The lowering routes each HAL pin to its owning controller at runtime; see
|
|
12
|
-
// chips/controllers.ts.
|
|
13
|
-
//
|
|
14
|
-
// Minimal-by-design: the only DT facts carried here are the ones a
|
|
15
|
-
// compile-time DT macro cannot reach — the runtime pin→controller split, plus
|
|
16
|
-
// the `sw0` alias for the BOOT button (used by the devicetree-spec GPIO path).
|
|
17
|
-
// Every other DT fact (UART/I2C/SPI/`wdt` nodelabels) is resolved by Zephyr's
|
|
18
|
-
// own devicetree via emitted DT_NODELABEL macros, not hand-copied here.
|
|
19
|
-
//
|
|
20
|
-
// Verified against the Zephyr board DTS:
|
|
21
|
-
// boards/espressif/esp32s3_devkitc/esp32s3_devkitc_procpu.dts
|
|
22
|
-
// aliases { sw0 = &button0; } → button_0: pin 0 on gpio0, active-low + pull-up
|
|
23
|
-
// (the DevKitC board DTS defines no led0 alias — the onboard RGB is a WS2812
|
|
24
|
-
// on GPIO38, not a plain GPIO LED, so it is intentionally NOT listed here.)
|
|
25
|
-
// ---------------------------------------------------------------------------
|
|
26
|
-
export const ESP32S3_DEVKITC = {
|
|
27
|
-
id: 'esp32s3_devkitc',
|
|
28
|
-
soc: 'esp32s3',
|
|
29
|
-
gpioController: 'gpio0',
|
|
30
|
-
gpioControllers: [
|
|
31
|
-
{ nodelabel: 'gpio0', minPin: 0, maxPin: 31 },
|
|
32
|
-
{ nodelabel: 'gpio1', minPin: 32, maxPin: 48 },
|
|
33
|
-
],
|
|
34
|
-
gpio: {
|
|
35
|
-
// The BOOT button (GPIO0) is the board's only DT-aliased GPIO. Listed so a
|
|
36
|
-
// program reading/interrupting pin 0 goes through the polarity-correct
|
|
37
|
-
// devicetree-spec path (GPIO_ACTIVE_LOW honored by the DT flags). Every
|
|
38
|
-
// other GPIO pin uses the raw-controller path against its owning controller.
|
|
39
|
-
dtSpecs: [
|
|
40
|
-
{ pin: 0, dtSpec: 'sw0' }, // BOOT button (GPIO0)
|
|
41
|
-
],
|
|
42
|
-
interruptPins: [
|
|
43
|
-
{ pin: 0, dtSpec: 'sw0' }, // BOOT button (GPIO0)
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
// UART/I2C/SPI/`wdt` are intentionally omitted: their devicetree nodelabels
|
|
47
|
-
// (uart0/uart1/uart2, i2c0/i2c1, spi2/spi3, wdt0) are resolved by Zephyr's
|
|
48
|
-
// devicetree at compile time and don't need to be carried as data here. ADC is
|
|
49
|
-
// omitted as well — added when a demo needs analog reads, with the verified
|
|
50
|
-
// ESP32-S3 ADC1/ADC2 pin→channel map.
|
|
51
|
-
// WiFi: the ESP32-S3 has a 2.4GHz radio; conn_mgr + the esp32 wifi driver
|
|
52
|
-
// (CONFIG_WIFI_ESP32) provide connectivity. Omitted on radioless targets.
|
|
53
|
-
wifi: { supported: true },
|
|
54
|
-
// User buses, mirroring the devkit's verified facts (the
|
|
55
|
-
// board-constants path is authoritative in real builds; this registry
|
|
56
|
-
// entry is the fallback when board constants are absent — e.g. the
|
|
57
|
-
// transpile test harness). uart1 (not uart0 — the console) with the
|
|
58
|
-
// pinctrl group + current-speed the esp32-uart binding requires; i2c0;
|
|
59
|
-
// spi2/spi3.
|
|
60
|
-
i2c: { controllers: [{ nodeLabel: 'i2c0' }] },
|
|
61
|
-
spi: { controllers: [{ nodeLabel: 'spi2' }, { nodeLabel: 'spi3' }] },
|
|
62
|
-
uart: {
|
|
63
|
-
controllers: [
|
|
64
|
-
{
|
|
65
|
-
nodeLabel: 'uart1',
|
|
66
|
-
pinctrlRef: 'uart1_default',
|
|
67
|
-
props: ['current-speed = <115200>;'],
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
// USB CDC-ACM over the S3's native USB-OTG (D-/D+ on the dedicated GPIO19/20
|
|
72
|
-
// pads, no GPIO matrix). The board DTS already aliases the DWC2 controller
|
|
73
|
-
// node and enables it (`zephyr_udc0: &usb_otg { status = "okay"; }` —
|
|
74
|
-
// esp32s3_devkitc_procpu.dts), and the UDC DWC2 driver is DT-default-on, so
|
|
75
|
-
// declaring it here is all usb.* needs: the overlay composes one CDC-ACM
|
|
76
|
-
// instance child and the kconfig resolver enables the "next" USB stack.
|
|
77
|
-
// Console stays on uart0 (the devkit's USB-serial bridge) unless
|
|
78
|
-
// `console.output: 'usb'` rebinds zephyr,console to the CDC port.
|
|
79
|
-
usb: { controller: 'zephyr_udc0', cdcInstances: 1, vid: '0x2FE3', pid: '0x0006' },
|
|
80
|
-
// PWM: the LEDC controller (ledc0 in esp32s3_common.dtsi) — 8 channels, each
|
|
81
|
-
// routable to nearly any pad through the GPIO matrix, so this is a matrix
|
|
82
|
-
// (channels assigned to the driven pins at build time), not a static spec
|
|
83
|
-
// list. Pin selection excludes: GPIO0 (boot strap / BOOT button), GPIO19/20
|
|
84
|
-
// (USB D-/D+), GPIO26–32 (SPI flash/PSRAM), GPIO33–37 (octal PSRAM on OPI
|
|
85
|
-
// modules), GPIO43/44 (uart0 console pads). The driver
|
|
86
|
-
// (CONFIG_PWM_LED_ESP32, DT-default-on) requires a pinctrl group routing
|
|
87
|
-
// each used channel (LEDC_CH<ch>_GPIO<pin> pinmux tokens, all 8×46 pairs in
|
|
88
|
-
// esp32s3-pinctrl.h) plus per-channel child nodes (reg + timer) — both
|
|
89
|
-
// emitted by the overlay generator (dt-config/overlay.ts emitPwmNodes).
|
|
90
|
-
pwm: {
|
|
91
|
-
specs: [],
|
|
92
|
-
matrix: {
|
|
93
|
-
controller: 'ledc0',
|
|
94
|
-
channelCount: 8,
|
|
95
|
-
pins: [
|
|
96
|
-
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
|
|
97
|
-
21,
|
|
98
|
-
38, 39, 40, 41, 42,
|
|
99
|
-
45, 46, 47, 48,
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
};
|
package/dist/chips/soc/.d.ts
DELETED
package/dist/chips/soc/.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
// GENERATED by scripts/gen-soc-descriptors.mjs — consolidated from the
|
|
2
|
-
// board-xiao-nrf52840 + mcu-nrf52840 package data (the exact flatten+reconstruct the build
|
|
3
|
-
// performed). Curated additions: tier/pinNaming/excludedPins. Regenerate
|
|
4
|
-
// only alongside a descriptor-type change; hand-edit the curated table in
|
|
5
|
-
// the script, not this file.
|
|
6
|
-
export const _SOC = {
|
|
7
|
-
"id": "xiao_ble/nrf52840",
|
|
8
|
-
"soc": "",
|
|
9
|
-
"gpioController": "gpio0",
|
|
10
|
-
"gpioControllers": [
|
|
11
|
-
{
|
|
12
|
-
"nodelabel": "gpio0",
|
|
13
|
-
"minPin": 0,
|
|
14
|
-
"maxPin": 31
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"nodelabel": "gpio1",
|
|
18
|
-
"minPin": 32,
|
|
19
|
-
"maxPin": 47
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"gpio": {
|
|
23
|
-
"dtSpecs": [
|
|
24
|
-
{
|
|
25
|
-
"pin": 26,
|
|
26
|
-
"dtSpec": "led0"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"pin": 30,
|
|
30
|
-
"dtSpec": "led1"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"pin": 6,
|
|
34
|
-
"dtSpec": "led2"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"i2c": {
|
|
39
|
-
"controllers": [
|
|
40
|
-
{
|
|
41
|
-
"nodeLabel": "i2c1"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"spi": {
|
|
46
|
-
"controllers": [
|
|
47
|
-
{
|
|
48
|
-
"nodeLabel": "spi2"
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"uart": {
|
|
53
|
-
"controllers": [
|
|
54
|
-
{
|
|
55
|
-
"nodeLabel": "uart0"
|
|
56
|
-
}
|
|
57
|
-
]
|
|
58
|
-
},
|
|
59
|
-
"pwm": {
|
|
60
|
-
"specs": [
|
|
61
|
-
{
|
|
62
|
-
"pin": 17,
|
|
63
|
-
"dtSpec": "pwm-led0"
|
|
64
|
-
}
|
|
65
|
-
],
|
|
66
|
-
"maxFrequencyHz": 2000000,
|
|
67
|
-
"resolutionBits": 16
|
|
68
|
-
},
|
|
69
|
-
"adc": {
|
|
70
|
-
"nodeLabel": "adc",
|
|
71
|
-
"resolution": 12,
|
|
72
|
-
"vrefMv": 3000,
|
|
73
|
-
"channels": [
|
|
74
|
-
{
|
|
75
|
-
"pin": 2,
|
|
76
|
-
"channel": 0
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"pin": 3,
|
|
80
|
-
"channel": 1
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"pin": 28,
|
|
84
|
-
"channel": 2
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"pin": 29,
|
|
88
|
-
"channel": 3
|
|
89
|
-
}
|
|
90
|
-
]
|
|
91
|
-
},
|
|
92
|
-
"wdt": {
|
|
93
|
-
"nodeLabel": "wdt0"
|
|
94
|
-
},
|
|
95
|
-
"usb": {
|
|
96
|
-
"controller": "zephyr_udc0",
|
|
97
|
-
"cdcInstances": 1,
|
|
98
|
-
"vid": "0x2FE3",
|
|
99
|
-
"pid": "0x0003"
|
|
100
|
-
},
|
|
101
|
-
"probeMethods": [
|
|
102
|
-
{
|
|
103
|
-
"id": "jlink",
|
|
104
|
-
"runner": "jlink",
|
|
105
|
-
"description": "J-Link probe (SWD)",
|
|
106
|
-
"debug": true,
|
|
107
|
-
"debugInterface": "swd",
|
|
108
|
-
"debugDevice": "nRF52840_xxAA"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"id": "openocd",
|
|
112
|
-
"runner": "openocd",
|
|
113
|
-
"description": "Any SWD probe openocd supports (CMSIS-DAP, cheap clones)",
|
|
114
|
-
"debug": true,
|
|
115
|
-
"debugInterface": "swd",
|
|
116
|
-
"debugCfgSource": [
|
|
117
|
-
"interface/stlink.cfg",
|
|
118
|
-
"target/nrf52.cfg"
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"id": "uf2",
|
|
123
|
-
"runner": "uf2",
|
|
124
|
-
"description": "Bootloader UF2 drag-and-drop: double-tap reset",
|
|
125
|
-
"debug": false
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
"tier": "validated"
|
|
129
|
-
};
|
package/dist/chips/soc/esp32.js
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
// Hand-maintained descriptor table — mechanically migrated from the
|
|
2
|
-
// board-esp32-devkit + mcu-esp32 package data (the exact flatten+reconstruct the build
|
|
3
|
-
// performed). Curated additions: tier/pinNaming/excludedPins. Regenerate
|
|
4
|
-
// only alongside a descriptor-type change (edit this file; the original
|
|
5
|
-
// migration script was never committed).
|
|
6
|
-
export const ESP32_SOC = {
|
|
7
|
-
"id": "esp32_devkitc/esp32/procpu",
|
|
8
|
-
"soc": "esp32",
|
|
9
|
-
"gpioController": "gpio0",
|
|
10
|
-
"gpioControllers": [
|
|
11
|
-
{
|
|
12
|
-
"nodelabel": "gpio0",
|
|
13
|
-
"minPin": 0,
|
|
14
|
-
"maxPin": 31
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"nodelabel": "gpio1",
|
|
18
|
-
"minPin": 32,
|
|
19
|
-
"maxPin": 39
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"gpio": {
|
|
23
|
-
"dtSpecs": [
|
|
24
|
-
{
|
|
25
|
-
"pin": 0,
|
|
26
|
-
"dtSpec": "sw0"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"interruptPins": [
|
|
30
|
-
{
|
|
31
|
-
"pin": 0,
|
|
32
|
-
"dtSpec": "sw0"
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
},
|
|
36
|
-
"i2c": {
|
|
37
|
-
"controllers": [
|
|
38
|
-
{
|
|
39
|
-
"nodeLabel": "i2c0"
|
|
40
|
-
}
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
"spi": {
|
|
44
|
-
"controllers": [
|
|
45
|
-
{
|
|
46
|
-
"nodeLabel": "spi2"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"nodeLabel": "spi3"
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
},
|
|
53
|
-
"uart": {
|
|
54
|
-
"controllers": [
|
|
55
|
-
{
|
|
56
|
-
"nodeLabel": "uart1"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"nodeLabel": "uart2"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
"adc": {
|
|
64
|
-
"nodeLabel": "adc0",
|
|
65
|
-
"resolution": 12,
|
|
66
|
-
"vrefMv": 1100,
|
|
67
|
-
"channels": [
|
|
68
|
-
{
|
|
69
|
-
"pin": 36,
|
|
70
|
-
"channel": 0
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
"pin": 37,
|
|
74
|
-
"channel": 1
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"pin": 38,
|
|
78
|
-
"channel": 2
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"pin": 39,
|
|
82
|
-
"channel": 3
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"pin": 32,
|
|
86
|
-
"channel": 4
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"pin": 33,
|
|
90
|
-
"channel": 5
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"pin": 34,
|
|
94
|
-
"channel": 6
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"pin": 35,
|
|
98
|
-
"channel": 7
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
},
|
|
102
|
-
"wdt": {
|
|
103
|
-
"nodeLabel": "wdt0"
|
|
104
|
-
},
|
|
105
|
-
"wifi": {
|
|
106
|
-
"supported": true
|
|
107
|
-
},
|
|
108
|
-
"tier": "validated",
|
|
109
|
-
"pinNaming": "esp32-gpio",
|
|
110
|
-
"excludedPins": [
|
|
111
|
-
6,
|
|
112
|
-
7,
|
|
113
|
-
8,
|
|
114
|
-
9,
|
|
115
|
-
10,
|
|
116
|
-
11,
|
|
117
|
-
16,
|
|
118
|
-
17
|
|
119
|
-
]
|
|
120
|
-
};
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
// Hand-maintained descriptor table — mechanically migrated from the
|
|
2
|
-
// board-esp32c3 + mcu-esp32c3 package data (the exact flatten+reconstruct the build
|
|
3
|
-
// performed). Curated additions: tier/pinNaming/excludedPins. Regenerate
|
|
4
|
-
// only alongside a descriptor-type change (edit this file; the original
|
|
5
|
-
// migration script was never committed).
|
|
6
|
-
export const ESP32C3_SOC = {
|
|
7
|
-
"id": "esp32c3_devkitm/esp32c3",
|
|
8
|
-
"soc": "esp32c3",
|
|
9
|
-
"gpioController": "gpio0",
|
|
10
|
-
"gpio": {
|
|
11
|
-
"dtSpecs": [
|
|
12
|
-
{
|
|
13
|
-
"pin": 9,
|
|
14
|
-
"dtSpec": "sw0"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"interruptPins": [
|
|
18
|
-
{
|
|
19
|
-
"pin": 9,
|
|
20
|
-
"dtSpec": "sw0"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"i2c": {
|
|
25
|
-
"controllers": [
|
|
26
|
-
{
|
|
27
|
-
"nodeLabel": "i2c0"
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"spi": {
|
|
32
|
-
"controllers": [
|
|
33
|
-
{
|
|
34
|
-
"nodeLabel": "spi2"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"uart": {
|
|
39
|
-
"controllers": [
|
|
40
|
-
{
|
|
41
|
-
"nodeLabel": "uart0"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"adc": {
|
|
46
|
-
"nodeLabel": "adc0",
|
|
47
|
-
"resolution": 12,
|
|
48
|
-
"vrefMv": 1100,
|
|
49
|
-
"channels": [
|
|
50
|
-
{
|
|
51
|
-
"pin": 0,
|
|
52
|
-
"channel": 0
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"pin": 1,
|
|
56
|
-
"channel": 1
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"pin": 2,
|
|
60
|
-
"channel": 2
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"pin": 3,
|
|
64
|
-
"channel": 3
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"pin": 4,
|
|
68
|
-
"channel": 4
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
},
|
|
72
|
-
"wdt": {
|
|
73
|
-
"nodeLabel": "wdt0"
|
|
74
|
-
},
|
|
75
|
-
"wifi": {
|
|
76
|
-
"supported": true
|
|
77
|
-
},
|
|
78
|
-
"tier": "validated",
|
|
79
|
-
"pinNaming": "esp32-gpio",
|
|
80
|
-
"excludedPins": [
|
|
81
|
-
11,
|
|
82
|
-
12,
|
|
83
|
-
13,
|
|
84
|
-
14,
|
|
85
|
-
15,
|
|
86
|
-
16,
|
|
87
|
-
17,
|
|
88
|
-
18
|
|
89
|
-
]
|
|
90
|
-
};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
// Hand-maintained descriptor table — mechanically migrated from the
|
|
2
|
-
// board-esp32c6 + mcu-esp32c6 package data (the exact flatten+reconstruct the build
|
|
3
|
-
// performed). Curated additions: tier/pinNaming/excludedPins. Regenerate
|
|
4
|
-
// only alongside a descriptor-type change (edit this file; the original
|
|
5
|
-
// migration script was never committed).
|
|
6
|
-
export const ESP32C6_SOC = {
|
|
7
|
-
"id": "esp32c6_devkitc/esp32c6/hpcore",
|
|
8
|
-
"soc": "esp32c6",
|
|
9
|
-
"gpioController": "gpio0",
|
|
10
|
-
"gpio": {
|
|
11
|
-
"dtSpecs": [
|
|
12
|
-
{
|
|
13
|
-
"pin": 9,
|
|
14
|
-
"dtSpec": "sw0"
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
"interruptPins": [
|
|
18
|
-
{
|
|
19
|
-
"pin": 9,
|
|
20
|
-
"dtSpec": "sw0"
|
|
21
|
-
}
|
|
22
|
-
]
|
|
23
|
-
},
|
|
24
|
-
"i2c": {
|
|
25
|
-
"controllers": [
|
|
26
|
-
{
|
|
27
|
-
"nodeLabel": "i2c0"
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"spi": {
|
|
32
|
-
"controllers": [
|
|
33
|
-
{
|
|
34
|
-
"nodeLabel": "spi2"
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
|
-
"uart": {
|
|
39
|
-
"controllers": [
|
|
40
|
-
{
|
|
41
|
-
"nodeLabel": "uart0"
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"adc": {
|
|
46
|
-
"nodeLabel": "adc0",
|
|
47
|
-
"resolution": 12,
|
|
48
|
-
"vrefMv": 1100,
|
|
49
|
-
"channels": [
|
|
50
|
-
{
|
|
51
|
-
"pin": 0,
|
|
52
|
-
"channel": 0
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"pin": 1,
|
|
56
|
-
"channel": 1
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"pin": 2,
|
|
60
|
-
"channel": 2
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"pin": 3,
|
|
64
|
-
"channel": 3
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"pin": 4,
|
|
68
|
-
"channel": 4
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"pin": 5,
|
|
72
|
-
"channel": 5
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"pin": 6,
|
|
76
|
-
"channel": 6
|
|
77
|
-
}
|
|
78
|
-
]
|
|
79
|
-
},
|
|
80
|
-
"wdt": {
|
|
81
|
-
"nodeLabel": "wdt0"
|
|
82
|
-
},
|
|
83
|
-
"wifi": {
|
|
84
|
-
"supported": true
|
|
85
|
-
},
|
|
86
|
-
"tier": "validated",
|
|
87
|
-
"pinNaming": "esp32-gpio",
|
|
88
|
-
"excludedPins": [
|
|
89
|
-
12,
|
|
90
|
-
13,
|
|
91
|
-
14,
|
|
92
|
-
15,
|
|
93
|
-
16,
|
|
94
|
-
17,
|
|
95
|
-
18,
|
|
96
|
-
19,
|
|
97
|
-
20,
|
|
98
|
-
21,
|
|
99
|
-
22,
|
|
100
|
-
23,
|
|
101
|
-
24,
|
|
102
|
-
25,
|
|
103
|
-
26,
|
|
104
|
-
27,
|
|
105
|
-
28,
|
|
106
|
-
29,
|
|
107
|
-
30
|
|
108
|
-
]
|
|
109
|
-
};
|