Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
neOCampus-arduino
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
GIS-neOCampus
neOSensor
neOCampus-arduino
Commits
0a7a7912
Commit
0a7a7912
authored
2 years ago
by
francois
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
a80e7aaa
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arduinoIDE_esp32_boards/local_deploy.sh
+9
-2
9 additions, 2 deletions
arduinoIDE_esp32_boards/local_deploy.sh
with
9 additions
and
2 deletions
arduinoIDE_esp32_boards/local_deploy.sh
+
9
−
2
View file @
0a7a7912
...
...
@@ -4,6 +4,7 @@
#
# Deploying specific settings for board
#
# F.Thiebolt may.23 updated comments
# F.Thiebolt aug.22 update for 2.0.4 sdk with esp32 target only
# i.e does not apply to esp32 derivatives like esp32c3
# F.Thiebolt aug.21 initial release
...
...
@@ -15,9 +16,11 @@
[
$#
-lt
1
]
&&
{
echo
-e
"
\n
###ERROR missing base dir parameter !"
>
&2
;
exit
1
;
}
[
-d
$1
]
||
{
echo
-e
"
\n
###ERROR non existing directory '
$1
'!"
>
&2
;
exit
1
;
}
echo
-e
"Copying additional
board
files ..."
echo
-e
"
\t
[addon]
Copying additional
libraries/headers
files ..."
# copying files
#
# copying lwip + header(s)
cp
-af
opt.h
$1
/esp32/include/lwip/lwip/src/include/lwip/
[
$?
-ne
0
]
&&
{
echo
-e
"
\n
###ERROR copying some files to '
$1
/esp32/include/lwip/lwip/src/include/lwip/'"
>
&2
;
exit
1
;
}
chmod
a+r
$1
/esp32/include/lwip/lwip/src/include/lwip/opt.h
...
...
@@ -26,5 +29,9 @@ cp -af *.a $1/esp32/lib/
[
$?
-ne
0
]
&&
{
echo
-e
"
\n
###ERROR copying some files to '
$1
/esp32/lib/'"
>
&2
;
exit
1
;
}
chmod
a+r
$1
/esp32/lib/
*
.a
echo
-e
"
\t
[addon] successfully copied lwip+headers :)"
#set +x
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