Skip to content

Jauler/STM32_Template_Tiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F4 Tiny Template

A tiny code template for STM32F4 series processors.

This Template:

  • Defines interrupt table at the start of Flash memory
  • Initializes stack on CCM memory
  • Initializes .data
  • Initializes .bss to zero
  • Calls main

Building

Just issue:

$ make

This assumes that make tools and toolchain is already installed and working.

Specifying toolchain

Toolchain can be specified with environment variables. Currently variables CROSS, CC, OBJCOPY, SIZE are used for toolchain specification

  • CROSS: Specifies prefix for toolchain (e.g arm-none-eabi-), default: arm-none-eabi-
  • CC: Specifies C and Assembler compiler (e.g. gcc), default: gcc
  • OBJCOPY: specifies objcopy program, default: objcopy
  • SIZE: specifies size program, default: size

Example:

make CROSS=arm-randomos-eabi- CC=cc

Releases

No releases published

Packages

No packages published