Merge tdk_new and Ti375 Efinity support

Keep the current GPS software and Genesys2/VCU118 flows while integrating Ti375C529 Efinity, flash, programming, and debug support. Add board-specific SPI NOR profiles and persistent GPS flash layouts across all three boards.
This commit is contained in:
onur
2026-08-13 01:28:46 +03:00
33 changed files with 2434 additions and 180 deletions
@@ -16,6 +16,30 @@
#include <math.h>
#include <string.h>
#if (GPS_EPHEMERIS_FLASH_ENABLE == 1)
_Static_assert((GPS_EPHEMERIS_FLASH_BASE % BSP_SPI_FLASH_SECTOR_SIZE) == 0u,
"ephemeris flash base must be sector aligned");
_Static_assert(GPS_EPHEMERIS_FLASH_BASE <=
(BSP_SPI_FLASH_SIZE - (2u * BSP_SPI_FLASH_SECTOR_SIZE)),
"ephemeris store exceeds selected flash");
#endif
#if (GPS_NAV_CONTEXT_ENABLE == 1)
_Static_assert((GPS_NAV_CONTEXT_FLASH_BASE % BSP_SPI_FLASH_SECTOR_SIZE) == 0u,
"navigation context flash base must be sector aligned");
_Static_assert(GPS_NAV_CONTEXT_FLASH_BASE <=
(BSP_SPI_FLASH_SIZE - (2u * BSP_SPI_FLASH_SECTOR_SIZE)),
"navigation context store exceeds selected flash");
#endif
#if ((GPS_EPHEMERIS_FLASH_ENABLE == 1) && (GPS_NAV_CONTEXT_ENABLE == 1))
_Static_assert((GPS_NAV_CONTEXT_FLASH_BASE +
(2u * BSP_SPI_FLASH_SECTOR_SIZE) <=
GPS_EPHEMERIS_FLASH_BASE) ||
(GPS_EPHEMERIS_FLASH_BASE +
(2u * BSP_SPI_FLASH_SECTOR_SIZE) <=
GPS_NAV_CONTEXT_FLASH_BASE),
"persistent flash stores overlap");
#endif
typedef enum {
GPS_ISR_EVENT_ACQ_DONE = 0,
GPS_ISR_EVENT_TRK_STATUS