User Tools

Site Tools


Writing /var/lib/dokuwiki/data/meta/tutorials/omni-base_software.meta failed
tutorials:omni-base_software

This is an old revision of the document!


Omni-base software

Environment setup

TODO: install packages TODO: install libopencm3{,-plus}, omni-base

Running tests

Debug process

Required packages

The follow packages should be installed:

  1. arm-none-eabi-gdb
  2. openocd

Debug

The process to debug the stm32f4-discovery is the follow:

- Connect the stm32f4-discovery with the programming and serial usb. - `make` and `make flash` the program to debug. - Create a file with the name openocd.cfg and the follow content.

source [find interface/stlink-v2-1.cfg]
source [find target/stm32f4x.cfg]
init
$_TARGETNAME configure -rtos ChibiOS

- Open a terminal in the same directory where the file was created and run `openocd`. Keep that terminal open. - Open another terminal where the program to debug is and run `arm-none-eabi-gdb`. -

Current repository state

TODO: sw structure

Code colaboration

TODO: when add types, functions and how to add them

tutorials/omni-base_software.1552661221.txt.gz · Last modified: 2022/09/20 00:08 (external edit)