Projet

Général

Profil

« Précédent | Suivant » 

Révision 311

Ajouté par nacao il y a plus de 6 ans

les codes pour la piste vert et bleu

Voir les différences:

branch/nan_cao/Emb_App/programme_principal_etud.c
}
/*
void mod(){
CanFrame req,reponse,comm;
......
}
}
*/
void main()
{
CanFrame comm;
......
sta_tsk(ID_ang_roue);
sta_tsk(ID_ang_tourelle);
sta_tsk(ID_vitesse);
sta_tsk(ID_capteur);
sta_tsk(ID_mode);
// sta_tsk(ID_capteur);
// sta_tsk(ID_mode);
sta_cyc(ID_acqui);
sta_tsk(ID_periph_rx);
branch/nan_cao/Emb_App/conf_noyau.cfg
exinf = 0x0;
};
task[]{
entry_address = capteur();
name = ID_capteur;
stack_size = 512;
stack_section = stack;
priority = 7;
initial_start = OFF;
exinf = 0x0;
};
task[]{
entry_address = mod();
name = ID_mode;
stack_size = 512;
stack_section = stack;
priority = 7;
initial_start = OFF;
exinf = 0x0;
};
task[]{
entry_address = periph_tx();
name = ID_periph_tx;

Formats disponibles : Unified diff