/calliope-project-template

A template project to start projects with the DAL.

Primary LanguageCMakeApache License 2.0Apache-2.0

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.