Comments (18)
from trampoline.
Aucune donnée n'est envoyée. Je ne connaissais pas de solution.
from trampoline.
from trampoline.
Quelle est la description OIL de la tâche STask ?
from trampoline.
OIL_VERSION = "2.5";
IMPLEMENTATION trampoline {
/* This fix the default STACKSIZE of tasks /
TASK {
UINT32 STACKSIZE = 800 ;
};
/ This fix the default STACKSIZE of ISRs */
ISR {
UINT32 STACKSIZE = 500 ;
} ;
};
CPU blink {
OS config {
STATUS = EXTENDED;
BUILD = TRUE {
TRAMPOLINE_BASE_PATH = "../../../../../../";
APP_SRC = "board/iutNantes/src/adc.c";
APP_SRC = "board/iutNantes/src/oled.c";
APP_SRC = "board/iutNantes/src/serial.c";
APP_SRC = "board/iutNantes/src/dac.c";
APP_SRC = "board/iutNantes/src/redirectPrintf.c";
APP_SRC = "board/iutNantes/src/timer.c";
CFLAGS = "-I board/iutNantes/include";
APP_SRC = "blink.c";
APP_NAME = "blink.elf";
CFLAGS = "-O3 -std=c99";
COMPILER = "arm-none-eabi-gcc";
ASSEMBLER = "arm-none-eabi-as";
LINKER = "arm-none-eabi-ld";
COPIER = "arm-none-eabi-objcopy";
SYSTEM = PYTHON;
};
SYSTEM_CALL = TRUE;
MEMMAP = TRUE {
COMPILER = gcc;
LINKER = gnu_ld { SCRIPT = "script.ld"; };
ASSEMBLER = gnu_as;
MEMORY_PROTECTION = FALSE;
};
};
APPMODE std {};
TASK measureTask {
PRIORITY = 5;
AUTOSTART = FALSE;
ACTIVATION = 1;
SCHEDULE = FULL;
};
ALARM activatePeriodic {
COUNTER = SystemCounter;
ACTION = ACTIVATETASK {
TASK = measureTask;
};
AUTOSTART = TRUE {
APPMODE = std;
ALARMTIME = 100;
CYCLETIME = 100;
};
};
TASK timeoutTask {
PRIORITY = 3;
AUTOSTART = FALSE;
ACTIVATION = 1;
SCHEDULE = FULL;
};
ALARM activateTimeout {
COUNTER = SystemCounter;
ACTION = ACTIVATETASK {
TASK = timeoutTask;
};
AUTOSTART = FALSE;
};
TASK displayTask {
PRIORITY = 1;
AUTOSTART = FALSE;
ACTIVATION = 1;
SCHEDULE = FULL;
};
ALARM activateDisplay {
COUNTER = SystemCounter;
ACTION = ACTIVATETASK {
TASK = displayTask;
};
AUTOSTART = TRUE {
APPMODE = std;
ALARMTIME = 1000;
CYCLETIME = 1000;
};
};
TASK STask {
PRIORITY = 4;
AUTOSTART = FALSE;
ACTIVATION = 1;
SCHEDULE = FULL;
};
ALARM comTASK {
COUNTER = SystemCounter;
ACTION = ACTIVATETASK {
TASK = STask;
};
AUTOSTART = TRUE {
APPMODE = std;
ALARMTIME = 1000;
CYCLETIME = 1000;
};
};
ISR triggerISR {
CATEGORY = 2;
PRIORITY = 30;
STACKSIZE = 256;
SOURCE = EIC_IRQ {
PIN = PB15 {
TRIGGER = BOTH;
PULL = NONE;
FILTERING = FALSE;
};
};
};
};
from trampoline.
Ajoutez un affichage sur l'OLED dans STask pour savoir si cette tâche s'exécute.
from trampoline.
pour le moment je ne l'ai pas .
Y a-t-il un autre moyen ?
from trampoline.
Je n'ai pas compris votre réponse. Vous n'avez pas quoi ?
from trampoline.
afficheur OLED
from trampoline.
Dans ce cas, changez l'état d'une des LED de la carte.
from trampoline.
Même problème, pouvez-vous voir si le code est correct ?
Je vous ai envoyé un e-mail tout les fichiers que j'ai utilisé.
from trampoline.
Je ne reçois pas vos email (je ne sais pas pourquoi). Vous pouvez attacher des fichiers ici.
from trampoline.
C'est tout fichier avec toutes les librairies
from trampoline.
Vous n'avez pas ajouté le clignotement de la LED ? Vous n'avez pas la carte sous la main ?
from trampoline.
Je veux savoir si cette tâche s'exécute. Ajoutez un clignotement de LED dans STask. Et testez avant que la LED clignote bien dans une tâche que vous savez s'exécuter correctement.
from trampoline.
j'ai essayé plusieurs fois mais malheureusement j'ai aucun fonctionnalités dans Stask
from trampoline.
- La LED clignote si vous mettez le code de changement de son état dans displayTask ?
- Si oui, qui se passe-t-il si vous faite clignotez la LED dans STask et que vous commentez le reste du code de STask (ie STask ne fait que clignoter la LED et rien d'autre.
from trampoline.
/ #
githab.zip
Essalamou Alaikom .
j'espère que vous allez bien?.
// j'ai fait dans tout les task une led au fonctionne normal
// jai réussi la trasmision de data mais le cas
(SERIALPutchar(((uint8_t*)&sensorData + i));) ne renvoie rien
// cette intrpation(triggerISR) ne fonctionne pas.
Cordialement.
from trampoline.
Related Issues (20)
- examples HOT 5
- Trampoline with IDE (KeilC/IAR) HOT 5
- Readbutton_isr example, (osConst) conflict with (osVar) HOT 2
- [Question] Does the context switch routine have consider "Pendsv" handler? HOT 4
- sprintf
- [RFC] CAN and CAN FD stack HOT 5
- [examples] [posix] [ioc] incorrect format specifier
- [os] [tpl_os_timeobj_kernel] Uninitialized variable
- Unbounded write by strcpy HOT 2
- [templates] Invalid linker script generation when using AUTOSAR Application
- ARM Cortex directories naming HOT 10
- How can i generate c file from oil config file ? HOT 3
- Multiple POSIX targets HOT 6
- Example build issue : Teensy 3.1 isr1onFTM HOT 4
- Example build issue : Teensy 3.1 isr2onExternalInterrupt HOT 1
- Example build issue : Teensy 3.1 isr2onPIT HOT 1
- Multicore support on Posix HOT 2
- porting TI TM4C123 HOT 9
- Porting to SMT32G0 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trampoline.