Skip to content

Commit 9f12fa8

Browse files
committed
simplify zephyr targets
1 parent cf9dbca commit 9f12fa8

File tree

19 files changed

+34
-127
lines changed

19 files changed

+34
-127
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright (c) 2025 Moddable Tech, Inc.
3+
*
4+
* This file is part of the Moddable SDK Runtime.
5+
*
6+
* The Moddable SDK Runtime is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU Lesser General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* The Moddable SDK Runtime is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU Lesser General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU Lesser General Public License
17+
* along with the Moddable SDK Runtime. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
*/
20+
21+
import device from "mc/devicetree"
22+
23+
export default device;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"build": {
3+
"ZEPHYR_BOARD": "adafruit_feather_esp32s3_tft/esp32s3/procpu"
4+
},
5+
"zephyrConfig": {
6+
"CONFIG_ESP_SIMPLE_BOOT": "y",
7+
"CONFIG_BOOTLOADER_MCUBOOT": "n"
8+
}
9+
}

build/devices/zephyr/targets/esp32_ethernet_kit/manifest.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@
55
"include": [
66
"$(MODULES)/io/ethernet/manifest.json"
77
],
8-
"config": {
9-
},
10-
"defines": {
11-
},
128
"zephyrConfig": {
139
"CONFIG_ESP_SIMPLE_BOOT": "y",
1410
"CONFIG_BOOTLOADER_MCUBOOT": "n",
15-
1611
"CONFIG_ETH_ESP32": "y",
1712
"CONFIG_NET_IF_MAX_IPV4_COUNT": 2
1813
}
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
{
22
"build": {
33
"ZEPHYR_BOARD": "esp32c6_devkitc/esp32c6/hpcore"
4-
},
5-
"include": [
6-
],
7-
"modules": {
8-
"setup/target": "./setup-target"
9-
},
10-
"preload": "setup/target",
11-
"config": {
12-
},
13-
"defines": {
144
}
155
}

build/devices/zephyr/targets/esp32c6_devkitc/setup-target.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

build/devices/zephyr/targets/nrf52840dk/manifest.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,11 @@
22
"build": {
33
"ZEPHYR_BOARD": "nrf52840dk/nrf52840"
44
},
5-
"include": [
6-
],
7-
"modules": {
8-
"setup/target": "./setup-target"
9-
},
10-
"preload": "setup/target",
115
"zephyrConfig": {
126
"CONFIG_PWM": "y"
137
},
148
"zephyrOverlay": [
159
"./analog.overlay",
1610
"./pwm.overlay"
17-
],
18-
"config": {
19-
},
20-
"defines": {
21-
}
11+
]
2212
}

build/devices/zephyr/targets/nrf52840dk/setup-target.js

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
{
22
"build": {
33
"ZEPHYR_BOARD": "nucleo_f413zh"
4-
},
5-
"include": [
6-
],
7-
"modules": {
8-
"setup/target": "./setup-target"
9-
},
10-
"preload": "setup/target",
11-
"config": {
12-
},
13-
"defines": {
144
}
155
}

build/devices/zephyr/targets/nucleo_f413zh/setup-target.js

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
{
22
"build": {
33
"ZEPHYR_BOARD": "nucleo_l4a6zg"
4-
},
5-
"include": [
6-
],
7-
"modules": {
8-
"setup/target": "./setup-target"
9-
},
10-
"preload": "setup/target",
11-
"config": {
12-
},
13-
"defines": {
144
}
155
}

0 commit comments

Comments
 (0)