gfroerli / firmware

Firmware for the water temperature sensor project
GNU General Public License v3.0
6 stars 1 forks source link

Add unit test support #81

Closed rnestler closed 3 years ago

rnestler commented 3 years ago

By compiling the binary and the panic-halt dependency only when compiling for arm and only declaring no_std when not in test mode, we allow for regular unit tests to be run on the host.