Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
regression-suites
Commits
06d7d106
Commit
06d7d106
authored
Apr 20, 2018
by
Maxime Perrotin
Browse files
Rename the binary to blink
parent
fe5efb88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Demo_Crazyflie_Blink/DeploymentView.aadl
View file @
06d7d106
...
...
@@ -11,11 +11,11 @@ PUBLIC
WITH Taste;
WITH Deployment;
WITH TASTE_DV_Properties;
PROCESS
crazyflie_v2_partition
END
crazyflie_v2_partition
;
PROCESS
blink
END
blink
;
PROCESS IMPLEMENTATION
crazyflie_v2_partition
.others
END
crazyflie_v2_partition
.others;
PROCESS IMPLEMENTATION
blink
.others
END
blink
.others;
END deploymentview::DV::Node1;
...
...
@@ -41,17 +41,17 @@ SUBCOMPONENTS
IV_Function2 : SYSTEM interfaceview::IV::Function2::Function2.others {
Taste::FunctionName => "Function2";
};
crazyflie_v2_partition
: PROCESS deploymentview::DV::Node1::
crazyflie_v2_partition
.others {
Taste::coordinates => "104907 68
615
158936 96
673
";
blink
: PROCESS deploymentview::DV::Node1::
blink
.others {
Taste::coordinates => "104907 68
772
158936 96
830
";
Deployment::Port_Number => 0;
};
crazyflie_v2_gnat : PROCESSOR ocarina_processors_arm::crazyflie_v2.gnat {
Taste::coordinates => "98153 60599 165690 100681";
};
PROPERTIES
Taste::APLC_Binding => (reference (
crazyflie_v2_partition
)) APPLIES TO IV_Function1;
Taste::APLC_Binding => (reference (
crazyflie_v2_partition
)) APPLIES TO IV_Function2;
Actual_Processor_Binding => (reference (crazyflie_v2_gnat)) APPLIES TO
crazyflie_v2_partition
;
Taste::APLC_Binding => (reference (
blink
)) APPLIES TO IV_Function1;
Taste::APLC_Binding => (reference (
blink
)) APPLIES TO IV_Function2;
Actual_Processor_Binding => (reference (crazyflie_v2_gnat)) APPLIES TO
blink
;
END Node1.others;
SYSTEM deploymentview
...
...
Demo_Crazyflie_Blink/user_init_last.sh
View file @
06d7d106
#!/bin/bash -e
arm-eabi-objcopy
-O
binary binary/binaries/
cortex_m_partition binary/binaries/cortex_m_partition.flash_image
arm-eabi-objcopy
-O
binary binary/binaries/
blink binary/binaries/blink.bin
echo
-e
"
\n
Now
burn the new image with:
\n
"
echo
-e
"
\n
Trying to
burn the new image with:
\n
"
echo
" sudo dfu-util -d 0483:df11 -a 0 -s 0x08000000
\\
"
echo
" -D binary/binaries/cortex_m_partition.flash_image"
sudo
dfu-util
-d
0483:df11
-a
0
-s
0x08000000
-D
binary/binaries/blink.bin
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment