1
0
Fork 0
some learning code trying to use libopencm3 to read values from dht11 temperature sensor
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Arti Zirk 32177827a1 Change 7 segment refresrate to 2ms 9 months ago
RTT nosys printf maybe works now??? 9 months ago
libopencm3@3b89fc5999 Add dcc debug write and fix mcu part number 11 months ago
.clang-format Sorta does something 11 months ago
.editorconfig Add 7 segment display 9 months ago
.gitignore more hacks 10 months ago
.gitmodules init 1 year ago
CMakeLists.txt more hacks 10 months ago
CMakePresets.json more hacks 10 months ago
Makefile.old Add cmake 10 months ago
README.md more hacks 10 months ago
dht11.pvs Add Sigrok PulseView Session setup 10 months ago
dht11_data.pvs Add Sigrok Pulseview data files 10 months ago
dht11_data.sr Add Sigrok Pulseview data files 10 months ago
main.c Change 7 segment refresrate to 2ms 9 months ago
openocd.cfg Sorta does something 11 months ago
print_vars.mk Add cmake 10 months ago
rules.mk Add dcc debug write and fix mcu part number 11 months ago
toolchain-STM32F1.cmake more hacks 10 months ago

README.md

Build

First time:

  1. git submodule update --init
  2. make -C libopencm3
  3. cmake -S . --preset=default

or older cmake:

  1. cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=toolchain-STM32F1.cmake

And then to build an .elf

  1. cmake --build build --verbose

RTT debug console

run this while openocd is running

while true; do telnet localhost 9090; sleep 1; done