From e7436622f8dbdbc73c43420a035a65c4c95080ea Mon Sep 17 00:00:00 2001 From: Mika Bomm Date: Mon, 14 Oct 2024 09:20:17 +0200 Subject: [PATCH] add documentation for embadet --- embedded/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 embedded/README.md diff --git a/embedded/README.md b/embedded/README.md new file mode 100644 index 0000000..bb84070 --- /dev/null +++ b/embedded/README.md @@ -0,0 +1,23 @@ +# Info +## Important Commands +Command to configure build options of the project: +`make menuconfig` + +Command to flash the firmware: +`make flash` + +Command to show the serial monitor: +`make monitor` + +## Connection Error +If you encounter the error `[Errno 2]`, it likely means the microcontroller is not connected or the wrong tty port is selected. +To select the correct tty port, use the command `make menuconfig`, then navigate to **Serial Flasher Config -> Default Serial Port** and choose the correct port. + +## Sensor Issues +If the sensor output is around **80°C**, there is likely a power connection issue. +If the output is around **-127°C**, the sensor's data wire is probably not connected. + +## Compilation Errors +If the temperature input is `none`, it might be due to a compilation error caused by an incorrect SDK configuration. +Use the command `make menuconfig` and change the following settings: +**Component config -> newlib -> Disable nano formatting** \ No newline at end of file