Hrishikesh Dhayagude
29ec0339f6
components/bt: Fix a probable memory leak for BTA_GATTS_CONF_EVT event
...
Multiple modules register their callback BTA_GATTS_AppRegister().
If any of the callbacks do not free the allocated pointer in
BTA_GATTS_CONF_EVT event, then this can result in memory leak.
So, free the pointer after the callback function is called and remove
the calls to free in the callback functions as it is now not required
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-08-25 16:26:37 +00:00
He Yin Ling
b14e87a605
Merge branch 'test/fix_test_summary_duplicate' into 'master'
...
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
See merge request idf/esp-idf!3079
2018-08-25 10:22:40 +08:00
He Yin Ling
783d63488b
Merge branch 'bugfix/multi_case_test' into 'master'
...
test: fix the multi device stop thread bug
See merge request idf/esp-idf!3039
2018-08-24 19:54:34 +08:00
chensheng
ef0287de7d
fix bug BTSTK_GAP_14007,BTSTK_GAP_14008,BTSTK_GAP_14009 duplicate summary
2018-08-24 14:25:24 +08:00
Angus Gratton
c7f4fae8d0
Merge branch 'feature/python_future' into 'master'
...
Add python-future by using python requirements file
See merge request idf/esp-idf!2973
2018-08-24 08:04:18 +08:00
Ivan Grokhotkov
7abed5fc9e
Merge branch 'fix/spi_dma_config_in_iram' into 'master'
...
SPI: put dma config and slave functions into IRAM
See merge request idf/esp-idf!3038
2018-08-23 22:03:28 +08:00
He Yin Ling
9699e3f926
Merge branch 'test/add_mesh_recreate_network_case_to_known_issue' into 'master'
...
test: add mesh recreate network case as known issue
See merge request idf/esp-idf!3066
2018-08-23 19:12:08 +08:00
He Yin Ling
32171da525
test: disable mesh recreate network test:
...
We have fixed a bug in test script. Before that, we didn't do strict check when generate the mesh tree, which makes the test pass.
Temp disable these cases, to let CI pass before bug fixed.
2018-08-23 17:49:59 +08:00
Roland Dobai
52d11dcfb0
docs: make the use of pip install clear
2018-08-23 11:41:56 +02:00
Roland Dobai
74fe7c82ae
bootloader: Don't use check_python_dependencies in the bootloader command
2018-08-23 11:41:40 +02:00
houchenyao
df83323ee3
bugfix:fix the multi device stop thread bug
2018-08-23 08:51:16 +00:00
Angus Gratton
1d2bcb77af
make: Don't invoke check_python_dependencies in bootloader subproject
2018-08-23 08:28:57 +02:00
Angus Gratton
31ae3fe683
make: Use order-only prereq to check python dependencies
2018-08-23 08:28:57 +02:00
morris
1a79900970
translated some parts in get-started section to zh_CN
...
1. "install required python packages" in docs/zh_CN/get-started/index.rst
2. docs/zh_CN/get-started/linux-setup-scratch.rst
3. docs/zh_CN/get-started/linux-setup.rst
4. docs/zh_CN/get-started/macos-setup-scratch.rst
5. docs/zh_CN/get-started/macos-setup.rst
2018-08-23 08:28:57 +02:00
Roland Dobai
62cad3a7d7
Add python-future by using python requirements file
2018-08-23 08:28:57 +02:00
Michael (XIAO Xufeng)
4f87a62f18
spi_slave: add new menuconfig item to decide whether spi slave should be put into IRAM
2018-08-23 05:21:49 +00:00
Michael (XIAO Xufeng)
e3557b57be
spi: fix the issue that spi cannot be used when flash is disabled
...
The dma configuration function called in the ISR should be put into the IRAM.
Fixes https://github.com/espressif/esp-idf/issues/2307 .
2018-08-23 05:21:49 +00:00
Ivan Grokhotkov
88d40e01b4
Merge branch 'feature/rtc_slowclk_extra_options' into 'master'
...
Add more RTC_SLOW_CLK options
See merge request idf/esp-idf!2984
2018-08-23 11:27:14 +08:00
Jiang Jiang Jian
eb18122038
Merge branch 'bugfix/esp_bt_controller_mem_release' into 'master'
...
BT/BTDM memory release might fail if any of the memory regions is empty
See merge request idf/esp-idf!3031
2018-08-23 11:02:17 +08:00
Jiang Jiang Jian
33f0eadac9
Merge branch 'bugfix/timer_oneshot_timeout_twice' into 'master'
...
component/bt: Some timer oneshot will timeout twice
See merge request idf/esp-idf!2979
2018-08-23 10:41:53 +08:00
Ivan Grokhotkov
dda56ff55c
Merge branch 'bugfix/nvs_set_blob_bug' into 'master'
...
nvs_flash: Fix nvs_set_blob hang when partition is near to FULL
See merge request idf/esp-idf!3051
2018-08-23 10:27:20 +08:00
Angus Gratton
7c9439dcbf
Merge branch 'bugfix/wrover-kit-camera-socket-pinout' into 'master'
...
Corrected pinout of the Camera / J4 connector
See merge request idf/esp-idf!3054
2018-08-23 09:06:04 +08:00
Angus Gratton
8846b5fb64
Merge branch 'bugfix/freertos_task_delete' into 'master'
...
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
See merge request idf/esp-idf!3040
2018-08-22 19:39:21 +08:00
Ivan Grokhotkov
902344c516
Merge branch 'bugfix/trace_mem_layout_pro_cpu' into 'master'
...
soc: fix trace memory region for single core mode
See merge request idf/esp-idf!3029
2018-08-22 16:51:43 +08:00
Ivan Grokhotkov
50ce2b7d05
Merge branch 'feature/make-otadata' into 'master'
...
make dump_otadata: Displays app ota_seq and crc on console
See merge request idf/esp-idf!2901
2018-08-22 16:51:36 +08:00
Sachin Parekh
7a5400ce77
make dump_otadata: Displays app ota_seq and crc on console
2018-08-22 16:51:36 +08:00
Ivan Grokhotkov
9ab70d5379
Merge branch 'bugfix/http_write_data' into 'master'
...
esp_http_client: Fix minor bugs in `esp_http_client_write` and `esp_http_client_open` APIs
See merge request idf/esp-idf!2924
2018-08-22 16:49:29 +08:00
Ivan Grokhotkov
81d6c65379
Merge branch 'feature/esp_http_client_add_esp_tls' into 'master'
...
esp_http_client: Add esp-tls in esp_http_client
See merge request idf/esp-idf!2740
2018-08-22 16:48:35 +08:00
Ivan Grokhotkov
96971e3e9f
esp32: add support for 8MD256 and external 32k as slow clock options
2018-08-22 11:46:24 +08:00
Ivan Grokhotkov
5bf3654637
soc/rtc: Force power on 8M clock if it is used to derive RTC slow clock
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
8365f0f5d2
soc/rtc: add support for external 32k oscillator
...
Compared to external 32k XTAL, when active oscillator is used as input,
some parameters need to be set differently.
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
9efc06be0f
esp32/clk: remove unused code
...
When 32k XTAL was selected as clock source, if the first calibration
attempt failed, the code would fall back to 150kHz internal clock.
Calibration with the internal clock will always succeed.
Therefore `wait` would always be either 0 or 1. Based on this, some
code in this routine can be eliminated.
2018-08-22 11:33:20 +08:00
Ivan Grokhotkov
90f5456dba
Merge branch 'feature/rtc_cpu_freq_config' into 'master'
...
soc/rtc: Refactoring, support CPU frequencies lower than XTAL
See merge request idf/esp-idf!2856
2018-08-22 11:32:08 +08:00
krzychb
1857bca871
Corrected pinout of the Camera / J4 connector
2018-08-21 22:01:28 +02:00
Sagar Bijwe
911f96ad21
nvs_flash: Fix nvs_set_blob hang when partition is near to FULL
...
Marking a page full does not skip it from page selection process and the
same page might get returned if there is no other page with more unused
entries. Added a check for the same while storing blobs.
Fixes: https://github.com/espressif/esp-idf/issues/2313
2018-08-21 17:08:46 +05:30
Jitin George
4d6dcb71ce
esp_http_client: Add esp-tls APIs in SSL transport of esp_http_client
...
esp-tls APIs and SSL transport layer of esp_http_client try to
achieve similar things, so this is an effort to remove code redundancy.
2018-08-21 09:07:07 +00:00
Jitin George
7b56ae319d
esp-tls: Add support for network timeout
2018-08-21 09:07:07 +00:00
Jeroen Domburg
4eb28b9ace
Merge branch 'feature/spi_burst_desc' into 'master'
...
spi_master: change to DMA burst mode when access descriptors
See merge request idf/esp-idf!2824
2018-08-21 16:54:38 +08:00
Jeroen Domburg
9de884f586
Merge branch 'feat/spi_non_dma_64byte' into 'master'
...
spi_master: change high part config to allow transactions of 64 bytes
See merge request idf/esp-idf!3025
2018-08-21 16:53:37 +08:00
Ivan Grokhotkov
e3d76d13b4
docs: update power management section on esp_pm_configure
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
e59571eece
soc/rtc_clk: reduce data size by disabling CSWTCH generation
...
Saves about 200 bytes of DRAM at the expense of 4 bytes in IRAM.
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
db2f0f45be
soc/rtc_clk: split rtc_clk_init into separate object file
...
rtc_clk_init and related functions don’t need to be in IRAM/DRAM.
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
3cec686803
examples/power_save: set CPU frequencies in sdkconfig
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
bcf79e5cf2
tests: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
c722cf3e06
bootloader: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
bec70ce298
esp32: use new CPU frequency setting API
2018-08-21 13:02:46 +08:00
Ivan Grokhotkov
2e31cce390
soc/rtc: CPU frequency settings refactoring
...
Previous APIs used to set CPU frequency used CPU frequencies listed in
rtc_cpu_freq_t enumeration. This was problematic for two reasons.
First, supporting many possible frequency values obtained by dividing
XTAL frequency was hard, as every value would have to be listed in
the enumeration. Since different base XTAL frequencies are supported,
this further complicated things, since not all of these divided
frequencies would be valid for any given XTAL frequency. Second,
having to deal with enumeration values often involved switch
statements to convert between enumeration and MHz values, handle
PLL/XTAL frequencies separately, etc.
This change introduces rtc_cpu_freq_config_t structure, which contains
CPU frequency (in MHz) and information on how this frequency has to
be generated: clock source (XTAL/PLL), source frequency, clock
divider value. More fields can be added to this structure in the
future. This structure simplifies many parts of the code, since both
frequency value and frequency generation settings can be accessed in
any place in code without the need for conversions.
Additionally, this change adds setting of REF_TICK dividers to support
frequencies lower then XTAL with DFS.
2018-08-21 13:02:03 +08:00
Ivan Grokhotkov
05a5410033
esp_clk.h: add esp_clk_xtal_freq
...
This adds a user API for getting the XTAL frequency
2018-08-21 13:02:03 +08:00
Ivan Grokhotkov
a6a9484084
Merge branch 'feature/move_CONFIG_TCPIP_LWIP_to_menuconfig' into 'master'
...
tcpip_adapter: optimise tcpip_adapter and fix a bug in emac_dev.c
See merge request idf/esp-idf!3017
2018-08-21 11:37:15 +08:00
Ivan Grokhotkov
4dd7233b20
Merge branch 'feature/reset_reason' into 'master'
...
Add API to get reset reason
See merge request idf/esp-idf!2871
2018-08-21 11:34:12 +08:00