Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
f3b1a933
Commit
f3b1a933
authored
9 years ago
by
danicampora
Browse files
Options
Downloads
Patches
Plain Diff
cc3200: Actually allow to specify a custom build directory.
parent
a0fb7a76
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
cc3200/application.mk
+1
-1
1 addition, 1 deletion
cc3200/application.mk
cc3200/appsign.sh
+3
-7
3 additions, 7 deletions
cc3200/appsign.sh
cc3200/bootmgr/bootgen.sh
+5
-7
5 additions, 7 deletions
cc3200/bootmgr/bootgen.sh
cc3200/bootmgr/bootloader.mk
+1
-1
1 addition, 1 deletion
cc3200/bootmgr/bootloader.mk
with
10 additions
and
16 deletions
cc3200/application.mk
+
1
−
1
View file @
f3b1a933
...
...
@@ -239,7 +239,7 @@ $(BUILD)/application.bin: $(BUILD)/application.axf
$(BUILD)/mcuimg.bin
:
$(BUILD)/application.bin
$(
ECHO
)
"Create
$@
"
$(
Q
)$(
SHELL
)
$(
APP_SIGN
)
$(
B
OARD
)
$(
BTYPE
)
$(
Q
)$(
SHELL
)
$(
APP_SIGN
)
$(
B
UILD
)
MAKE_PINS
=
boards/make-pins.py
BOARD_PINS
=
boards/
$(
BOARD
)
/pins.csv
...
...
This diff is collapsed.
Click to expand it.
cc3200/appsign.sh
+
3
−
7
View file @
f3b1a933
#!/bin/bash
if
[
"$#"
-ne
2
]
;
then
echo
"Usage: appsign.sh
*board type*
*build
type
*"
if
[
"$#"
-ne
1
]
;
then
echo
"Usage: appsign.sh *build
dir
*"
exit
1
fi
BOARD
=
$1
BTYPE
=
$2
# Build location
# Based on build type and board type
BUILD
=
build/
${
BOARD
}
/
${
BTYPE
}
BUILD
=
$1
# Generate the MD5 hash
echo
-n
`
md5sum
--binary
$BUILD
/application.bin |
awk
'{ print $1 }'
`
>
__md5hash.bin
...
...
This diff is collapsed.
Click to expand it.
cc3200/bootmgr/bootgen.sh
+
5
−
7
View file @
f3b1a933
#!/bin/bash
if
[
"$#"
-ne
2
]
;
then
echo
"Usage: bootgen.sh
*board type*
*build
type
*"
if
[
"$#"
-ne
1
]
;
then
echo
"Usage: bootgen.sh *build
dir
*"
exit
1
fi
BOARD
=
$1
BTYPE
=
$2
BUILD
=
$1
# Re-locator Path
RELOCATOR
=
bootmgr/relocator
# Boot Manager Path
# First parameter passed is the board type
BOOTMGR
=
bootmgr/build/
${
BOARD
}
/
${
BTYPE
}
# Build location
BOOTMGR
=
${
BUILD
}
# Check for re-locator binary
if
[
!
-f
$RELOCATOR
/relocator.bin
]
;
then
...
...
This diff is collapsed.
Click to expand it.
cc3200/bootmgr/bootloader.mk
+
1
−
1
View file @
f3b1a933
...
...
@@ -124,7 +124,7 @@ $(BUILD)/bootmgr.bin: $(BUILD)/bootmgr.axf
$(BUILD)/bootloader.bin
:
$(BUILD)/bootmgr.bin
$(
ECHO
)
"Create
$@
"
$(
Q
)$(
SHELL
)
$(
BOOT_GEN
)
$(
B
OARD
)
$(
BTYPE
)
$(
Q
)$(
SHELL
)
$(
BOOT_GEN
)
$(
B
UILD
)
# Create an empty "qstrdefs.generated.h" needed by py/mkrules.mk
$(HEADER_BUILD)/qstrdefs.generated.h
:
| $(HEADER_BUILD)
...
...
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