Commit 7d041dc4 authored by Guilherme Sanches's avatar Guilherme Sanches

Renaming of XKY word to AIR in all files that came from the canbus

branch
parent d28633e7
......@@ -9,7 +9,7 @@
<Sampling_Port Name="iop_receiver"
Direction="DESTINATION" MaxMessageSize="8" RefreshRateSeconds="1.0"/>
<PartitionConfiguration Personality="RTEMS" IOP="iop.xml" Cores="1">
<Libs>LIBXKY; LIBIOP; LIBPRINTF</Libs>
<Libs>LIBAIR; LIBIOP; LIBPRINTF</Libs>
<Devices></Devices>
<Cache>CODE; DATA</Cache>
<Memory Size="0x400000" />
......@@ -27,7 +27,7 @@
<Sampling_Port Name="partition_sender"
Direction="SOURCE" MaxMessageSize="8" RefreshRateSeconds="1.0"/>
<PartitionConfiguration Personality="RTEMS" Cores="1">
<Libs>LIBXKY; IMASPEX; LIBPRINTF</Libs>
<Libs>LIBAIR; IMASPEX; LIBPRINTF</Libs>
<Devices></Devices>
<Cache>CODE; DATA</Cache>
<Memory Size="0x400000" />
......@@ -78,5 +78,5 @@
</Connection_Table>
<!-- Module configuration -->
<XKY_Configuration TicksPerSecond="1000" RequiredCores="1"/>
<AIR_Configuration TicksPerSecond="1000" RequiredCores="1"/>
</ARINC_653_Module>
......@@ -51,7 +51,7 @@ void test(PARTITION_ID_TYPE self_id) {
char sample[3] = "S0 ";
/* get the number of ticks per second */
int tps = 1000000 / xky_syscall_get_us_per_tick();
int tps = 1000000 / air_syscall_get_us_per_tick();
pprintf("TPS %i\n", tps);
RETURN_CODE_TYPE rc = NO_ERROR;
......
......@@ -54,7 +54,7 @@ void can_reader(iop_physical_device_t *pdev)
iop_debug(" :: can-read running!\n");
uint32_t i;
// uint32_t reads = pdev->reads_per_period[xky_schedule.current_schedule_index];
// uint32_t reads = pdev->reads_per_period[air_schedule.current_schedule_index];
uint32_t reads= 5; // number of reads per period
for(i = 0; i < reads; i++){
iop_wrapper_t *wrapper = obtain_free_wrapper();
......
......@@ -16,7 +16,7 @@
#include <ambapp.h>
#include <xky.h>
#include <air.h>
#include <iop.h>
#include <can_support.h>
......
#ifndef __OCCAN_MSG_QUEUE_H__
#define __OCCAN_MSG_QUEUE_H__
#include <xky.h>
#include <air.h>
#include <iop.h>
/* CAN MESSAGE */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment