No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
driver
.gitignore
LICENSE
Makefile.common
README.md
startup_stm32f0xx.c
stm32f0xx.ld
stm32f0xx_conf.h

README.md

CANZERO core driver for STM32F042

This repository contains all the source code for the STM32F042 ARM Cortex MCU on the CANZERO, which acts as a CAN bus driver.

Directories

driver contains the code for the STM32F0 CAN bus driver.

Compiling

Compilation relies on the the arm-none-eabi-gcc toolchain and make.

The approach is derived from the one described by Geoffrey Brown, of University of Indiana

Compiling the firmware requires the very small subset of CMSIS libraries that come with stm32 standard peripheral library. The code itself does not use standard peripheral library but relies on direct programming of STM32F0 registers.

To compile the code, you will need to edit the LIBROOT variable in the Makefile to point to the location of your copy of the standard peripheral library.

License

This code is licensed under the MIT licence, as described in the LICENSE file.