Get Started with EmBitz and Seeed Arch Max - Seeed-Studio/Arch_Max GitHub Wiki

EmBitz (formerly Em::Blocks) is a powerful C/C++ IDE for embedded software development. In this guide, we try to use Seeed Arch Max with EmBitz.

Setup Embitz

  1. Download EmBitz from emblocks.org

  2. Install EmBitz

  3. Add Seeed Arch Max board to EmBitz

  4. Create openocd config file - arch_max.cfg with following content, and place it at {embitz_installed_path}/share/contrib/openocd/scripts/board

```
# arch_max.cfg - openocd config file for seeed arch max
source [find interface/cmsis-dap.cfg]
source [find target/stm32f4x.cfg]
```
  1. Add the following line after <Board> of the board setings file - {embitz_installed_path}/share/EmBitz/debuggers/Interfaces/openOCD/settings.xml
```
<arch_max file="board/arch_max.cfg" />
```

Setup your project

  1. Follow the guide to export your project from mbed program to Em::Blocks project
  2. Open the *.eix in EmBitz
  3. Fix a bug in project settings - libraries including sequence of libc and libmbed should be switched

Open project build options dialog (menu: Project->Build options), go to Linker settings -> Libraries page, detele 'c' and add it it back (make 'c' after 'mbed')

  1. Select Arch Max board to debug

Have fun!

⚠️ **GitHub.com Fallback** ⚠️