Unprivileged thread starting correctly now.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14893 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2021-10-10 17:54:26 +00:00
parent 2d00fa2e5e
commit 3394ad9046
6 changed files with 8 additions and 5 deletions

View File

@ -61,7 +61,7 @@ int main(void) {
/*
* Creates the blinker thread.
*/
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO+10, Thread1, NULL);
/*
* Creates an unprivileged thread.

View File

@ -37,7 +37,7 @@
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="SB-CLIENT-08070000-2001C000.null.1004513353" name="SB-CLIENT-08070000-2001C000"/>
<project id="SB-CLIENT-32k-08070000-4k-2001e000.null.1004513353" name="SB-CLIENT-32k-08070000-4k-2001e000"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
@ -48,7 +48,7 @@
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope" versionNumber="2">
<configuration configurationName="Default">
<resource resourceType="PROJECT" workspacePath="/SB-CLIENT-08070000-2001C000"/>
<resource resourceType="PROJECT" workspacePath="/SB-CLIENT-32k-08070000-4k-2001e000"/>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>SB-CLIENT-08070000-2001C000</name>
<name>SB-CLIENT-32k-08070000-4k-2001e000</name>
<comment></comment>
<projects>
</projects>

View File

@ -26,6 +26,9 @@
*/
int main(void) {
while(1)
;
/* API layer initialization.*/
sbApiInit();

View File

@ -20,7 +20,7 @@
MEMORY
{
flash0 (rx) : org = 0x08070000, len = 32k
ram0 (wx) : org = 0x2001C000, len = 4k
ram0 (wx) : org = 0x2001E000, len = 4k
}
/* Flash region to be used for exception vectors.*/