mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Add basic SAM4E driver.
Add ipconfigETHERNET_DRIVER_ADDS_UDP_CHECKSUM, ipconfigETHERNET_DRIVER_ADDS_IP_CHECKSUM, ipconfigETHERNET_DRIVER_CHECKS_IP_CHECKSUM and ipconfigETHERNET_DRIVER_CHECKS_UDP_CHECKSUM definitions.
This commit is contained in:
parent
0865907f3f
commit
cbb14d30c5
5 changed files with 398 additions and 58 deletions
|
@ -114,10 +114,10 @@ struct freertos_sockaddr
|
|||
|
||||
#define FreeRTOS_inet_ntoa( ulIPAddress, pucBuffer ) \
|
||||
sprintf( ( char * ) ( pucBuffer ), "%d.%d.%d.%d", \
|
||||
( ( ulIPAddress ) & 0xffUL ), \
|
||||
( ( ( ulIPAddress ) >> 8UL ) & 0xffUL ), \
|
||||
( ( ( ulIPAddress ) >> 16UL ) & 0xffUL ), \
|
||||
( ( ( ulIPAddress ) >> 24UL ) & 0xffUL ) )
|
||||
( int ) ( ( ulIPAddress ) & 0xffUL ), \
|
||||
( int ) ( ( ( ulIPAddress ) >> 8UL ) & 0xffUL ),\
|
||||
( int ) ( ( ( ulIPAddress ) >> 16UL ) & 0xffUL ),\
|
||||
( int ) ( ( ( ulIPAddress ) >> 24UL ) & 0xffUL ) )
|
||||
|
||||
#else /* ipconfigBYTE_ORDER */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue