git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15764 27425a3e-05d8-49a3-a47f-9c15f0e5edd8

This commit is contained in:
Giovanni Di Sirio 2022-09-05 13:31:10 +00:00
parent b2c24de257
commit 1e6a909ece
3 changed files with 3 additions and 3 deletions

View File

@ -290,7 +290,7 @@ int main(void) {
/* Starting sandboxed thread 2.*/
utp2 = sbStartThread(&sbx2, "sbx2",
waUnprivileged2, sizeof (waUnprivileged2),
NORMALPRIO - 1, sbx2_argv, sbx2_envp);
NORMALPRIO - 2, sbx2_argv, sbx2_envp);
if (utp1 == NULL) {
chSysHalt("sbx2 failed");
}

View File

@ -5,7 +5,7 @@
# Compiler options here.
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
# C specific options here (added to USE_OPT).

View File

@ -5,7 +5,7 @@
# Compiler options here.
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
# C specific options here (added to USE_OPT).