Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libbob3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
herzi
P
project
bob3
libbob3
Commits
8850c87a
Commit
8850c87a
authored
Oct 12, 2018
by
Sebastian Neuser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add README.md
parent
7786547e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
README.md
README.md
+40
-0
No files found.
README.md
0 → 100644
View file @
8850c87a
# BOB3 support library
This library is intended for the
[
BOB3 educational board
](
https://www.bob3.org
)
.
It provides a nice and easy API for all board functions.
## Getting started
To write a firmware for BOB3, you need to write a .cpp file containing:
*
`#include <BOB3.h>`
This allows you to use functions from the library.
*
the function
`void setup()`
This function is executed during bootup of the chip.
*
the function
`void loop()`
The function is executed periodically until power is cut.
You may want to start with the example program
[
example.cpp
](
example.cpp
)
and modify it to your liking.
## Compiling
To compile the program
`example.cpp`
:
```
sh
make example.compile
```
If it works, the output will be a file called
`example.hex`
.
## Programming
To program
`example.hex`
into the BOB3 MCU:
```
sh
make example.program
```
This will also automatically (re-)compile
`example.hex`
if necessary.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment