Commit Graph

2217 Commits

Author SHA1 Message Date
lly
2803c81f83 ble_mesh: ci: Add settings sdkconfig test files 2020-12-04 20:31:25 +08:00
Mahavir Jain
1d4380853c Merge branch 'feature/demonstrate_http_partial_download' into 'master'
Update esp_http_client example to demonstrate partial HTTP downloads

See merge request espressif/esp-idf!11442
2020-12-03 19:54:41 +08:00
Shubham Kulkarni
60749b5483 esp_http_client example: Update example to demonstrate partial HTTP downloads 2020-12-03 09:39:16 +00:00
Shubham Kulkarni
4874f52d96 Update advanced_https_ota_example and native_ota_example to use esp_ota_abort in case of error 2020-12-03 14:49:55 +05:30
Island
66416d1a8b Merge branch 'bugfix/aligenie_demo_timer' into 'master'
bugfix: update genie timer in aligenie example

See merge request espressif/esp-idf!11411
2020-12-02 12:04:32 +08:00
Yuan Ming Fu
76c279bee1 bugfix: update genie timer in aligenie example 2020-12-02 12:04:27 +08:00
Angus Gratton
38116853f4 Merge branch 'feature/esp32c3_small_changes' into 'master'
esp32c3: Merge small target support changes

Closes IDF-2361

See merge request espressif/esp-idf!11381
2020-12-01 13:46:57 +08:00
Angus Gratton
5228d9f9ce esp32c3: Apply one-liner/small changes for ESP32-C3 2020-12-01 10:58:50 +11:00
Island
6c58c1f73d Merge branch 'bugfix/aligenie_demo' into 'master'
bugfix: update function parameter in aligenie example

See merge request espressif/esp-idf!11397
2020-11-30 13:49:39 +08:00
Angus Gratton
b782ccd1fb Merge branch 'bugfix/blecent_example_test' into 'master'
ci: Fix blecent example test

Closes IDFCI-93

See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
InfiniteYuan
39bddb720f ble_mesh: example: update function parameter 2020-11-30 11:01:41 +08:00
morris
8d0a0537cc eth: hide spi configuration when using internal emac 2020-11-27 21:11:31 +08:00
Jiang Jiang Jian
079247b42a Merge branch 'bugfix/blufi_config_potential_double_free' into 'master'
Bugfix/blufi config potential double free

Closes BCI-249, BCI-241, BCI-244, and BT-1174

See merge request espressif/esp-idf!9980
2020-11-27 13:44:37 +08:00
Michael (XIAO Xufeng)
a3b59aeeb5 Merge branch 'bugfix/clk_allocator' into 'master'
I2C: Fix logic issue on i2c clk allocator

See merge request espressif/esp-idf!11343
2020-11-26 18:18:52 +08:00
Island
bebdd08e08 Merge branch 'optimize/ble_mesh_provision_dev_uuid_check' into 'master'
ble_mesh: stack: Need uuid when adding device for provisioning

See merge request espressif/esp-idf!11299
2020-11-26 10:36:10 +08:00
Shivani Tipnis
fc146a98e4 ci: Fix blecent example test 2020-11-25 22:37:24 +05:30
Mahavir Jain
0a933f66e3 Merge branch 'fix/https_server_mem_leak_for_error_ret' into 'master'
Fix/https server mem leak for error ret

Closes IDFGH-4300

See merge request espressif/esp-idf!11369
2020-11-26 00:11:58 +08:00
lly
382815cad6 ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files 2020-11-25 20:51:23 +08:00
Angus Gratton
893a42e72c Merge branch 'bugfix/ci_example_test_check_performance_exception' into 'master'
CI: remove fake binary size check in example test

Closes IDFCI-255, IDFCI-256, and IDFCI-257

See merge request espressif/esp-idf!11356
2020-11-25 20:36:08 +08:00
Island
af45d6d6ea Merge branch 'bugfix/ble_mesh_wifi_coexit_example' into 'master'
bugfix: Delete local variables to avoid null global variables

See merge request espressif/esp-idf!11367
2020-11-25 20:29:15 +08:00
Aditya Patwardhan
df0b016cfd Fixed typo in configure_ds.py script commmand. 2020-11-25 13:47:48 +05:30
InfiniteYuan
b6c86dfa00 bugfix: Delete local variables to avoid null global variables 2020-11-25 15:41:31 +08:00
InfiniteYuan
7e182bb808 ble mesh: add aligenie ble mesh example 2020-11-25 14:33:33 +08:00
Cao Sen Miao
31afe8109f i2c: Fix bug on i2c clk allocator 2020-11-25 14:26:37 +08:00
He Yin Ling
a908174c06 test: remove fake binary size check in example test:
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
Michael (XIAO Xufeng)
af992c26bc Merge branch 'bugfix/fix_x32k_startup_slow_bug' into 'master'
bugfix: Fix xtal 32k not oscillate or oscillate too slowly issue for esp32

