Skip to content
Simple gesture recognition for the ARM Cortex-M4 STM32-F4 Discovery.
Branch: master
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.
STM32F4-Discovery_FW_V1.1.0
accelerometers
LICENSE
Makefile
README.md
gesture.doxyfile
gesture_recog.c
gesture_recog.h
main.c
stm32_flash.ld
stm32f4xx_conf.h
system_stm32f4xx.c
timed_task.c
timed_task.h

README.md

GestureRecog

Simple gesture recognition software for the ARM STM32-F4 Discovery Board and it's Accelerometer.

Author: Eason Smith

Requires the ARM toolchain, STM32-F4 Discovery and uses the Standard Peripheral Library.

A basic example is provided in main.c and detects a gesture of holding the board flat for 1 second, tilting the board up for 1 second, then holding the board flat for 1 second again. A basic message confirming the gesture is then printed to the screen.

To compile: Run "make clean && make" in the main directory from the command line.

To debug/run using openocd and GDB:

  1. Open a new terminal window and run the command: "openocd -f board/stm32f4discovery.cfg"

  2. Then in your main window run: "arm-none-eabi-gdb STM32_Gesture_example.elf"

To Flash: Run "st-flash write STM32_Gesture_example.elf 0x8000000" at the command line.

You can’t perform that action at this time.