Commit graph

13844 commits

Author SHA1 Message Date
wangcheng
d767adcbfa components/bt: Consider link_xmit_data_q in congest events to prevent excessive memory usage 2020-06-13 14:22:30 +08:00
David Čermák
3673c11d29 Merge branch 'feature/ws_timeout' into 'master'
websocket: add configurable timeout for PONG not received

Closes IDF-1744

See merge request espressif/esp-idf!8884
2020-06-12 21:29:54 +08:00
Marius Vikhammer
0049385850 websocket: add configurable timeout for PONG not received
Closes IDF-1744
2020-06-12 09:43:29 +00:00
Angus Gratton
1c09cb6769 Merge branch 'bugfix/doc_macro_definitions' into 'master'
doc: Fix macro definitions for different targets

See merge request espressif/esp-idf!8999
2020-06-12 16:37:41 +08:00
Michael (XIAO Xufeng)
fed1ab5f3e Merge branch 'bugfix/tusb_configure_pins' into 'master'
usb: fixed a typo in configure_pins

See merge request espressif/esp-idf!8992
2020-06-12 13:51:02 +08:00
Mahavir Jain
c533674120 simple_ota_example: add SPIRAM enabled configuration
This commit adds one example test case for OTA with SPIRAM
enabled configuration. Additionally it also keeps
`SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY` enabled to catch any issues
of sort "cache disabled but cached region accessed".

https://github.com/espressif/esp-idf/issues/5354
2020-06-12 05:45:02 +00:00
Mahavir Jain
d7e33d60fa Merge branch 'feature/httpd_low_level_apis' into 'master'
esp_http_server: Expose low level socket send/recv APIs

Closes IDFGH-1910

See merge request espressif/esp-idf!9084
2020-06-12 13:40:02 +08:00
Michael (XIAO Xufeng)
1e7d32b361 Merge branch 'bugfix/add_return_task_awoken_for_timer_callback' into 'master'
timer: add return task awoken for timer callback

See merge request espressif/esp-idf!9131
2020-06-12 13:32:57 +08:00
Angus Gratton
8193b188e8 driver: Fix some doxygen warnings 2020-06-12 14:31:37 +10:00
Angus Gratton
a171def1ba docs: Redirect all of Doxygen stderr to the warnings log
Some errors (for example the errors caused by macro values, as fixed in previous
commit) get logged to stderr even if WARN_LOGFILE is set, but Doxygen succeeds.
2020-06-12 14:30:47 +10:00
Angus Gratton
ea9322937f docs: Log the full list of macros, remove code-style macros to prevent Doxygen errors 2020-06-12 14:30:47 +10:00
Angus Gratton
7d989e08fd doc: Fix passing of build macros to Doxygen
Regression in fbb54184ef, the dictionary
passed to generate_doxygen function was still the project_description
structure.
2020-06-12 14:30:47 +10:00
morris
7232bc8360 xtensa: add CPU overlay files for esp32s3 2020-06-12 11:41:23 +08:00
Michael (XIAO Xufeng)
f9f617cd4f ci: fix the issue that build_docs label has to be used with regular_test
The deploy_docs_preview used to be in the last stage (deploy), which is
later than the post_check. However the label check in the post_check
stage will fail when build_docs is used without regular test. Move the
deploy_docs_preview to new earlier stage (test_deploy) to fix this.

Also move related job `clang_tidy_deploy` there.
2020-06-12 10:59:46 +08:00
Angus Gratton
eef0e178a0 Merge branch 'feature/msys2_env_update' into 'master'
windows: Update MSYS2 pre-compiled legacy build environment

Closes IDF-1289 and IDF-1526

