Skip to content

Commit 45a631e

Browse files
committed
feat: improve sketch template
1 parent f61b73f commit 45a631e

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1-
void setup() {}
1+
#include <Arduino_RouterBridge.h>
22

3-
void loop() {}
3+
void setup() {
4+
// setup the bridge for comunicating with the Linux subsystem.
5+
Bridge.begin();
6+
7+
// start the monitor for debugging logs.
8+
Monitor.begin();
9+
10+
// put your setup code here, to run once:
11+
}
12+
13+
void loop() {
14+
// put your main code here, to run repeatedly:
15+
}

internal/orchestrator/app/generator/app_template/sketch/sketch.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ profiles:
44
platforms:
55
- platform: arduino:zephyr
66
libraries:
7+
- Arduino_RouterBridge (0.2.2)
8+
- Arduino_RPClite (0.2.0)
79
- MsgPack (0.4.2)
810
- DebugLog (0.8.4)
911
- ArxContainer (0.7.0)

0 commit comments

Comments
 (0)