Skip to content
Alex Kalmuk edited this page Oct 23, 2020 · 8 revisions

STM32F4DISCOVERY has STM32F407VGT6 microcontroller featuring 32-bit ARM®Cortex®-M4 with FPU core, 1-Mbyte Flash memory, 192-Kbyte RAM.

The board has integrated debugger that allows to program it with single USB-A-USB-mini-B wire. You can run and test Embox after a few quite simple steps.

  • Configure and compile with platform/stm32/f4/stm32f4-discovery template.
  • Connect with OpenOCD:
$ sudo openocd -f /usr/share/openocd/scripts/board/stm32f4discovery.cfg

If it doesn't works (probably your stm32f4-discovery board is STM32F407G-DISK1):

$ sudo openocd -f /usr/share/openocd/scripts/board/stm32f429disc1.cfg
  • Load Embox with usual gdb commands
$ arm-none-eabi-gdb build/base/bin/embox
(gdb) target remote :3333
(gdb) monitor halt
(gdb) load
(gdb) monitor reset

You can refer our How-to-flash guide for more details.

Extension base board: Networking, SD card, etc.

We are using an extension board with this board. It will allow you to try more stuff with Embox, e.g. networking.

To start using Embox, you can just plug serial cable into your STM32F4DISCOVERY board and your PC and flash Embox as described above. Now you are able to connect with minicom:

sudo minicom -D /dev/ttyUSB0

POSIX support

As for any other template in Embox, you are able to use POSIX libraries, e.g. pthreads. You can refer to our Quick Start guide to get started with development under Embox.

Networking

You are able to use ping, telnetd and httpd with this template. Just plug in Ethernet cable in the base board and your PC. You can also edit conf/start_script.inc and re-build Embox to set up another IP address of the board if required.

Sound

We have ported PJSIP to Embox. Read more about PJSIP and audio playing/recording here.

More examples

You can try an example of a simple robot with light and IR sensors, motors and NRF24 radio module. Template platform/stm32f4_multibots/nrf24.

Overview

GSoC

Demos

Supported platforms

Examples

Development

Libraries

Subsystems

Misc

Mybuild - build system

Contributing

Clone this wiki locally