Konstantin Kondrashov
95b6273c7c
efuse: Fix docs and script
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
cc094ba789
efuse: Fix python coding style
...
Set python's scripts attribute chmod
Add compatibility with Python3 for efuse_table_gen.py
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
a5fa3b6965
CI: Add host tests
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
303d17792a
efuse: Add a write/read protection
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
b8141f3ad8
efuse: Fix make/cmake build systems and docs
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
9822055851
efuse: Add support coding scheme to script
...
Added support using BLK1 and BLK2 in custom table.
Added change size key in BLK1 and BLK2 if coding scheme was changed.
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
693a5c209b
efuse: Add API efuse
...
Added support 3/4 coding scheme
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
91676b8620
build_system: Add support efuse
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
ba903e7618
docs: Add efuse
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
d82023bf06
soc: Add support efuse
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
ed179ade8d
esp32: Add using efuse component
2019-02-28 07:31:29 +00:00
Konstantin Kondrashov
7626145e6d
bootloader: Add support efuse component
2019-02-28 07:31:29 +00:00
Jiang Jiang Jian
c05a39de02
Merge branch 'bugfix/fix_scan_bugs_and_alloc_eb_fail' into 'master'
...
wifi: fix scan bugs and alloc eb fail
See merge request idf/esp-idf!4373
2019-02-28 13:34:51 +08:00
Ivan Grokhotkov
f746b0d761
Merge branch 'bugfix/pthread_thread_size' into 'master'
...
pthread: Transform the units of the stack size to the FreeRTOS domain
Closes IDFGH-603
See merge request idf/esp-idf!4375
2019-02-28 10:24:34 +08:00
Angus Gratton
ea9b8c3745
Merge branch 'feature/sniffer_app_trace' into 'master'
...
capture WiFi packets to host via JTAG
See merge request idf/esp-idf!4203
2019-02-28 07:38:52 +08:00
Angus Gratton
19fd436e88
Merge branch 'esp_http_server/lru_counter_for_timestamp' into 'master'
...
esp_http_server/lru_counter_for_timestamp:Added LRU counter for timer
See merge request idf/esp-idf!4205
2019-02-28 07:04:21 +08:00
Roland Dobai
314c77609e
pthread: Transform the units of the stack size to the FreeRTOS domain
...
Closes https://github.com/espressif/esp-idf/issues/3015
2019-02-27 12:21:23 +01:00
zhangyanjiao
4ea4d4744c
wifi:
...
1. make menuconfig can set the WiFi mgmt short buffer num
2. fix several scan bugs
2019-02-27 18:31:32 +08:00
Jeroen Domburg
a52ba8df7d
Merge branch 'bugfix/make_get_coreid_volatile' into 'master'
...
freertos: Make xPortGetCoreID() volatile
See merge request idf/esp-idf!4359
2019-02-27 17:58:57 +08:00
Jiang Jiang Jian
484d8ab7ed
Merge branch 'bugfix/btdm_fix_remove_bonded_device_warnning' into 'master'
...
Component/bt: fix remove bonded device warnning
See merge request idf/esp-idf!3704
2019-02-27 17:54:37 +08:00
Jiang Jiang Jian
9a1bbcfa1a
Merge branch 'bugfix/ble_reconn_rescan_readv_crash' into 'master'
...
component/bt : fix bug that there's low ratio crash when BLE do re-connect/re-scan/re-adv
See merge request idf/esp-idf!4324
2019-02-27 17:37:46 +08:00
Jiang Jiang Jian
ebca3e27b1
Merge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'
...
fix the bug in tcp_client
See merge request idf/esp-idf!4330
2019-02-27 16:44:00 +08:00
Angus Gratton
42f64e9a93
Merge branch 'bugfix/tw28146_make_wifi_iram_optimization_configurable' into 'master'
...
esp32: make WiFi IRAM optimization configurable
See merge request idf/esp-idf!4037
2019-02-27 16:33:05 +08:00
Angus Gratton
590825824d
Merge branch 'feature/embed_elf_sha256' into 'master'
...
build system: include SHA256 hash of ELF file into app_desc structure
See merge request idf/esp-idf!4093
2019-02-27 16:31:47 +08:00
morris
ae6d19b4fb
sniffer: capture packets to host via JTAG
...
Based on app-trace component, it's able to send sniffer packets to host via JTAG interface.
2019-02-27 16:20:13 +08:00
Ivan Grokhotkov
37b55a5eb5
esp32: print ELF file SHA256 in panic handler
2019-02-27 13:30:25 +08:00
Ivan Grokhotkov
ea52a19c00
build system: include SHA256 hash of ELF file into app_desc structure
2019-02-27 13:30:25 +08:00
Angus Gratton
a8b2e982e1
Merge branch 'example/freertos_real_time_stats' into 'master'
...
freertos: Add real time stats example
See merge request idf/esp-idf!4334
2019-02-27 13:22:59 +08:00
Angus Gratton
80f02cd0ea
Merge branch 'bugfix/bootloader_freq_check_runtime' into 'master'
...
bootloader: check previously used clock frequency at run time
See merge request idf/esp-idf!3827
2019-02-27 13:22:47 +08:00
Angus Gratton
fab11e1cec
Merge branch 'bugfix/cmake_psram_fix_flag' into 'master'
...
cmake: Fix psram workaround compiler flag application
See merge request idf/esp-idf!4335
2019-02-27 13:20:21 +08:00
Ivan Grokhotkov
1bc831f074
Merge branch 'bugfix/esp_timer_monotonic_test' into 'master'
...
esp_timer: fix occasional failures in "esp_timer_get_time returns monotonic values" test
See merge request idf/esp-idf!4340
2019-02-27 11:08:53 +08:00
Darian Leung
3576e54d79
freertos: Make xPortGetCoreID() volatile
...
When xPortGetCoreID() is called twice within a function,
it might only be called once after compilation. This
commit makes the inline assembly of the function volatile.
Closes #3093
2019-02-26 20:59:49 +08:00
Liu Zhi Fu
711173b3d6
esp32: make WiFi IRAM optimization configurable
...
With this feature, the WiFi IRAM optimization can be disabled/enabled via menuconfig.
2019-02-26 19:55:57 +08:00
xiehang
1e8b8d91a5
fix the bug in tcp_client
...
Closes https://github.com/espressif/esp-idf/issues/3058
2019-02-26 09:28:17 +00:00
Ivan Grokhotkov
8cc6226051
soc: define named constants for DPORT_CPUPERIOD_SEL values
2019-02-26 17:07:59 +08:00
Ivan Grokhotkov
178e5b25e6
bootloader: check previously used clock frequency at run time
...
In the situation when bootloader was compiled for 240MHz, and app was
compiled for 160MHz, and the chip is a revision 0 chip, the
bootloader will assume that the application has also been running at
240MHz. This will cause the chip to lock up later. Modify this to use
a run time check of DPORT_CPUPERIOD_SEL, which indicates which of the
PLL frequencies was used.
Closes https://github.com/espressif/esp-idf/issues/2731 .
2019-02-26 17:02:34 +08:00
Ivan Grokhotkov
dda0208614
soc/rtc_clk: don’t clear DPORT_CPUPERIOD_SEL when switching to XTAL
...
This is not necessary since RTC_CNTL_SOC_CLK_SEL is set before this.
2019-02-26 17:02:34 +08:00
Darian Leung
3e25d441a5
freertos: Add real time stats example
...
The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.
2019-02-26 14:34:53 +08:00
Ivan Grokhotkov
140b6e3893
Merge branch 'bugfix/nvs_hash_blocks_eager_cleanup' into 'master'
...
nvs: do eager cleanup of HashListBlocks
See merge request idf/esp-idf!4337
2019-02-26 12:28:10 +08:00
Angus Gratton
da390618c2
cmake: Fix psram workaround compiler flag application
...
Previously, this compiler flag was not being applied
regardless of CONFIG_SPIRAM_CACHE_WORKAROUND setting.
Explanation: add_compile_options() only applies to
source files added after the function is run, or in
subdirectories added after the function is run. In
this case, no new source files were being added after
this function was run.
2019-02-26 04:07:51 +00:00
Angus Gratton
3952d25a99
Merge branch 'feature/add_api_get_rmt_idle_level' into 'master'
...
feature(rmt): fixed some RMT related issues.
See merge request idf/esp-idf!3864
2019-02-26 11:57:10 +08:00
Angus Gratton
ca72c3e97b
Merge branch 'bugfix/fix_dig_gpio_unable_hold_bug' into 'master'
...
bugfix(gpio): fixed digital gpio unable hold bug during deep-sleep.
See merge request idf/esp-idf!3877
2019-02-26 11:56:27 +08:00
Angus Gratton
280d39aedd
Merge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'
...
bugfix(i2s): allow to use apll in pdm/adc/dac mode
See merge request idf/esp-idf!3800
2019-02-26 11:47:49 +08:00
Angus Gratton
b966ef9fcd
Merge branch 'bugfix/update_ledc_register_and_fix_fade_scale' into 'master'
...
Bugfix (ledc): Fixed ledc fade scale bug
See merge request idf/esp-idf!4109
2019-02-26 11:46:28 +08:00
Angus Gratton
a4edeee51b
Merge branch 'bugfix/btdm_fix_comment_error' into 'master'
...
Component/bt: fix comment error
See merge request idf/esp-idf!3769
2019-02-26 11:45:26 +08:00
Angus Gratton
28f5ca2371
Merge branch 'bugfix/idf_monitor_test' into 'master'
...
CI: Test IDF Monitor after it is ready to receive data
See merge request idf/esp-idf!4055
2019-02-26 11:12:58 +08:00
Angus Gratton
f614f5bfa9
Merge branch 'feature/http_server_err_handling' into 'master'
...
http_server : Add feature for invoking user configurable handlers during server errors
See merge request idf/esp-idf!4229
2019-02-26 11:12:06 +08:00
Ivan Grokhotkov
d3724dc35d
esp_timer: fix occasional failures in "monotonic values" test
...
1. ref_clock used in unit tests occasionally produces time off by ~100
microseconds shortly after being started. Add a delay to let
ref_clock stabilise, until the cause is found.
2. Reduce roundoff error accumulation which would occasionally cause
the test to fail, by choosing an overflow value which can be divided
by APB frequency.
3. Move time sampling part of the test into an IRAM function to
reduce variations due to cache behavior.
4. Remove calculation of "standard deviation" in the test, as what was
calculated was not actually standard deviation, and it did not add any
useful information.
2019-02-26 02:01:29 +00:00
Ivan Grokhotkov
dae40f4ff1
nvs: add a blob fragmentation test case
...
Ref. TW12937
2019-02-26 01:58:20 +00:00
Ivan Grokhotkov
02a76abb8b
nvs: do eager cleanup of HashListBlocks
...
Previously when HashList was removing items, HashListBlocks were
removed lazily. This resulted in empty HashListBlocks dangling around
in full pages, even when all items have been erased. These blocks
would only be deleted when NVS was re-initialized
(nvs_flash_deinit/nvs_flash_init).
This change does eager cleanup instead, based on the code from
@negativekelvin offered in
https://github.com/espressif/esp-idf/issues/1642#issuecomment-367227994 .
Closes https://github.com/espressif/esp-idf/issues/1642 .
2019-02-26 01:58:20 +00:00