Integrating the ublox LISA C200 modem
Fork of SprintUSBModemHTTPClientTest by
mbed-rtos/rtx/RTX_Conf.h@5:3f93dd1d4cb3, 2013-09-26 (annotated)
- Committer:
- sam_grove
- Date:
- Thu Sep 26 00:44:20 2013 -0500
- Revision:
- 5:3f93dd1d4cb3
Exported program and replaced contents of the repo with the source
to build and debug using keil mdk. Libs NOT upto date are lwip, lwip-sys
and socket. these have newer versions under mbed_official but were starting
from a know working point
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sam_grove | 5:3f93dd1d4cb3 | 1 | /*---------------------------------------------------------------------------- |
sam_grove | 5:3f93dd1d4cb3 | 2 | * RL-ARM - RTX |
sam_grove | 5:3f93dd1d4cb3 | 3 | *---------------------------------------------------------------------------- |
sam_grove | 5:3f93dd1d4cb3 | 4 | * Name: RTX_CONFIG.H |
sam_grove | 5:3f93dd1d4cb3 | 5 | * Purpose: Exported functions of RTX_Config.c |
sam_grove | 5:3f93dd1d4cb3 | 6 | * Rev.: V4.60 |
sam_grove | 5:3f93dd1d4cb3 | 7 | *---------------------------------------------------------------------------- |
sam_grove | 5:3f93dd1d4cb3 | 8 | * |
sam_grove | 5:3f93dd1d4cb3 | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2012 ARM Germany GmbH |
sam_grove | 5:3f93dd1d4cb3 | 10 | * All rights reserved. |
sam_grove | 5:3f93dd1d4cb3 | 11 | * Redistribution and use in source and binary forms, with or without |
sam_grove | 5:3f93dd1d4cb3 | 12 | * modification, are permitted provided that the following conditions are met: |
sam_grove | 5:3f93dd1d4cb3 | 13 | * - Redistributions of source code must retain the above copyright |
sam_grove | 5:3f93dd1d4cb3 | 14 | * notice, this list of conditions and the following disclaimer. |
sam_grove | 5:3f93dd1d4cb3 | 15 | * - Redistributions in binary form must reproduce the above copyright |
sam_grove | 5:3f93dd1d4cb3 | 16 | * notice, this list of conditions and the following disclaimer in the |
sam_grove | 5:3f93dd1d4cb3 | 17 | * documentation and/or other materials provided with the distribution. |
sam_grove | 5:3f93dd1d4cb3 | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
sam_grove | 5:3f93dd1d4cb3 | 19 | * to endorse or promote products derived from this software without |
sam_grove | 5:3f93dd1d4cb3 | 20 | * specific prior written permission. |
sam_grove | 5:3f93dd1d4cb3 | 21 | * |
sam_grove | 5:3f93dd1d4cb3 | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
sam_grove | 5:3f93dd1d4cb3 | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
sam_grove | 5:3f93dd1d4cb3 | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
sam_grove | 5:3f93dd1d4cb3 | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
sam_grove | 5:3f93dd1d4cb3 | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
sam_grove | 5:3f93dd1d4cb3 | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
sam_grove | 5:3f93dd1d4cb3 | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
sam_grove | 5:3f93dd1d4cb3 | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
sam_grove | 5:3f93dd1d4cb3 | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
sam_grove | 5:3f93dd1d4cb3 | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
sam_grove | 5:3f93dd1d4cb3 | 32 | * POSSIBILITY OF SUCH DAMAGE. |
sam_grove | 5:3f93dd1d4cb3 | 33 | *---------------------------------------------------------------------------*/ |
sam_grove | 5:3f93dd1d4cb3 | 34 | |
sam_grove | 5:3f93dd1d4cb3 | 35 | |
sam_grove | 5:3f93dd1d4cb3 | 36 | /* Error Codes */ |
sam_grove | 5:3f93dd1d4cb3 | 37 | #define OS_ERR_STK_OVF 1 |
sam_grove | 5:3f93dd1d4cb3 | 38 | #define OS_ERR_FIFO_OVF 2 |
sam_grove | 5:3f93dd1d4cb3 | 39 | #define OS_ERR_MBX_OVF 3 |
sam_grove | 5:3f93dd1d4cb3 | 40 | |
sam_grove | 5:3f93dd1d4cb3 | 41 | /* Definitions */ |
sam_grove | 5:3f93dd1d4cb3 | 42 | #define BOX_ALIGN_8 0x80000000 |
sam_grove | 5:3f93dd1d4cb3 | 43 | #define _declare_box(pool,size,cnt) U32 pool[(((size)+3)/4)*(cnt) + 3] |
sam_grove | 5:3f93dd1d4cb3 | 44 | #define _declare_box8(pool,size,cnt) U64 pool[(((size)+7)/8)*(cnt) + 2] |
sam_grove | 5:3f93dd1d4cb3 | 45 | #define _init_box8(pool,size,bsize) _init_box (pool,size,(bsize) | BOX_ALIGN_8) |
sam_grove | 5:3f93dd1d4cb3 | 46 | |
sam_grove | 5:3f93dd1d4cb3 | 47 | /* Variables */ |
sam_grove | 5:3f93dd1d4cb3 | 48 | extern U32 idle_task_stack[]; |
sam_grove | 5:3f93dd1d4cb3 | 49 | extern U32 os_fifo[]; |
sam_grove | 5:3f93dd1d4cb3 | 50 | extern void *os_active_TCB[]; |
sam_grove | 5:3f93dd1d4cb3 | 51 | |
sam_grove | 5:3f93dd1d4cb3 | 52 | /* Constants */ |
sam_grove | 5:3f93dd1d4cb3 | 53 | extern U16 const os_maxtaskrun; |
sam_grove | 5:3f93dd1d4cb3 | 54 | extern U32 const os_trv; |
sam_grove | 5:3f93dd1d4cb3 | 55 | extern U8 const os_flags; |
sam_grove | 5:3f93dd1d4cb3 | 56 | extern U32 const os_rrobin; |
sam_grove | 5:3f93dd1d4cb3 | 57 | extern U32 const os_clockrate; |
sam_grove | 5:3f93dd1d4cb3 | 58 | extern U32 const os_timernum; |
sam_grove | 5:3f93dd1d4cb3 | 59 | extern U16 const idle_task_stack_size; |
sam_grove | 5:3f93dd1d4cb3 | 60 | |
sam_grove | 5:3f93dd1d4cb3 | 61 | extern U8 const os_fifo_size; |
sam_grove | 5:3f93dd1d4cb3 | 62 | |
sam_grove | 5:3f93dd1d4cb3 | 63 | /* Functions */ |
sam_grove | 5:3f93dd1d4cb3 | 64 | extern void os_idle_demon (void); |
sam_grove | 5:3f93dd1d4cb3 | 65 | extern int os_tick_init (void); |
sam_grove | 5:3f93dd1d4cb3 | 66 | extern void os_tick_irqack (void); |
sam_grove | 5:3f93dd1d4cb3 | 67 | extern void os_tmr_call (U16 info); |
sam_grove | 5:3f93dd1d4cb3 | 68 | extern void os_error (U32 err_code); |
sam_grove | 5:3f93dd1d4cb3 | 69 | |
sam_grove | 5:3f93dd1d4cb3 | 70 | /*---------------------------------------------------------------------------- |
sam_grove | 5:3f93dd1d4cb3 | 71 | * end of file |
sam_grove | 5:3f93dd1d4cb3 | 72 | *---------------------------------------------------------------------------*/ |