See merge request espressif/esp-idf!9034
2020-06-12 07:26:09 +08:00
morris
0daff849a4 esp_rom: remove unsupported library on esp32s2
Closes https://github.com/espressif/esp-idf/issues/5434
2020-06-11 21:40:08 +08:00
morris
be91b7c52e esp_rom: add esp32s3 rom headers 2020-06-11 21:40:08 +08:00
morris
9cc0f33ed5 esp_rom: add esp32s3 rom symbols 2020-06-11 21:40:08 +08:00
morris
067b1b91c2 global: add new target name: esp32-s3
add target name, chip ID, toochain descriptions for ESP32-S3
2020-06-11 21:40:08 +08:00
lly
a0f1a43edc ble_mesh: Remove boolean type definitions 2020-06-11 16:17:49 +08:00
Nikolaos Strikos
c04cfc2545 ble_mesh: Do not #define bool when compiling in C++ 2020-06-11 16:13:26 +08:00
chenjianqiang
c11621e64e timer: add return task awoken for timer callback 2020-06-11 16:02:55 +08:00
Ivan Grokhotkov
625bd5eb18 Merge branch 'feature/reassign_example_test_runners' into 'master'
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC

See merge request espressif/esp-idf!9109
2020-06-11 14:22:05 +08:00
Fu Hanxi
bde4b1b350 ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC 2020-06-11 14:22:05 +08:00
Anton Maklakov
bb5d07b23e Merge branch 'bugfix/gen_crt_py3_utf' into 'master'
Fixes issues encoding issues python3 scripts for unicode chars

