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
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
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
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
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
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
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
Angus Gratton
c5d6845c5a
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
...
Test was failing if task was allocating TCB & Stack memory from DMA only pool
which is not MALLOC_CAP_DEFAULT.
2018-08-21 12:19:33 +10:00
morris
b63f6a8a95
emac:optimise tcpip_adapter and fix emac_dev.c
...
1. move CONFIG_xx macros to Kconfig
2. fix a bug that make EMAC_DMAOPERATION_MODE_ERG mess
2018-08-20 19:52:48 +08:00
Jitin George
2122e5f83d
esp_http_client: Fix minor bugs in esp_http_client_write and esp_http_client_open APIs
...
`esp_http_client_write` API puts a constraint on the maximum length of the data that can be
written, which is equal to client handle buffer size, but the data to be sent can be more
than that, so in this case, this API has to be called multiple times.
In `esp_http_client_open` API, the return value of `transport_write` API, used to send HTTP
request, is not checked, and in rare cases, data written will be less than expected which will
cause a problem. So there are fixes for these minor issues in this MR.
2018-08-20 10:41:42 +00:00
Ivan Grokhotkov
8403adf4e0
docs: add API reference section for esp_system.h
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
3ef650cd46
esp32/test: add tests for reset reasons
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
0aa384d40c
esp32: add API to get reset reason
2018-08-20 16:49:20 +08:00
Ivan Grokhotkov
164e324fe2
Merge branch 'feature/bootloader_unit_tests' into 'master'
...
app_update: Add unit tests for ota, factory, test partitions
See merge request idf/esp-idf!2565
2018-08-17 14:39:50 +08:00
Jiang Jiang Jian
5ba0d6bde6
Merge branch 'bugfix/ut_bt_build_fix' into 'master'
...
bt: build unit tests only when CONFIG_BT_ENABLED=1
See merge request idf/esp-idf!3000
2018-08-16 19:49:14 +08:00
Jiang Jiang Jian
98eaa5c2ec
Merge branch 'docs/security' into 'master'
...
docs: Added more wordings to capture secure boot and flash encryption dependency.
See merge request idf/esp-idf!2947
2018-08-16 19:31:36 +08:00
Jiang Jiang Jian
00ef8bf726
Merge branch 'feature/decrease_bt_contrller_memory_with_new_mem_reserved' into 'master'
...
decrease bt contrller memory with new mem reserved
See merge request idf/esp-idf!2791
2018-08-16 19:12:44 +08:00
michael
404e99965d
spi_master: change high part config to allow transactions of 64 bytes
2018-08-16 18:55:09 +08:00
Angus Gratton
3012b0f887
Merge branch 'feature/nvs_multi_page_util' into 'master'
...
Bugfix: multi page blob creation was failing if only one entry was left in page
See merge request idf/esp-idf!2971
2018-08-16 15:23:11 +08:00
Shivani Tipnis
dfde105f25
Add support for input custom partition size
2018-08-16 11:54:46 +05:30
Shivani Tipnis
5ce40fce0c
Add nvs part gen utility multi page blob support update
2018-08-16 11:46:25 +05:30
Konstantin Kondrashov
1da0483619
app_update: Add unit tt pests for ota, factory, test partitions
2018-08-16 09:57:32 +05:00
Angus Gratton
4f227a4ce3
Merge branch 'bugfix/spiram_malloc_reserve_internal_fragments' into 'master'
...
esp32: Allow SPIRAM_MALLOC_RESERVE_INTERNAL to span multiple regions of memory
See merge request idf/esp-idf!2891
2018-08-16 11:19:39 +08:00
Tian Hao
ab73e0ff13
tools: fix ci example build report reassign warnning
2018-08-16 11:12:22 +08:00
Angus Gratton
ccd0c61ea1
Merge branch 'feature/rtc_wdt_api' into 'master'
...
soc/rtc_wdt: Add API functions for rtc_wdt
See merge request idf/esp-idf!2837
2018-08-16 08:19:12 +08:00
Mahavir Jain
0075e2f316
soc: fix trace memory region for single core mode
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-08-15 20:52:39 +05:30
Jiang Jiang Jian
020ade652d
Merge branch 'bugfix/tw24588_Android_get_IP_fail' into 'master'
...
fix the bug for Android phone getting IP fail when STA+AP mode
See merge request idf/esp-idf!3006
2018-08-15 11:47:13 +08:00
Konstantin Kondrashov
a8e46775c6
soc/rtc_wdt: Add API functions for rtc_wdt
...
Added functions:
rtc_wdt_protect_off/on
rtc_wdt_set_length_of_reset_signal
rtc_wdt_set_stage
rtc_wdt_set_time
rtc_wdt_feed
rtc_wdt_disable/enable
2018-08-14 17:48:02 +05:00
Liu Han
f3f0445f4d
mdns: Fix a portion of the queries are issued with the wildcard query type
2018-08-14 07:25:08 +00:00
zhangyanjiao
89601e0b9f
fix the bug for Android phone getting IP fail when STA+AP mode
2018-08-14 15:04:47 +08:00
Sagar Bijwe
b27773e87c
docs: Added more wordings to capture secure boot and flash encryption dependency.
2018-08-14 11:27:29 +05:30
Angus Gratton
08ae7ef9dc
Merge branch 'feature/ota_get_sha-256_of_partition' into 'master'
...
bootloader_support: Add API for getting sha256_of_partition
See merge request idf/esp-idf!2479
2018-08-14 11:32:39 +08:00
Tian Hao
ee787085f9
component/bt : decrease memory consumption by conn number
...
1. BLE only with 9(max) connection will decrease 3K DRAM
2. BR/EDR only with 7(max) connection will decrease 16K DRAM
3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption
4. Decrease one BLE connection will save about 1KB DRAM
5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM
6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM.
7. fix some definition and kconfig
8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K
9. modify BT Reserved Memory size and modify example to support new bt kconfig
2018-08-14 02:29:17 +00:00
Ivan Grokhotkov
c7fc5b1171
ulp: add tests for jumps instruction
2018-08-13 16:48:27 +00:00
Ivan Grokhotkov
7fca027355
bt: build unit tests only when CONFIG_BT_ENABLED=1
2018-08-13 17:38:37 +03:00