houwenxiang
0304ba906f
Example(I2S): Fixed I2S example sine wave sample calculation incorrect bug.
...
closes https://github.com/espressif/esp-idf/issues/4980
2020-03-25 01:35:01 +08:00
Ivan Grokhotkov
55c3c2b73d
Merge branch 'feature/vfs_optional' into 'master'
...
vfs: add option to disable VFS layer, saving some RAM and code size
See merge request espressif/esp-idf!7950
2020-03-24 21:11:28 +08:00
David Čermák
e50a7a97da
Merge branch 'bugfix/ipv6_examples' into 'master'
...
IPv6 related updates: esp-netif, common-connect, socket-examples
See merge request espressif/esp-idf!7500
2020-03-24 19:32:33 +08:00
ChenJianxing
fabb7e5e87
examples: update esp32s2 config for wifi iperf
2020-03-24 11:36:16 +08:00
Mahavir Jain
4e0e15631d
Merge branch 'feature/esp_http_client_add_example' into 'master'
...
Add example to demonstrate use of low level APIs in http client
Closes IDFGH-2773
See merge request espressif/esp-idf!7832
2020-03-23 21:14:13 +08:00
David Cermak
a5a750ba48
examples: add socket stdin utils to common connect component
2020-03-23 12:19:38 +00:00
David Cermak
995ef85e85
socket examples: add tests for server and client applications
2020-03-23 12:19:38 +00:00
David Cermak
63aa0d6e9c
common_connect: add support for getting multiple IPv6 addresses
2020-03-23 12:19:38 +00:00
David Cermak
56725fa678
esp-netif: support for ipv6 addr types and indices
2020-03-23 12:19:38 +00:00
David Cermak
94ded5fb2f
socket-examples: IPv6 related update for examples to set correct scoped id
...
The scope id must be present when connecting to IPv6 Local Link
address.
2020-03-23 12:19:38 +00:00
Ivan Grokhotkov
286538e7af
Merge branch 'bugfix/ci_example_target_specific_defaults' into 'master'
...
ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps
See merge request espressif/esp-idf!8061
2020-03-23 15:48:15 +08:00
Angus Gratton
b4d97a8076
Merge branch 'feature/add_heap_info_per_task_example' into 'master'
...
Add Task Heap Tracking example
See merge request espressif/esp-idf!7750
2020-03-23 14:07:00 +08:00
Vikram Dattu
e27c495354
Fixed broken http2_request example.
...
Implementation of `esp_tls_conn_new_sync` now uses timeout_ms value to
give up retries.
Specified this value to be 10 sec. (10 * 1000 ms).
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-03-23 05:16:40 +00:00
Shubham Kulkarni
b9555db47f
examples: Add example to demonstrate use of low level APIs for GET and POST requests
...
Use buffer to accumulate data of response from event handler and print the response on console
Demonstrate use of user_data field in esp_http_client_config_t to get response body
2020-03-23 10:45:39 +05:30
Shubham Kulkarni
d0d99fe4c7
esp_http_client_example.c: Fix http_perform_as_stream_reader example
...
Run Basic Auth examples only if ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is enabled
Closes https://github.com/espressif/esp-idf/issues/4969
2020-03-23 10:45:39 +05:30
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Chen Sheng
f3986bca71
ble mesh: update ble mesh console example
2020-03-22 18:34:39 +08:00
Ivan Grokhotkov
bfefee3205
examples: set correct CPU frequency in ethernet/iperf for ESP32-S2
2020-03-20 15:33:32 +01:00
Ivan Grokhotkov
1e462be4ab
examples: print free heap size in hello_world example
2020-03-20 14:07:10 +01:00
David Čermák
e7cd3b592e
Merge branch 'bugfix/esp_netif_ppp_setdefault_fix' into 'master'
...
ESP-NETIF: Set default interface for ppp netif must be called from lw_ip context
Closes IDFGH-2672
See merge request espressif/esp-idf!7555
2020-03-20 14:50:41 +08:00
Jiang Jiang Jian
4504fe62d0
Merge branch 'bugfix/add_esp_ble_mesh_coex_demo' into 'master'
...
ble_mesh: add ble mesh coex with tcp demo.
See merge request espressif/esp-idf!6372
2020-03-20 13:20:57 +08:00
David Cermak
fffdc1d789
esp-netif-ppp: support for setting ppp netif up and down
...
calling esp_netif_up() and esp_netif_down() was not supported if the
underlying netif wos of ppp type. Updated the code to enable setting
these interfaces up/down and registered actions in moden_netif glue for
connection/disconnection events to set the netif up/down.
2020-03-19 13:16:24 +00:00
Shubham Kulkarni
6e09056c25
example: Add Heap Task Tracking example
2020-03-19 15:07:41 +05:30
David Čermák
1d3dbb239a
Merge branch 'feature/ws_server' into 'master'
...
http_server: adds WebSocket support
Closes IDFGH-2151 and IDFGH-2752
See merge request espressif/esp-idf!7893
2020-03-19 17:20:56 +08:00
Hrishikesh Dhayagude
67a6fd6f3b
NimBLE: Add support to IRAM allocation strategy
...
Added IRAM allocation provision under nimble_platform_mem_malloc()
2020-03-19 04:47:39 +00:00
Angus Gratton
207914a13a
Merge branch 'refactor/common_code_panic_handler' into 'master'
...
Panic handling common code refactor
See merge request espressif/esp-idf!7489
2020-03-19 11:23:57 +08:00
David Cermak
0c13082b20
http_server docs: document websocket feature and corresponding example
2020-03-18 20:24:46 +00:00
David Cermak
1b842ce1a8
http_server: websocket server to support async send
2020-03-18 20:24:46 +00:00
David Cermak
d7b3a051f0
examples: http_server - add websocket echo server example with test
2020-03-18 20:24:46 +00:00
Jiang Jiang Jian
5193838a07
Merge branch 'feat/ble_mesh_vnd_model_example' into 'master'
...
Feat/ble mesh vnd model example
Closes BLEMESH-167
See merge request espressif/esp-idf!7840
2020-03-17 15:35:20 +08:00
Mahavir Jain
6795fc194f
Merge branch 'fix/wifi_provisioning_uuid' into 'master'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script
See merge request espressif/esp-idf!7939
2020-03-17 12:00:32 +08:00
Ivan Grokhotkov
454293159d
Merge branch 'docs/update_esp32s2_oocd_target_name' into 'master'
...
Updates OpenOCD commands
See merge request espressif/esp-idf!7906
2020-03-17 01:15:10 +08:00
Alexey Gerenkov
7ee7a6d7bb
docs: Updates OpenOCD command names
2020-03-16 19:06:47 +03:00
Prasad Alatkar
415ccf8518
Wifi_provisioning_mgr_test: Allow three attempts to connect to AP before concluding provisioning failure
2020-03-16 08:20:37 +00:00
Prasad Alatkar
8419aa85a9
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-16 08:20:37 +00:00
Piyush Shah
9ee5f3e8ce
wifi_prov_mgr: Add config options to switch transport and support for custom data
...
Config options have been set such that BLE transport will be the default for ESP32
and SoftAP will be the default for ESP-S2.
CMakeLists.txt for all provisioning examples applicable for ESP32-S2 have also been updated
as these now work fine on ESP32-S2
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
Piyush Shah
156ae68275
provisioning_examples: Move older examples to legacy/ folder
...
Change the manager example folder name to wifi_prov_mgr to sound more meaningful.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
lly
0d6ad3265e
ble_mesh: Add ESP BLE Mesh vendor models example
2020-03-12 18:21:29 +08:00
lly
e8fc87b6f3
ble_mesh: Rename ble_mesh_vendor_models to common_vendor_models
2020-03-12 17:50:12 +08:00
Angus Gratton
694e22b41a
Merge branch 'feature/multi_target_performance_test' into 'master'
...
Add multi-target support for performance tests
Closes IDF-1137 and IDF-1113
See merge request espressif/esp-idf!7831
2020-03-11 14:38:51 +08:00
Renz Christian Bagaporo
2b100789b7
esp32, esp32s2: move panic handling code to new component
2020-03-10 19:56:24 +08:00
Jiang Jiang Jian
a30557ca31
Merge branch 'mesh/feature_chain_topology' into 'master'
...
Mesh/feature chain topology
Closes WIFI-1726
See merge request espressif/esp-idf!7215
2020-03-10 17:41:11 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Michael (XIAO Xufeng)
81daaff050
Merge branch 'feature/usb_component' into 'master'
...
Feature/usb component
See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
Andrei Gramakov
9d059be165
usb: added a tinyusb component; ci; soc.
...
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
Angus Gratton
c1871437c8
Merge branch 'bugfix/console_repl_build_failure' into 'master'
...
bugfix reported on GitHub (ethernet, console, i2ctool)
Closes IDFGH-2780, IDFGH-2361, and IDFGH-2829
See merge request espressif/esp-idf!7886
2020-03-09 14:26:39 +08:00
qiyuexia
7bd03faa4b
mesh: add chain topology
2020-03-09 06:00:42 +00:00
Angus Gratton
1a8dc6f76b
Merge branch 'bugfix/ws_example_text_send' into 'master'
...
examples: websocket example to send textual data with esp_websocket_client_send_text()
See merge request espressif/esp-idf!7894
2020-03-09 13:34:51 +08:00
Felipe Ruhland
718a34f765
Fix typo from ic2_tools readme
...
Merges https://github.com/espressif/esp-idf/pull/4488
2020-03-07 12:11:37 +08:00
Michael (XIAO Xufeng)
63cd2b0613
Merge branch 'feature/esp32s2_sd_card_example' into 'master'
...
examples: re-enable storage/sd_card example for ESP32-S2
Closes IDF-1125
See merge request espressif/esp-idf!7850
2020-03-06 16:10:07 +08:00
Angus Gratton
46e6307e07
Merge branch 'bugfix/fix_passing_argument_to_ulp_cmake_script' into 'master'
...
Fix passing argument to ULP CMake script
See merge request espressif/esp-idf!7845
2020-03-06 14:37:03 +08:00
Angus Gratton
b393203b27
Merge branch 'feature/x509_cert_management' into 'master'
...
X509 certificate management
Closes IDF-296
See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Michael (XIAO Xufeng)
8e348dcdcd
Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
...
bugfix(i2s): fix driver ut i2s
See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
Prasad Alatkar
48bd2d74b4
NimBLE: Add Host based privacy (RPA) feature support
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-06 11:02:18 +08:00
David Čermák
a3816bcb75
Merge branch 'bugfix/example_esp32s2_ipv6_on' into 'master'
...
examples: enable IPv6 in example common connect for esp32s2
Closes IDF-1115
See merge request espressif/esp-idf!7879
2020-03-06 04:05:27 +08:00
David Cermak
48fe3a13f5
examples: common connect code to ignore GOT_IP6_EVENT if comes from unrelated netif
2020-03-05 18:46:48 +00:00
David Cermak
eae8eaa55f
esp-netif-ppp: support for posting GOT_IP event for IPv6
2020-03-05 18:46:48 +00:00
Francesco Giancane
afd6d6294e
examples: pppos_client: update sdkconfig.defaults
...
As per discussion in #4782 , IPV6 link local negotiation by default is
disabled.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
2020-03-05 18:46:48 +00:00
David Cermak
0927ac648f
examples: enable IPv6 in example common connect for esp32s2
...
Closes IDF-1115
2020-03-05 18:33:35 +00:00
David Cermak
e5650d1ed8
examples: websocket example to send textual data with esp_websocket_client_send_text()
...
Closes https://github.com/espressif/esp-idf/issues/4640
2020-03-05 16:26:26 +01:00
Ivan Grokhotkov
4fc3ebbdf6
examples: re-enable storage/sd_card example for ESP32-S2
...
* adjust SPI initialization
* update readme file to mention ESP32-S2
2020-03-05 13:22:18 +01:00
wangcheng
03d11913a2
ble_mesh: add ble mesh coex test example
2020-03-04 14:56:26 +08:00
Marius Vikhammer
947e3e94ed
Add ESP certificate bundle feature
...
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.
Default bundle includes all Mozilla root certificates
Closes IDF-296
2020-03-04 10:51:43 +08:00
Renz Bagaporo
7dbd77cefc
examples: split source files for one of the ulp examples
2020-03-03 16:56:14 +08:00
xiongyu
b3ae9fa978
bugfix(i2s): Updated ESP32-S2 ADC DAC support
...
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
fuzhibo
3ad5138dd8
fix coexist i2s_adc and rtc_adc
2020-03-03 11:58:53 +08:00
xiongyu
faf898b659
bugfix(i2s): fix driver ut i2s
...
* Add test support for ESP32S2
* Add loop back test
* Support chip internal connection, no external wiring required.
* Delete the relevant codes of PDM of ESP32-S2 ll layer.
* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Michael (XIAO Xufeng)
ce3ab0b8df
Merge branch 'bugfix/nec_example' into 'master'
...
bugfix in NEC example and low level function
Closes IDFGH-2676 and IDFGH-2689
See merge request espressif/esp-idf!7562
2020-02-28 11:00:50 +08:00
lly
7cd08b5824
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-26 17:37:44 +08:00
Krzysztof Budzynski
097d0bd9c8
Merge branch 'bugfix/doc_python3' into 'master'
...
Docs: Encourage to use Python 3
Closes IDF-1316
See merge request espressif/esp-idf!7726
2020-02-26 05:04:18 +08:00
Jiang Jiang Jian
02e2c30ba2
Merge branch 'bugfix/hfp_github_issues' into 'master'
...
Bugfix/hfp github issues
Closes BT-614, BT-639, and BT-633
See merge request espressif/esp-idf!7753
2020-02-25 21:05:56 +08:00
weitianhua
477e584f7d
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-02-25 18:03:54 +08:00
Jiang Jiang Jian
cc7b5ed6d2
Merge branch 'feature/resume_several_tests_on_esp32s2' into 'master'
...
Resume several tests on esp32s2
Closes IDF-1013, IDF-1025, and IDF-1030
See merge request espressif/esp-idf!7751
2020-02-25 14:28:14 +08:00
Roland Dobai
5c0cd9417d
Docs: Encourage to used Python 3
2020-02-24 12:55:55 +01:00
Shubham Kulkarni
4d40f94168
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-02-24 16:53:27 +05:30
morris
237f6448d3
resume pppos example on esp32s2
2020-02-24 12:02:18 +08:00
morris
da6742b91f
resume iperf example on esp32s2
2020-02-24 11:59:25 +08:00
Mahavir Jain
d472e99a8f
examples: fix cpp example tests regression
2020-02-19 11:03:07 +05:30
Ivan Grokhotkov
fe0df01b12
Merge branch 'bugfix/from_github' into 'master'
...
Fixes from Github
Closes IDFGH-2679, IDFGH-2632, IDFGH-2716, IDFGH-2439, and IDFGH-2509
See merge request espressif/esp-idf!7659
2020-02-18 23:53:38 +08:00
Jiang Jiang Jian
a16d795448
Merge branch 'example/ble_optimization_the_example_ble_spp_server_demo' into 'master'
...
example : Optimize the ble_spp_server_demo example
Closes BCI-90
See merge request espressif/esp-idf!7029
2020-02-18 21:00:54 +08:00
khuynh
21fd946312
fix markdown table formatting
...
fixed markdown for a table in
`examples/peripherals/temp_sensor_esp32s2/README.md`
Merges https://github.com/espressif/esp-idf/pull/4609
2020-02-18 12:30:56 +01:00
Jakob Hasse
31edd48b43
C++: Moved all C++ examples to own folder
...
* moved C++ examples to a new cxx folder in
examples
* added experimental C++ component
* added ESPException class to the C++ experimental
component
* added test cases for ESPException and
corresponding test macros
2020-02-18 12:48:57 +08:00
Renz Christian Bagaporo
bb639bb91d
ulp: use quotes when specifying files for embedding ulp binaries
2020-02-18 00:12:56 +00:00
DeeFuse
c788351c94
Update ir_builder_rmt_nec.c
...
fixes standard protocol mode wich would fail due to integer promotion in inversion
Merges https://github.com/espressif/esp-idf/pull/4750
2020-02-17 15:20:41 +08:00
DeeFuse
a63a0be6ed
Update ir_protocols_main.c
...
RMT write should be non-blocking to wait the correct time for sending the repeat frame
2020-02-17 15:20:41 +08:00
Angus Gratton
effefc2329
Merge branch 'feat/sdio_example_without_intr' into 'master'
...
sdio: update the host example to support working with a slave without DAT1
See merge request espressif/esp-idf!7098
2020-02-17 07:04:31 +08:00
Jiang Jiang Jian
928438056d
Merge branch 'bugfix/btdm_hfp_ag_crash_in_unknown_at_cmd' into 'master'
...
components/bt: Fix connection fail and crash when receive unknown AT cmd
Closes BT-565
See merge request espressif/esp-idf!7389
2020-02-14 19:46:46 +08:00
Michael (XIAO Xufeng)
067f3d21c9
sdspi, vfs_fat: allow sharing SPI bus among devices, and mounting multiple SD cards
2020-02-12 15:16:08 +08:00
Francesco Giancane
d8755fff3f
esp_modem.c: post PPP stop event when requested
...
When library users call esp_stop_ppp(), it is expected that the PPP link
is closed and the DCE is moved into command mode.
If the STOP event is not posted into the event loop, then the PPP stack
would not be turned off, resulting in the impossibility to switch into
command mode, as the modem is still sending PPP binary data.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4642
2020-02-10 09:49:27 +00:00
Ivan Grokhotkov
f11b8f14c7
Merge branch 'feature/support_enc28j60' into 'master'
...
Added ENC28J60 Example
Closes IDFGH-2295
See merge request espressif/esp-idf!6877
2020-02-10 17:18:38 +08:00
Angus Gratton
59c39173f2
Merge branch 'feature/mqtt_unit_test' into 'master'
...
mqtt: basic set of unit tests, modify example tests to check ssl connect
See merge request espressif/esp-idf!7393
2020-02-10 15:10:56 +08:00
morris
9e59be1aab
ethernet: add enc28j60 example
2020-02-10 12:56:14 +08:00
Henry Gilbert
eda07acc81
Add ENC28J60 Ethernet Driver
...
Merges https://github.com/espressif/esp-idf/pull/4435
2020-02-10 12:56:14 +08:00
David Cermak
911be99054
mqtt-tests: migrate the publish-connection test from example-test to test-apps
2020-02-07 21:14:24 +01:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
David Cermak
3ecb731c23
mqtt: example test to check connection with different ssl parameters
2020-02-07 10:35:40 +01:00
Ivan Grokhotkov
8a6c3c254c
examples/smtp: fix strict prototypes error in SMTP example
2020-02-06 16:40:13 +01:00
Angus Gratton
5c05af2641
Merge branch 'example/simple_smtp_client' into 'master'
...
Added simple SMTP email client.
Closes IDF-1292
See merge request espressif/esp-idf!7309
2020-02-06 14:29:43 +08:00
Angus Gratton
34b1ea9b3d
Merge branch 'feature/netif_ppp_authtype_none' into 'master'
...
esp-netif: PPPoS fixes
Closes IDFGH-2553 and IDFGH-2548
See merge request espressif/esp-idf!7488
2020-02-06 14:14:43 +08:00
Shubham Kulkarni
ba31458347
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-02-05 11:56:37 +05:30