4
mirror of https://gitlab.com/zephray/glider.git synced 2026-07-02 06:14:40 +00:00
Files
Vassil Panayotov 5ae285af93 add compiler config for building run-from-RAM debug fw
* DebugRAM build configuration is added in STM32CubeIDE. The default is
  still 'Debug', so the new config must be intentionally selected when
  building the firmware. The differences from the 'Debug' config are:

    * using STM32H750VBTX_RAM.ld linker script instead of _FLASH.ld

    * define USER_VECT_TAB_ADDRESS and VECT_TAB_SRAM; as far as I
      understand, this way the interrupt vectors table is placed in RAM
      as well

* the linker script is changed to be suitable for STM32H750; the
  original had some settings that don't make sense like 1M continuous
  AXI RAM. This script also includes brief OpenOCD/GDB usage
  instructions.

* FreeRTOS heap size is reduced in order to fit into the memory regions
  defined in the linker script. The reduction affects all build
  configurations, but there is plenty of heap space even so. The task
  stacks are also increased slightly, because their current sizes are
  rather conservative- for example inserting a single 'syslog_printf' in
  the housekeeping task would overflow its stack
2026-05-10 18:44:08 +03:00
..
2025-05-19 12:32:25 +08:00