See merge request espressif/esp-idf!10519
2020-11-24 17:37:29 +08:00
wangcheng
d1bf93e055 component/bt: Add a macro to control the compilation of blufi. 2020-11-24 10:43:18 +08:00
chaijie
a48b5246cc ESP32: Fix xtal 32k not oscillate or oscillate too slowly issue
ESP32 in revision0 and revision1 uses touchpad to provide
current to oscillate xtal 32k. But revision2 and revision3
do not need to do that.
Note: touchpad can not work and toupad/ULP wakeup sources
are not available when toupad provides current to xtal 32k
2020-11-23 19:38:11 +08:00
lly
ad52ba97e1 ble_mesh: ci: Add enabling hb recv sdkconfig file 2020-11-23 01:28:28 +00:00
Jiang Jiang Jian
0e42b856af Merge branch 'bugfix/initialize_SO_REUSEADDR_value' into 'master'
[WiFi] fixed iperf example parameter opt isn't initialized bug

See merge request espressif/esp-idf!10913
2020-11-22 16:08:21 +08:00
David Čermák
ae30617810 Merge branch 'feature/mqtt_submodule_update_23c8e1ec' into 'master'
MQTT: Update submodule reference to da850b (config, error flags, minor fixes)

Closes IDFGH-4033

See merge request espressif/esp-idf!11225
2020-11-20 17:21:02 +08:00
Anton Maklakov
c82799c9c8 Merge branch 'feature/support_python3_ci' into 'master'
ci: All jobs use python3 by default

See merge request espressif/esp-idf!11154
2020-11-20 15:01:01 +08:00
David Cermak
c31cd77d43 examples: make mqtt tcp example to report tcp-transport errno 2020-11-19 17:25:04 +01:00
David Čermák
9741d43cdd Merge branch 'bugfix/ipv6_address_value_issue' into 'master'
lw-ip:bugfix for ipv6_address_value_issue

Closes WIFI-2636

See merge request espressif/esp-idf!10038
2020-11-19 21:13:12 +08:00
Shubham Kulkarni
83f4ebf852 esp_http_client: Skip check for redirection counter if status code is success.
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-11-19 14:43:14 +05:30
Chen Yu Dong
454edcc0a8 ci: all jobs use python3 by default 2020-11-19 03:27:58 +00:00
Jiang Jiang Jian
a139bceb0a Merge branch 'feature/11kv_roaming' into 'master'
esp_wifi: 11kv support for network assisted roaming

Closes WIFI-2471

See merge request espressif/esp-idf!9474
2020-11-18 20:40:36 +08:00
Angus Gratton
a22704a8f6 Merge branch 'bugfix/spiffsgen_example_test' into 'master'
example: Fix spiffsgen example test

Closes IDFCI-223

See merge request espressif/esp-idf!11255
2020-11-18 10:31:38 +08:00
Ivan Grokhotkov
3a01196eb0 Merge branch 'bugfix/smtp_client_attachment_newline' into 'master'
Add newline separator to fix wrong attachment sent

Closes IDFGH-4240

See merge request espressif/esp-idf!11177
2020-11-18 07:42:38 +08:00
Angus Gratton
29315213a8 example: Fix spiffsgen example test
Regression in 66fb5a29bb - whitespace cleanup
added trailing newline (\n) to the end of the file, which is printed as \r\n by
IDF printf, so the 'expect' fails to see it.
2020-11-17 22:28:34 +00:00
kapil.gupta
27101f9454 wpa_supplicant: Add initial roaming support
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.

Followings are added as part of this.

1. Support for sending neighbor report request and provide
   the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
   (triggered by the APP).
5. Support for bss transition management request and move
   to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
Angus Gratton
42a6b61132 Merge branch 'feature/console_repl_on_usb_cdc' into 'master'
console repl over usb cdc

Closes IDF-1644

See merge request espressif/esp-idf!8969
2020-11-17 07:14:16 +08:00
morris
aea901f014 eth: support W5500 in network examples 2020-11-16 13:30:49 +08:00
Xue Yun Fei
74236f0b29 bugfix for ipv6_address_value_issue
Closes https://github.com/espressif/esp-idf/issues/5663
2020-11-13 08:55:32 +00:00
morris
e039a28821 console: support create REPL over USB CDC 2020-11-13 10:51:40 +08:00
Shubham Kulkarni
cda61a87da Update OTA example to demonstate anti_rollback feature
Add example_test for anti_rollback feature
2020-11-11 11:51:28 +00:00
Mahavir Jain
e2716690bc Merge branch 'fix/esp_local_ctrl_update_expired_cert' into 'master'
esp_local_ctrl: Updated the expired cacert.pem

