forked from espressif/esp-idf
Merge branch 'bugfix/github_small_prs' into 'master'
Small PR fixes from github Small bug fixes & typo corrections from github. See merge request !762
This commit is contained in:
@@ -412,7 +412,7 @@ esp_err_t gpio_pulldown_dis(gpio_num_t gpio_num);
|
|||||||
/**
|
/**
|
||||||
* @brief Install the driver's GPIO ISR handler service, which allows per-pin GPIO interrupt handlers.
|
* @brief Install the driver's GPIO ISR handler service, which allows per-pin GPIO interrupt handlers.
|
||||||
*
|
*
|
||||||
* This function is incompatible with gpio_isr_register() - if that function is used, a single global ISR is registered for all GPIO interrupts. If this function is used, the ISR service provides a global GPIO ISR and individual pin handlers are registered via the gpio_isr_register() function.
|
* This function is incompatible with gpio_isr_register() - if that function is used, a single global ISR is registered for all GPIO interrupts. If this function is used, the ISR service provides a global GPIO ISR and individual pin handlers are registered via the gpio_isr_handler_add() function.
|
||||||
*
|
*
|
||||||
* @param intr_alloc_flags Flags used to allocate the interrupt. One or multiple (ORred)
|
* @param intr_alloc_flags Flags used to allocate the interrupt. One or multiple (ORred)
|
||||||
* ESP_INTR_FLAG_* values. See esp_intr_alloc.h for more info.
|
* ESP_INTR_FLAG_* values. See esp_intr_alloc.h for more info.
|
||||||
|
@@ -129,8 +129,8 @@ typedef enum {
|
|||||||
UART_FRAME_ERR, /*!< UART RX frame error event*/
|
UART_FRAME_ERR, /*!< UART RX frame error event*/
|
||||||
UART_PARITY_ERR, /*!< UART RX parity event*/
|
UART_PARITY_ERR, /*!< UART RX parity event*/
|
||||||
UART_DATA_BREAK, /*!< UART TX data and break event*/
|
UART_DATA_BREAK, /*!< UART TX data and break event*/
|
||||||
|
UART_PATTERN_DET, /*!< UART pattern detected */
|
||||||
UART_EVENT_MAX, /*!< UART event max index*/
|
UART_EVENT_MAX, /*!< UART event max index*/
|
||||||
UART_PATTERN_DET, /*!< UART pattern detected */
|
|
||||||
} uart_event_type_t;
|
} uart_event_type_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -311,7 +311,7 @@ esp_err_t esp_wifi_deauth_sta(uint16_t aid);
|
|||||||
* @brief Scan all available APs.
|
* @brief Scan all available APs.
|
||||||
*
|
*
|
||||||
* @attention If this API is called, the found APs are stored in WiFi driver dynamic allocated memory and the
|
* @attention If this API is called, the found APs are stored in WiFi driver dynamic allocated memory and the
|
||||||
* will be freed in esp_wifi_get_ap_list, so generally, call esp_wifi_get_ap_list to cause
|
* will be freed in esp_wifi_scan_get_ap_records, so generally, call esp_wifi_scan_get_ap_records to cause
|
||||||
* the memory to be freed once the scan is done
|
* the memory to be freed once the scan is done
|
||||||
* @attention The values of maximum active scan time and passive scan time per channel are limited to 1500 milliseconds.
|
* @attention The values of maximum active scan time and passive scan time per channel are limited to 1500 milliseconds.
|
||||||
* Values above 1500ms may cause station to disconnect from AP and are not recommended.
|
* Values above 1500ms may cause station to disconnect from AP and are not recommended.
|
||||||
|
@@ -1803,6 +1803,7 @@ PROVIDE ( ets_set_user_start = 0x4000687c );
|
|||||||
PROVIDE ( ets_unpack_flash_code = 0x40007018 );
|
PROVIDE ( ets_unpack_flash_code = 0x40007018 );
|
||||||
PROVIDE ( ets_unpack_flash_code_legacy = 0x4000694c );
|
PROVIDE ( ets_unpack_flash_code_legacy = 0x4000694c );
|
||||||
PROVIDE ( rom_main = 0x400076c4 );
|
PROVIDE ( rom_main = 0x400076c4 );
|
||||||
|
PROVIDE ( ets_write_char_uart = 0x40007cf8 );
|
||||||
PROVIDE ( ets_install_putc1 = 0x40007d18 );
|
PROVIDE ( ets_install_putc1 = 0x40007d18 );
|
||||||
PROVIDE ( ets_install_putc2 = 0x40007d38 );
|
PROVIDE ( ets_install_putc2 = 0x40007d38 );
|
||||||
PROVIDE ( ets_install_uart_printf = 0x40007d28 );
|
PROVIDE ( ets_install_uart_printf = 0x40007d28 );
|
||||||
|
@@ -212,7 +212,10 @@ void panicHandler(XtExcFrame *frame)
|
|||||||
//debugcause if the cause is watchdog 1 and clearing it if it's watchdog 0.
|
//debugcause if the cause is watchdog 1 and clearing it if it's watchdog 0.
|
||||||
if (debugRsn&(1<<8)) {
|
if (debugRsn&(1<<8)) {
|
||||||
#if CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK
|
#if CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK
|
||||||
panicPutStr("Stack canary watchpoint triggered ");
|
const char *name = pcTaskGetTaskName(xTaskGetCurrentTaskHandleForCPU(core_id));
|
||||||
|
panicPutStr("Stack canary watchpoint triggered (");
|
||||||
|
panicPutStr(name);
|
||||||
|
panicPutStr(") ");
|
||||||
#else
|
#else
|
||||||
panicPutStr("Watchpoint 1 triggered ");
|
panicPutStr("Watchpoint 1 triggered ");
|
||||||
#endif
|
#endif
|
||||||
|
@@ -404,7 +404,7 @@ void ble_client_appRegister(void)
|
|||||||
|
|
||||||
ESP_LOGI(GATTC_TAG, "register callback");
|
ESP_LOGI(GATTC_TAG, "register callback");
|
||||||
|
|
||||||
//register the scan callback function to the gap moudule
|
//register the scan callback function to the gap module
|
||||||
if ((status = esp_ble_gap_register_callback(esp_gap_cb)) != ESP_OK) {
|
if ((status = esp_ble_gap_register_callback(esp_gap_cb)) != ESP_OK) {
|
||||||
ESP_LOGE(GATTC_TAG, "gap register error, error code = %x", status);
|
ESP_LOGE(GATTC_TAG, "gap register error, error code = %x", status);
|
||||||
return;
|
return;
|
||||||
|
@@ -226,7 +226,7 @@ class Monitor(object):
|
|||||||
self.serial_reader = SerialReader(self.serial, self.event_queue)
|
self.serial_reader = SerialReader(self.serial, self.event_queue)
|
||||||
self.elf_file = elf_file
|
self.elf_file = elf_file
|
||||||
self.make = make
|
self.make = make
|
||||||
self.toolchain_prefix = DEFAULT_TOOLCHAIN_PREFIX
|
self.toolchain_prefix = toolchain_prefix
|
||||||
self.menu_key = CTRL_T
|
self.menu_key = CTRL_T
|
||||||
self.exit_key = CTRL_RBRACKET
|
self.exit_key = CTRL_RBRACKET
|
||||||
|
|
||||||
@@ -473,7 +473,7 @@ def main():
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
pass # not running a make jobserver
|
pass # not running a make jobserver
|
||||||
|
|
||||||
monitor = Monitor(serial_instance, args.elf_file.name, args.make, args.eol)
|
monitor = Monitor(serial_instance, args.elf_file.name, args.make, args.toolchain_prefix, args.eol)
|
||||||
|
|
||||||
yellow_print('--- idf_monitor on {p.name} {p.baudrate} ---'.format(
|
yellow_print('--- idf_monitor on {p.name} {p.baudrate} ---'.format(
|
||||||
p=serial_instance))
|
p=serial_instance))
|
||||||
|
Reference in New Issue
Block a user