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
7a5d2ad2
Unverified
Commit
7a5d2ad2
authored
6 years ago
by
Alexandre Abadie
Browse files
Options
Downloads
Patches
Plain Diff
boards/nrf52: thingy52 and ruuvitag don't work with openocd
parent
a2cfa526
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
boards/common/nrf52/Makefile.include
+4
-0
4 additions, 0 deletions
boards/common/nrf52/Makefile.include
boards/common/nrf52/doc.txt
+5
-3
5 additions, 3 deletions
boards/common/nrf52/doc.txt
with
9 additions
and
3 deletions
boards/common/nrf52/Makefile.include
+
4
−
0
View file @
7a5d2ad2
...
@@ -27,6 +27,10 @@ ifeq (jlink,$(PROGRAMMER))
...
@@ -27,6 +27,10 @@ ifeq (jlink,$(PROGRAMMER))
endif
endif
include
$(RIOTMAKE)/tools/jlink.inc.mk
include
$(RIOTMAKE)/tools/jlink.inc.mk
else
ifeq
(openocd,$(PROGRAMMER))
else
ifeq
(openocd,$(PROGRAMMER))
ifneq
(,$(filter $(BOARD),ruuvitag thingy52))
# openocd doesn't fully work with ruuvitag and thingy52
$(
error
Cannot use OpenOCD with
$(
BOARD
)
board
)
endif
# setup OpenOCD for flashing. Version 0.10 of OpenOCD doesn't contain support
# setup OpenOCD for flashing. Version 0.10 of OpenOCD doesn't contain support
# for nrf52dk and nrf52840dk boards. To use OpenOCD with these a version
# for nrf52dk and nrf52840dk boards. To use OpenOCD with these a version
# build from source (master > 2018, August the 13rd) is required.
# build from source (master > 2018, August the 13rd) is required.
...
...
This diff is collapsed.
Click to expand it.
boards/common/nrf52/doc.txt
+
5
−
3
View file @
7a5d2ad2
...
@@ -14,9 +14,11 @@ Example with `hello-world` application:
...
@@ -14,9 +14,11 @@ Example with `hello-world` application:
make BOARD=<nrf52 board> -C examples/hello-world flash
make BOARD=<nrf52 board> -C examples/hello-world flash
```
```
OpenOCD can also be used to flash nrf52 boards. For the moment, the latest
OpenOCD can also be used to flash nrf52 boards (except thingy52 and ruuvitag
stable version of OpenOCD (0.10) doesn't contain any support for nrf52 but
because they are hardly coupled with JLink segger_rtt stdio).
versions built against the current development version can be used.
For the moment, the latest stable version of OpenOCD (0.10) doesn't contain any
support for nrf52 but versions built against the current development version
can be used.
To flash the board with OpenOCD, use the `PROGRAMMER` variable:
To flash the board with OpenOCD, use the `PROGRAMMER` variable:
```
```
...
...
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