NRF: receive, ntp, Data to Sd-card working

Dependencies:   F7_Ethernet mbed BSP_DISCO_F746NG Test_Mainboard SDFileSystem RF24

Committer:
lowlowry
Date:
Sun Jun 20 13:48:06 2021 +0000
Revision:
4:5ecb71f149bf
Parent:
0:d984976f1f1c
NRF: receive, ntp, Data to Sd-card working

Who changed what in which revision?

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