Change linker script and startup code.

This is my own code from my template. It is much cleaner than the old code.
This commit is contained in:
2020-08-21 23:25:03 +02:00
parent 95de84fa85
commit ec117e0627
14 changed files with 493 additions and 738 deletions

View File

@@ -27,9 +27,9 @@
#include <stm32/stm32f4xx.h>
#include <cmsis/core_cm4.h>
volatile uint32_t IN_SECTION(.ccmram) wait_tick_ms = 0UL;
volatile uint64_t IN_SECTION(.ccmram) global_tick_ms = 0ULL;
volatile uint32_t IN_SECTION(.ccmram) lcd_tick_100us = 0UL;
volatile uint32_t IN_SECTION(.ccm.bss) wait_tick_ms = 0UL;
volatile uint64_t IN_SECTION(.ccm.bss) global_tick_ms = 0ULL;
volatile uint32_t IN_SECTION(.ccm.bss) lcd_tick_100us = 0UL;
void systick_setup(void)
{