You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To gain access to the Tailscale VPN for Notestation, create a `.env` file based on `.env.example` in the `.devcontainer/notestation/` folder. Replace the placeholder TS_AUTHKEY with your actual Tailscale authentication key. Treat the .env file as sensitive and do not commit it to version control or share it publicly. This will set up the necessary environment variables for VPN access.
113
113
114
+
### Launching the Dev Container
115
+
116
+
Run:
117
+
118
+
```
119
+
devcontainer up --config .devcontainer/notestation/devcontainer.json --workspace-folder .
120
+
```
121
+
122
+
Verify containers are running:
123
+
124
+
```
125
+
docker ps -a --filter "name=note-arduino"
126
+
```
127
+
128
+
Exec into the dev container:
129
+
130
+
```
131
+
docker exec -it note-arduino_devcontainer bash
132
+
```
133
+
134
+
Inside the container, check Notestation:
135
+
136
+
```
137
+
pipenv run notestation --version
138
+
pipenv run notestation client list
139
+
```
140
+
141
+
### Compiling and Flashing Examples
142
+
143
+
Inside the dev container:
144
+
145
+
1. Navigate to workspace: `cd /workspace/examples/Example6_SensorTutorial`
146
+
147
+
2. Compile for target (e.g., SWAN_R5 or CYGNET fallback):
148
+
149
+
```
150
+
arduino-cli compile --fqbn blues:swan:swan_r5 . # For SWAN_R5
151
+
arduino-cli compile --fqbn blues:swan:cygnet . # For CYGNET
152
+
```
153
+
154
+
3. Flash to Notestation (e.g., barcelona-notestation-2 for CYGNET):
155
+
156
+
```
157
+
pipenv run notestation flash --client barcelona-notestation-2 --tag mcu_cygnet --bin Example6_SensorTutorial.ino.bin
0 commit comments