#include "lwip_sysboot_threadtype.h"#include <lwip/cglobals.h>#include <lwip/kernel_abs.h>#include <lwip/ADI_TOOLS_IOEThreadType.h>#include <lwip/sockets.h>#include <lwip/inet.h>#include <sys/exception.h>#include <services/services.h>#include <drivers/adi_dev.h>#include <stdio.h>#include <string.h>#include <drivers/adi_uart.h>#include "../../../driver/src/common/UARTconfig.h"#include "../../../driver/src/common/SPIsimpleio.h"#include "../../../driver/src/common/PPIconfig.h"#include "../../../driver/src/bf533/ppi_global.h"#include "../../../driver/src/common/GPIOconfig.h"#include "../../../driver/src/common/CAMconfig.h"#include "../../../driver/src/common/CAMdefault.h"#include <debug.h>#include "../../common/cmd/cmd.h"#include "../../common/term/TermUART.h"#include "../../common/stdio/BSstdio.h"#include "../../common/stdio/UARTstdio.h"#include "../../common/msd/SDcard.h"#include "../../common/msd/IDEconfig.h"#include "../../common/msd/devIDE.h"#include "../../common/msd/devSD.h"#include "../../common/msd/devUART.h"#include "../../common/msd/MSDmanager.h"#include "../../../../../BlackfinDriver/bf533/AMI_Config.h"#include "../../common/fs/fat/fat.h"#include "../../common/fs/fsfat.h"#include "../../common/fs/fsmgr.h"#include "../../common/fs/bsio.h"Defines | |
| #define | ETHER_STACK_SIZE 1024*1024*1 |
| #define | DEBUG_PRINT(msg, result) |
Functions | |
| int | system_init (void) |
| void | testGPIO (void) |
| int | testIn (void *pa_p) |
| int | testOut (int ch, void *pa_p) |
| void | hansi (T_UART_HANDLE h, unsigned char c) |
| int | testCmd (int argc, char **argv) |
| void | testPPIHandler (void *pa_pClientArg) |
| void | lwip_sysboot_threadtype_RunFunction (void **inPtr) |
| int | lwip_sysboot_threadtype_ErrorFunction (void **inPtr) |
| void | lwip_sysboot_threadtype_InitFunction (void **inPtr, VDK_ThreadCreationBlock *pTCB) |
| void | lwip_sysboot_threadtype_DestroyFunction (void **inPtr) |
Variables | |
| ADI_DEV_1D_BUFFER | InboundBuffer |
| ADI_DEV_1D_BUFFER | OutboundBuffer |
| u8 | InboundData |
| u8 | OutboundData |
| static ADI_INT_IMASK | imask_storage |
| static u8 | devmgr_storage [ADI_DEV_BASE_MEMORY+(ADI_DEV_DEVICE_MEMORY *4)] |
| static u8 | intmgr_storage [(ADI_INT_SECONDARY_MEMORY *8)] |
| static u8 | dcbmgr_storage [ADI_DCB_QUEUE_SIZE+(ADI_DCB_ENTRY_SIZE)*4] |
| ADI_ETHER_SUPPLY_MEM | memtable |
|
|
Value: { \
if(result) \
{ \
printf(msg); \
return -1; \
} \
}
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Add Application Code here |
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: {
BaseMemSize,sizeof(BaseMemSize)}
|
|
|
|
|
|
|
1.4.1