1、fix lwip_tcp_demo and lwip_udp_demo error;2、add license for ethernet/netdev;3、add netdev for xiwangtong、ok1052、imxrt1176 board。
This commit is contained in:
@@ -1,3 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2022, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2019-03-18 ChenYong First version
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file netdev_manipulate.c
|
||||
* @brief register net dev function
|
||||
* @version 3.0
|
||||
* @author AIIT XUOS Lab
|
||||
* @date 2023-08-07
|
||||
*/
|
||||
|
||||
/*************************************************
|
||||
File name: netdev_manipulate.c
|
||||
Description: register net dev function
|
||||
Others: take RT-Thread v4.0.2/components/driver/serial/serial.c for references
|
||||
https://github.com/RT-Thread/rt-thread/tree/v4.0.2
|
||||
History:
|
||||
1. Date: 2023-08-07
|
||||
Author: AIIT XUOS Lab
|
||||
Modification:
|
||||
1. support net dev set-ip, set-netmask, set-gw, set-addr-callback, set-status-callback, set-up and set-down
|
||||
*************************************************/
|
||||
|
||||
#include <netdev.h>
|
||||
#include <string.h>
|
||||
#include <xs_isr.h>
|
||||
|
||||
Reference in New Issue
Block a user