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
e7646781
Commit
e7646781
authored
7 years ago
by
Kaspar Schleiser
Browse files
Options
Downloads
Patches
Plain Diff
make: mcuboot: prefix mcuboot make targets
parent
268e763d
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
makefiles/mcuboot.mk
+7
-7
7 additions, 7 deletions
makefiles/mcuboot.mk
tests/mcuboot/README.md
+1
-1
1 addition, 1 deletion
tests/mcuboot/README.md
with
8 additions
and
8 deletions
makefiles/mcuboot.mk
+
7
−
7
View file @
e7646781
...
...
@@ -13,7 +13,7 @@ MCUBOOT_BIN_MD5 ?= 0c71a0589bd3709fc2d90f07a0035ce7
export
IMAGE_HDR_SIZE
?=
512
create-key
:
$(MCUBOOT_KEYFILE)
mcuboot-
create-key
:
$(MCUBOOT_KEYFILE)
ifeq
($(BINDIR)/key.pem,$(MCUBOOT_KEYFILE))
$(MCUBOOT_KEYFILE)
:
...
...
@@ -21,7 +21,7 @@ $(MCUBOOT_KEYFILE):
$(
Q
)$(
IMGTOOL
)
keygen
-k
$@
-t
rsa-2048
endif
mcuboot
:
create-key link
mcuboot
:
mcuboot-
create-key link
@$(
COLOR_ECHO
)
@$(
COLOR_ECHO
)
'
${
COLOR_PURPLE
}
Re-linking for MCUBoot at
$(
SLOT0_SIZE
)
...
${
COLOR_RESET
}
'
@$(
COLOR_ECHO
)
...
...
@@ -39,14 +39,14 @@ mcuboot: create-key link
$(MCUBOOT_BIN)
:
$(
Q
)$(
DLCACHE
)
$(
MCUBOOT_BIN_URL
)
$(
MCUBOOT_BIN_MD5
)
$@
.PHONY
:
flash-bootloader
flash-
mcuboot
.PHONY
:
mcuboot-
flash-bootloader mcuboot
-flash
flash-bootloader
:
HEXFILE = $(MCUBOOT_BIN)
flash-bootloader
:
$(MCUBOOT_BIN) $(FLASHDEPS)
mcuboot-
flash-bootloader
:
HEXFILE = $(MCUBOOT_BIN)
mcuboot-
flash-bootloader
:
$(MCUBOOT_BIN) $(FLASHDEPS)
FLASH_ADDR
=
0x0
$(
FLASHER
)
$(
FFLAGS
)
flash-
mcuboot
:
HEXFILE = $(SIGN_BINFILE)
flash-
mcuboot
:
mcuboot $(FLASHDEPS) flash-bootloader
mcuboot
-flash
:
HEXFILE = $(SIGN_BINFILE)
mcuboot
-flash
:
mcuboot $(FLASHDEPS)
mcuboot-
flash-bootloader
FLASH_ADDR
=
$(
SLOT0_SIZE
)
$(
FLASHER
)
$(
FFLAGS
)
else
...
...
This diff is collapsed.
Click to expand it.
tests/mcuboot/README.md
+
1
−
1
View file @
e7646781
...
...
@@ -26,7 +26,7 @@ pip3 install --user pycrypto ecdsa pyasn1
```
This test can be called using
`make mcuboot`
to produce such ELF file,
which can also be flashed using
`make
flash-
mcuboot`
.This command also flashes
which can also be flashed using
`make mcuboot
-flash
`
.This command also flashes
the pre-compiled bootloader.
It's also possible to build and flash MCUBoot by following the instructions on
...
...
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