STM32F103 linker files
Posted: Wed Jan 13, 2016 1:15 pm
Hi
We're using STM32F103RCT6 in a project with ChibiOS. It is a high density device and uses STM32F103xC.ld linker script. This file is not provided with ChibiOS, so I would like to know which files I need to change in order to provide support to our hardware.
I started creating linker script with memory regions (256 kB flash; 48 kB SRAM) and changing stm32_registry.h to verify STM32F103xC macro definition. This define maps the device with STM32F10X_HD macro, enabling hardware peripherals in ChibiOS. However, the number of GPIOs in configuration file are not consistent with this device, that has only PA, PB and PC. So, how can I extend this file to support the device?
Anderson
We're using STM32F103RCT6 in a project with ChibiOS. It is a high density device and uses STM32F103xC.ld linker script. This file is not provided with ChibiOS, so I would like to know which files I need to change in order to provide support to our hardware.
I started creating linker script with memory regions (256 kB flash; 48 kB SRAM) and changing stm32_registry.h to verify STM32F103xC macro definition. This define maps the device with STM32F10X_HD macro, enabling hardware peripherals in ChibiOS. However, the number of GPIOs in configuration file are not consistent with this device, that has only PA, PB and PC. So, how can I extend this file to support the device?
Anderson