forked from ROMEO/obsw
thread safety in newlib, newer lwip, optimized ISR for UART, some more stuff
This commit is contained in:
@ -183,42 +183,9 @@ Zynq MPU. */
|
||||
#define configINTERRUPT_CONTROLLER_CPU_INTERFACE_OFFSET ( -0xf00 )
|
||||
#define configUNIQUE_INTERRUPT_PRIORITIES 32
|
||||
|
||||
/* Newlib support*/
|
||||
#define configUSE_NEWLIB_REENTRANT 1 // Required for thread-safety of newlib sprintf, strtok, etc...
|
||||
|
||||
|
||||
/****** Network configuration settings - only used when the lwIP example is
|
||||
built. See the page that documents this demo on the http://www.FreeRTOS.org
|
||||
website for more information. ***********************************************/
|
||||
|
||||
/* The priority for the task that unblocked by the MAC interrupt to process
|
||||
received packets. */
|
||||
#define configMAC_INPUT_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
|
||||
|
||||
/* The priority of the task that runs the lwIP stack. */
|
||||
#define configLWIP_TASK_PRIORITY ( configMAX_PRIORITIES - 2 )
|
||||
|
||||
/* The priority of the task that uses lwIP sockets to provide a simple command
|
||||
line interface. */
|
||||
#define configCLI_TASK_PRIORITY ( tskIDLE_PRIORITY )
|
||||
|
||||
/* MAC address configuration. */
|
||||
#define configMAC_ADDR0 0x00
|
||||
#define configMAC_ADDR1 0x13
|
||||
#define configMAC_ADDR2 0x14
|
||||
#define configMAC_ADDR3 0x15
|
||||
#define configMAC_ADDR4 0x15
|
||||
#define configMAC_ADDR5 0x16
|
||||
|
||||
/* IP address configuration. */
|
||||
#define configIP_ADDR0 172
|
||||
#define configIP_ADDR1 25
|
||||
#define configIP_ADDR2 218
|
||||
#define configIP_ADDR3 200
|
||||
|
||||
/* Netmask configuration. */
|
||||
#define configNET_MASK0 255
|
||||
#define configNET_MASK1 255
|
||||
#define configNET_MASK2 255
|
||||
#define configNET_MASK3 0
|
||||
|
||||
#endif /* FREERTOS_CONFIG_H */
|
||||
|
||||
|
Reference in New Issue
Block a user