NEW VERSION: 1.1.0

1. Add pwm support;
2. Add c++ support; Please update to the latest folder "ld".
3. Add rand in libminic;
4. Add new reset reason REASON_EXT_SYS_RST in rst_reason;
5. Update the complied script ‘gen_misc.sh(bat)’, use the new boot and remove the old one;
6. Update folder "tools", and support CRC check of bin files;  Please update to the latest folder "tools".
7. Optimize the process procedure of Wi-Fi event;
8. Fix bugs in printf when its runs out of memory;
9. Fix bugs in malloc when CACHE is disabled;
10.Fix exception and WDT reset bugs when CACHE is disabled;
11.Fix some Wi-Fi connection bugs;
12.Fix some Wi-Fi scan bugs;
13.Tune API "wifi_station_get_connect_status" for more accurate WiFi positioning;
14.Porting the optimization of non-OS SDK to RTOS SDK;
15.Fix other minor bugs.
This commit is contained in:
Espressif Systems
2015-08-21 18:10:07 +08:00
parent a6d4f57172
commit c24c2a557d
34 changed files with 231 additions and 947 deletions

View File

@ -19,5 +19,6 @@
#include "smartconfig.h"
#include "spi_flash.h"
#include "pwm.h"
#endif

View File

@ -14,7 +14,8 @@ enum rst_reason {
REASON_EXCEPTION_RST,
REASON_SOFT_WDT_RST,
REASON_SOFT_RESTART,
REASON_DEEP_SLEEP_AWAKE
REASON_DEEP_SLEEP_AWAKE,
REASON_EXT_SYS_RST
};
struct rst_info{

19
include/espressif/pwm.h Normal file
View File

@ -0,0 +1,19 @@
#ifndef __PWM_H__
#define __PWM_H__
struct pwm_param {
uint32 period;
uint32 freq;
uint32 duty[8];
};
#define PWM_DEPTH 1023
void pwm_init(uint32 period, uint32 *duty, uint32 pwm_channel_num, uint32 (*pin_info_list)[3]);
void pwm_set_duty(uint32 duty, uint8 channel);
uint32 pwm_get_duty(uint8 channel);
void pwm_set_period(uint32 period);
uint32 pwm_get_period(void);
#endif

View File

@ -239,6 +239,11 @@
*/
#define TCP_SYNMAXRTX 3
/**
* TCP_LISTEN_BACKLOG: Enable the backlog option for tcp listen pcb.
*/
#define TCP_LISTEN_BACKLOG 1
/*
----------------------------------
---------- Pbuf options ----------
@ -377,7 +382,7 @@
/**
* SO_REUSE==1: Enable SO_REUSEADDR option.
*/
#define SO_REUSE 1
#define SO_REUSE 0
/*
----------------------------------------