getoffmyhack / STM32-CMSIS

Repackaged CMSIS from STM32Cube distribution.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STM32 CMSIS Build Environment

Introduction

This is a repackaging of the STM32 CMSIS build files included with STMCube packages. I am creating this repository as a bare minimum build environment for the STM32 line of ARM Cortex-M micro controllers.

Supported MCUs

Currently, this repository only includes the STM32F1xx Cube package, with specific modifications needed for STM32F103X8 builds.

Modifications

The following list of modifications have been made in order to properly build STM32 projects:

(The following changes will need to be made to other linker scripts as needed.)

File Modification
Device/STM32F1xx/linker/STM32F103XB_FLASH.ld Each blank line contained the 0 character. Removed 0 from blank lines
Added PROVIDE ( __end__ = . ); to ._user_heap_stack needed for librdimon

Directory Structure

Description of each directory as repackaged.

Directory Description
CMSIS/include - ARM Cortex Core M CMSIS include files
Device/STM32F1xx/include - STM32F1xx include files
Device/STM32F1xx/linker - STM32F1xx gcc linker scripts
Device/STM32F1xx/src - STM32F1xx system C source; MCU specific startup ASM sources

About

Repackaged CMSIS from STM32Cube distribution.


Languages

Language:C 98.5%Language:Assembly 1.5%