git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15764 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
b2c24de257
commit
1e6a909ece
|
@ -290,7 +290,7 @@ int main(void) {
|
||||||
/* Starting sandboxed thread 2.*/
|
/* Starting sandboxed thread 2.*/
|
||||||
utp2 = sbStartThread(&sbx2, "sbx2",
|
utp2 = sbStartThread(&sbx2, "sbx2",
|
||||||
waUnprivileged2, sizeof (waUnprivileged2),
|
waUnprivileged2, sizeof (waUnprivileged2),
|
||||||
NORMALPRIO - 1, sbx2_argv, sbx2_envp);
|
NORMALPRIO - 2, sbx2_argv, sbx2_envp);
|
||||||
if (utp1 == NULL) {
|
if (utp1 == NULL) {
|
||||||
chSysHalt("sbx2 failed");
|
chSysHalt("sbx2 failed");
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# Compiler options here.
|
# Compiler options here.
|
||||||
ifeq ($(USE_OPT),)
|
ifeq ($(USE_OPT),)
|
||||||
USE_OPT = -O2 -ggdb -fomit-frame-pointer --specs=nano.specs
|
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 --specs=nano.specs
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# C specific options here (added to USE_OPT).
|
# C specific options here (added to USE_OPT).
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# Compiler options here.
|
# Compiler options here.
|
||||||
ifeq ($(USE_OPT),)
|
ifeq ($(USE_OPT),)
|
||||||
USE_OPT = -O2 -ggdb -fomit-frame-pointer --specs=nano.specs
|
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16 --specs=nano.specs
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# C specific options here (added to USE_OPT).
|
# C specific options here (added to USE_OPT).
|
||||||
|
|
Loading…
Reference in New Issue