Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
361ba8d1
Commit
361ba8d1
authored
6 years ago
by
Kees Bakker
Browse files
Options
Downloads
Patches
Plain Diff
boards/sodaq-autonomo: switch to flashing with bossac
parent
56bf7781
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
boards/sodaq-autonomo/Makefile.include
+15
-1
15 additions, 1 deletion
boards/sodaq-autonomo/Makefile.include
boards/sodaq-autonomo/doc.txt
+12
-11
12 additions, 11 deletions
boards/sodaq-autonomo/doc.txt
with
27 additions
and
12 deletions
boards/sodaq-autonomo/Makefile.include
+
15
−
1
View file @
361ba8d1
...
@@ -2,4 +2,18 @@
...
@@ -2,4 +2,18 @@
export
CPU
=
samd21
export
CPU
=
samd21
export
CPU_MODEL
=
samd21j18a
export
CPU_MODEL
=
samd21j18a
include
$(RIOTMAKE)/boards/sam0.inc.mk
#export needed for flash rule
export
PORT_LINUX
?=
/dev/ttyACM0
export
PORT_DARWIN
?=
$(
firstword
$(
sort
$(
wildcard /dev/tty.usbmodem
*
)))
# setup serial terminal
include
$(RIOTMAKE)/tools/serial.inc.mk
# setup the flash tool used
# we use BOSSA to flash this board since there's an Arduino bootloader
# preflashed on it. ROM_OFFSET skips the space taken by such bootloader.
ROM_OFFSET
?=
0x2000
include
$(RIOTMAKE)/tools/bossa.inc.mk
# setup the boards dependencies
include
$(RIOTBOARD)/$(BOARD)/Makefile.dep
This diff is collapsed.
Click to expand it.
boards/sodaq-autonomo/doc.txt
+
12
−
11
View file @
361ba8d1
...
@@ -55,15 +55,15 @@ this board.
...
@@ -55,15 +55,15 @@ this board.
| MCU | samd21 | partly | Energy saving modes not fully utilized|
| MCU | samd21 | partly | Energy saving modes not fully utilized|
| Low-level driver | GPIO | yes | |
| Low-level driver | GPIO | yes | |
| | PWM | yes | |
| | PWM | yes | |
| | UART | yes
| two UARTs by now|
| | UART | yes | two UARTs by now|
| | I2C | yes | |
| | I2C | yes | |
| | SPI | yes | |
| | SPI | yes | |
|
| ADC
| yes
| PA04 & PA05 disabled by default due to EDBG's use of them for UART, can be enabled from `periph_conf.h`|
| | ADC | yes | PA04 & PA05 disabled by default due to EDBG's use of them for UART, can be enabled from `periph_conf.h`|
| | USB | no | |
| | USB | no | |
| | RTT | yes | |
| | RTT | yes | |
| | RTC | yes |
|
| | RTC | yes | |
| | RNG | no | no HW module |
| | RNG | no | no HW module |
| | Timer | yes
| |
| | Timer | yes | |
...
@@ -93,14 +93,15 @@ Besides the SAMD21 the board has the following features:
...
@@ -93,14 +93,15 @@ Besides the SAMD21 the board has the following features:
## Flashing the device
## Flashing the device
The Autonomo has a 10 pin header compatible with the Atmel-ICE. The standard
1. Put the board in bootloader mode by double tapping the reset button.<br/>
method for flashing RIOT to the sodaq-autonomo is using OpenOCD. For this to
When the board is in bootloader mode, the user led (green) oscillates
work properly, **you have to make sure to use a very recent version of
smoothly.
OpenOCD**. Arduino-IDE comes with openocd v0.9.0 which is known to work. Also
Ubuntu 16.04 has openocd v0.9.0.
Refer to https://github.com/RIOT-OS/RIOT/wiki/OpenOCD for building OpenOCD
2. Use `BOARD=sodaq-autonomo` with the `make` command.<br/>
and make sure "cmsis-dap" and "hidapi-libusb" are enabled.
Example with `hello-world` application:
```
make BOARD=sodaq-autonomo -C examples/hello-world flash
```
## Supported Toolchains
## Supported Toolchains
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment