ACKme Logo WiConnect Host Library- API Reference Guide
 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
target_config.h
1 
29 #pragma once
30 
31 
32 // The BAUD rate your PC/MAC/Linux terminal uses with the eval board
33 #define CONSOLE_BAUD 115200
34 
35 
36 // Uncomment this to enable WiConnect serial interface hardware flow control
37 // NOTE: your platform must support the serial flow control api functions
38 //#define ENABLE_FLOW_CONTROL
39 
40 
41 #define WICONNECT_INTERNAL_BUFFER_SIZE (4*1024)
42 #define WICONNECT_SERIAL_RX_BUFFER_SIZE (4*1024)
43 
44 #define DEFAULT_CMD_GETCHAR_TIMEOUT 250
45 #define DEFAULT_COMMAND_LINE_LENGTH_MAX 128
46 #define DEFAULT_COMMAND_MAX_HISTORY 16
47 #define DEFAULT_CMD_PROMPT_STR "> "
48 #define DEFAULT_COMMAND_MAX_ARGV 16
49 
50 #define TEST_NONBLOCKING_API false
51 #define TEST_BUFFER_LENGTH 4*1024
52 
53 
54 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
55 // Seabass Target Configuration
56 #ifdef TARGET_SEABASS
57 
58 #define WICONNECT_TX_PIN PA_9
59 #define WICONNECT_RX_PIN PA_10
60 #define WICONNECT_RESET_PIN PB_0
61 #define WICONNECT_WAKE_PIN NC
62 
63 #ifdef ENABLE_FLOW_CONTROL
64 #define WICONNECT_CTS_PIN PA_11
65 #define WICONNECT_RTS_PIN PA_12
66 #else
67 #define WICONNECT_CTS_PIN NC
68 #define WICONNECT_RTS_PIN NC
69 #endif
70 
71 #endif
72 
73 
74 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75 // Nucleo F401RE Target Configuration
76 #ifdef TARGET_NUCLEO_F401RE
77 
78 #define WICONNECT_TX_PIN PA_9
79 #define WICONNECT_RX_PIN PA_10
80 #define WICONNECT_RESET_PIN PC_7
81 #define WICONNECT_WAKE_PIN NC
82 
83 #ifdef ENABLE_FLOW_CONTROL
84 #define WICONNECT_CTS_PIN PA_11
85 #define WICONNECT_RTS_PIN PA_12
86 #else
87 #define WICONNECT_CTS_PIN NC
88 #define WICONNECT_RTS_PIN NC
89 #endif
90 
91 #endif
92