Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Firmware
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alberto Ruiz Garcia
Firmware
Commits
821306bc
Commit
821306bc
authored
12 years ago
by
Lorenz Meier
Browse files
Options
Downloads
Patches
Plain Diff
Allow to disable USB interface (but leave it enabled as default), give uORB more stack space
parent
801697c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ROMFS/scripts/rcS
+9
-4
9 additions, 4 deletions
ROMFS/scripts/rcS
apps/uORB/Makefile
+1
-1
1 addition, 1 deletion
apps/uORB/Makefile
with
10 additions
and
5 deletions
ROMFS/scripts/rcS
+
9
−
4
View file @
821306bc
...
...
@@ -18,7 +18,7 @@
# can change this to prevent automatic startup of the flight script.
#
set MODE autostart
set USB
no
set USB
autoconnect
#
# Try to mount the microSD card.
...
...
@@ -46,11 +46,16 @@ fi
#
# Check for USB host
#
if
sercon
if
[ $USB != autoconnect ]
then
echo "[init]
USB interface
connect
ed
"
echo "[init]
not
connect
ing USB
"
else
echo "[init] No USB connected"
if sercon
then
echo "[init] USB interface connected"
else
echo "[init] No USB connected"
fi
fi
#
...
...
This diff is collapsed.
Click to expand it.
apps/uORB/Makefile
+
1
−
1
View file @
821306bc
...
...
@@ -37,6 +37,6 @@
APPNAME
=
uorb
PRIORITY
=
SCHED_PRIORITY_DEFAULT
STACKSIZE
=
2048
STACKSIZE
=
4096
include
$(APPDIR)/mk/app.mk
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