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.
-
Download EmBitz from emblocks.org
-
Install EmBitz
-
Add Seeed Arch Max board to EmBitz
-
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]
```
- 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" />
```
- Follow the guide to export your project from mbed program to Em::Blocks project
- Open the *.eix in EmBitz
- 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')
- Select Arch Max board to debug
Have fun!