ciaa / firmware.modules.rtos Goto Github PK
View Code? Open in Web Editor NEWFreeOSEK (submodule of https://github.com/ciaa/Firmware)
Home Page: http://www.proyecto-ciaa.com.ar
FreeOSEK (submodule of https://github.com/ciaa/Firmware)
Home Page: http://www.proyecto-ciaa.com.ar
The implementation of the FreeOSEK do not support the usage of resources within ISR CAT2 handlers.
GetResource / ReleaseResoulce only takes into account Task Level execution.
The TICKSPERBASE attribute specifies the number of ticks required to reach a counter-specific unit. The interpretation is implementation-specific.
(OIL: OSEK Implementation Language Version 2.5. 3.2.5.2)
and
has different indexes for the irq handler definitions.
In order to refactor and complete the OIL parser add unit testing
The file https://github.com/ciaa/firmware.modules.rtos/blob/master/tst/ctest/etc/ctest_tm_01.oil has 2 tasks with 2560 bytes each, against the rest of the test cases, where they have 256.
Index 84 is repeated in Interrupt sources definition for MK60F12, in Os_Internal_Arch_Cfg.c.php for cortexM4.
An AUTOSTART Alarm with 2 appmodes only declares One Appmode into the AutoStartAlarm generated array.
Example:
OIL:
` APPMODE = AppMode1;
APPMODE = AppMode2;
ALARM ActivatePeriodicTask {
COUNTER = HardwareCounter;
ACTION = ACTIVATETASK {
TASK = PeriodicTask;
}
AUTOSTART = TRUE {
APPMODE = AppMode1;
APPMODE = AppMode2;
ALARMTIME = 0;
CYCLETIME = 100;
}
}`
generates (into os_internal_cfg.c):
const AutoStartAlarmType AutoStartAlarm[ALARM_AUTOSTART_COUNT] = { { AppMode1, /* Application Mode */ ActivatePeriodicTask2, /* Alarms */ 0, /* Alarm Time */ 200 /* Alarm Time */ } };
so this portion of StartOS:
for ( loopi = 0; loopi < ALARM_AUTOSTART_COUNT; loopi++ ) { if ( AutoStartAlarm[loopi].Mode == Mode ) { ( void )SetRelAlarm( AutoStartAlarm[loopi].Alarm, AutoStartAlarm[loopi].AlarmTime, AutoStartAlarm[loopi].AlarmCycleTime ); } }
will never start the alarm, for the second AppMode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.