Giter VIP home page Giter VIP logo

Comments (18)

mbriday avatar mbriday commented on May 24, 2024

from trampoline.

moustafa-x avatar moustafa-x commented on May 24, 2024

Aucune donnée n'est envoyée. Je ne connaissais pas de solution.

from trampoline.

moustafa-x avatar moustafa-x commented on May 24, 2024

Screenshot_2023-04-18-17-41-08-779_com google android gm
aucune donnée n'a été envoyée

from trampoline.

jlbirccyn avatar jlbirccyn commented on May 24, 2024

Quelle est la description OIL de la tâche STask ?

from trampoline.

moustafa-x avatar moustafa-x commented on May 24, 2024

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.

jlbirccyn avatar jlbirccyn commented on May 24, 2024

Ajoutez un affichage sur l'OLED dans STask pour savoir si cette tâche s'exécute.

from trampoline.

moustafa-x avatar moustafa-x commented on May 24, 2024

pour le moment je ne l'ai pas .
Y a-t-il un autre moyen ?

from trampoline.

jlbirccyn avatar jlbirccyn commented on May 24, 2024

Je n'ai pas compris votre réponse. Vous n'avez pas quoi ?

from trampoline.

moustafa-x avatar moustafa-x commented on May 24, 2024

afficheur OLED

from trampoline.

jlbirccyn avatar jlbirccyn commented on May 24, 2024

Dans ce cas, changez l'état d'une des LED de la carte.

from trampoline.

moustafa-x avatar moustafa-x commented on May 24, 2024

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.

jlbirccyn avatar jlbirccyn commented on May 24, 2024

Je ne reçois pas vos email (je ne sais pas pourquoi). Vous pouvez attacher des fichiers ici.

from trampoline.

moustafa-x avatar moustafa-x commented on May 24, 2024

C'est tout fichier avec toutes les librairies

from trampoline.

jlbirccyn avatar jlbirccyn commented on May 24, 2024

Vous n'avez pas ajouté le clignotement de la LED ? Vous n'avez pas la carte sous la main ?

from trampoline.

jlbirccyn avatar jlbirccyn commented on May 24, 2024

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.

moustafa-x avatar moustafa-x commented on May 24, 2024

j'ai essayé plusieurs fois mais malheureusement j'ai aucun fonctionnalités dans Stask

from trampoline.

jlbirccyn avatar jlbirccyn commented on May 24, 2024
  1. La LED clignote si vous mettez le code de changement de son état dans displayTask ?
  2. 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.

moustafa-x avatar moustafa-x commented on May 24, 2024

/ #
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.