Index: ctrl/firmware/Main/SES/charger.emProject
===================================================================
--- ctrl/firmware/Main/SES/charger.emProject	(revision 10)
+++ ctrl/firmware/Main/SES/charger.emProject	(revision 11)
@@ -13,24 +13,4 @@
     gcc_omit_frame_pointer="Yes"
     gcc_optimization_level="Level 2 balanced" />
-  <configuration
-    LIBRARY_HEAP_TYPE="Minimal"
-    LIBRARY_IO_TYPE="SEMIHOST (host-formatted)"
-    LIBRARY_LOCALES="Minimal"
-    Name="Release_MinSize"
-    arm_library_optimization="Small"
-    c_preprocessor_definitions="NDEBUG;__OPTIMIZATION_SMALL"
-    cpp_enable_exceptions="No"
-    gcc_debugging_level="None"
-    gcc_omit_frame_pointer="Yes"
-    gcc_optimization_level="Level 2 for size"
-    gcc_short_enum="Minimal Container Size"
-    libcxx="Yes (No Exceptions)"
-    link_dedupe_code="Yes"
-    link_dedupe_data="Yes"
-    link_merge_strings="Yes"
-    link_time_optimization="Yes"
-    linker_printf_fmt_level="int"
-    linker_printf_fp_enabled="No"
-    linker_printf_width_precision_supported="No" />
   <project Name="charger">
     <configuration
@@ -46,25 +26,38 @@
       arm_linker_heap_size="2048"
       arm_linker_process_stack_size="0"
-      arm_linker_stack_size="2048"
+      arm_linker_stack_size="8192"
       arm_linker_variant="SEGGER"
       arm_simulator_memory_simulation_parameter="RAM;0x00000000;0x00010000;ROM;0x08000000;0x00080000;RAM;0x20000000;0x00020000;RAM;0x24000000;0x00020000;RAM;0x30000000;0x00008000;RAM;0x38000000;0x00004000;RAM;0x38800000;0x00001000"
       arm_target_device_name="STM32H723ZE"
       arm_target_interface_type="SWD"
+      c_enforce_ansi_checking="Yes"
+      c_preprocessor_definitions="STM32H723xx"
+      c_user_include_directories="./../CubeMX/Core/Inc;./../CubeMX/Drivers/STM32H7xx_HAL_Driver/Inc;./../CubeMX/Drivers/CMSIS/Device/ST/STM32H7xx/Include;./../CubeMX/Drivers/CMSIS/Core/Include"
+      compiler_color_diagnostics="Yes"
       debug_register_definition_file="$(ProjectDir)/STM32H723_Registers.xml"
       debug_stack_pointer_start="__stack_end__"
       debug_target_connection="J-Link"
+      gcc_all_warnings="Enable"
+      gcc_c_language_standard="c17"
+      gcc_cplusplus_language_standard="c++20"
+      gcc_enable_all_warnings="Yes"
+      gcc_enable_precompiled_header="Yes"
       gcc_entry_point="Reset_Handler"
       link_dedupe_code="Yes"
       link_linker_script_file="Setup/SEGGER_Flash.icf"
+      link_map_file="Full"
+      link_map_file_format="HTML"
+      link_time_optimization="Yes"
       linker_memory_map_file="$(ProjectDir)/STM32H723ZETx_MemoryMap.xml"
       linker_output_format="hex"
+      linker_printf_fmt_level="long long"
+      linker_printf_fp_enabled="Double"
+      linker_printf_width_precision_supported="Yes"
       linker_section_placements_segments="FLASH1 RX 0x00000000 0x00100000;RAM1 RWX 0x20000000 0x00010000"
       macros="DeviceHeaderFile=$(PackagesDir)/STM32H7xx/Device/Include/stm32h7xx.h;DeviceSystemFile=$(PackagesDir)/STM32H7xx/Device/Source/system_stm32h7xx.c;DeviceVectorsFile=$(PackagesDir)/STM32H7xx/Source/stm32h723xx_Vectors.s;DeviceFamily=STM32H7xx;DeviceSubFamily=STM32H723"
       project_directory=""
-      project_type="Executable" />
+      project_type="Executable"
+      speed="0" />
     <configuration Name="Release" link_dedupe_code="Yes" />
-    <configuration
-      LIBRARY_IO_TYPE="SEMIHOST (host-formatted)"
-      Name="Release_MinSize" />
     <folder Name="Core">
       <folder Name="Inc">
@@ -72,5 +65,24 @@
       </folder>
       <folder Name="Src">
-        <file file_name="../CubeMX/Core/Src/main.c" />
+        <file file_name="../CubeMX/Core/Src/main.c">
+          <configuration Name="Common" file_type="C++" />
+        </file>
+        <file file_name="../CubeMX/Core/Src/system_stm32h7xx.c" />
+      </folder>
+    </folder>
+    <folder Name="Drivers">
+      <folder Name="HAL">
+        <folder Name="Inc">
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal.h" />
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_cortex.h" />
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_pwr_ex.h" />
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h" />
+        </folder>
+        <folder Name="Src">
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c" />
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c" />
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c" />
+          <file file_name="../CubeMX/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c" />
+        </folder>
       </folder>
     </folder>
