Skip to content

mmilata/ivory-tower-helloworld

 
 

Repository files navigation

helloworld firmware

Experimental version of Hello world firmware

Written in http://ivorylang.org/

Requires

Fedora:

dnf install arm-none-eabi-gcc-cs arm-none-eabi-newlib

Building

To build all images:

./standalone-setup.sh # required if you don't have checked out ivory tower and ivory-tower-stm32 repos in .. (recommended)
make

Tests

Blink

Blinks red and blue LEDs on GPIOD14 and GPIOD15

SimpleBlink

Simplified blink application toggling red LED

CANSendRecv

Test application sending packets from CAN1, blinks on received packets.

CAN2UART

Test application for receiving and sending CAN packets controlled by UART

UART

Simple UART console, allows toggling LED with '1' '2' characters

Run make to build all test applications. Specific application can be built with make APP loaded with make APP-load and make APP-run.

To load Blink test application run:

make blink-test-load

to also issue run and start application after loading use:

make blink-test-run

to just run gdb with new binary without loading:

make blink-test-gdb
# issuing 'load' in gdb         == blink-test-load
# running both 'load' and 'run' == blink-test-run

Flashing

Manually with BlackMagic Probe:

arm-none-eabi-gdb --ex 'target extended-remote /dev/ttyACM0' --ex 'monitor swdp_scan' --ex 'attach 1' --ex 'load' build/can2uart-test/image

About

Demo Ivory Tower applications for STM32F4

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haskell 85.4%
  • Makefile 7.1%
  • Shell 6.4%
  • Other 1.1%