FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/abb+spi/spi_env.c @ 157:e48ea5875df7
gsm-fw: SPI task code compiles and links
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Nov 2013 09:17:06 +0000 |
parents | 63750f70796d |
children |
comparison
equal
deleted
inserted
replaced
156:eba29cb0526c | 157:e48ea5875df7 |
---|---|
14 /* Author David Lamy-Charrier (dlamy@tif.ti.com) */ | 14 /* Author David Lamy-Charrier (dlamy@tif.ti.com) */ |
15 /* */ | 15 /* */ |
16 /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved*/ | 16 /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved*/ |
17 /****************************************************************************/ | 17 /****************************************************************************/ |
18 | 18 |
19 #include "spi/spi_env.h" | 19 #include "spi_env.h" |
20 #include "rv/general.h" | 20 #include "../../riviera/rv/general.h" |
21 #include "rvm/rvm_gen.h" | 21 #include "../../riviera/rvm/rvm_gen.h" |
22 #include "rvm/rvm_priorities.h" | 22 #include "../../riviera/rvm/rvm_priorities.h" |
23 #include "rvm/rvm_use_id_list.h" | 23 #include "../../riviera/rvm/rvm_use_id_list.h" |
24 #include <string.h> | 24 #include <string.h> |
25 | 25 |
26 //extern T_RV_RET spi_core(void); | 26 //extern T_RV_RET spi_core(void); |
27 #include "spi/spi_task.h" | 27 #include "spi_task.h" |
28 | 28 |
29 | 29 |
30 /* global pointer to the error function */ | 30 /* global pointer to the error function */ |
31 static T_RVM_RETURN (*spi_error_ft)(T_RVM_NAME swe_name, T_RVM_RETURN error_cause, | 31 static T_RVM_RETURN (*spi_error_ft)(T_RVM_NAME swe_name, T_RVM_RETURN error_cause, |
32 T_RVM_ERROR_TYPE error_type,T_RVM_STRING error_msg); | 32 T_RVM_ERROR_TYPE error_type,T_RVM_STRING error_msg); |
221 T_RVM_RETURN spi_kill (void) | 221 T_RVM_RETURN spi_kill (void) |
222 { | 222 { |
223 /* free all memory buffer previously allocated */ | 223 /* free all memory buffer previously allocated */ |
224 return RV_OK; | 224 return RV_OK; |
225 } | 225 } |
226 | |
227 | |
228 |