doc: renamed project
This commit is contained in:
committed by
Sylvan Arnold
parent
244e516bd8
commit
32618389d1
52
pico-sensor/README.md
Normal file
52
pico-sensor/README.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# TSM_PicoW_Sensor
|
||||
Project using the PicoW board. It publish sensors values (humidity, temperature) to an MQTT broker.
|
||||
|
||||
## Configuration
|
||||
|
||||
You have to use the serial terminal to configure the board by sending commands.
|
||||
|
||||
### Wifi
|
||||
|
||||
```shell
|
||||
McuMinINI write settings.ini WiFi ssid "YOUR_SSID"
|
||||
McuMinINI write settings.ini WiFi pass "YOUR_PASSWORD"
|
||||
```
|
||||
|
||||
### MQTT
|
||||
|
||||
```shell
|
||||
McuMinINI write settings.ini MQTT broker "BROKER_NAME"
|
||||
McuMinINI write settings.ini MQTT user "USERNAME"
|
||||
McuMinINI write settings.ini MQTT pass "PASSWORD"
|
||||
```
|
||||
|
||||
|
||||
## Build
|
||||
Project has `Debug`, `Release` and `Test` targets, using CMake Presets.
|
||||
|
||||
Configure:
|
||||
```
|
||||
cmake --list-presets
|
||||
cmake --preset Debug
|
||||
cmake --preset Release
|
||||
cmake --preset Test
|
||||
```
|
||||
|
||||
Build:
|
||||
```
|
||||
cmake --build --list-presets
|
||||
cmake --build --preset app-debug
|
||||
cmake --build --preset app-release
|
||||
cmake --build --preset app-test
|
||||
```
|
||||
|
||||
Test:
|
||||
```
|
||||
ctest --list-presets
|
||||
ctest --test-dir build/Test -R Led_1
|
||||
```
|
||||
|
||||
Worflow:
|
||||
```
|
||||
cmake --workflow --list-presets
|
||||
```
|
||||
Reference in New Issue
Block a user