mirror of
https://github.com/flyingcys/realtek_ameba.git
synced 2025-07-31 20:31:06 +00:00
update && del file
This commit is contained in:
parent
78a92ae102
commit
d3d446bf7c
854 changed files with 10 additions and 106715 deletions
|
|
@ -7,7 +7,6 @@ src = Split('''
|
|||
os/rtthread_service.c
|
||||
realtek/8711b/rtl8710b_startup.c
|
||||
realtek/8711b/app_start.c
|
||||
realtek/8711b/mbed/serial_api.c
|
||||
realtek/common/wifi/wifi_conf.c
|
||||
''')
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ static rt_uint8_t main_stack[RT_MAIN_THREAD_STACK_SIZE];
|
|||
struct rt_thread main_thread;
|
||||
#endif
|
||||
|
||||
extern int amebaz_wifi_start(void);
|
||||
|
||||
/* the system main thread */
|
||||
void main_thread_entry(void *parameter)
|
||||
{
|
||||
|
|
@ -34,6 +36,9 @@ void main_thread_entry(void *parameter)
|
|||
rt_components_init();
|
||||
#endif
|
||||
|
||||
if(amebaz_wifi_start() != RT_EOK)
|
||||
rt_kprintf("amebaz_wifi_start failed...\n");
|
||||
|
||||
/* invoke system main function */
|
||||
#if defined (__CC_ARM)
|
||||
$Super$$main(); /* for ARMCC. */
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1825,6 +1825,10 @@ void wifi_autoreconnect_hdl(rtw_security_t security_type,
|
|||
param.password_len = password_len;
|
||||
param.key_id = key_id;
|
||||
// xTaskCreate(wifi_autoreconnect_thread, (const char *)"wifi_autoreconnect", 512, ¶m, tskIDLE_PRIORITY + 1, NULL);
|
||||
|
||||
// rt_thread_t tid = rt_thread_create("autoconn", wifi_autoreconnect_thread, ¶m, 2048, RT_THREAD_PRIORITY_MAX - 2, 20);
|
||||
// if(tid != RT_NULL)
|
||||
// rt_thread_startup(tid);
|
||||
}
|
||||
|
||||
int wifi_config_autoreconnect(__u8 mode, __u8 retry_times, __u16 timeout)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue