anyl-wallet
anyl-wallet copied to clipboard
improve Zephyr logging
logging in our modules is a mess (printk() & co.
everywhere)
- [ ] investigate how logging works in zephyr
- [ ] use proper log module setup and replace all stinky
printk()
s with log calls
It seems like only UART log is available. If it is acceptable - I would like to work on it
hey Victor, sure, take a look. Ask if you have any questions.
relevant doc: https://docs.zephyrproject.org/1.12.0/subsystems/logging/system_log.html
I enabled logging in config and implemented logging in sensor_service for now. I can pull it as first phase. Or you prefer to replace everything and then pull it. I tested the mechanism in hardware board. I can see log messages on UART.
Please create a PR, it's easier to discuss the code that way.
#120