BoskoopBase/embadet/readme.md

23 lines
997 B
Markdown
Raw Permalink Normal View History

2024-10-13 14:48:06 +02:00
# Info
2024-10-13 16:39:56 +02:00
## Important Commands
Command to configure build options of the project:
2024-10-13 16:29:39 +02:00
`make menuconfig`
2024-10-13 16:39:56 +02:00
Command to flash the firmware:
`make flash`
2024-10-13 16:29:39 +02:00
2024-10-13 16:39:56 +02:00
Command to show the serial monitor:
2024-10-13 16:29:39 +02:00
`make monitor`
2024-10-13 16:39:56 +02:00
## 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.
2024-10-13 16:29:39 +02:00
2024-10-13 16:39:56 +02:00
## 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.
2024-10-13 16:29:39 +02:00
2024-10-13 16:39:56 +02:00
## 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**