A template project to start projects with the DAL.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 38 commits ahead of calliope-mini:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
source
.gitignore
.yotta.json
.yotta_ignore
CMakeLists.txt
LICENSE
README.md
clion_compile.png
config.json
debug.md
missingTGSCCcodes.UTF32
missingTGSCCcodes.UTF8
module.json
om.h
openocd.cfg
sinobit-font_pull_request_01.md
sinobit-project-template.disassembly

README.md

Sino:bit project template - NOT READY FOR PRODUCTION. TESTING VERSION

  • 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/sinobit-classic-gcc/source/sinobit-project-template
(gdb) target remote localhost:3333
(gdb) break main
(gdb) mon reset
(gdb) c

ddd can be used as GUI for gdb.

License

This template is available under the Apache License

Copyright 2018 Christoph Maier
based on work by 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.