Skip to content

Commit ecc0d29

Browse files
committed
nrf52840dk first time
1 parent 14f6163 commit ecc0d29

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
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: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"build": {
3+
"ZEPHYR_BOARD": "nrf52840dk/nrf52840"
4+
},
5+
"include": [
6+
],
7+
"modules": {
8+
"setup/target": "./setup-target"
9+
},
10+
"preload": "setup/target",
11+
"zephyrConfig": {
12+
"CONFIG_USERSPACE": "n"
13+
},
14+
"config": {
15+
},
16+
"defines": {
17+
}
18+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import config from "mc/config";
2+
3+
export default function (done) {
4+
done?.();
5+
}

0 commit comments

Comments
 (0)