feat(esp_event): examples use esp_event instead of old event process

This commit is contained in:
Dong Heng
2020-01-15 16:26:34 +08:00
parent 562e183216
commit 4dee04c03b
172 changed files with 1347 additions and 3443 deletions

View File

@ -22,10 +22,13 @@
#include "driver/uart.h"
#include "nano_console.h"
#include "esp_libc.h"
#include "esp_task.h"
#ifndef ESP_FACTORY_TEST_EXTRA_COMPONENTS
#ifndef CONFIG_ESP_CONSOLE_UART_NUM
#define CONFIG_ESP_CONSOLE_UART_NUM 0
#endif
#define TAG "factory-test"
@ -43,7 +46,7 @@ static void initialize_console()
* correct while APB frequency is changing in light sleep mode.
*/
uart_config_t uart_config = {
.baud_rate = CONFIG_CONSOLE_UART_BAUDRATE,
.baud_rate = CONFIG_ESP_CONSOLE_UART_BAUDRATE,
.data_bits = UART_DATA_8_BITS,
.parity = UART_PARITY_DISABLE,
.stop_bits = UART_STOP_BITS_1,