Add board input driver for button and LiPo ADC logging.

TODO: Hardware pinning in powerpod.h (TASTER_GPIO, V_LIPO_1/2_GPIO) does not
match final hardware yet — verify against schematic before production.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-19 00:16:40 +02:00
co-authored by Cursor
parent 80fb9cf55e
commit 1ad527119d
6 changed files with 227 additions and 1 deletions
+3
View File
@@ -15,6 +15,7 @@
#include "esp_ota_ops.h"
#include "freertos/FreeRTOS.h"
#include "freertos/idf_additions.h"
#include "board_input.h"
#include "bosch456.h"
#include "led_ring.h"
#include "uart.h"
@@ -140,6 +141,8 @@ void app_main(void) {
led_ring_init();
board_input_init();
if (app_config.master) {
cmd_queue = xQueueCreate(10, sizeof(generic_msg_t));
init_cmdHandler(cmd_queue);