Closes IDFCI-212

See merge request espressif/esp-idf!11184
2020-11-11 19:40:02 +08:00
Aditya Patwardhan
e8b2d80944 esp_local_ctrl: Updated the expired cacert.pem 2020-11-11 08:38:25 +00:00
Angus Gratton
66fb5a29bb Whitespace: Automated whitespace fixes (large commit)
Apply the pre-commit hook whitespace fixes to all files in the repo.

(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton
e82eac4354 cmake: Apply cmakelint fixes 2020-11-11 07:36:35 +00:00
Vikram Dattu
c2b5744ae7 Fixed content type of attachment
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-11-10 11:57:20 +05:30
Vikram Dattu
5fc644ac27 Add newline separator to fix wrong attachment sent
Issue:

Missing newline between header and attachment

Issue seen with email clients viz., AppleMail and YahooMail. Attachment is not renderable.
Some clients like Google mail, Samsung mail tolerate the issue.

Fix:
Added newline between header and attachment.

Closes https://github.com/espressif/esp-idf/issues/6098

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-11-10 10:58:17 +05:30
nx518
9207c6ca8e lwip: Added description to Kconfig option on IPv6 SLAAC
Closes https://github.com/espressif/esp-idf/issues/6076
Merges https://github.com/espressif/esp-idf/pull/6078
2020-11-09 22:10:32 +00:00
David Cermak
cfbcb9f21e examples, esp_mesh: Fix internal ip mesh example to use transmit wrap function
Fixed regression caused by recent refactoring of WiFi Tx. If  wasn't defined all transmits end up in a crash.

Closes https://github.com/espressif/esp-idf/issues/6067
2020-11-09 20:32:58 +01:00
Ivan Grokhotkov
5dd16db1d6 Merge branch 'feature/esp_event_cxx' into 'master'
C++: ESP Event wrapper classes

Closes IDF-1048 and IDF-232

See merge request espressif/esp-idf!9602
2020-11-06 17:24:34 +08:00
dongyou
b55bb0a61f WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0 2020-10-29 02:50:31 +00:00
Jiang Jiang Jian
6bed9ec70c Merge branch 'bugfix/fix_ag_outging_callback_not_triggered' into 'master'
Bugfix/Fix Ag Example Outgoing Callback Not Triggered

Closes BTCI-50

See merge request espressif/esp-idf!10828
2020-10-28 19:57:02 +08:00
David Cermak
8a143fcf40 esp-netif: Fix PPP netif event posting to include esp_netif data
Closes https://github.com/espressif/esp-idf/issues/6009
2020-10-26 16:00:42 +00:00
Michael (XIAO Xufeng)
bcb5c3506d Merge branch 'feature/dedicated_gpio' into 'master'
Dedicated GPIO driver on ESP32-S2 and ESP32-S3

Closes IDF-1672

See merge request espressif/esp-idf!8716
2020-10-26 15:33:33 +08:00
Jiang Jiang Jian
090dbc5550 Merge branch 'feature/add_ipv6_ping' into 'master'
lw-ip:add feature for ipv6 ping

Closes WIFI-2535

See merge request espressif/esp-idf!9530
2020-10-26 15:16:23 +08:00
Mahavir Jain
df7fe00df7 Merge branch 'fix/use_cli_for_espefuse_in_configure_ds' into 'master'
esp32s2-ssl_ds: Use CLI interface for espefuse in configure_ds.py

See merge request espressif/esp-idf!10919
2020-10-23 22:14:17 +08:00
lly
73d22d8ed9 ble_mesh: example: Update sdkconfig test files for disabling Health Server model 2020-10-23 02:04:21 +00:00
lly
72d96c4e81 ble_mesh: example: Fix fast provisioning compile error 2020-10-23 02:04:21 +00:00
lly
d268e0fdb1 ble_mesh: ci: Add disabling mesh model sdkconfig test files 2020-10-23 02:04:21 +00:00
lly
b0f5e4b4ee ble_mesh: ci: Add disabling mesh deinit sdkconfig test files 2020-10-23 02:04:21 +00:00
Aditya Patwardhan
19df6529b2 esp32s2-ssl_ds: Use CLI interface for espefuse in configure_ds.py
* make the project CMakelists to flash the external partition "pre_prov"
    * Remove the dependancy of configure_ds.py on esptool.py
    * Updated README
    * Fix the help menu
2020-10-22 17:25:23 +05:30
xueyunfei
79fc027830 lwip:add feature for ipv6 ping 2020-10-22 15:01:59 +08:00
Jakob Hasse
f835bead45 C++: ESP Event wrapper classes
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
  waiting for events

* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
morris
d51a62e33a dedicated gpio: matrix keyboard example 2020-10-20 21:06:10 +08:00
Michael (XIAO Xufeng)
2e681f4cb5 Merge branch 'bugfix/fix_rs485_ut_fail' into 'master'
Bugfix/fix RS485 ut fail

See merge request espressif/esp-idf!9448
2020-10-19 16:17:23 +08:00
Alex Lisitsyn
8737584789 Bugfix/fix RS485 ut fail 2020-10-19 16:17:19 +08:00
morris
906dd0ad84 pcnt: replace isr register with isr service in example 2020-10-19 11:56:18 +08:00
morris
153e819e8a pcnt: add rotary encoder example 2020-10-19 11:56:18 +08:00
Michael (XIAO Xufeng)
647dea9395 soc: combine xxx_caps.h into one soc_caps.h
During HAL layer refactoring and new chip bringup, we have several
caps.h for each part, to reduce the conflicts to minimum. But this is
The capabilities headers will be relataive stable once completely
written (maybe after the featues are supported by drivers).

Now ESP32 and ESP32-S2 drivers are relative stable, making it a good
time to combine all these caps.h into one soc_caps.h

This cleanup also move HAL config and pin config into separated files,
to make the responsibilities of these headers more clear. This is
helpful for the stabilities of soc_caps.h because we want to make it
public some day.
2020-10-17 16:10:15 +08:00
Angus Gratton
2e5ca433f9 Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project

See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Angus Gratton
c90d6ae9af examples: Move idf_as_lib sdkconfig file to the project directory
Also add some explanation about configuring the project in the README

Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-14 19:30:30 +11:00
liqigan
743c1c1f20 fix ag example outgoing callback not triggered
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-14 09:47:16 +08:00
Felipe Neves
a3c90bf59a freertos: merged freertos 10 kernel files into IDF
freertos/port: update the port files and split into xtensa and riscv ports

freertos: separated cpu files from rest of the kernel sources

freertos/port_xtensa: separated private include files into a folder

freertos/tasks: added task create pinned to core function do not break current IDF API

freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.

freertos: freertos component now compiling

freertos: freertos component now building

freertos: moved critical sections outside from FR kernel section to portable section

portmacro_xtensa: add void indentifier on functions that take no arguments

freertos: fix critical sections implementation to match with their function prototype

freertos: add cmake changes of freertos into make

freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.

freertos: fix conflicitng types of vApplicationSleep function

license: update the license of freertos

freertos: Doxygen comments refactored to render them correctly on docs

freertos: added new functions of freertos into the documentation

freertos: added message buffers and stream buffers to documentation

sysview: update freertos system view to the compatible with version 10

freertos: fixed event group  documentation rendering

freertos:  update static task structure to match the actual tcb size

freertos: removed backported test functions

freertos/smp: brought SMP code to  FreeRTOS 10 port

freertos/portmacro: added missing crosscore interrupt for yielding tasks

freertos: replaced soft-critical sections with hard-critical sections used by SMP

freertos: placed muxes inside of kernel objects

freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections

freertos: moved xtensa port files to a separated folder

freertos: added multiple instance of global variables required to SMP

freertos: added SMP modifications on specific tasks module functions

freertos: added TLS deletion function to task module

freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete

freertos: modified vTaskDelete to do not erase current task that runs on other core

freertos: reverted taskhandle and timerhandle as void* type

freertos: fixed de-referencing void pointer to get run time counter

freertos: fix system view trace enter macro arguments

freertos: Replaced soft critical sections with spinlocks on event_groups

freertos: fixed tick function to avoid calling tick hooks twice

freertos: Nofity give checking per CPU if schedule is suspended

freertos: added mpu release on TCB deletion

freertos: Added SMP changes when deleting a TCB on idle task

freertos/license: update freertos license in COPYRIGHT.rst

freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0

freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly

freertos/xtensa:  update xtensa specific files used in master branch

newlib/locks: revert the preemption checking in lock acquisition and release

ref_clock: fix initial state of ref_clock interrupt handler

freertos: added missing critical sections and yielding checkings

freertos: remove magic numbers in vTaskDelete

freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Shubham Kulkarni
76860cc939 example_test.py: In ota example_test, open file in binary mode to avoid UnicodeDecodeError 2020-10-10 06:18:30 +00:00
Angus Gratton
e456af6537 Merge branch 'bugfix/fix_example_mapping' into 'master'
examples: fix eeprom ldgen mapping

See merge request espressif/esp-idf!10654
2020-10-06 16:20:51 +08:00
Mahavir Jain
20af94ff53 Coredump config option rename throughout IDF 2020-09-30 20:22:27 +05:30
Renz Bagaporo
0e1b1f7c69 examples: fix eeprom ldgen mapping 2020-09-28 15:29:38 +08:00
Cao Sen Miao
4065872a88 http_server: The example adds a new function about file saving to SDcard 2020-09-28 12:09:46 +08:00
Krzysztof Budzynski
068690e604 Merge branch 'docs/fix_formatting_issues_in_idf_monitor' into 'master'
docs: fix formatting issues in api-guides

Closes DOC-489, DOC-406, and DOC-487

See merge request espressif/esp-idf!10459
2020-09-24 15:30:33 +08:00
Wang Fang
00a99cfb9d docs: fix formatting issues in api-guides 2020-09-24 15:30:28 +08:00
Mahavir Jain
4a3b5b73a8 Merge branch 'feature/esp_ds_sw_support' into 'master'
Added support for  RSA  sign using DS peripheral (only for ESP32-S2)

Closes IDF-1626

See merge request espressif/esp-idf!9477
2020-09-23 20:39:04 +08:00
Angus Gratton
afe1413c9c Merge branch 'feature/bringup_esp32s3_fpga' into 'master'
esp32-s3 (beta2) chip bringup

Closes IDF-958

See merge request espressif/esp-idf!9978
2020-09-23 10:10:27 +08:00
Ivan Grokhotkov
2626f19500 Merge branch 'feature/add-command-idf-new-project' into 'master'
Add command for creating project and component with minimal required files

Closes IDF-1596

See merge request espressif/esp-idf!10156
2020-09-23 04:27:30 +08:00
Aditya Patwardhan
b5c2fa632d esp32s2/esp_ds: Added mqtt example for TLS using Digital Signature 2020-09-22 18:31:31 +05:30
morris
9fa06719fa global: enable build uinit test for esp32-s3 2020-09-22 15:15:03 +08:00
martin.gano
b599f127b5 add new command to idf 2020-09-21 23:38:52 +02:00
Mahavir Jain
48e96e8eb8 Merge branch 'feature/esp_cryptoauthlib_sub_update' into 'master'
esp-cryptoauthlib: Update submodule pointer to add a new feature.

See merge request espressif/esp-idf!10526
2020-09-21 13:38:01 +08:00
Ivan Grokhotkov
5925d21346 Merge branch 'feature/power_consumption_graphs' into 'master'
Power consumption graphs

Closes IDF-208

See merge request espressif/esp-idf!10476
2020-09-20 21:16:29 +08:00
Aditya Patwardhan
3988cf854d esp-cryptoauthlib: Update submodule pointer to add a new feature. 2020-09-19 09:48:18 +05:30
Michael (XIAO Xufeng)
8b1d39bf53 Merge branch 'bugfix/fix_mcpwm_period_calculation_bug' into 'master'
mcpwm_example: fix  period calculation bug in high frequency

See merge request espressif/esp-idf!10152
2020-09-18 02:02:32 +08:00
Ivan Grokhotkov
a62c6b6b05 Merge branch 'bugfix/flash_encryption_example_espsecure_public' into 'master'
examples: fix flash encryption example test (third version)

See merge request espressif/esp-idf!10480
2020-09-18 01:08:55 +08:00
Martin Valik
815d9ec6bd Power consumption graphs were added to ulp and wifi power save examples
Closes IDF-208
2020-09-17 13:20:09 +02:00
Mahavir Jain
d82b9275b5 Merge branch 'bugfix/provisioning_example_warning_with_O2_optimization' into 'master'
provisioning: use memcpy instead of strncpy for copying SSID

Closes IDFGH-3983

See merge request espressif/esp-idf!10467
2020-09-17 17:56:37 +08:00
Mahavir Jain
6a3d50c952 provisioning: use memcpy instead of strncpy for copying SSID
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.

Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.

Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 12:59:22 +05:30
Mahavir Jain
6d14bdf068 Merge branch 'feature/ota_example_test' into 'master'
Add OTA example test on Flash Encrypted runner

Closes IDFCI-73

See merge request espressif/esp-idf!9423
2020-09-17 12:39:41 +08:00