Changeset 236

Show
Ignore:
Timestamp:
09/12/07 18:07:06 (1 year ago)
Author:
agr
Message:

platforms license update

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • nano-RK/src/platform/firefly2_1/include/hal.h

    r1 r236  
    1 /******************************************************************************************************* 
    2  *                                                                                                     * 
    3  *        **********                                                                                   * 
    4  *       ************                                                                                  * 
    5  *      ***        ***                                                                                 * 
    6  *      ***   +++   ***                                                                                * 
    7  *      ***   + +   ***                                                                                * 
    8  *      ***   +                        CHIPCON HARDWARE ABSTRACTION LIBRARY FOR THE CC2420             * 
    9  *      ***   + +   ***                               Library header file                              * 
    10  *      ***   +++   ***                                                                                * 
    11  *      ***        ***                                                                                 * 
    12  *       ************                                                                                  * 
    13  *        **********                                                                                   * 
    14  *                                                                                                     * 
    15  ******************************************************************************************************* 
    16  * The Chipcon Hardware Abstraction Library is a collection of functions, macros and constants, which  * 
    17  * can be used to ease access to the hardware on the CC2420 and the target microcontroller.            * 
    18  *                                                                                                     * 
    19  * All HAL library macros and constants are defined here.                                              * 
    20  ******************************************************************************************************* 
    21  * Compiler: AVR-GCC                                                                                   * 
    22  * Target platform: CC2420DB, CC2420 + any ATMEGA MCU                                                  * 
    23  ******************************************************************************************************* 
    24  * Revision history:                                                                                   * 
    25  *  $Log: hal.h,v $ 
    26  *  Revision 1.2  2006/09/07 00:03:51  agr 
    27  *  Ctx swap?  Oh no... 
    28  * 
    29  *  Revision 1.1  2006/09/03 03:02:10  agr 
    30  *  added firefly2 platform dir 
    31  * 
    32  *  Revision 1.2  2006/08/17 21:19:48  agr 
    33  *  Refactored Code... This was huge... MAJOR Problems could happen... 
    34  * 
    35  *  Revision 1.1.1.1  2006/06/29 16:16:15  agr 
    36  *  Import from Source 
    37  * 
    38  *  Revision 1.2  2006/02/20 20:32:38  agr 
    39  *  updates with serial 
    40  * 
    41  *  Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    42  *  Import From Source 
    43  * 
    44  *  Revision 1.2  2006/01/02 19:57:56  agr 
    45  *  Smith chart stuff added. 
    46  * 
    47  *  Revision 1.1  2005/03/25 07:32:22  rtml 
    48  *  Added updated rf library with sample app. 
    49  * 
    50  *  Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    51  *  Import wispernet 
    52  * 
    53  *  Revision 1.2  2004/10/17 18:06:36  agr 
    54  *  sensor_demo now uses ultrasonic code. 
    55  * 
    56  *  Revision 1.1.1.1  2004/09/12 15:42:01  root 
    57  *  Imported Source 
    58  * 
    59  *  Revision 1.8  2004/03/30 14:59:03  mbr 
    60  *  Release for web 
    61  *   
    62  * 
    63  * 
    64  *******************************************************************************************************/ 
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team (mbr) 
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
    6527#ifndef HAL_H 
    6628#define HAL_H 
  • nano-RK/src/platform/firefly2_1/include/hal_firefly2.h

    r184 r236  
    1  /********************************************************************************************* 
    2  * Revision history:          
    3  * 
    4  *  $Log: hal_firefly2.h,v $ 
    5  *  Revision 1.6  2007/02/04 22:23:18  agr 
    6  *  makefile changes 
    7  * 
    8  *  Revision 1.5  2007/02/02 20:17:08  agr 
    9  *  error codes updated 
    10  * 
    11  *  Revision 1.4  2006/10/11 18:13:14  agr 
    12  *  RT Link explicit time sync flag 
    13  * 
    14  *  Revision 1.3  2006/10/10 23:08:22  agr 
    15  *  Still 1ms slot drift... 
    16  * 
    17  *  Revision 1.2  2006/10/09 04:56:27  agr 
    18  *  more on rt-link 
    19  * 
    20  *  Revision 1.1  2006/09/03 03:02:10  agr 
    21  *  added firefly2 platform dir 
    22  * 
    23  *  Revision 1.1.1.1  2006/06/29 16:16:15  agr 
    24  *  Import from Source 
    25  * 
    26  *  Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    27  *  Import From Source 
    28  * 
    29  *  Revision 1.2  2006/01/02 19:57:56  agr 
    30  *  Smith chart stuff added. 
    31  * 
    32  *  Revision 1.1  2005/03/25 07:32:22  rtml 
    33  *  Added updated rf library with sample app. 
    34  * 
    35  *  Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    36  *  Import wispernet 
    37  * 
    38  *  Revision 1.11  2004/04/05 14:52:58  jol 
    39  *  The red and yellow LEDs in the SET_LED_MASK(n) macro have been switched (wrong in the previous version) 
    40  * 
    41  *  Revision 1.10  2004/03/31 11:07:29  oyj 
    42  *  Added postfix _UART1 to pins CTS and RTS throughout the file 
    43  *  (error in previous revision) 
    44  * 
    45  *  Revision 1.9  2004/03/30 14:59:03  mbr 
    46  *  Release for web 
    47  *   
    48  * 
    49  * 
    50  * 
    51  *********************************************************************************************/ 
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team 
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
     27 
    5228#ifndef HAL_FIREFLY2_H 
    5329#define HAL_FIREFLY2_H 
  • nano-RK/src/platform/firefly2_1/include/include.h

    r51 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team  
     24*******************************************************************************/ 
     25 
     26 
    127#ifndef INCLUDE_H 
    228#define INCLUDE_H 
  • nano-RK/src/platform/firefly2_1/include/nrk_pin_define.h

    r69 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Nuno Pereira  
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
     27 
    128#ifndef NRK_PIN_DEFINE_H 
    229#define NRK_PIN_DEFINE_H 
  • nano-RK/src/platform/firefly2_1/include/nrk_platform_time.h

    r160 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Anthony Rowe 
     24*******************************************************************************/ 
     25 
    126#ifndef NRK_PLATFORM_TIME_H 
    227#define NRK_PLATFORM_TIME_H 
  • nano-RK/src/platform/firefly2_2/include/hal.h

    r221 r236  
    1 /******************************************************************************************************* 
    2  *                                                                                                     * 
    3  *        **********                                                                                   * 
    4  *       ************                                                                                  * 
    5  *      ***        ***                                                                                 * 
    6  *      ***   +++   ***                                                                                * 
    7  *      ***   + +   ***                                                                                * 
    8  *      ***   +                        CHIPCON HARDWARE ABSTRACTION LIBRARY FOR THE CC2420             * 
    9  *      ***   + +   ***                               Library header file                              * 
    10  *      ***   +++   ***                                                                                * 
    11  *      ***        ***                                                                                 * 
    12  *       ************                                                                                  * 
    13  *        **********                                                                                   * 
    14  *                                                                                                     * 
    15  ******************************************************************************************************* 
    16  * The Chipcon Hardware Abstraction Library is a collection of functions, macros and constants, which  * 
    17  * can be used to ease access to the hardware on the CC2420 and the target microcontroller.            * 
    18  *                                                                                                     * 
    19  * All HAL library macros and constants are defined here.                                              * 
    20  ******************************************************************************************************* 
    21  * Compiler: AVR-GCC                                                                                   * 
    22  * Target platform: CC2420DB, CC2420 + any ATMEGA MCU                                                  * 
    23  ******************************************************************************************************* 
    24  * Revision history:                                                                                   * 
    25  *  $Log: hal.h,v $ 
    26  *  Revision 1.1  2007/01/03 23:16:42  agr 
    27  *  FireFly2_2 Platform files to support the atmega1281 now. 
    28  * 
    29  *  Revision 1.2  2006/09/07 00:03:51  agr 
    30  *  Ctx swap?  Oh no... 
    31  * 
    32  *  Revision 1.1  2006/09/03 03:02:10  agr 
    33  *  added firefly2 platform dir 
    34  * 
    35  *  Revision 1.2  2006/08/17 21:19:48  agr 
    36  *  Refactored Code... This was huge... MAJOR Problems could happen... 
    37  * 
    38  *  Revision 1.1.1.1  2006/06/29 16:16:15  agr 
    39  *  Import from Source 
    40  * 
    41  *  Revision 1.2  2006/02/20 20:32:38  agr 
    42  *  updates with serial 
    43  * 
    44  *  Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    45  *  Import From Source 
    46  * 
    47  *  Revision 1.2  2006/01/02 19:57:56  agr 
    48  *  Smith chart stuff added. 
    49  * 
    50  *  Revision 1.1  2005/03/25 07:32:22  rtml 
    51  *  Added updated rf library with sample app. 
    52  * 
    53  *  Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    54  *  Import wispernet 
    55  * 
    56  *  Revision 1.2  2004/10/17 18:06:36  agr 
    57  *  sensor_demo now uses ultrasonic code. 
    58  * 
    59  *  Revision 1.1.1.1  2004/09/12 15:42:01  root 
    60  *  Imported Source 
    61  * 
    62  *  Revision 1.8  2004/03/30 14:59:03  mbr 
    63  *  Release for web 
    64  *   
    65  * 
    66  * 
    67  *******************************************************************************************************/ 
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team  
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
     27 
    6828#ifndef HAL_H 
    6929#define HAL_H 
  • nano-RK/src/platform/firefly2_2/include/hal_firefly2_2.h

    r226 r236  
    1  /********************************************************************************************* 
    2  * Revision history:          
    3  * 
    4  *  $Log: hal_firefly2_2.h,v $ 
    5  *  Revision 1.1  2007/01/03 23:16:42  agr 
    6  *  FireFly2_2 Platform files to support the atmega1281 now. 
    7  * 
    8  *  Revision 1.4  2006/10/11 18:13:14  agr 
    9  *  RT Link explicit time sync flag 
    10  * 
    11  *  Revision 1.3  2006/10/10 23:08:22  agr 
    12  *  Still 1ms slot drift... 
    13  * 
    14  *  Revision 1.2  2006/10/09 04:56:27  agr 
    15  *  more on rt-link 
    16  * 
    17  *  Revision 1.1  2006/09/03 03:02:10  agr 
    18  *  added firefly2 platform dir 
    19  * 
    20  *  Revision 1.1.1.1  2006/06/29 16:16:15  agr 
    21  *  Import from Source 
    22  * 
    23  *  Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    24  *  Import From Source 
    25  * 
    26  *  Revision 1.2  2006/01/02 19:57:56  agr 
    27  *  Smith chart stuff added. 
    28  * 
    29  *  Revision 1.1  2005/03/25 07:32:22  rtml 
    30  *  Added updated rf library with sample app. 
    31  * 
    32  *  Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    33  *  Import wispernet 
    34  * 
    35  *  Revision 1.11  2004/04/05 14:52:58  jol 
    36  *  The red and yellow LEDs in the SET_LED_MASK(n) macro have been switched (wrong in the previous version) 
    37  * 
    38  *  Revision 1.10  2004/03/31 11:07:29  oyj 
    39  *  Added postfix _UART1 to pins CTS and RTS throughout the file 
    40  *  (error in previous revision) 
    41  * 
    42  *  Revision 1.9  2004/03/30 14:59:03  mbr 
    43  *  Release for web 
    44  *   
    45  * 
    46  * 
    47  * 
    48  *********************************************************************************************/ 
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21
     22*  Contributing Authors (specific to this file): 
     23*  Anthony Rowe 
     24*******************************************************************************/ 
     25 
     26 
    4927#ifndef HAL_FIREFLY2_2_H 
    5028#define HAL_FIREFLY2_2_H 
  • nano-RK/src/platform/firefly2_2/include/include.h

    r221 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team 
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
     27 
    128#ifndef INCLUDE_H 
    229#define INCLUDE_H 
  • nano-RK/src/platform/firefly2_2/include/nrk_pin_define.h

    r224 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Nuno Pereira 
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
     27 
    128#ifndef NRK_PIN_DEFINE_H 
    229#define NRK_PIN_DEFINE_H 
  • nano-RK/src/platform/firefly2_2/include/nrk_platform_time.h

    r168 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Anthony Rowe 
     24*  Zane Starr 
     25*  Anand Eswaren 
     26*******************************************************************************/ 
     27 
    128#ifndef NRK_PLATFORM_TIME_H 
    229#define NRK_PLATFORM_TIME_H 
  • nano-RK/src/platform/firefly2_2/source/hal_wait.c

    r221 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team  
     24*******************************************************************************/ 
     25 
     26 
    127#include <include.h> 
    228 
  • nano-RK/src/platform/firefly2_2/source/ulib.c

    r226 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Anthony Rowe 
     24*  Nuno Pereira 
     25*  Zane Starr 
     26*******************************************************************************/ 
     27 
    128#include <include.h> 
    229#include <ulib.h> 
  • nano-RK/src/platform/include/ulib.h

    r120 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13* 
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18* 
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21* 
     22*  Contributing Authors (specific to this file): 
     23*  Anthony Rowe 
     24*  Nuno Pereira  
     25*******************************************************************************/ 
     26 
     27 
    128#ifndef ULIB_H 
    229#define ULIB_H 
  • nano-RK/src/platform/micaZ/include/hal.h

    r221 r236  
    1 /******************************************************************************************************* 
    2  *                                                                                                     * 
    3  *        **********                                                                                   * 
    4  *       ************                                                                                  * 
    5  *      ***        ***                                                                                 * 
    6  *      ***   +++   ***                                                                                * 
    7  *      ***   + +   ***                                                                                * 
    8  *      ***   +                        CHIPCON HARDWARE ABSTRACTION LIBRARY FOR THE CC2420             * 
    9  *      ***   + +   ***                               Library header file                              * 
    10  *      ***   +++   ***                                                                                * 
    11  *      ***        ***                                                                                 * 
    12  *       ************                                                                                  * 
    13  *        **********                                                                                   * 
    14  *                                                                                                     * 
    15  ******************************************************************************************************* 
    16  * The Chipcon Hardware Abstraction Library is a collection of functions, macros and constants, which  * 
    17  * can be used to ease access to the hardware on the CC2420 and the target microcontroller.            * 
    18  *                                                                                                     * 
    19  * All HAL library macros and constants are defined here.                                              * 
    20  ******************************************************************************************************* 
    21  * Compiler: AVR-GCC                                                                                   * 
    22  * Target platform: CC2420DB, CC2420 + any ATMEGA MCU                                                  * 
    23  ******************************************************************************************************* 
    24  * 
    25  * 
    26  *******************************************************************************************************/ 
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team 
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
     27 
    2728#ifndef HAL_H 
    2829#define HAL_H 
  • nano-RK/src/platform/micaZ/include/hal_micaZ.h

    r221 r236  
    1 /******************************************************************************************************* 
    2  *                                                                                                     * 
    3  *        **********                                                                                   * 
    4  *       ************                                                                                  * 
    5  *      ***        ***                                                                                 * 
    6  *      ***   +++   ***                                                                                * 
    7  *      ***   + +   ***                                                                                * 
    8  *      ***   +                        CHIPCON HARDWARE ABSTRACTION LIBRARY FOR THE CC2420             * 
    9  *      ***   + +   ***                             CC2420DB defintion file                            * 
    10  *      ***   +++   ***                                                                                * 
    11  *      ***        ***                                                                                 * 
    12  *       ************                                                                                  * 
    13  *        **********                                                                                   * 
    14  *                                                                                                     * 
    15  ******************************************************************************************************* 
    16  * The Chipcon Hardware Abstraction Library is a collection of functions, macros and constants, which  * 
    17  * can be used to ease access to the hardware on the CC2420 and the target microcontroller.            * 
    18  *                                                                                                     * 
    19  * This file contains all definitions that are specific for the CC2420DB development platform.         * 
    20  ******************************************************************************************************* 
    21  * Compiler: AVR-GCC                                                                                   * 
    22  * Target platform: CC2420DB                                                                           * 
    23  ******************************************************************************************************* 
    24  * Revision history:                                                                                   * 
    25  *  $Log: hal_micaZ.h,v $ 
    26  *  Revision 1.2  2006/10/11 18:13:14  agr 
    27  *  RT Link explicit time sync flag 
    28  * 
    29  *  Revision 1.1.1.1  2006/06/29 16:16:15  agr 
    30  *  Import from Source 
    31  * 
    32  *  Revision 1.1.1.1  2006/02/02 04:41:48  agr 
    33  *  Import From Source 
    34  * 
    35  *  Revision 1.2  2006/01/02 19:57:56  agr 
    36  *  Smith chart stuff added. 
    37  * 
    38  *  Revision 1.1  2005/03/25 07:32:22  rtml 
    39  *  Added updated rf library with sample app. 
    40  * 
    41  *  Revision 1.1.1.1  2005/03/23 18:50:51  agr 
    42  *  Import wispernet 
    43  * 
    44  *  Revision 1.11  2004/04/05 14:52:58  jol 
    45  *  The red and yellow LEDs in the SET_LED_MASK(n) macro have been switched (wrong in the previous version) 
    46  * 
    47  *  Revision 1.10  2004/03/31 11:07:29  oyj 
    48  *  Added postfix _UART1 to pins CTS and RTS throughout the file 
    49  *  (error in previous revision) 
    50  * 
    51  *  Revision 1.9  2004/03/30 14:59:03  mbr 
    52  *  Release for web 
    53  *   
    54  * 
    55  * 
    56  * 
    57  *******************************************************************************************************/ 
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13
     14*  This program is distributed in the hope that it will be useful, 
     15*  but WITHOUT ANY WARRANTY; without even the implied warranty of 
     16*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     17*  GNU General Public License for more details. 
     18
     19*  You should have received a copy of the GNU General Public License 
     20*  along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     21
     22*  Contributing Authors (specific to this file): 
     23*  Chipcon Development Team 
     24*  Anthony Rowe 
     25*******************************************************************************/ 
     26 
     27 
    5828#ifndef HAL_MICAZ_H 
    5929#define HAL_MICAZ_H 
  • nano-RK/src/platform/micaZ/include/include.h

    r221 r236  
     1/****************************************************************************** 
     2*  Nano-RK, a real-time operating system for sensor networks. 
     3*  Copyright (C) 2007, Real-Time and Multimedia Lab, Carnegie Mellon University 
     4*  All rights reserved. 
     5* 
     6*  This is the Open Source Version of Nano-RK included as part of a Dual 
     7*  Licensing Model. If you are unsure which license to use please refer to: 
     8*  http://www.nanork.org/nano-RK/wiki/Licensing 
     9* 
     10*  This program is free software: you can redistribute it and/or modify 
     11*  it under the terms of the GNU General Public License as published by 
     12*  the Free Software Foundation, version 2.0 of the License. 
     13*