Ivan Grokhotkov
708e99497b
global: add dependency on esp_timer component and include esp_timer.h
...
Some components were including esp_timer.h without declaring a
dependency on esp_timer component. This used to work due to a
transitive public dependency on esp_timer from freertos component.
Add explicit dependencies where needed.
Also some source files were using esp_timer functions without
including the header file. This used to work because esp_timer.h was
included from freertos port header file. This commit adds esp_timer.h
includes where needed.
2022-04-25 18:39:23 +02:00
morris
517c0b54d8
Merge branch 'contrib/github_pr_8827' into 'master'
...
led_strip component : fix timing by adding the reset signal (GitHub PR)
Closes IDFGH-7233
See merge request espressif/esp-idf!17891
2022-04-25 18:33:31 +08:00
morris
a385df8ea3
test: remove makefiles in unit-test-app
2022-04-25 17:12:34 +08:00
Mahavir Jain
7e1b3f401f
Merge branch 'bugfix/esp_http_client_example' into 'master'
...
esp_http_client example: Add cert for redirect to HTTPS example
See merge request espressif/esp-idf!17879
2022-04-25 12:08:14 +08:00
Jacques Supcik
c7fe38926a
fix timing by adding the reset signal
2022-04-25 00:07:35 +02:00
Aditya Patwardhan
b1856a60b1
Merge branch 'feature/update_security_examples_test_with_pytest' into 'master'
...
Update flash_encryption example test to use pytest framework
See merge request espressif/esp-idf!17771
2022-04-24 22:00:35 +08:00
Tomas Rezucha
9663a282b3
Merge branch 'feature/usb_host/cdc_custom_commands' into 'master'
...
usb_host: Add Virtual COM Port example
Closes IDF-4816, IDFGH-7027, and IDFGH-7159
See merge request espressif/esp-idf!17560
2022-04-24 20:41:51 +08:00
Marius Vikhammer
45c1d1cba2
Merge branch 'feature/move_target_kconfig_2' into 'master'
...
system: move kconfig options out of target component
See merge request espressif/esp-idf!17321
2022-04-24 13:29:43 +08:00
laokaiyao
5b3468ebb3
i2c: support i2c on esp32h2
2022-04-23 07:38:25 +00:00
Shubham Kulkarni
7059ea0895
esp_http_client example: Add cert for redirect to HTTPS example
...
esp_http_client_test.py: Add checks for missing example logs
2022-04-22 17:39:12 +05:30
Tomas Rezucha
7fc0c14f4d
usb_host: Add Virtual COM Port CDC example
...
This example implements usual UART/USB convertor driver.
Closes https://github.com/espressif/esp-idf/issues/8645
2022-04-22 09:50:46 +02:00
Tomas Rezucha
880b5a4bef
usb_host: Unify CDC event callbacks
...
And return error code from C++ close method.
2022-04-22 09:50:46 +02:00
Tomas Rezucha
0428efa4ad
usb_host: Propagate new device connection to user
...
Closes https://github.com/espressif/esp-idf/issues/8762
2022-04-22 09:50:39 +02:00
Tomas Rezucha
0ab17ec695
usb_host: Enable custom CDC commands
...
This new API allows further extension for vendor specific commands
2022-04-22 09:50:38 +02:00
Laukik Hase
f9da23edb9
http_client: Added explicit conversion for esp_tls_error_handle_t
...
- in protocols/esp_http_client example
Closes https://github.com/espressif/esp-idf/issues/8795
2022-04-22 03:42:49 +00:00
morris
de433105a2
lcd: don't turn on disp in init
...
Closes https://github.com/espressif/esp-idf/issues/8516
2022-04-21 13:59:47 +00:00
Aditya Patwardhan
600272bc5d
flash_encryption_example: Update example test to use pytest framework
2022-04-21 13:26:57 +05:30
Marius Vikhammer
d2872095f9
soc: moved kconfig options out of the target component.
...
Moved the following kconfig options out of the target component:
* CONFIG_ESP*_DEFAULT_CPU_FREQ* -> esp_system
* ESP*_REV_MIN -> esp_hw_support
* ESP*_TIME_SYSCALL -> newlib
* ESP*_RTC_* -> esp_hw_support
Where applicable these target specific konfig names were merged into
a single common config, e.g;
CONFIG_ESP*_DEFAULT_CPU_FREQ -> CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ
2022-04-21 12:09:43 +08:00
Laukik Hase
88c33b52bf
http2_request: Disable build in CI
...
- Tracked by IDF-4916
2022-04-20 12:18:26 +05:30
Laukik Hase
728a686b8a
protocols: Updated examples to use correct API
...
- `http_request` and `https_x509_bundle`
2022-04-20 12:18:26 +05:30
Ivan Grokhotkov
fe904085fb
Merge branch 'feature/modbus_remove_component' into 'master'
...
freemodbus: remove component files from esp-idf
See merge request espressif/esp-idf!17272
2022-04-19 21:04:30 +08:00
morris
373d9b3dbc
Merge branch 'feature/default_clk_for_gptimer' into 'master'
...
clk_tree: added default clock source for peripherals (GPTimer, RMT, LCD, TempSensor)
Closes IDF-4894
See merge request espressif/esp-idf!17759
2022-04-19 18:02:40 +08:00
aleks
9fdf39651b
freemodbus: remove component files from esp-idf (fix examples)
2022-04-19 07:23:17 +00:00
Nachiket Kukade
bd40793771
Merge branch 'bugfix/dpp_pkey_api_fix' into 'master'
...
Move adding prefix/postfix of DPP key to example
Closes IDFGH-7116
See merge request espressif/esp-idf!17383
2022-04-19 15:04:13 +08:00
Kapil Gupta
86013e918a
Merge branch 'feature/mbedtls_default_bundle_wpa_ent' into 'master'
...
wpa_supplicant: Add CA certification bundle support
See merge request espressif/esp-idf!17055
2022-04-18 19:47:45 +08:00
aditi_lonkar
72cc487aff
esp_wifi: Fix issue of ca certificate expired
2022-04-18 06:24:29 +00:00
Konstantin Kondrashov
04bcc17dcc
Merge branch 'bugfix/light_sleep_when_rtc_is_used_for_gettimeofday' into 'master'
...
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
See merge request espressif/esp-idf!17740
2022-04-18 13:23:54 +08:00
Michael (XIAO Xufeng)
7c668770ee
Merge branch 'feature/support_esp8684_esp32h2_ledc' into 'master'
...
ledc: Provide support for esp32c2 and esp32h2
Closes IDF-4347, IDF-3900, IDF-4157, and IDF-4648
See merge request espressif/esp-idf!17071
2022-04-15 00:42:36 +08:00
Mahavir Jain
ca9f285782
Merge branch 'bugfix/smtp_client' into 'master'
...
smtp_client: Fix heap leakage
Closes IDFGH-7167
See merge request espressif/esp-idf!17777
2022-04-14 20:53:13 +08:00
Nachiket Kukade
282d3c6188
wpa_supplicant/dpp: Move adding prefix/postfix of DPP key to example
...
1. Move adding of prefix/postfix to the private key to example code.
This is to preserve forward compatibility when more curves are supported.
2. Documentation correction of bootstrapping key configuration.
2022-04-14 16:54:47 +05:30
songruojing
534346f4bb
ledc: Provide support for esp32c2 and esp32h2
...
LEDC examples, unit test, and programming guide are all updated.
2022-04-14 08:15:14 +00:00
Laukik Hase
44214a3028
smtp_client: Fixed garbage characters being printed
...
- The R/W buffers were not cleared before reading/writing
anything new
2022-04-14 13:35:02 +05:30
KonstantinKondrashov
1e0eef52d3
esp_hw_support: Fix time spent in light sleep when RTC is used for gettimeofday
...
The esp_timer was not advanced correctly.
2022-04-14 15:53:48 +08:00
morris
f32a89826c
clk_tree: added default clock source for peripheral
2022-04-14 15:44:56 +08:00
Laukik Hase
4e9bf05091
smtp_client: Fix heap leakage
...
- Freed all allocated resources by Mbed TLS at the end of routine
2022-04-14 12:14:41 +05:30
Euripedes Rocha
232b0eda5f
[EXAMPLES/ASIO] Renames Kconfig parameter and clarify
...
On ip::tcp::resolver ASIO uses service to identify the type of
connection and get the port number. LWIP can't resolve this way.
2022-04-13 11:22:34 -03:00
Mahavir Jain
bc1ec37f92
Merge branch 'fix/use_crt_bundle_in_http2_request_example' into 'master'
...
http2_request_example: Use esp_crt_bundle instead of hardcoded root
Closes IDCCI-1190, IDFCI-1195, and IDFCI-1197
See merge request espressif/esp-idf!17755
2022-04-13 19:17:17 +08:00
Ondrej Kosta
90829e64d5
Merge branch 'feature/create_l2tap_example' into 'master'
...
Feature/create l2tap example
Closes IDF-4096
See merge request espressif/esp-idf!17641
2022-04-13 18:58:43 +08:00
Martin Vychodil
3b3bfc1971
Merge branch 'vfs_fat/improve_mount_function_names' into 'master'
...
vfs: renamed FATFS convenience mounting functions
Closes IDF-4370
See merge request espressif/esp-idf!17369
2022-04-13 17:52:10 +08:00
Aditya Patwardhan
3b1f1febc8
http2_request_example: Use esp_crt_bundle instead of hardcoded root
...
certificate in order to avoid frequent failure of the example due to
shift in CA chain
2022-04-13 10:34:34 +05:30
morris
cb5507f11c
Merge branch 'feature/clk_tree_defs' into 'master'
...
clk_tree: prework of introducing clock subsystem control
Closes IDF-4892
See merge request espressif/esp-idf!17631
2022-04-13 10:36:56 +08:00
Ondrej Kosta
fcdb0306d0
examples: added ESP-NETIF L2 TAP example
2022-04-12 12:33:57 +00:00
Mahavir Jain
467e9c07d6
lwip: fix build with CONFIG_LWIP_DHCPS disabled
...
Also added example build configuration for this option.
2022-04-11 12:31:17 +00:00
Matus Fabo
24268d47a2
change: renamed FATFS convenience mounting functions
...
change: renamed every instance of these functions
add: deprecation notice with old functions
change: CC0 licence to CC0-1.0 in fatfsgen_example_main.c
2022-04-11 08:44:40 +00:00
songruo
60bb5c913d
clk_tree: prework of introducing clk subsystem control
...
1. Clean up clk usage in IDF, replace rtc_clk_xtal/apb_freq_get with
upper level API esp_clk_xtal/apb_freq
2. Fix small errors and wrong comments related to clock
3. Add clk_tree_defs.h to provide an unified clock id for each chip
Modify the NGed drivers to adopt new clock ids
2022-04-11 12:09:06 +08:00
wangmengyang
bed86d8a27
examples/Bluetooth/bt_hid_mouse_device: improved the exmaple README
2022-04-11 02:50:50 +00:00
wangmengyang
f7d942c42a
examples/bluetooth/bt_hid_mouse_device: fixed code format, added more comments to improve code readability
2022-04-11 02:50:50 +00:00
Adam Múdry
36db6a6681
spiffs: Add esp_spiffs_check() function
...
esp_spiffs_check() exposes SPIFFS_check() functionality to the user
2022-04-08 19:40:56 +00:00
Martin Gano
d76de32f74
fatfsgen.py: enabled date and time for fatfs
2022-04-07 15:01:28 +02:00
Wang Meng Yang
0c23d45918
Merge branch 'bugfix/fix_blecent_compilation_issue' into 'master'
...
Nimble: Add default config options for esp32h2 for blecent app
See merge request espressif/esp-idf!17648
2022-04-07 09:59:03 +08:00
Rahul Tank
c6eb49082a
Nimble: Add default config options for esp32h2 to fix blecent
...
compilation issues
2022-04-06 17:14:31 +05:30
Mahavir Jain
021f545f0d
examples: add dependency on cert bundle configuration
...
Refactor examples to build with MBEDTLS_CERTIFICATE_BUNDLE disabled. Only examples
that can work with certificate bundle disabled have been modified here.
2022-04-06 05:10:43 +00:00
Ivan Grokhotkov
ff6ccfff8e
examples: build system: add link-time registration plugin example
...
Closes https://github.com/espressif/esp-idf/issues/7682
2022-04-05 18:51:47 +02:00
Kapil Gupta
62eb06e386
wpa_supplicant: Add CA certification bundle support
...
Add support for CA certificate bundle support for server
certificate validation
2022-04-05 10:57:09 +05:30
morris
1459a09978
Merge branch 'bugfix/cxx_gcc11_warnings' into 'master'
...
C++: fix several gcc11 warnings
Closes GCC-229
See merge request espressif/esp-idf!17658
2022-04-01 15:12:55 +08:00
Wei Tian Hua
dbe4606eab
Merge branch 'feature/hfp_hf_vendor_batt_level' into 'master'
...
components/bt: support for vendor specific battery level and docker status...
See merge request espressif/esp-idf!17601
2022-04-01 14:43:51 +08:00
Anton Maklakov
9386014201
examples/cxx: add missing header
2022-03-31 15:02:34 +07:00
Anton Maklakov
40d189137e
examples/cxx: add explicit-declared copy constructor
2022-03-31 15:02:27 +07:00
Laukik Hase
8f77caa637
https_server: Fix example test failure
...
- Closed the client connection gracefully for the https server
callback check to pass in test
- Made some functions static in the example
2022-03-30 20:45:48 +05:30
Armando (Dou Yiwen)
ee034d5b6a
Merge branch 'feature/support_spi_on_h2' into 'master'
...
spi: support spi on h2
Closes IDF-3796 and IDF-4226
See merge request espressif/esp-idf!17191
2022-03-30 19:59:31 +08:00
Laukik Hase
1d71fbae92
https_server: Add provision for callback at session close
...
Closes https://github.com/espressif/esp-idf/issues/8288
2022-03-30 11:25:11 +05:30
morris
6f538b1c95
Merge branch 'refactor/move_periph_ctrl_hw_support' into 'master'
...
hw_support: move periph_ctrl from driver to hw_support
Closes IDF-4796
See merge request espressif/esp-idf!17583
2022-03-30 04:54:07 +08:00
morris
204432191d
Merge branch 'bugfix/spi_master_rx_bug' into 'master'
...
examples/spi_master: Fixed SPI read (keeping CS active) in SPI master example
Closes IDFGH-7034
See merge request espressif/esp-idf!17606
2022-03-29 22:51:24 +08:00
Laukik Hase
d7090b4d52
https_server: Add config option to min. cert. auth mode
...
- Added a config option to set the minimum Certificate Verification
mode to Optional
- When this option is enabled, the peer (the client) certificate
is checked by the server, however the handshake continues even if
verification failed.
- By default, the peer certificate is not checked and ignored by the server.
Closes https://github.com/espressif/esp-idf/issues/8664
2022-03-29 08:57:36 +00:00
Vilem Zavodny
29792561ca
examples/spi_master: Fixed SPI read (keeping CS active) in SPI master example
...
Closes https://github.com/espressif/esp-idf/issues/8652
2022-03-29 08:43:16 +02:00
Armando
fe9c6cde4f
spi: support spi on h2
2022-03-29 11:54:08 +08:00
morris
bf677182a6
sigmadelta: change gpio number from u8 to int
...
Fix the issue that macro compares unsigned to 0
2022-03-29 11:53:31 +08:00
baohongde
418b546a7c
components/bt: support for vendor specific battery level and docker status indication over HFP profile
2022-03-29 11:38:09 +08:00
Shubham Kulkarni
779bcc8614
native_ota_example: Rename example_test.py to pytest_native_ota.py
...
Add type annotations
2022-03-28 03:51:21 +00:00
Shubham Kulkarni
68c246990c
native_ota_example: Change example_test to use pytest framework
2022-03-28 03:51:21 +00:00
Alex Lisitsyn
e653ce82b2
Merge branch 'feature/modbus_master_fix_check_uart_set_pin' into 'master'
...
example/modbus_master: fix the erro check for uart_set_pin
Closes IDFGH-6988
See merge request espressif/esp-idf!17534
2022-03-27 04:20:17 +08:00
morris
6be28e832b
Merge branch 'bugfix/coverity_scan_fix_driver' into 'master'
...
fix some driver "bugs" found by Coverity Scan
Closes IDF-4776
See merge request espressif/esp-idf!17566
2022-03-25 12:32:25 +08:00
Ondrej Kosta
8ce997f02c
Merge branch 'bugfix/eth_iperf_performance_iram' into 'master'
...
Eth iperf default sdkconfig: Enable lwIP IRAM optimization
See merge request espressif/esp-idf!17556
2022-03-24 23:16:35 +08:00
morris
fe13b2ed50
lcd: add rgb isr iram safe callback test
2022-03-24 21:23:01 +08:00
Ondrej Kosta
ab2bc59501
Eth iperf default sdkconfig: Enable lwIP IRAM optimization
2022-03-24 09:49:34 +01:00
Shubham Kulkarni
3e3cde2f9f
advanced_https_ota/example_test.py: Update redirect URL test to include two redirects
2022-03-24 06:23:17 +00:00
Mahavir Jain
97fb98a91b
Merge branch 'feature/pytest_wifi_prov' into 'master'
...
wifi_prov_mgr: Upgraded CI example test to pytest framework
Closes IDFCI-1140
See merge request espressif/esp-idf!17547
2022-03-24 12:52:04 +08:00
morris
08a4cff6d5
Merge branch 'bugfix/disable_touch_sleep_s3' into 'master'
...
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
Closes IDF-4810
See merge request espressif/esp-idf!17562
2022-03-24 10:22:31 +08:00
Michael (XIAO Xufeng)
a84faa3cef
touch_sensor: forbid from using touch sensor with sleep on ESP32-S3
...
This is not supported yet.
2022-03-24 03:00:47 +08:00
Laukik Hase
c8c13c58c4
wifi_prov_mgr: Upgraded CI example test to pytest framework
2022-03-23 18:12:25 +05:30
Mahavir Jain
4f04d55f0b
Merge branch 'feature/check_fw_version_at_start_of_ota' into 'master'
...
Check FW version at start of ota with pre-encrypted binary
Closes IDF-4682
See merge request espressif/esp-idf!17479
2022-03-23 16:54:21 +08:00
Harshit Malpani
cca208f71a
Check FW version at start of ota for encrypted binary
2022-03-23 11:09:48 +05:30
Anton Maklakov
118d39c8fe
Merge branch 'bugfix/remove-IRAM_ATTR-from-decls' into 'master'
...
Remove IRAM_ATTR from any function declarations
Closes GCC-223
See merge request espressif/esp-idf!17440
2022-03-23 11:49:22 +08:00
David Cermak
965b8f0e62
examples/sntp: Document that SNTP-over-DHCP resets other NTP servers
...
Closes https://github.com/espressif/esp-lwip/issues/42
2022-03-22 15:01:02 +00:00
Anton Maklakov
68e5d9d585
Remove IRAM_ATTR from any function declarations
...
IRAM_ATTR expands to a unique section attribute. Applying it to both
declaration and definition results in a section conflict.
2022-03-22 09:58:50 +00:00
Elbert van de Put
980fd32f69
example/modbus_master: fix the assert for uart_set_pin
...
Signed-off-by: aleks <aleks@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/8607
2022-03-22 09:45:06 +00:00
Ondrej Kosta
97ddccafd3
Added bandwidth limitaion option to iperf test scripts
2022-03-22 07:17:40 +00:00
Ondrej Kosta
c8b08b9a4b
iperf: added Tx bandwidth limit option
2022-03-22 07:17:40 +00:00
Tomas Rezucha
7c2cf30109
usb_host: Update MSC test for fatfs 0.14b
2022-03-21 18:34:25 +01:00
Tomas Rezucha
3abeee00d0
usb_host: Pin test task to core 0
...
When we try to uninstall usb_host library on multi-core SoC (ESP32S3)
the USB interrupt can be triggered even after it was disabled on one CPU
2022-03-21 18:34:25 +01:00
Tomas Rezucha
9049230e4a
usb_host: Rename symbols that conflict with TinyUSB
2022-03-21 18:34:25 +01:00
Tomas Rezucha
e3ba980d11
usb_host: Use USB_Host library calls for desc printing
2022-03-21 18:34:25 +01:00
Tomas Rezucha
3074981dcb
usb_host: Update MSC tests for running in CI
2022-03-21 18:34:25 +01:00
Tomas Rezucha
6206302787
ci: Add USB Host CDC and MSC pytests to pipeline
2022-03-21 18:34:24 +01:00
Tomas Rezucha
7d950a63cc
usb_host: Add Mock device to CDC tests
2022-03-21 18:34:24 +01:00
Tomas Rezucha
913d53384f
usb_host: Update CDC tests for latest USB Host
2022-03-21 18:34:24 +01:00
Marius Vikhammer
0cd07d907e
CI: disable S3 sleep related example tests
2022-03-21 11:56:01 +08:00
Tomas Rezucha
f5f865df07
Merge branch 'fix/usb_host/cdc_build' into 'master'
...
usb_host: Don't build CDC host driver for unsupported targets
See merge request espressif/esp-idf!17517
2022-03-18 16:37:38 +08:00
Anton Maklakov
6d13c8b3a6
Merge branch 'bugfix/managed-components-version-refs' into 'master'
...
managed components: fix version references to allow implicit updates
See merge request espressif/esp-idf!17438
2022-03-18 14:52:15 +08:00
Tomas Rezucha
c8fc4d226a
usb_host: Don't build CDC host driver for unsupported targets
2022-03-17 13:10:29 +01:00
Ivan Grokhotkov
2f9d47c708
Merge branch 'feature/gdbstub_rt_multicore' into 'master'
...
Extension for GDBstub runtime component (multicore, breakpoints, steps etc...)
See merge request espressif/esp-idf!13896
2022-03-17 19:59:29 +08:00
Anton Maklakov
6200d2328d
Merge branch 'bugfix/printf-placeholder-for-time_t' into 'master'
...
components: correct printf() placeholder for time_t
See merge request espressif/esp-idf!17439
2022-03-17 16:08:08 +08:00
Marius Vikhammer
263771a744
Merge branch 'bugfix/adjust_deepsleep_example_limit' into 'master'
...
ci: increase acceptence limits for deep sleep example test
See merge request espressif/esp-idf!17501
2022-03-16 16:48:10 +08:00
Michael (XIAO Xufeng)
5a2f672d5a
Merge branch 'feat/esp32s3_support_gpio_deepsleep_wakeup' into 'master'
...
example/deep_sleep: add example of EXT0 and using internal pullups
Closes IDF-4657 and IDFGH-6711
See merge request espressif/esp-idf!17099
2022-03-16 16:27:07 +08:00
Marius Vikhammer
a9a82b8b5e
ci: increase acceptence limits for deep sleep example test
2022-03-16 11:23:32 +08:00
Marius Vikhammer
453516fbbe
Merge branch 'bugfix/replace_deprecated_options' into 'master'
...
kconfig: replace deprecated options with new values
See merge request espressif/esp-idf!17494
2022-03-16 09:32:55 +08:00
Michael (XIAO Xufeng)
fcd396a37e
example/deep_sleep: add example of EXT0 and using internal pullups
2022-03-15 22:34:34 +08:00
Marius Vikhammer
ca3c056ac9
kconfig: replace deprecated options with new values
2022-03-15 16:28:53 +08:00
Jiang Jiang Jian
10f3aba770
Merge branch 'feature/final_h2' into 'master'
...
Add support in Nimble for ESP32H2
See merge request espressif/esp-idf!16329
2022-03-15 16:03:24 +08:00
Xue Yun Fei
b049ff915c
Merge branch 'optimization/example_for_wifi_station' into 'master'
...
wi-fi:optimization example of wifi station
See merge request espressif/esp-idf!15457
2022-03-15 14:31:51 +08:00
Marius Vikhammer
8a9ab63ecb
Merge branch 'feature/system_tests_pytest_embedded' into 'master'
...
CI: migrated system example tests to pytest-embedded framework
Closes IDFCI-1134
See merge request espressif/esp-idf!17401
2022-03-15 09:08:31 +08:00
morris
ca1e2af1d6
Merge branch 'feature/i2s1_lcd_mode_esp32' into 'master'
...
LCD driver various improvements
Closes IDF-3781, IDFGH-6753, IDFGH-6632, and IDFGH-6569
See merge request espressif/esp-idf!17323
2022-03-14 18:30:24 +08:00
Mahavir Jain
c5d982b235
Merge branch 'bugfix/esp_https_ota_breaking_changes' into 'master'
...
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images
See merge request espressif/esp-idf!17312
2022-03-14 18:15:52 +08:00
Marius Vikhammer
9918bbeb63
CI: migrated system example tests to pytest-embedded framework
2022-03-14 16:32:44 +08:00
Anton Maklakov
e27f1331e4
components: correct printf() placeholder for time_t
...
Using C99 %jd, https://en.cppreference.com/w/c/chrono/time_t
2022-03-14 14:05:47 +07:00
Rahul Tank
f376bb5d05
Add support in Nimble for ESP32H2
2022-03-14 11:57:53 +05:30
morris
f06a13ad82
lcd: workaround auto next frame hardware bug
...
Closes https://github.com/espressif/esp-idf/issues/8381
2022-03-14 13:55:01 +08:00
Mahavir Jain
b57fc93585
Merge branch 'bugfix/use_decrypt_user_ctx' into 'master'
...
example: use decrypt_user_ctx in decryption callback
See merge request espressif/esp-idf!17460
2022-03-14 13:39:23 +08:00
morris
5963de1caf
Merge branch 'ci/fix_duplicated_test_names' into 'master'
...
CI: rename some tests to avoid duplicated test names
See merge request espressif/esp-idf!17463
2022-03-14 11:52:02 +08:00
Harshit Malpani
c813de50ec
example: use decrypt_user_ctx in decryption callback
2022-03-11 18:05:40 +05:30
Harshit Malpani
de2f915092
esp_https_ota: Update esp_https_ota() to support OTA updates with encrypted images
2022-03-11 16:52:08 +05:30
Chen Yudong
4dc74c9c42
CI: rename some tests to avoid duplicated test names
2022-03-11 18:38:41 +08:00
Martin Gaňo
fea2b5b64e
fatfsgen.py: enabled long names support
...
Closes https://github.com/espressif/esp-idf/issues/8171
2022-03-11 11:20:31 +01:00
Mahavir Jain
61c68b7f4d
Merge branch 'contrib/github_pr_8544' into 'master'
...
esp_https_ota: add user_ctx to decrypt_cb (GitHub PR)
Closes IDFGH-6924
See merge request espressif/esp-idf!17456
2022-03-11 15:43:38 +08:00
Anton Maklakov
4c865baae4
managed components: fix version references to allow implicit updates according to semver
...
Syntax details: https://devhints.io/semver
2022-03-11 13:49:26 +07:00
Mahavir Jain
99e7059cbe
Merge branch 'bugfix/kconfig_defaults' into 'master'
...
kconfig: Changed default values of `bool` configs
Closes IDF-4747
See merge request espressif/esp-idf!17447
2022-03-11 11:48:17 +08:00
David Čermák
4196c3f591
Merge branch 'update/discontinue_tcpip_adapter' into 'master'
...
esp_netif: Remove tcpip_adapter compatibility layer
Closes IDF-4457
See merge request espressif/esp-idf!17066
2022-03-11 03:48:28 +08:00
MacDue
e47419374c
esp_https_ota: add user_ctx to decrypt_cb
...
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
morris
c6aeb86485
Merge branch 'bugfix/esp_modem_cxx-version-ref' into 'master'
...
examples: fix esp_modem_cxx component version number reference
See merge request espressif/esp-idf!17437
2022-03-10 17:46:03 +08:00
David Cermak
c941e29cf6
examples: Fix implicit includes after legacy code removal
2022-03-10 10:36:38 +01:00
Laukik Hase
25c5c214f3
kconfig: Changed default values of bool configs
...
- Some bool configs were using default values true and false,
instead of y and n.
2022-03-10 14:26:37 +05:30
xueyunfei
6fe39e5dc8
wifi example:optimization example of wifi station
2022-03-10 15:20:39 +08:00
David Cermak
79d1865d62
examples: Fix IP mesh implicit includes
2022-03-10 08:19:43 +01:00
David Cermak
795b7ed993
esp_netif: Remove tcpip_adapter compatibility layer
2022-03-10 08:19:43 +01:00
David Čermák
0b58f987cd
Merge branch 'feature/mdns_dynamic_interfaces' into 'master'
...
mdns: Add support for dynamic network interfaces
Closes IDF-939
See merge request espressif/esp-idf!14875
2022-03-10 15:11:35 +08:00
Mahavir Jain
4cdf2459f0
Merge branch 'contrib/github_pr_8535' into 'master'
...
Upgrade esp_encrypted_img version in pre-encrypted OTA example (GitHub PR)
Closes IDFGH-6915
See merge request espressif/esp-idf!17432
2022-03-10 14:46:37 +08:00
Anton Maklakov
47de9e37f3
examples: fix esp_modem_cxx version number reference
...
see https://devhints.io/semver for syntax
2022-03-10 11:51:44 +07:00
Jiang Jiang Jian
7c7e8a83b9
Merge branch 'refactor/wifi_remove_legacy_evts' into 'master'
...
Remove legacy system event framework.
Closes IDF-3608
See merge request espressif/esp-idf!16240
2022-03-10 10:30:10 +08:00
MacDue
f17a3491e5
examples/pre_encrypted_ota: update to esp_encrypted_img 2.x.x
2022-03-09 16:30:22 +00:00
MacDue
615e44f430
examples/pre_encrypted_ota: readme tweaks and link to component manager
2022-03-09 16:29:39 +00:00
morris
b841332aa5
Merge branch 'component/esp_websocket_migration' into 'master'
...
websocket: Remove internal component, examples and test
Closes IDF-4076
See merge request espressif/esp-idf!17273
2022-03-09 19:12:55 +08:00
Sagar Bijwe
6501eff7f5
Remove legacy system event framework.
2022-03-09 15:53:45 +05:30
David Cermak
42ba8a8338
mdns: Fix copyright messages, update API descrition
...
* Impove docs and comments on custom netifs
* Make predef interfaces const, minor docs fixes
2022-03-09 07:33:23 +01:00
David Cermak
b02468dc98
mdns: Add API to control custom network interfaces
2022-03-09 07:33:23 +01:00
David Cermak
dd3cd52fd6
CI/mdns: Reworked example test to be run repeatably
2022-03-09 07:33:16 +01:00
David Cermak
d1b809e6a1
CI/mdns: Extend example test for sockets, netifs
2022-03-08 13:46:57 +01:00
David Cermak
bec42ff85d
mdns: Add support for registering custom netif
2022-03-08 13:46:11 +01:00
David Cermak
f8495f1e86
mdns: Indicate interface using esp_netif in search results
2022-03-08 13:44:14 +01:00
David Cermak
f90b3b798b
mdns: Use predefined interfaces to prepare for custom netifs
2022-03-08 13:44:14 +01:00
Suren Gabrielyan
f9892f77b8
mdns: Prepare for dynamic esp-netif support
2022-03-08 13:39:53 +01:00
Mahavir Jain
55fd823001
Merge branch 'contrib/github_pr_8523' into 'master'
...
Removed unnecessary #include statement (GitHub PR)
Closes IDFGH-6903
See merge request espressif/esp-idf!17390
2022-03-08 16:13:08 +08:00
lukedukeus
469be7cc54
Removed unnecessary #include statement
2022-03-07 16:30:37 -05:00
Zim Kalinowski
0440aca4e3
Merge branch 'feature/reevaluate_headers_include_dirs' into 'master'
...
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
See merge request espressif/esp-idf!16763
2022-03-08 01:32:24 +08:00
morris
4aa81975d1
Merge branch 'bugfix/i2c_fix_typo_of_slave_macro' into 'master'
...
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
Closes IDFGH-6893
See merge request espressif/esp-idf!17373
2022-03-07 23:38:13 +08:00
Ivan Grokhotkov
5f1c6ac605
Merge branch 'contrib/github_pr_8500' into 'master'
...
Fix compiler error in mbedtls (GitHub PR)
Closes IDFGH-6879 and IDFGH-6881
See merge request espressif/esp-idf!17380
2022-03-07 22:17:30 +08:00
Simon
4bf4a020a6
Merge branch 'refactor/abstract_temperature_sensor' into 'master'
...
temperature_sensor: Refactor temperature sensor to new APIs (follow rule of driverNG) and support esp32s3
Closes IDF-3665, IDF-3367, and IDF-1793
See merge request espressif/esp-idf!16787
2022-03-07 20:17:39 +08:00
Fu Hanxi
6ddd6e6d29
Merge branch 'docs/pytest_in_idf' into 'master'
...
docs: add README about pytest in IDF
See merge request espressif/esp-idf!17250
2022-03-07 15:34:28 +08:00
gabsuren
f3c7215565
websocket: Remove internal component, examples and test
2022-03-07 11:07:40 +04:00
laokaiyao
9ebfd7832d
i2c: update legacy name ESP8684 to ESP32C2
2022-03-07 14:59:56 +08:00
Mahavir Jain
9ba1b333f9
examples/wifi: add test coverage for CONFIG_WPA_DEBUG_PRINT
2022-03-07 12:17:04 +05:30
Sudeep Mohanty
a9fda54d39
esp_hw_support/esp_system: Re-evaluate header inclusions and include directories
...
This commit updates the visibility of various header files and cleans up
some unnecessary inclusions. Also, this commit removes certain header
include paths which were maintained for backward compatibility.
2022-03-07 11:18:08 +05:30
Jin Cheng
19ddb8bde1
Merge branch 'bugfix/crash_when_reconnect_to_sink' into 'master'
...
bugfix/fix the failure of reconnect to sink
See merge request espressif/esp-idf!17281
2022-03-04 19:20:05 +08:00
Ivan Grokhotkov
3df2be5904
Merge branch 'bugfix/sdmmc_example_esp32s3' into 'master'
...
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4642
See merge request espressif/esp-idf!17352
2022-03-04 18:47:59 +08:00
Ivan Grokhotkov
c8b43ee0c1
Merge branch 'bugfix/sdspi_example_esp32s3' into 'master'
...
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
Closes IDF-4641
See merge request espressif/esp-idf!17067
2022-03-04 18:42:53 +08:00
morris
a0283234cd
Merge branch 'feature/support_esp32h2_gpio' into 'master'
...
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix
Closes IDF-4232 and IDF-3439
See merge request espressif/esp-idf!16609
2022-03-04 18:22:28 +08:00
Cao Sen Miao
b248046bcb
Temperature_sensor: Create new temperature sensor API
2022-03-04 18:13:35 +08:00
morris
52fcdbacc3
Merge branch 'feature/pcnt_driver_ng' into 'master'
...
⛵ Driver-NG: Introduce a brand new driver for PCNT
Closes IDF-2196 and IDF-2896
See merge request espressif/esp-idf!10507
2022-03-04 12:25:35 +08:00
jincheng
d2361dcb9e
fix the failure of reconnect to sink
2022-03-04 04:14:04 +00:00
songruojing
c8c137f2b7
esp32h2: support GPIO peripheral, IO_MUX, GPIO matrix.
...
Generic GPIO example is supported as well.
2022-03-04 11:25:05 +08:00
Ivan Grokhotkov
e9ed46d7ce
examples: sdmmc: re-enable for ESP32-S3, add Kconfig options for pins
2022-03-03 23:37:42 +01:00
Mahavir Jain
8878d91b47
Merge branch 'bugfix/tcp_iperf_example_issue' into 'master'
...
wifi:bugfix for iperf issue
Closes WIFI-4348
See merge request espressif/esp-idf!17319
2022-03-04 04:50:21 +08:00
Ivan Grokhotkov
c8d1737d57
examples: file_serving: add support for ESP32-S3, refactoring
...
* Move filesystem mounting code into a separate file to simplify the
main source file.
* Clean up SDMMC and SDSPI related code. Move pin configuration into
Kconfig.
* Use same base_path ('/data') for either SPIFFS or SD. Remove the
check in file_server.c about the base path.
* Update README according to the changes above.
2022-03-03 21:43:37 +01:00
Ivan Grokhotkov
eefb0442c9
examples: sdspi: use default DMA channel
2022-03-03 21:40:05 +01:00
Ivan Grokhotkov
dc2f4483bf
examples: sdspi: re-enable for ESP32-S3, add Kconfig options for pins
2022-03-03 21:40:03 +01:00
morris
d234f2f769
example: migrate to use pulse_cnt driver
2022-03-03 22:38:32 +08:00
morris
04b3f8b210
pcnt: deprecated as legacy driver
2022-03-03 22:38:32 +08:00
Jiang Jiang Jian
1068c7720b
Merge branch 'bugfix/ignore_pmf_capable_flag' into 'master'
...
Always connect Station in PMF mode if possible
Closes WIFI-4320
See merge request espressif/esp-idf!17023
2022-03-03 19:34:36 +08:00
Alex Lisitsyn
dcaac79380
Merge branch 'bugfix/modbus_fix_start_after_destroy_issues' into 'master'
...
modbus: fix tcp slave destroy issues
Closes IDFGH-6568
See merge request espressif/esp-idf!16856
2022-03-03 16:34:33 +08:00
Alex Lisitsyn
224901fed3
modbus: fix tcp slave destroy issues
2022-03-03 16:34:33 +08:00
Fu Hanxi
5ccb5eeebd
docs: add README about pytest in IDF
2022-03-03 14:36:50 +08:00
xueyunfei
dc06c31a58
examples/common_components: iperf: fix closing of client socket in TCP server mode
...
Details of the problem : After iperf ended, the socket was not closed, resulting in the WIFI buffer not being released.
2022-03-03 14:04:01 +08:00
Marius Vikhammer
f6cfe1a549
Merge branch 'bugfix/ulp_gpio_example_build' into 'master'
...
ulp: add driver dependecy for ULP riscv gpio interrupt example
See merge request espressif/esp-idf!17332
2022-03-03 12:36:36 +08:00
Song Ruo Jing
b665dcbe68
Merge branch 'feature/esp32c2h2_support_uart' into 'master'
...
UART: Provide support for esp32c2 and esp32h2
Closes IDF-3823, IDF-4154, and IDF-4221
See merge request espressif/esp-idf!16832
2022-03-03 11:45:10 +08:00
Mahavir Jain
035d7df1a0
Merge branch 'feature/mbedtls-3.1' into 'master'
...
Update to mbedtls-3.1
Closes IDF-3723
See merge request espressif/esp-idf!16656
2022-03-03 11:27:48 +08:00
Marius Vikhammer
8901941064
ulp: add driver dependecy for ULP riscv gpio interrupt example
2022-03-03 11:17:34 +08:00
Wang Meng Yang
94a62a1b50
Merge branch 'bugfix/hfp_disc_audio_err' into 'master'
...
bugfix/fix_err_when_ag_disc_audio
Closes IDFGH-6239
See merge request espressif/esp-idf!16920
2022-03-03 11:07:40 +08:00
Marius Vikhammer
706a14884f
Merge branch 'feature/riscv_ulp_gpio_intr' into 'master'
...
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor
Closes IDFGH-6589
See merge request espressif/esp-idf!17288
2022-03-03 09:40:03 +08:00
Aditya Patwardhan
1dc63850e3
mbedtls-3.X: Update the esp-cryptoauthlib submodule
2022-03-03 01:37:10 +05:30
Laukik Hase
3925365351
ci: Fix pre-check
stage failing tests
...
- Updated license headers
- Re-enabled public headers and static analysis checks
- Fix public header file check failure
Co-authored-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
3b71bd7326
mbedtls-3.0: Fixed ESP32 build issues
...
- Added MBEDLTS_PRIVATE(...) wherever necessary
- For functions like mbedtls_pk_parse_key(...), it is necessary to pass the RNG function
pointers as parameter. Solved for dependent components: wpa_supplicant & openSSL
- For libcoap, the SSLv2 ClientHello handshake method has been deprecated, need to handle this.
Currently, corresponding snippet has been commented.
- Examples tested: hello-world | https_request | wifi_prov_mgr
mbedtls-3.0: Fixed ESP32-C3 & ESP32-S3 build issues
- Removed MBEDTLS_DEPRECATED_REMOVED macro from sha1 port
- DS peripheral: esp_ds_rsa_sign -> removed unsused 'mode' argument
- Added MBEDTLS_PRIVATE(...) wherever required
mbedtls-3.0: Fixed ESP32-S2 build issues
- Fixed outdated function prototypes and usage in mbedlts/port/aes/esp_aes_gcm.c due to changes in GCM module
mbedtls-3.0: Fixed ESP32-H2 build issues
ci: Fixing build stage
- Added MBEDTLS_PRIVATE(...) wherever required
- Added RNG function parameter
- Updated GCM Module changes
- Updated Copyright notices
- Tests:
- build_esp_idf_tests_cmake_esp32
- build_esp_idf_tests_cmake_esp32s2
- build_esp_idf_tests_cmake_esp32c3
- build_esp_idf_tests_cmake_esp32s3
ci: Fixing build stage (mbedtls-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing build stage (example-related changes)
- Added MBEDTLS_PRIVATE(...) wherever required
- Updated SHAXXX functions
- Updated esp_config according to mbedtls changes
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
ci: Fixing target_test stage
- Updated test SSL version to TLS_v1_2
- Tests:
- example_test_protocols 1/2
ci: Fixing build stage
- Added checks for MBEDTLS_DHM_C (disabled by default)
- Updated esp_cryptoauthlib submodule
- Updated factory partition size for legacy BLE provisioning example
- Tests:
- build_examples_cmake_esp32
- build_examples_cmake_esp32s2
- build_examples_cmake_esp32c3
- build_examples_cmake_esp32s3
Co-authored-by: Laukik Hase <laukik.hase@espressif.com>
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
45122533e0
mbedtls-3 update:
...
1) Fix build issue in mbedtls
2) skip the public headers check in IDF
3)Update Kconfig Macros
4)Remove deprecated config options
5) Update the sha API according to new nomenclature
6) Update mbedtls_rsa_init usage
7) Include mbedtls/build_info.h instead of mbedtls/config.h
8) Dont include check_config.h
9) Add additional error message in esp_blufi_api.h
2022-03-03 01:37:10 +05:30
Aditya Patwardhan
0483bfbbfe
Initial Changes for updating mbedtls to v3.0
2022-03-03 01:37:09 +05:30
Kapil Gupta
84f9aa13c9
Merge branch 'bugfix/dpp_sdkconfig_default' into 'master'
...
esp_example: Enable MbedTLS for DPP enrollee by default
Closes WIFI-4275
See merge request espressif/esp-idf!16624
2022-03-03 00:10:25 +08:00
Omar Chebib
2571aaf3c9
G0: target component (components/esp32*) doesn't depend on driver anymore
2022-03-02 04:21:00 +00:00
songruojing
24a60c12c6
uart: Provide support for esp32c2 and esp32h2
...
UART examples, unit test, and programming guide are all updated.
2022-03-02 11:29:13 +08:00
Dmitry
a8c3fe56c8
This commit add to GDBstup:
...
1. Multicore suupor
2. Stepping
3. Console output
4. Update example + readme
5. Jumps
2022-03-01 19:49:24 +03:00
Euripedes Rocha
f7b842bbc7
EXAMPLES/ASIO: Adds a SOCKS4 example
...
Creates an example on how to connect using Socks4 based proxy.
2022-03-01 13:50:47 +00:00
jincheng
216a57b767
correct the rate of data-producing
...
Closes https://github.com/espressif/esp-idf/issues/7911
2022-03-01 21:49:44 +08:00
Island
f1a4057877
Merge branch 'bugfix/ble_mesh_console_correct_repl_config_prompt' into 'master'
...
ble mesh:example:correct repl config prompt in ble mesh console
See merge request espressif/esp-idf!16986
2022-03-01 13:50:24 +08:00
Marius Vikhammer
c974a000d7
ULP: Add example of using GPIO to wakeup the ULP-RISCV processor
2022-02-28 14:15:25 +08:00