Go to file
Ethan Zonca 2c5f345955 Transition to interrupt-based CAN transmission, which is now functional. Full duplex still hangs, however. 2016-08-13 14:22:24 -04:00
Drivers first commit 2015-01-14 10:09:08 -05:00
Middlewares/ST/STM32_USB_Device_Library first commit 2015-01-14 10:09:08 -05:00
inc Transition to interrupt-based CAN transmission, which is now functional. Full duplex still hangs, however. 2016-08-13 14:22:24 -04:00
src Transition to interrupt-based CAN transmission, which is now functional. Full duplex still hangs, however. 2016-08-13 14:22:24 -04:00
windows-driver added windows driver 2015-05-13 17:14:43 -04:00
.gitignore first commit 2015-01-14 10:09:08 -05:00
.travis.yml added silent mode, moved GPIO init 2015-05-14 17:41:28 -04:00
LICENSE.md first commit 2015-01-14 10:09:08 -05:00
Makefile Include and source directories now lower case 2016-08-11 22:12:58 -04:00
README.md Update docs for compilation with internal oscillator support 2016-07-24 19:06:39 -04:00
STM32F042C6_FLASH.ld first commit 2015-01-14 10:09:08 -05:00
cantact.ioc first commit 2015-01-14 10:09:08 -05:00
stm32f0x.cfg first commit 2015-01-14 10:09:08 -05:00

README.md

CANtact Firmware

Build Status

This repository contains sources for CANtact firmware.

Building

Firmware builds with GCC. Specifically, you will need gcc-arm-none-eabi, which is packaged for Windows, OS X, and Linux on Launchpad. Download for your system and add the bin folder to your PATH.

With that done, you should be able to compile using make. If you are compiling for a device that has no external crystal, compile with make INTERNAL_OSCILLATOR=1.

Flashing & Debugging

Debugging and flashing can be done with any STM32 Discovery board as a programmer. You can also use other tools that support SWD.

To use an STM32 Discovery, run OpenOCD using the stm32f0x.cfg file: openocd -f fw/stm32f0x.cfg.

With OpenOCD running, arm-none-eabi-gdb can be used to load code and debug.

Contributors

  • Ethan Zonca - Makefile fixes and code size optimization
  • onejope - Fixes to extended ID handling
  • Phil Wise - Added dfu-util compatibility to Makefile

License

See LICENSE.md