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
Wireless, Networking Support for Pico W, Pico 2 W (#416)
* Add StringConfigPoint
* Add wifi connection implementation
* Add wifi, NTP configurations to `experimental_config`
* Add NTP implementation for realtime clock support
* Add additional module dependencies needed for NTP
* Catch import errors in the wifi and ntp modules as appropriate, re-raising them with our wrapper errors
* Update the programming instructions for all pico-family variants, not just the Pico 2
* Add basic HTTP server to `experimental`, HTTP-based `contrib` script
* Remove the optional fields from `datetime` tuples; make length consistently 8 to include yearday; this keeps all sources compatible with `machine.RTC`
* Divide the experimental configuration editor into sections like the main config editor since the number of options is growing a lot
* Add a dedicated text logging class so we can have consistent text output across the firmware
* Add Open Sound Control (OSC) module to `experimental` and a basic `contrib` script that uses it
* Add TouchOSC setup instructions & screenshots
* Add WebREPL support via experimental_config
* Add desktop interface program for converting 8mu's MIDI messages to OSC for EuroPi
* Fix the default i2c timeout in the config documentation
Copy file name to clipboardexpand all lines: contributing.md
+25
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,31 @@ Changes or additions to public API functions must include the corresponding upda
225
225
226
226
All existing automated tests must pass. An effort should be made to improve the test suite by adding tests for new or changed functionality.
227
227
228
+
## Desktop Scripts
229
+
230
+
Python programs intended to be run on a laptop or desktop computer connected to EuroPi (either via USB or serial communication, or over WiFi) should be located
231
+
in the `software/desktop` directory:
232
+
233
+
```
234
+
software
235
+
├── contrib/
236
+
├── desktop/
237
+
│ └── my_desktop_program.md
238
+
│ └── my_desktop_program.py
239
+
├── firmware/
240
+
```
241
+
242
+
As with `contrib` scripts, you should include a `.md` file explaining how your desktop program operates, any additional libraries it depends on (and how to install them),
243
+
and any configuration the user must do to set up your program. Also include whether or not EuroPi requires a specific program to be started or a command to be run
244
+
in order to facilitate the communication between the desktop and EuroPi.
245
+
246
+
Desktop scripts should target Python 3, ideally Python 3.10 or later. If you need a very specific version of Python (e.g. because of a particular dependency that is
247
+
only available on some versions) this should be noted in the `.md` file.
248
+
249
+
Any desktop programs should be written in Python, with only the necessary `.py` files included; do not include IDE-specific project files, Python bytecode (`*.pyc`) files,
250
+
or any other generated files. Additional source files, e.g. `.proto` (Protocol Buffer definitions), `.ui` (Qt GUI definitions), and the like may be included if they are
251
+
required for the program and have their dependencies explained in the `.md` file.
252
+
228
253
## License
229
254
230
255
All software in this repository is licensed under the [Apache 2.0](/software/LICENSE) license. In accordance with this license, please place a comment block at the top of your Python source files indicating the copyright and license:
0 commit comments