See merge request espressif/esp-idf!9094
2020-06-11 10:40:54 +08:00
Piyush Shah
627d8e7385 httpd_advanced_tests: Use the new low level APIs instead of calling an internal API 2020-06-11 01:56:47 +00:00
Piyush Shah
24587ccbbf esp_http_server: Expose low level socket send/recv APIs
For some advanced use cases, the low level APIs may be useful.
2020-06-11 01:56:47 +00:00
Renz Bagaporo
ea07ce1a5a ldgen: change other accesses of exception message
Closes https://github.com/espressif/esp-idf/pull/5336
2020-06-11 08:19:02 +08:00
the-cat-that-codes
177c3d0f5a Changed ParseException message argument
The 'message' attribute seems to be not usable since python 3.0 (see PEP #352)
but 'msg' is a valid attribute for pyparsing.ParseException.
2020-06-10 23:16:01 +08:00
Roland Dobai
e67314f646 tools/idf_monitor: add WebSocket client for IDE integration 2020-06-10 10:56:20 +00:00
Jiang Jiang Jian
5c783e60e1 Merge branch 'bugfix/fix_build_err_in_cpp' into 'master'
ble_hid_device_demo: fix build if building with c++

Closes IDFGH-3182

See merge request espressif/esp-idf!9123
2020-06-10 16:48:58 +08:00
houwenxiang
61e3259f22 Driver(UART): fix uart_read_byte and uart_write_byte different in buffer type issue. 2020-06-10 16:22:06 +08:00
Angus Gratton
9a21b7e397 Merge branch 'bugfix/allow_extra_component_in_unit_test' into 'master'
allow unit test of extra-components

Closes IDFGH-3369

See merge request espressif/esp-idf!8906
2020-06-10 16:10:07 +08:00
Angus Gratton
067ce3ef32 Merge branch 'bugfix/bootloader_skip_verify_jtag' into 'master'
bootloader_support: don't check signature when JTAG is attached

Closes IDFGH-2816 and IDFGH-2660

See merge request espressif/esp-idf!7865
2020-06-10 16:09:32 +08:00
Angus Gratton
e29c9d331f Merge branch 'bugfix/esp32s2_define_correct_size_for_rtc_fast_mem' into 'master'
esp32s2: Fix missed features CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP and...

Closes IDF-1800

See merge request espressif/esp-idf!9031
2020-06-10 16:04:41 +08:00
Angus Gratton
6a838c2eaf Merge branch 'feature/efuse_esp32s2_add_fields_in_table' into 'master'
efuse: Add some fields in efuse_table and update esp_efuse_get_pkg_ver()

Closes IDF-1077

See merge request espressif/esp-idf!9104
2020-06-10 16:01:25 +08:00
Elvis Dukaj
1463cd3550 ble_hid_device_demo: fix build if building with c++
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com>
Signed-off-by: liminyang <liminyang@example.com>

Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-10 15:23:30 +08:00
Marius Vikhammer
b75edc84e3 esp32s2 SHA: fallback to hashing block by block for non DMA memory
Also adds unit test for SHA with input buffer in flash

Closes IDF-1529
2020-06-10 15:09:20 +08:00
Jiang Jiang Jian
fbd64af098 Merge branch 'bugfix/fix_interrupt_handle_param_error' into 'master'
bugfix: fix interrupt handle psram variable error

Closes IDFGH-3380

See merge request espressif/esp-idf!8994
2020-06-10 12:54:31 +08:00
Mahavir Jain
d0b27b1649 Merge branch 'bugfix/update_example_tests' into 'master'
Update OTA example tests to make it compatible with python3

Closes IDF-1635

See merge request espressif/esp-idf!8917
2020-06-09 22:49:32 +08:00
Shubham Kulkarni
c287ca1363 example_test.py: Update OTA example tests to make it compatible with python3 2020-06-09 11:58:35 +00:00
Ivan Grokhotkov
b8f5d2e466 Merge branch 'bugfix/export_sh_in_dash' into 'master'
tools: export.sh: fix compatibility with dash shell

See merge request espressif/esp-idf!9107
2020-06-09 17:58:27 +08:00
Ivan Grokhotkov
432c6fc164 Merge branch 'bugfix/check_python_deps_diagnostic' into 'master'
tools: fix diagnostic output in check_python_dependencies.py

See merge request espressif/esp-idf!9106
2020-06-09 17:58:04 +08:00
ronghulin
2c599137b9 bugfix: fix interrupt handle param variable error
Closes https://github.com/espressif/esp-idf/issues/5354
2020-06-09 17:35:41 +08:00
Marius Vikhammer
c39b3730bf ci: fix find_build_apps.py failure with py3 due to non ascii chars
find_build_apps.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.
2020-06-09 11:35:08 +08:00
Marius Vikhammer
11269df516 ci: fix check_public_headers.py failure with python3 due to non ascii chars
check_public_headers.py would fail when reading non-ascii chars on systems where
the default encoding was ascii.

Also fixes error handling issues, as any uncaught exeception would cause the program
to run indefinitely.
2020-06-09 11:01:42 +08:00
Ivan Grokhotkov
4712392161 tools: export.sh: fix compatibility with dash shell
* fix constructs invalid in dash
* clean shellcheck warnings and disable false positive ones

Closes https://github.com/espressif/esp-idf/issues/5366
2020-06-08 19:33:00 +02:00
Ivan Grokhotkov
1727306645 tools: fix diagnostic output in check_python_dependencies.py
If IDF_PYTHON_ENV_PATH was not set, an exception occurred:

Traceback (most recent call last):
  File "/home/user/esp/esp-idf/tools/check_python_dependencies.py", line 108, in <module>
    if idf_python_env_path not in sys.executable:
TypeError: 'in <string>' requires string as left operand, not NoneType

and the final line in the diagnostic message was not printed.
Fix to print the PATH if IDF_PYTHON_ENV_PATH is not set.
2020-06-08 18:14:39 +02:00
Ivan Grokhotkov
011379dbb5 Merge branch 'bugfix/tools_filename' into 'master'
idf_tools: adds .tgz as alowed extension

See merge request espressif/esp-idf!9103
2020-06-08 23:20:33 +08:00
KonstantinKondrashov
0c7e13f0cd newlib: Fix adjtime, returns the amount of time remaining from any previous adjustment
If the olddelta argument is not a null pointer, the adjtime function returns information
about any previous time adjustment that has not yet completed.

Closes: https://github.com/espressif/esp-idf/issues/5194
2020-06-08 22:57:38 +08:00