From 1120e9958d3ebbdad209284a07b2792ae2dc4eef Mon Sep 17 00:00:00 2001 From: Wenting Zhang Date: Mon, 19 May 2025 12:32:25 +0800 Subject: [PATCH] Enable power monitoring --- .gitignore | 2 + fw/.cproject | 4 +- fw/.mxproject | 2 +- fw/Core/Inc/main.h | 2 - fw/Core/Inc/stm32h7xx_it.h | 1 + fw/Core/Src/main.c | 154 +- fw/Core/Src/stm32h7xx_hal_msp.c | 99 +- fw/Core/Src/stm32h7xx_it.c | 15 + .../Inc/stm32h7xx_ll_tim.h | 5213 ----------------- fw/User/adv7611.c | 26 +- fw/User/adv7611.h | 1 + fw/User/app_main.c | 4 +- fw/User/board.h | 1 + fw/User/config.c | 126 +- fw/User/config.h | 1 + fw/User/fpga.c | 14 +- fw/User/fpga.h | 5 +- fw/User/power.c | 129 +- fw/User/power.h | 22 + fw/User/ptn3460.c | 4 + fw/User/shell/shell.c | 28 +- fw/User/shell/shell_cmds.c | 567 +- fw/User/usbapp.c | 4 +- fw/glider_ec_rtos.ioc | 147 +- 24 files changed, 817 insertions(+), 5754 deletions(-) delete mode 100644 fw/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_tim.h diff --git a/.gitignore b/.gitignore index fd28f4a..98588e6 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ production/ fp-info-cache fabrication-toolkit-options.json *.kicad_sch-bak +# MCUXpresso files +Debug/ diff --git a/fw/.cproject b/fw/.cproject index 98453b8..297e616 100644 --- a/fw/.cproject +++ b/fw/.cproject @@ -26,11 +26,11 @@