This commit is contained in:
pvvx 2017-06-21 03:00:20 +03:00
parent 34d3652711
commit 39f77eb92b
1844 changed files with 899433 additions and 7 deletions

View file

@ -0,0 +1,14 @@
Example Description
This example describes how to use wlan interface.
PIN assignment
Wlan is natively support and external gpio pin assign is not required.
User Mamnual
Detail information for how to use wi-fi can be found in
AN0025 Realtek at command

View file

@ -0,0 +1,29 @@
#include "FreeRTOS.h"
#include "task.h"
#include "diag.h"
#include "main.h"
extern void wlan_netowrk(void);
extern void console_init(void);
/**
* @brief Main program.
* @param None
* @retval None
*/
void main(void)
{
console_init();
#if defined(CONFIG_WIFI_NORMAL) && defined(CONFIG_NETWORK)
wlan_network();
#endif
//3 3)Enable Schedule, Start Kernel
#if defined(CONFIG_KERNEL) && !TASK_SCHEDULER_DISABLED
#ifdef PLATFORM_FREERTOS
vTaskStartScheduler();
#endif
#else
RtlConsolTaskRom(NULL);
#endif
}