Skip to content
Snippets Groups Projects
Commit ba2c7668 authored by schneider's avatar schneider
Browse files

Merge branch 'aj-01' into 'master'

Basic CI (it builds) and some README improvements

See merge request card10/firmware!1
parents 137df6a9 bcac14e8
No related branches found
No related tags found
No related merge requests found
build/ build/
card10.bin
image: "debian"
build:
stage: build
before_script:
- apt update -qq && apt install -y -qq gcc-arm-none-eabi python-pip
- pip install crc16
script:
- cd bootloader
- make
- cd ..
- cd Hello_World
- ./build_image
- cd ..
- cd Hello_World_FreeRTOS
- ./build_image
- cd ..
- cd ble
- ./build_image
- cd ..
- cd bmatest
- ./build_image
- cd ..
- cd bmetest
- ./build_image
- cd ..
- cd ecgtest
- ./build_image
- cd ..
- cd imutest
- ./build_image
- cd ..
- cd ips
- ./build_image
- cd ..
...@@ -25,7 +25,9 @@ This allows gdb to use our .gdbinit files without specifying them on the command ...@@ -25,7 +25,9 @@ This allows gdb to use our .gdbinit files without specifying them on the command
### OpenOCD ### OpenOCD
If you want to debug code or replace the bootloader, you need OpenOCD and GDB. If you want to debug code or replace the bootloader, you need OpenOCD and GDB.
Get OpenOCD from [Maxim](https://github.com/maximmbed/openocd) and checkout the `max32xxx` branch. Build using `./configure` and 'make'. Make sure that the `CMSIS-DAP Compliant Debugger` is set to `yes(auto)` after running `./configure` (you might need to install libusb and other USB related libaries). Get OpenOCD from [Maxim](https://github.com/maximmbed/openocd) and checkout the `max32xxx` branch. Run `git submodule update --init`.
Build using `./bootstrap`, `./configure` and 'make'. Make sure that the `CMSIS-DAP Compliant Debugger` is set to `yes(auto)` after running `./configure` (you might need to install libusb and other USB related libaries).
If you get errors making the documentation you can `touch doc/openocd.info` to skip it and continue with 'make'.
Please run `make install` after removing any already installed OpenOCD version. Otherwise please always specify the full path to openocd (the binary is under `src/openocd`, when calling `openocd`. Please run `make install` after removing any already installed OpenOCD version. Otherwise please always specify the full path to openocd (the binary is under `src/openocd`, when calling `openocd`.
......
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment