A template project to start projects with the DAL.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 381a7c6 Aug 20, 2017
Permalink
Failed to load latest commit information.
source initial commit Aug 20, 2017
.gitignore initial commit Aug 20, 2017
.yotta.json initial commit Aug 20, 2017
.yotta_ignore initial commit Aug 20, 2017
CMakeLists.txt initial commit Aug 20, 2017
LICENSE initial commit Aug 20, 2017
README.md add link to openocd Aug 20, 2017
clion_compile.png initial commit Aug 20, 2017
config.json added debug info Aug 20, 2017
module.json initial commit Aug 20, 2017
openocd.cfg added debug info Aug 20, 2017

README.md

Calliope mini project template

  • first, install yotta
  • run yt update once, it will download all required dependencies

IDE use

You can use any C/C++ IDE you want. Options include CLion, Eclipse CDT, and Visual Studio Code.

The included CMakeLists.txt file is for the use of the CLion IDE. It supports syntax highlighting, navigation, refactoring and building with the custom target compile. Do not use run, it won't work.
Select the target compile and press the build button left of it: compile

To enable GDB debugging, edit config.json and set debug to 1. Install OpenOCD and run openocd -f openocd.cfg and use gdb remote debugging. Then use this to commence debugging:

$ arm-none-eabi-gdb build/calliope-mini-classic-gcc/source/calliope-project-template
(gdb) target remote localhost:3333
(gdb) break main
(gdb) mon reset
(gdb) c

License

This template is available under the Apache License

Copyright 2017 Calliope gGmbH

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.