Skip to content

Getting started on Nucleo F103RB

Georg Lippitsch edited this page May 9, 2019 · 1 revision

Getting started

Currently, Cicada is developed and tested on the STM Nucleo-F103RB evaluation board. The following steps describe how to compile and run examples on this environment.

Requirements:

  • ARM GCC
  • Meson + Ninja build system
  • Git
  • stlink

Building

  • Clone the git repository:
    git clone https://github.com/EnAccess/Cicada.git

  • Go to the Cicada directory and init the required git dependencies:
    cd Cicada
    git submodule init
    git submodule update

  • Setup build environment:
    meson <builddirectory> --cross-file stm32.cross.build

  • Compile the examples:
    cd <builddirectory>
    ninja

  • Flash to the microcontroller:
    st-flash --format ihex write examples/<example>.hex

Clone this wiki locally