1 # Non-blocking ds18b20 temp sensor example 2 3 This is an example/template of a bare metal, event triggered application that 4 runs tasks secuentally for STM32 boards using HAL library, in particular 5 STM32F103RB on NUCLEO-F103RB board. 6 7 In this case one of the tasks reads temperature from a ds18b20 sensor attached 8 to UART1 in Half-Duplex OneWire mode. 9 10 ## Execution stack 11 12 The main loop calls the main app and then this app executes the attached tasks 13 secuentially in order: `task_sensor`, `task_system` and `task_actuator`. 14 15 ## Debug 16 17 In Stm32CubeIDE Project Explorer view right click over the project, then debug 18 configurations. In Debugger tab set Debug probe as ST-LINK (OpenOCD) and after 19 pressing Show generator options setupReset Mode as Software system reset. 20 In Startup tab add 'monitor arm semihosting enable' to the initialization 21 commands. Finally Apply and Close (or Debug).
