Sino:bit project template - NOT READY FOR PRODUCTION. TESTING VERSION
- first, install yotta
yt updateonce, it will download all required dependencies
CMakeLists.txtfile 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
compileand press the build button left of it:
To enable GDB debugging, edit
config.json and set
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.
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.