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
Ivan Grokhotkov
50466a5e4f
Merge branch 'bugfix/esp32s2_ldscripts' into 'master'
...
esp32s2: LD script fixes/improvements and re-enable SystemView examples
Closes IDF-1357, IDF-1354, and IDF-1346
See merge request espressif/esp-idf!7431
2020-02-05 02:09:29 +08:00
Vikram Dattu
405186c866
Added simple SMTP email client.
...
This is based on `ssl_mail_client` from mbedtls.
The client also adds functionality to send attachments.
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-02-04 18:13:28 +05:30
Mahavir Jain
9ee50266cc
Merge branch 'nimble/misc_host_flow_ctrl_changes' into 'master'
...
NimBLE: Misc fixes in NimBLE host flow control and `blecent` example
See merge request espressif/esp-idf!7042
2020-02-03 13:59:45 +08:00
David Cermak
7d45bfda21
esp_netif_lwip_ppp: fix posting ip-event data
...
Closes https://github.com/espressif/esp-idf/issues/4634
2020-01-31 15:21:30 +01:00
Prasad Alatkar
4047f7e180
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
Closes https://github.com/espressif/esp-idf/issues/4243
2020-01-31 10:46:55 +05:30
David Cermak
3f10c4af06
OTA: enable example builds for esp32s2 target
...
Closes IDF-1035
2020-01-29 15:20:42 +01:00
Felipe Neves
429712c6eb
freertos: moved all xtensa specific files into a separated folder
2020-01-27 16:05:30 -03:00
David Cermak
0c21e677cc
http_client: fix example test to expect -1 as content-len for chunked transfer
2020-01-26 16:42:37 +01:00
Ivan Grokhotkov
4145ca591f
examples: re-enable SystemView examples for esp32s2
...
Closes IDF-1357
2020-01-24 10:48:38 +01:00
michael
1f43f33567
sdio: update the host example to support working with a slave without DAT1
...
The interrupt line (DAT1) is an extra pin comparing to SD memory,
allowing the slave to actively inform the host some events.
It's possible for two ESP32 chips to communicate with each other in
1-bit mode or SPI mode without the DAT1 line by polling the slave's
interrupt registers. But this will increase the CPU load of the host,
and do harm to the response speed to slave events.
2020-01-22 05:34:21 +00:00
morris
e30cd361a8
global: rename esp32s2beta to esp32s2
2020-01-22 12:14:38 +08:00
Angus Gratton
78e219bbe2
Merge branch 'bugfix/eth_int_allocate' into 'master'
...
PSRAM related fix
Closes IDFGH-2263 and IDFGH-2549
See merge request espressif/esp-idf!7310
2020-01-21 07:31:26 +08:00
baohongde
5ca4c85497
components/bt: Fix connection fail and crash when receive unknown AT cmd
2020-01-20 11:32:26 +08:00
morris
5ad0bdd8db
ethernet: work with cache disabled
...
add ETH_MAC_FLAG_WORK_WITH_CACHE_DISABLE flag, make ethenret driver
possible to work when cache disabled
Closes https://github.com/espressif/esp-idf/issues/4406
2020-01-19 16:25:24 +08:00
Axel Lin
fdda7b3bdf
pppos_client: Fix power_down dce immediately after got IP
...
This was accidently commited bug when convert to use esp-netif, fix it.
Fixes: 25913af2cc
("pppos_client: udated example code to use esp-netif in PPP configuration")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4618
2020-01-17 07:38:15 +01:00
Ivan Grokhotkov
0c99aef08d
Merge branch 'feature/bringup_723_cmake' into 'master'
...
bringup 723 cmake
See merge request espressif/esp-idf!6578
2020-01-17 09:20:34 +08:00
Hrishikesh Dhayagude
482d7f651d
NimBLE: Update the documentation link in the examples
2020-01-16 22:00:36 +08:00
morris
1c2cc5430e
global: bring up esp32s2(not beta)
2020-01-16 17:41:31 +08:00
KonstantinKondrashov
b49a657448
build: Add CONFIG_APP_PROJECT_VER to set the project version from Kconfig
2020-01-15 11:02:27 +00:00
ziyuan_yin
e8ac0bd429
wave_gen example: analog signal generator
...
This wave generator example does following:
- An analog signal generator.
- Offering four kinds of waveform:
sine, triangle, sawtooth, square.
- Customer can select their expected waveform, frequency, etc. All of them can be configured in menuconfig.
2020-01-14 09:23:44 +00:00
gengyuchao
38d962bb38
Add notes
2020-01-10 20:37:46 +08:00
gengyuchao
3366467980
ble:set a esp api to get size of controller send packets buffer.
2020-01-10 20:32:07 +08:00
gengyuchao
189cd21660
bugfix:Fixed throughput wasting memory and packet loss issues.
2020-01-10 20:32:07 +08:00
Angus Gratton
782fc0df5f
Merge branch 'refactor/can_driver' into 'master'
...
Refactor CAN to use HAL and LowLevel layers
Closes IDF-617
See merge request espressif/esp-idf!7019
2020-01-10 14:22:02 +08:00
Angus Gratton
8bc618f070
Merge branch 'feature/sntp_add_desc' into 'master'
...
docs: Add System time chapter and for sntp a description about using...
Closes IDFGH-2237, IDF-1199, and IDF-38
See merge request espressif/esp-idf!6818
2020-01-10 13:29:47 +08:00
Konstantin Kondrashov
2c793cef06
idf: Support a custom toolchain with time_t wide 64-bits
...
Allows resolving the Y2K38 problem.
Closes: IDF-350
Closes: https://github.com/espressif/esp-idf/issues/584
2020-01-10 12:58:54 +08:00
KonstantinKondrashov
c23549c04f
docs: Add System time chapter and for sntp a description about using CONFIG_LWIP_SNTP_UPDATE_DELAY option
...
Closes: https://github.com/espressif/esp-idf/issues/4386
Closes: IDFGH-2237
Closes: IDF-1199
2020-01-10 14:49:07 +11:00
gengyuchao
373a31abb7
btdm: Add comments to clarify the two different device names of GAP and ADV in the ble_spp_server_demo example, as the old example might confuse users.
2020-01-09 20:45:56 +08:00
Jakob Hasse
d286876d34
NVS: expose C++ API
...
Closes https://github.com/espressif/esp-idf/issues/3540
2020-01-09 18:29:23 +08:00
Darian Leung
a049e02d96
can: Refactor CAN to use HAL and LowLevel layers
...
The following commit refactors the CAN driver such that
it is split into HAL and Lowlevel layers. The following
changes have also been made:
- Added bit field members to can_message_t as alternative
to message flags. Updated examples and docs accordingly
- Register field names and fields of can_dev_t updated
2020-01-09 16:13:51 +08:00
Angus Gratton
4ece6eedae
Merge branch 'bugfix/ws_rcv_exceed_buf' into 'master'
...
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
Closes IDF-1084 and IDF-1083
See merge request espressif/esp-idf!6740
2020-01-09 13:18:31 +08:00
Hrishikesh Dhayagude
8aeacd7478
ESP-BLE-Mesh: Printf the current on/off state to the application during the GET request
2020-01-08 22:28:25 +08:00
Krzysztof
6070f610cc
Implement review comments
2020-01-08 18:41:43 +08:00
Nathan Phillips
23e6ee9d01
Fix typos in README
...
Fix a broken link as well as updating the text.
Merges https://github.com/espressif/esp-idf/pull/4531
2020-01-07 13:12:13 +08:00
Mahavir Jain
8bfb32735f
Merge branch 'bugfix/use_mbedtls_spiram_strategy' into 'master'
...
Use mbedtls SPIRAM strategy in example_test.py
Closes IDF-1293
See merge request espressif/esp-idf!7132
2020-01-07 11:37:08 +08:00
Marius Vikhammer
ffeda3003c
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
2020-01-06 17:18:13 +08:00
Shubham Kulkarni
563175d90a
mbedtls: Use SPIRAM strategy in example_test.py
2020-01-03 15:30:03 +05:30
Jakob Hasse
bcefbb03ad
examples: using xEventGroup bits properly
...
Closes IDF-1177
* changed
../../wifi/getting_started/station/README.md
../../wifi/getting_started/station/main/station_example_main.c
2020-01-03 16:10:27 +08:00
Mahavir Jain
97c8b90083
Merge branch 'bugfix/advanced_https_ota_example' into 'master'
...
Bugfix for failing OTA example
Closes IDF-1080 and IDFGH-2249
See merge request espressif/esp-idf!6979
2020-01-02 17:29:35 +08:00
Shubham Kulkarni
032a041395
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2019-12-31 14:18:16 +05:30
Ivan Grokhotkov
acca61c714
Merge branch 'bugfix/spiffs_partition_label_usage' into 'master'
...
spiffs: clarify the usage of partition_label, fix the example
Closes IDFGH-2313
See merge request espressif/esp-idf!7092
2019-12-27 19:20:46 +08:00
Mahavir Jain
b5b30736de
Merge branch 'bugfix/httpd_file_serving_example_chunked_resp' into 'master'
...
file_server: fix issue with sending last chunk
Closes IDFGH-2414
See merge request espressif/esp-idf!7089
2019-12-27 14:44:02 +08:00
Ivan Grokhotkov
750818de72
spiffs: clarify the usage of partition_label, fix the example
...
* If esp_vfs_spiffs_register is called with an explicit partition
label, other SPIFFS functions (info, format, unregister) must be
called with the same label.
* On the other hand, if label was NULL in the call to
esp_vfs_spiffs_register and the first matching partition was used,
calls to the rest of the SPIFFS functions should be done with NULL
partition_label argument.
Fix the Doxygen documentation. Update the example accordingly, in case
a user modifies "partition_label" value in esp_vfs_spiffs_conf_t conf
initializer.
Closes https://github.com/espressif/esp-idf/issues/4450
2019-12-23 18:20:14 +01:00
Mahavir Jain
9ef8cafeca
file_server: fix issue with sending last chunk
...
Closes: https://github.com/espressif/esp-idf/issues/4528
Closes IDFGH-2414
2019-12-23 12:01:16 +05:30
lly
2ac8900a58
ble_mesh: Remove useless example files
2019-12-23 13:32:23 +08:00
Jiang Jiang Jian
f106e14400
Merge branch 'bugfix/iperf_example_configs' into 'master'
...
examples/wifi/iperf: fix test not finding any configs
See merge request espressif/esp-idf!6802
2019-12-18 15:35:20 +08:00
Angus Gratton
30372f5a4f
Merge branch 'docs/esp_netif_programmer_manual' into 'master'
...
esp netif: formal fixes (docs and c++ sentinels again)
Closes IDFGH-2265
See merge request espressif/esp-idf!6819
2019-12-18 13:12:36 +08:00
Angus Gratton
4325c98a27
Merge branch 'bugfix/esp_netif_netsuite_test_fix' into 'master'
...
esp_netif: update netsuite test example to use I/O driver configuration
Closes IDFGH-2259
See merge request espressif/esp-idf!6834
2019-12-18 11:23:46 +08:00
Angus Gratton
43fe904260
Merge branch 'feature/ws_local_server_test' into 'master'
...
websocket_client: added example_test with a local websocket server
Closes IDF-907
See merge request espressif/esp-idf!6366
2019-12-18 11:15:33 +08:00
David Cermak
74d768fe6d
ci: updated mqtt weekend test for qemu support
...
Added default sdkconfig for qemu build for the mqtt publish example,
Added environment configuration for running the same test on target
or in qemu
Updated missing example tests per latest ttfw refactoring
2019-12-17 14:06:40 +01:00
Ivan Grokhotkov
85c97967d5
tiny-test-fw: add QEMU DUT
2019-12-17 14:06:40 +01:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
David Cermak
b61b927008
esp_netif: minor log message fix in dhcps cb
...
To make it more general, since the DHCP server does not necessarily runs only on softAP.
2019-12-17 09:02:51 +01:00
David Cermak
bbbdcbfe4c
esp_netif: update netsuite test example to use I/O driver configuration
...
closes https://github.com/espressif/esp-idf/issues/4403
2019-12-16 19:38:01 +00:00
David Cermak
04a25394aa
esp_modem: add simple compatibility layer for new esp_modem connecting over esp-netif
2019-12-16 17:34:10 +00:00
David Cermak
25913af2cc
pppos_client: udated example code to use esp-netif in PPP configuration
2019-12-16 17:34:10 +00:00
Ivan Grokhotkov
211c54cef3
examples/wifi/iperf: fix test not finding any configs
...
Regression from ebd7004
2019-12-16 11:51:49 +00:00
Angus Gratton
40b657d4fe
Merge branch 'feature/prebuilt_binary_example' into 'master'
...
cmake: import prebuilt library
See merge request espressif/esp-idf!6838
2019-12-13 13:36:47 +08:00
Ivan Grokhotkov
7bda06f7f4
Merge branch 'bugfix/console_example' into 'master'
...
esp32s2beta: add missing sleep APIs, re-enable console example
Closes IDF-1033
See merge request espressif/esp-idf!6572
2019-12-12 22:44:43 +08:00
Ivan Grokhotkov
522cef42ab
examples: re-enable console example for esp32s2beta
2019-12-12 14:34:15 +01:00
Jiang Jiang Jian
77290ddd07
Merge branch 'demo/hfp-client-demo' into 'master'
...
component_bt/: Add HFP HF Unit Example
Closes BT-459
See merge request espressif/esp-idf!6495
2019-12-12 21:19:04 +08:00
weitianhua
4cba4ddadc
Make only for ESP32
2019-12-12 17:12:38 +08:00
weitianhua
c2e97b1042
Enable mSBC for demo
2019-12-12 17:12:38 +08:00
weitianhua
392eb79704
Format the BTM_WBS_INCLUDED macro
2019-12-12 17:12:38 +08:00
weitianhua
ad4b11a4f1
Fix crash when WBS enabled.
2019-12-12 17:12:38 +08:00
weitianhua
45fb144224
Add hfp_ag example with updated doc
2019-12-12 17:12:38 +08:00
weitianhua
d900971deb
Make only for ESP32
2019-12-12 17:12:19 +08:00
weitianhua
742cb8df9e
Update the README.md
...
Fix the m_rb bug in bt_app_hf.c
Change the log level into information.
2019-12-12 17:12:19 +08:00
weitianhua
88c8791b1d
HFP HF Client Example
2019-12-12 17:12:19 +08:00
Geng Yu Chao
6c923cf330
Fix some typo in idf
2019-12-12 15:55:42 +08:00
Marius Vikhammer
67c5225c14
websocket_client: added example_test with a local websocket server
...
- Added a example test that connects to a local python websocket server.
- Added readme for websocket_client example.
Closes IDF-907
2019-12-12 11:00:58 +08:00
Renz Christian Bagaporo
2ebaf53edc
examples: add import prebuilt example
2019-12-10 19:22:25 +08:00
Hrishikesh Dhayagude
9b64ef7850
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event
2019-12-10 15:54:49 +08:00
Alex Lisitsyn
ba1ee4092a
freemodbus: fix merge issues
2019-12-10 14:30:25 +08:00
Alex Lisitsyn
44444208b7
freemodbus: update poll event processing
...
update modbus poll event loop processing to process multiple events
2019-12-10 14:27:09 +08:00
Ivan Grokhotkov
9859d8867d
Merge branch 'feature/sysview_json_traces' into 'master'
...
Support for converting SystemView traces to JSON format
See merge request espressif/esp-idf!5674
2019-12-09 22:46:13 +08:00
Jiang Jiang Jian
b603322856
Merge branch 'doc/update_several_ble_mesh_docs' into 'master'
...
doc: update ble mesh docs based on the feature and example update
Closes BLEMESH-78
See merge request espressif/esp-idf!6836
2019-12-09 22:25:20 +08:00
Geng Yu Chao
46c53ab8c8
btdm:fix the problem that Not getting complete Identity Address (Public Address) of the Privacy-enabled Bonded Device after bonding. beacuse of the wrong memcpy in LE_KEY callback handler.
2019-12-09 15:21:49 +08:00
lly
2daa8e6587
doc: update ble mesh docs based on the feature and example update
2019-12-09 14:57:15 +08:00
He Yin Ling
164e8ba21f
test: support loadable elf test cases:
...
loadable elf example is different for 2 reasons:
1. loadable elf binary don't have flasher_args.json, so we can't use normal
to get from CI artifacts
2. it don't have binary and don't need to downloaded binary to DUT. Some
related functions can be ignored
2019-12-08 20:32:11 +08:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
Wang Jia Lin
f5e60524ac
Merge branch 'bugfix/fix_i2c_driver_breakingchange_issue' into 'master'
...
bugfix(i2c): fix I2C driver breaking change issue
See merge request espressif/esp-idf!6809
2019-12-06 16:50:16 +08:00
Wang Jia Lin
d0034f5a12
Merge branch 'bugfix/fix_uart_driver_spinlock_misused_bug' into 'master'
...
bugfix(UART): fix uart driver spinlock misused bug
See merge request espressif/esp-idf!6870
2019-12-06 11:12:54 +08:00
Alexey Gerenkov
b81e537b7f
apptrace: Extends SystemView heap & log example to run many allocator/freer tasks
2019-12-04 18:04:11 +03:00
Jiang Jiang Jian
d24fe09356
Merge branch 'feature/reorganise_bluetooth-bluedroid-hci' into 'master'
...
Moved HCI examples from bluetooth/bluedroid/hci to bluetooth/hci.
See merge request espressif/esp-idf!6686
2019-12-04 20:28:20 +08:00
Jiang Jiang Jian
0c0430a169
Merge branch 'bugfix/btdm_allow_start_adv_again' into 'master'
...
component/bt: allow to send stop adv again and fix tx prog crash
See merge request espressif/esp-idf!6573
2019-12-04 20:23:36 +08:00
houwenxiang
aac935ec81
bugfix(i2c): fix I2C driver breaking change issue.
...
1. Fixed I2C driver breaking change issue.
2. Add I2C UT test case.
2019-12-04 15:51:36 +08:00
Angus Gratton
70cfd7e24c
Merge branch 'bugfix/ethernet_pm_lock' into 'master'
...
ethernet: add pm lock
Closes IDF-1053
See merge request espressif/esp-idf!6881
2019-12-04 15:06:12 +08:00
Angus Gratton
054724596d
Merge branch 'feature/add_ir_protocol_example_test' into 'master'
...
rmt: enable ir protocols example test
Closes IDF-906
See merge request espressif/esp-idf!6856
2019-12-04 14:35:22 +08:00
Michael (XIAO Xufeng)
17b7c9036f
sdio_example: use the new esp_ser component and new evboard
2019-12-03 22:58:43 +08:00
Michael (XIAO Xufeng)
087c8f6065
essl: new component to communicate with esp serial slave devices
2019-12-03 22:58:41 +08:00
morris
ac11545e0a
ethernet: warning when double start/stop
2019-12-03 16:10:20 +08:00
houwenxiang
e4230d11ca
bugfix(UART): fix uart driver spinlock misused bug
...
1. fix uart driver spinlock misused bug
2. add uart driver ut test case
3. undo the change in light_sleep_example_main.c
2019-12-03 16:06:31 +08:00
morris
c43fe5e52e
rmt: enable ir protocols example test
2019-12-03 10:45:53 +08:00
Hrudaynath Dhabe
cde8df7887
Minor bugfix in wpa2_enterprise_example
2019-12-02 13:54:51 +08:00
Angus Gratton
da4cb76f5a
test: Refactor TFW load_source() method to only take the file path
...
Fixes issues where example tests for persistent_sockets and advanced_tests both
loaded a module named "client", causing a race condition.
2019-11-28 19:25:52 +08:00
Geng Yu Chao
979b05f933
example/ble_throughput fix the throughput clinet crash bug when open the CONFIG_GATTC_WRITE_THROUTHPUT option
2019-11-28 11:30:56 +08:00
Renz Christian Bagaporo
e6ad330018
ble_mesh_wifi_coexist example: Disable Wi-Fi RX IRAM optimisation
...
Otherwise IRAM usage is too high in this example.
2019-11-28 09:20:00 +08:00
Angus Gratton
ecaf816c0b
Merge branch 'bugfix/freemodbus_fix_clang_warnings' into 'master'
...
freemodbus: fix clang warnings of freemodbus stack
See merge request espressif/esp-idf!5193
2019-11-28 07:06:19 +08:00
Fu Zhi Bo
3a468a1ffd
Refactor the touch sensor driver
2019-11-27 20:08:44 +08:00
zhiweijian
fb369577d9
component/bt: allow adv stop again when adv is already stoped and fix crash when tx prog sometimes
2019-11-27 10:03:06 +00:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
Angus Gratton
91b7a7beaf
Merge branch 'bugfix/timer_intr_status_get' into 'master'
...
bugfix(timer): fix get intr status function
See merge request espressif/esp-idf!6807
2019-11-27 09:13:16 +08:00
chenjianqiang
bcfe684951
bugfix(timer): add a macro to control making the XTAL related functions
2019-11-26 12:39:46 +00:00
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00
aleks
6e14b6265b
freemodbus: fix merge issues
2019-11-26 11:25:12 +01:00
aleks
cf4c95532f
freemodbus: fix clang warnings
2019-11-26 10:37:14 +01:00
aleks
4f9742d90c
freemodbus: fix supported targets ci issue
2019-11-26 09:07:47 +01:00
Alex Lisitsyn
67f62a79c1
freemodbus: add modbus master ascii
...
add support of modbus master ascii
rename base dir name of master and slave example to be mb_slave, mb_master to avoid conflict with sdio/slave example test
add Kconfig option to enable ASCII and RTU mode separately
update ASCII options + remove cast for errors
added baudrate for examples into Kconfig
updated magic numbers for timer timeout
put ascii private definitions into one file
2019-11-26 13:16:25 +08:00
Roland Dobai
686abe6a2f
CI: ignore a non-fatal error in the loadable ELF file example
2019-11-25 13:57:39 +01:00
Ivan Grokhotkov
6fda3df953
Merge branch 'bugfix/gpio_pin_bit_mask_truncation' into 'master'
...
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
See merge request espressif/esp-idf!6746
2019-11-22 17:41:05 +08:00
Angus Gratton
989825908b
Merge branch 'feature/esp32s2beta_ulp_projbuild' into 'master'
...
Support esp32s2beta ULP in build system
See merge request espressif/esp-idf!5412
2019-11-22 15:59:44 +08:00
Dmitry
845b2d1cfe
Jumps change back to jumpr. because example supports esp32 only.
2019-11-22 09:03:23 +03:00
Dmitry
1518c410bc
A switch between esp32 and esp32s2betta added to the ULP build process.
...
The new bin utils will have extension esp32s2ulp-elf, and they have to be placed to the bin directory.
2019-11-22 09:03:13 +03:00
Wang Jia Lin
a8d3e3ab4a
Merge branch 'feature/dac_driver_hal_support' into 'master'
...
dac: add hal for dac driver
See merge request espressif/esp-idf!5591
2019-11-22 13:59:32 +08:00
Chinmay Chhajed
6a91c8d440
Changes in menuconfig
options to not compile any host when using hci
...
examples as no host is required there.
2019-11-22 11:14:50 +05:30
Chinmay Chhajed
a104bc22ae
README fixes
2019-11-22 11:11:37 +05:30
Chinmay Chhajed
85b66801b1
Moved HCI examples from bluetooth/bluedroid/hci to bluetooth/hci.
2019-11-22 11:11:37 +05:30
fuzhibo
03ac1aaafd
dac: refactor driver add hal
2019-11-22 11:44:46 +08:00
Angus Gratton
0e0994092e
Merge branch 'feature/esp32s2beta_fix_rtc_peripheral_driver' into 'master'
...
Driver: fix touch driver and deep sleep example
See merge request espressif/esp-idf!6476
2019-11-22 11:39:41 +08:00
Ivan Grokhotkov
477e66103c
Merge branch 'feature/esp32s2beta_apptrace_port' into 'master'
...
esp32s2: Adds apptrace support
Closes IDF-510 and IDF-1032
See merge request espressif/esp-idf!5610
2019-11-22 05:33:35 +08:00
Ivan Grokhotkov
8ff801766a
Merge branch 'docs/update_oocd_config_on_cmd_line' into 'master'
...
Updates OpenOCD configuration file names in documentation
See merge request espressif/esp-idf!6226
2019-11-22 05:32:35 +08:00
Ivan Grokhotkov
38520d3b65
Merge branch 'feature/build_apps_script' into 'master'
...
tools: add build_apps.py, script to build multiple apps
Closes IDF-641
See merge request espressif/esp-idf!6101
2019-11-22 02:54:28 +08:00
Ivan Grokhotkov
910f49942e
examples: fix test function name in cpp_rtti example
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
d0e1edcd53
examples: add 2 CI build/test configurations for system/console
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
871ea650f6
examples: fix sdkconfig warnings
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
dbae5c93f0
examples: fix loadable elf test
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
ebd7004a31
examples: update wifi/iperf to use the new builder
2019-11-21 15:36:06 +01:00
houwenxiang
28286183d1
feature(I2C): Add i2c hal support.
2019-11-21 20:34:07 +08:00
fuzhibo
246242dbd5
driver: fix sens_struct.h
;
...
driver: fix timer wakeup dsleep;
example: fix EXT1 wakeup dsleep;
example: fix touch pad wakeup dsleep;
2019-11-21 20:31:34 +08:00
chenjianqiang
9f9da9ec96
feat(timer): refator timer group driver
...
1. add hal and low-level layer for timer group
2. add callback functions to handle interrupt
3. add timer deinit function
4. add timer spinlock take function
2019-11-21 14:14:19 +08:00
fuzhibo
0c2bf7c8bc
rtcio: add hal for driver
2019-11-21 10:40:49 +08:00
Angus Gratton
b30b0e59fa
Merge branch 'feature/add_rmt_hal' into 'master'
...
rmt: add hal layer and new examples
Closes IDF-841, IDF-844, and IDF-857
See merge request espressif/esp-idf!5649
2019-11-21 09:53:54 +08:00
Angus Gratton
bc3233782b
Merge branch 'feature/remove_gcc5_support' into 'master'
...
global: remove gcc 5.2 support
Closes IDF-1131
See merge request espressif/esp-idf!6608
2019-11-21 09:08:41 +08:00
Angus Gratton
e510e1779d
Merge branch 'bugfix/gcov_in_components' into 'master'
...
Fixes libgcov and libapp_trace cross dependency linking issue
Closes IDF-834
See merge request espressif/esp-idf!6250
2019-11-21 07:09:04 +08:00
Angus Gratton
95b9b41258
Merge branch 'bugfix/ethernet_add_reference_counter' into 'master'
...
ethernet: add reference counter for mac and phy && add gpio config outof Kconfig
Closes IDF-1056
See merge request espressif/esp-idf!6682
2019-11-21 06:58:13 +08:00
Ivan Grokhotkov
9a2af7ae33
global: remove gcc 5.2 support
2019-11-20 11:17:27 +01:00
morris
357cc19da3
rmt: refactor examples
2019-11-20 10:54:21 +08:00
suda-morris
72ad9ab5eb
doc: move common Ethernet config explanation into a single file
2019-11-20 10:36:45 +08:00
suda-morris
05d71319de
ethernet: add gpio number into config structure
2019-11-20 10:36:45 +08:00
gengyuchao
2af64d132f
example:ble_hid_device_demo fix the wrong mask value according to HID protocol
2019-11-19 16:24:36 +08:00
Ivan Grokhotkov
5b6b624e1f
driver: fix gpio pin_bit_mask truncation in sdspi_host and others
...
Closes https://github.com/espressif/esp-idf/issues/4348
2019-11-18 13:42:22 +01:00
Alexey Gerenkov
1626f827d3
docs: Updates OpenOCD configuration file names
2019-11-18 13:33:32 +03:00
Ivan Grokhotkov
a0aab66509
Merge branch 'bugfix/idf_as_lib_build_on_macos' into 'master'
...
examples: fix idf as library example build on macOS
See merge request espressif/esp-idf!6638
2019-11-18 17:55:23 +08:00
Geng Yu Chao
34083c1463
example/blufi: Fix the wrong wifi storage mode and check if ble is connected before sending a ble message.
2019-11-18 14:21:40 +08:00
Hrudaynath Dhabe
504172e851
wifi: minor changes in scan example
2019-11-15 23:56:16 +08:00
Geng Yu Chao
4cd56b19d7
example/ble_throughput fix the throughput server crash bug when running with throughput client
2019-11-15 23:55:09 +08:00
Ivan Grokhotkov
9e8fa4bb18
Merge branch 'feature/esp_netif_interface_update' into 'master'
...
tcpip_adapter refactor: ready for review
Closes IDF-39
See merge request espressif/esp-idf!5373
2019-11-14 21:27:53 +08:00
Jiang Jiang Jian
2c7f949257
Merge branch 'bugfix/fix_the_bug_in_espnow_example' into 'master'
...
espnow: fix the bug for calling esp_wifi_set_channel
See merge request espressif/esp-idf!6690
2019-11-14 19:26:27 +08:00
Jiang Jiang Jian
e380c59c74
Merge branch 'feat/ble_mesh_4_1_new_features' into 'master'
...
ESP BLE Mesh 4.1 new features
Closes BLEMESH-1, BLEMESH-2, BLEMESH-3, BLEMESH-4, BLEMESH-39, and BLEMESH-43
See merge request espressif/esp-idf!6134
2019-11-14 16:47:49 +08:00
Alexey Gerenkov
30ff7198b8
apptrace: Renames Kconfig options
2019-11-13 15:24:01 +03:00
David Cermak
4857e92e2c
esp_mesh: creation of wifi network interfaces for esp-mesh examples moved to used common esp_wifi_default API
2019-11-13 12:36:26 +01:00
David Cermak
6e0d274f58
esp_netif: example init code fixed to assert only variables, not
...
function calls so it won't be skipped if compiled without asserts
2019-11-13 12:36:25 +01:00
David Cermak
20add7da60
esp_netif: extract wifi_netif module as an abstraction to wifi universal interface defined by if handle and callback
2019-11-13 12:36:25 +01:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
3f60837de2
esp_eth: make esp_eth_driver_start public API so application could start ethernet when used without esp-netif
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
ba13275c6b
esp_netif: update default DHCP IP addresses to be in line with old interface, added loopback implementation, explicit esp-netif init, sanity checks for parameters added
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
0eec84bc4f
mesh_examples: use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
7f4c8a0b4f
ethernet_examples: use esp_netif instead of tcpip-adapter
2019-11-13 12:36:25 +01:00
David Cermak
19e24fe61e
mdns: update mdns to use esp-netif for mdns supported services such as STA, AP, ETH
...
removes also include dependency on lwip to use esp_netif defined address fields and structures
2019-11-13 12:36:25 +01:00
David Cermak
c00123c77b
provisioning: examples updated to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
204492bd78
examples: wifi getting started examples to use esp_netif_init() and
...
create default netif instances for station and AP
2019-11-13 12:36:25 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
David Cermak
21464465ea
examples: common component initialization code to use new esp_netif
...
instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
ffe043b1a8
esp_netif: Introduction of esp-netif component as a replacement of tcpip_adpter
...
- provides object oriented access to network intefaces
- not limited to default netifs
- more generic abstraction to network input output functions
- event handler registration removed from component responsibility
- backward compatibility layer for legacy tcpip_apapter APIs
Closes IDF-39
2019-11-13 12:36:25 +01:00
David Cermak
ec9f245dd3
examples: removed ip4addr_ntoa and used prefered IP2STR for displaying IP addresses
2019-11-13 12:36:25 +01:00
zhangyanjiao
b9da410cbb
espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled.
2019-11-13 16:40:30 +08:00
Alexey Gerenkov
5b83b198c6
gcov: Fixes libgcov and libapp_trace cross dependency linking issue
...
Closes IDF-834
2019-11-12 18:42:08 +03:00
Alexey Gerenkov
02e084e2b5
examples: Collects coverage info in component
2019-11-12 18:42:02 +03:00
Alex Lisitsyn
cfdd5f0ef7
freemodbus: configure timer handler placement
...
place timer interrupt handler into flash by default;
add default settings for timer and UART interrupts to place them into IRAM into example defaults;
CONFIG_FMB_TIMER_PORT_ENABLED default = n, when enabled, the UART_ISR_IN_IRAM set to y
2019-11-12 22:16:55 +08:00
Ivan Grokhotkov
bfe5662387
Merge branch 'bugfix/common_example_uart_init' into 'master'
...
fix common example connect and stdin/stdout
See merge request espressif/esp-idf!6642
2019-11-12 22:10:50 +08:00
Angus Gratton
b4653cf391
Merge branch 'bugfix/update_can_target_test' into 'master'
...
CAN: Reenable example tests, update job and environment labels.
See merge request espressif/esp-idf!6487
2019-11-12 11:09:50 +08:00
David Cermak
208feef3c9
asio: fix asio test code to start the test after ip address received from common example code
...
Previously set to wait until IP address got from tcpip_adapter, but since common example connect code blocks until both IP4 and IPv6 address received it could happen that test code might have started connection to the ASIO counter-part while ESP32 still waiting for IPv6 address
2019-11-11 15:27:09 +00:00
Renz Christian Bagaporo
705e4189db
examples: fix idf as library example build on macOS
...
GCC prefixes underscore on symbol names on macOS, and so the set
undefined symbol `-u app_main` won't work. However, this is unecessary,
as the source file that defines it is specified directly to the
executable, and not through a static library.
Closes https://github.com/espressif/esp-idf/issues/4168
2019-11-08 16:04:05 +08:00
lly
dfcfe467c9
ble_mesh: update ble mesh examples
2019-11-08 11:10:52 +08:00
lly
547081cc3c
ble_mesh: add events for configuration server model
2019-11-08 11:10:52 +08:00
lly
287f80ec01
ble_mesh: add proxy client functionality
2019-11-08 11:10:52 +08:00
Roland Dobai
86fd13230e
CI: Don't download esp32s2beta builds into example tests
2019-11-07 06:56:03 +00:00
Ivan Grokhotkov
18c9e306c2
examples/system: add C++ RTTI example
2019-11-06 15:30:44 +01:00
Angus Gratton
ffdb57e04d
Merge branch 'bugfix/http_client_message_complete_callback_invocation' into 'master'
...
Fix issue in http client regarding `message_complete` callback invocation
Closes IDFGH-2040
See merge request espressif/esp-idf!6413
2019-11-05 12:02:10 +08:00
Angus Gratton
8b48a8e72e
Merge branch 'feature/efuse_example' into 'master'
...
examples: Add an example efuse API usage and the group writing mode
Closes IDF-773
See merge request espressif/esp-idf!5810
2019-11-05 10:13:21 +08:00
Angus Gratton
c5ef1cae04
Merge branch 'feature/perfmon' into 'master'
...
Performance monitor component
See merge request espressif/esp-idf!4705
2019-11-04 18:25:14 +08:00
Angus Gratton
49193beb6d
Merge branch 'bugfix/reenable_esp_event_tests' into 'master'
...
esp_event: reenable esp_event tests
See merge request espressif/esp-idf!6371
2019-11-04 15:07:34 +08:00
Angus Gratton
0e9c2cdc93
Merge branch 'bugfix/esp32s2beta_enable_protocol_examples' into 'master'
...
Bugfix/esp32s2beta enable protocol examples
Closes IDF-1027
See merge request espressif/esp-idf!6566
2019-11-04 14:46:57 +08:00
Mahavir Jain
e1a6846ac3
examples/ota: disable WiFi power save mode for optimal performance
2019-11-04 12:15:19 +05:30
Mahavir Jain
917a406c0a
Logging improvements in OTA example and component
2019-11-04 12:15:19 +05:30
Mahavir Jain
de9549936d
examples: fix handle passed to esp_https_ota_is_complete_data_received
2019-11-04 12:15:19 +05:30
Renz Christian Bagaporo
f356d54365
esp_event: revert changes in !5702
2019-11-03 16:19:30 +08:00
Marius Vikhammer
500c247030
protocol examples: enable protocol examples for esp32sbeta
...
Closes IDF-1027
2019-11-01 11:14:10 +08:00
Marius Vikhammer
845003a1c3
ASIO: fixed undefined ref to atomic functions and enabled examples for CI (esp32s2beta)
...
Implemented the atomic functions needed to compile and link the asio examples on esp32s2beta.
2019-11-01 11:12:47 +08:00
Alex Lisitsyn
4bac558ab3
freemodbus: fix a bug with destroy function of modbus controller and fix port destroy functions
...
adds timer interrupt handle and free it in vMBXXXPortTimerClose() in master and slave timer port
assign modbus controller interface pointer to NULL in destroy function after free
2019-10-31 23:23:24 +08:00
Marius Vikhammer
bf1977e48e
http_server: fix sdmmc related build error for esp32s2beta
...
ESP32S2 does not have sdmmc, disable SD host for esp32s2
2019-10-31 14:42:29 +08:00
KonstantinKondrashov
d7fa288a6c
examples: Add an example efuse API usage
...
Added: read, write operations for the common and custom efuse tables.
Writing is possible only for CONFIG_EFUSE_VIRTUAL.
Closes: IDF-773
2019-10-30 15:43:40 +08:00
Roland Dobai
01887f71e7
Update kconfiglib to upstream version and replace mconf-idf
...
Special thanks to @ulfalizer for the helpful suggestions regarding
kconfiglib.
"rsource" option is available for relative path includes
Closes https://github.com/espressif/esp-idf/issues/4064
2019-10-29 10:40:04 +01:00
Darian Leung
81ddd9e291
CAN: Reenable example tests
...
This commit updates the CAN example tests and updates the job
and environment labels in the target-test.yml
2019-10-29 17:25:49 +08:00
Angus Gratton
055cc251b7
Merge branch 'feature/esp32s2beta_merge' into 'master'
...
esp32s2beta: Merge support to master
Closes IDF-513, IDF-756, IDF-758, IDF-999, IDF-753, IDF-749, IDF-754, IDF-840, and IDF-755
See merge request espressif/esp-idf!6100
2019-10-29 13:02:01 +08:00
Aditya Patwardhan
988f0c8feb
ESP_TLS: Generalizing error messages for esp_tls
...
:Replace mbedtls specific error messages
2019-10-28 16:05:31 +05:30
Angus Gratton
eea0a6bc56
examples: Add ESP32 DUT class to ext_flash_fatfs example test
2019-10-28 18:58:05 +11:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
Angus Gratton
36d440bd59
ci: Temporarily ignore CAN example test failures
...
Due to internal CI issue.
2019-10-25 12:49:42 +11:00
Darian Leung
434d1d29d1
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-25 03:40:43 +08:00
Angus Gratton
3caa54e546
Merge branch 'feature/add_ping_example' into 'master'
...
add ping example
Closes WIFI-1196 and IDF-1068
See merge request espressif/esp-idf!6340
2019-10-24 11:37:38 +08:00
Angus Gratton
ba74534efb
Merge branch 'bugfix/esp_tls_check_buffer_size' into 'master'
...
esp-tls: Asserting maximum output buffer in tls-write.
See merge request espressif/esp-idf!6317
2019-10-23 14:45:28 +08:00
Hrudaynath Dhabe
019502a36e
esp_wifi: Additional code snippets in esp_wifi_scan_example
2019-10-23 14:12:32 +08:00
Angus Gratton
b216e3b5c8
Merge branch 'feature/lwip_support_mdns_queries' into 'master'
...
lw-IP: support mdns queries
See merge request espressif/esp-idf!5242
2019-10-23 13:10:41 +08:00
David Cermak
f0c6bb431f
ci: mqtt ssl test updated to output larger data in form of binary partition
...
Testing with predefined buffer sizes for MQTT as well as mbedTLS to
exercise fragmenting outgoing data on both layers. Example test compares
received partition with the actual binary file.
2019-10-22 08:49:42 +00:00
suda-morris
dc6acf0033
icmp: add example and unitest
2019-10-22 04:38:09 +00:00
suda-morris
fa32a4bd93
ping: refactor with new esp_ping_xxx APIs
...
This refactor is only for backwards compatible.
2019-10-22 04:38:09 +00:00
Andro Nooh
a77e69c408
lwip: add icmp echo example
...
It piggybacks on the console example to add ping support and CLI.
Merges https://github.com/espressif/esp-idf/pull/4093
2019-10-22 04:38:09 +00:00
Angus Gratton
8675a818f9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-22 13:51:49 +11:00
Hrishikesh Dhayagude
f58d7d14c7
components/bt: Add support of NimBLE host in ESP BLE Mesh
2019-10-21 20:18:21 +08:00
Angus Gratton
05180dfb4c
Merge branch 'bugfix/mqtt_reference_latest_version' into 'master'
...
mqtt: updated to latest version to include latest fixes and features
See merge request espressif/esp-idf!6294
2019-10-17 18:01:58 +08:00
Ivan Grokhotkov
42e59c317a
Merge branch 'bugfix/mqtt_example_url_update' into 'master'
...
MQTT: update default broker URL for examples
Closes IDF-1052
See merge request espressif/esp-idf!6214
2019-10-17 16:12:29 +08:00
Angus Gratton
ae21d669b9
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-17 18:22:08 +11:00
Angus Gratton
5ee27aeec8
Merge branch 'feature/openeth_driver' into 'master'
...
ethernet: support OpenCores ethernet MAC
Closes IDF-891
See merge request espressif/esp-idf!6252
2019-10-17 13:05:27 +08:00
Angus Gratton
89d2e2a5e3
Merge branch 'feature/example_netbios' into 'master'
...
add netbios support in restful server example
Closes IDF-1070
See merge request espressif/esp-idf!6346
2019-10-17 12:54:01 +08:00
Angus Gratton
b7fd8166d5
Merge branch 'bugfix/ws_opcodes_fix' into 'master'
...
ws_client: fix for not sending ping responses, updated to pass events also for...
See merge request espressif/esp-idf!6111
2019-10-17 12:36:08 +08:00
Ivan Grokhotkov
d0f615e6f8
Merge branch 'fix/tcp_server_example' into 'master'
...
Bugfix of tcp_server example.
Closes IDFGH-1306
See merge request espressif/esp-idf!5211
2019-10-15 23:04:47 +08:00
Marius Vikhammer
c6934d6175
MQTT: update default broker URL for examples
...
The MQTT broker URL used as default in the examples has ceased operation. All examples and documention have been updated to point to the new domain mqtt.eclipse.org.
This also required an update of the python example test scripts to use TLS 1.2
2019-10-15 09:35:23 +00:00
David Cermak
f3cb91ef71
mdns: updated example test to exercise also hostnames resolved by lwip gethostbyname and getaddrinfo
2019-10-15 07:02:19 +00:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Hrudaynath Dhabe
ac0b4c184d
wpa_supplicant: Make hexdump logs more compact
...
When running with wpa debug prints enabled data/key hexdumps are
printed to the log in a really verbose format (one byte per line).
Make these printouts more compact. 16 bytes per line.
2019-10-14 23:37:51 +08:00
Ivan Grokhotkov
1ab458b60b
Merge branch 'bugfix/console_command_exit_error_check' into 'master'
...
console: fix wrong param passed to esp_err_to_name
See merge request espressif/esp-idf!6360
2019-10-14 23:10:01 +08:00
Hrishikesh Dhayagude
04325d2876
ESP BLE Mesh: Minor fix - Print the address and the on/off value appropriately
...
The new value should be printed in the set function and not the previous
one.
2019-10-14 21:42:35 +08:00
suda-morris
81e88764d5
console: fix wrong param passed to esp_err_to_name
2019-10-14 19:49:19 +08:00
David Cermak
abf9345b85
ws_client: fix for not sending ping responses, updated to pass events also for PING and PONG messages, added interfaces to send both binary and text data
...
closes https://github.com/espressif/esp-idf/issues/3982
2019-10-14 11:05:27 +02:00
Angus Gratton
5ce95f2bfd
Merge branch 'bugfix/ci_weekend_test_update' into 'master'
...
CI: weekend test fixes
See merge request espressif/esp-idf!6235
2019-10-14 15:30:33 +08:00
suda-morris
84c72863e1
add netbios support in restful server example
2019-10-14 14:26:43 +08:00
David Cermak
640eac84fa
mqtt: updated to latest version to include latest fixes, support for global CA store, extended error structure to receive mqtt specific errors. updated idf ssl example to use this error struct
...
https://github.com/espressif/esp-mqtt/issues/135
2019-10-14 06:26:14 +00:00
Ivan Grokhotkov
31dac92e5f
ethernet: support OpenCores ethernet MAC
...
OpenCores Ethernet MAC has a relatively simple interface, and is
already supported in QEMU. This makes it a good candidate for enabling
network support when running IDF apps in QEMU, compared to the
relatively more complex task of writing a QEMU model of ESP32 EMAC.
This driver is written with QEMU in mind: it does not implement or
handle things that aren't implemented or handled in the QEMU model:
error flags, error interrupts. The transmit part of the driver also
assumes that the TX operation is done immediately when the TX
descriptor is written (which is the case with QEMU), hence waiting for
the TX operation to complete is not necessary.
For simplicity, the driver assumes that the peripheral register
occupy the same memory range as the ESP32 EMAC registers, and the
same interrupt source number is used.
2019-10-13 17:05:26 +02:00
Angus Gratton
6df8658b5b
Merge branch 'bugfix/fixes_from_kconfiglib_update' into 'master'
...
Fix of menuconfig bug for MSYS2 and a couple of cosmetic changes
See merge request espressif/esp-idf!6255
2019-10-10 11:06:29 +08:00
MartinValik
b7bfcf3c93
Revised tcp_server example.
...
Fixed error caused by unnecessary reopening of listening socket.
Extracted packet retransmit logic to separate function.
Added robust implementation for sending data
Closes https://github.com/espressif/esp-idf/pull/3597
2019-10-09 14:34:28 +02:00
Ivan Grokhotkov
b61c3d5d0f
Merge branch 'bugfix/examples_disconnect_before_restart' into 'master'
...
examples: disconnect from Wi-Fi before restart (and don't try to reconnect!)
See merge request espressif/esp-idf!6267
2019-10-08 16:16:25 +08:00
Roland Dobai
d3ed17acd7
Cosmetic Kconfig fixes
2019-10-08 08:11:53 +00:00
Ivan Grokhotkov
28a440521e
examples: gracefully shut down Wi-Fi before restart
...
This fixes the issue that if Wi-Fi is stopped from a shutdown handler,
the code in connect.c tries to reconnect, and fails because Wi-Fi is
already stopped.
Also make the error check in connect.c less strict.
2019-10-07 16:47:49 +02:00
Ivan Grokhotkov
75f2948e02
examples/restful_server: fix Makefile syntax for flashing SPIFFS
...
Closes https://github.com/espressif/esp-idf/issues/4050
2019-10-07 13:28:38 +02:00
Ivan Grokhotkov
a3cbc57c19
examples/flash_encryption: use ESP32 target in example test
2019-10-03 13:42:59 +02:00
Ivan Grokhotkov
5830f529d8
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-02 19:01:39 +02:00
Roland Dobai
15857d9cbb
Handle deprecated values in sdkconfig.defaults
...
The issue was pointed out also in
https://github.com/espressif/esp-idf/issues/4092
2019-10-02 16:29:25 +00:00
David Cermak
784a0d21ea
update mqtt weekend test to use mbedtls asymetric buffer
2019-10-02 16:22:50 +02:00
Ivan Grokhotkov
391d7ee4c7
examples/ext_flash_fatfs: print out data partitions, add CI test
2019-09-30 17:53:14 +02:00
Prasad Alatkar
fe08f435dc
NimBLE: Add optional mbedTLS support to NimBLE
...
- Additional menuconfig option to select either mbedTLS or Tinycrypt from NimBLE.
- Addition of `CMAC` and `ECP_RESTARTABLE` to mbedTLS menuconfig option and
`esp_config.h`.
- Changes NimBLE `component.mk` and `CMakeLists.txt` to support mbedTLS option.
- Minor changes to `app_mesh.c` application.
2019-09-30 14:15:43 +08:00
Roland Dobai
5a916ce126
Support ELF files loadable with gdb
2019-09-24 07:19:50 +00:00
Ivan Grokhotkov
b6a8dfba44
examples/nimble: fix setting DUT class in example tests
...
Pass dut_class=ESP32DUT in the examples where this was missing.
2019-09-23 06:26:49 +02:00
Angus Gratton
f7d80ed9da
Hello world example: Print ESP32-S2 Beta for esp32s2beta target
2019-09-20 17:07:34 +10:00
Angus Gratton
adfc06a530
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-20 10:28:37 +10:00
suda-morris
546ac64a9e
ethernet: update spi-ethernet api
2019-09-19 09:41:21 +00:00
Jiang Jiang Jian
d78831ab2b
Merge branch 'bugfix/remove_v40_deprecations' into 'master'
...
Remove features deprecated before ESP-IDF V4.0
Closes IDF-507
See merge request espressif/esp-idf!5841
2019-09-19 16:07:01 +08:00
Angus Gratton
b48daafb0c
Merge branch 'fix/nimble_example_test' into 'master'
...
nimble_example_test: Fix BlePeripehral Test thread stuck issue
See merge request espressif/esp-idf!5510
2019-09-19 11:11:08 +08:00
Jiang Jiang Jian
5051bb906a
Merge branch 'bugfix/ble_mesh_get_timer_remaining_time' into 'master'
...
ble_mesh: fix ble mesh get timer remaining time
See merge request espressif/esp-idf!6060
2019-09-18 16:38:24 +08:00
lly
5b53debb6f
ble_mesh: use adv report flow control for ble mesh
2019-09-16 14:43:30 +08:00
Angus Gratton
438d513a95
Merge branch 'master' into feature/esp32s2beta_merge
2019-09-16 16:18:48 +10:00
Sagar Bijwe
e255c48de7
Fix http_request example
...
1) WEB_PATH should path relative to document root of web server.
2) HTTP request should contain "Host" header of format "host:port".
3) Port number in the example should be configurable.
2019-09-13 09:21:29 +00:00
Shivani Tipnis
8ee727fb9a
nimble_test: Fix nimble example test CI
2019-09-13 08:18:43 +00:00
Angus Gratton
f406d020d8
driver: Remove features deprecated pre-IDF V4.0
2019-09-13 09:44:07 +10:00
lly
1a8f37b383
ble_mesh: update ble mesh examples sdkconfig.defaults
2019-09-09 17:15:16 +08:00
Mahavir Jain
f2eadc9378
Merge branch 'bugfix/mbedtls_client_only_config_build_failure' into 'master'
...
Fix build issues in coap library with mbedtls client only config
See merge request espressif/esp-idf!5955
2019-09-06 21:12:04 +08:00
Jon Shallow
430b737760
Fix libcoap building with various MbedTLS compile time options
...
components/coap/port/coap_mbedtls.c:
Add in additional compile time check wrappers for different MbedTLS
configurations.
components/coap/CMakeLists.txt:
components/coap/component.mk:
components/coap/port/coap_notls.c:
components/coap/port/include/coap_config_posix.h:
Add in the ability to compile and run if MbedTLS does not have any TLS
mode enabled.
examples/protocols/coap_client/main/coap_client_example_main.c:
Inform user that MbedTLS Client Mode is required for DTLS if not enabled,
and coaps:// has been requested.
[Lower libcoap library will still error and report this condition]
examples/protocols/coap_server/main/coap_server_example_main.c:
Inform user that MbedTLS Server Mode is required for DTLS if not enabled.
[Lower libcoap library will still error and report this condition]
Closes https://github.com/espressif/esp-idf/issues/3961
Closes https://github.com/espressif/esp-idf/issues/3971
Closes https://github.com/espressif/esp-idf/pull/3977
2019-09-06 16:13:52 +05:30
Chinmay Chhajed
a6cc964a26
esp_http_server : Bugfix in parsing of empty header values
...
This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.
The issue is was due to asymmetric behavior of `http_parser` library, which in case of:
non-empty header values : invokes callbacks with the pointer to the start of a value
empty header values : invokes callbacks with pointer to the start of next header or section
Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.
Closes IDFGH-1539
Closes https://github.com/espressif/esp-idf/issues/3803
2019-09-06 11:02:36 +08:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
3b39e60f97
driver: remove unused drivers for esp32s2beta
2019-09-04 10:53:25 +10:00
Michael (XIAO Xufeng)
9baa7826be
fix unit test and examples for s2beta
2019-09-04 10:53:25 +10:00
Jiang Jiang Jian
81cf2cf130
Merge branch 'bugfix/btdm_remove_unused_macro_in_menuconfig' into 'master'
...
components/bt: Remove unused macro in menuconfig
See merge request espressif/esp-idf!5950
2019-09-02 22:20:49 +08:00
Jiang Jiang Jian
df5db07edf
Merge branch 'doc/add_ble_mesh_example_description' into 'master'
...
ble_mesh: add ble mesh example description
See merge request espressif/esp-idf!5711
2019-09-02 14:28:58 +08:00
lly
c310d40299
ble_mesh: add ble mesh example description
2019-09-02 12:15:03 +08:00
baohongde
d12503eb55
components/bt: Remove unused macro in menuconfig
2019-08-29 19:58:05 +08:00
Darian Leung
de682a13b1
examples: Update system examples README
...
The following commit updates the first half of the the system
example README files. Some other changes were also made:
* Updated base_mac_address example
* Moved contents in GCOV README to GCOV docs
* Some *main.c file names updated
* Updated example README template
2019-08-28 16:19:40 +08:00
Angus Gratton
a21ca2270a
Merge branch 'feature/deep_sleep_fast_wake' into 'master'
...
bootloader: Reduce the time spent in image validation when waking from deep sleep
See merge request espressif/esp-idf!5140
2019-08-28 08:54:28 +08:00
Dmitry
a0730fec2a
Performance monitor component. The component contains APIs, example and
...
documentation.
2019-08-23 11:20:12 +03:00
Ivan Grokhotkov
12c9d9a564
spi_flash: remove duplicate definition of spi_flash_unlock
...
The other (static) definition is in flash_ops.c, all references are
also in flash_ops.c.
2019-08-23 12:37:55 +08:00
suda-morris
5a09de8245
cbor: add tinycbor library and example
2019-08-22 17:44:29 +08:00
KonstantinKondrashov
83db8d402b
examples: Add the fast wakeup option for deep sleep examples
...
The CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP option is enabled
by default for the following examples:
- system/deep_sleep,
- system/ulp,
- system/ulp_adc.
2019-08-21 11:44:37 +00:00
liu zhifu
003a9872b7
esp_wifi: wifi support new event mechanism
...
1. WiFi support new event mechanism
2. Update examples to use new event mechanism
2019-08-20 09:39:51 +00:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
Hrudaynath Dhabe
53e7beb95b
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-08-15 21:10:00 +08:00
Angus Gratton
ee6b1399aa
Merge branch 'feature/exclude_rom_from_example_header_files' into 'master'
...
exclude rom headers in examples
Closes IDF-557
See merge request espressif/esp-idf!5051
2019-08-15 10:50:01 +08:00
Angus Gratton
367ecc2d60
Merge branch 'refactor/timerg_in_test' into 'master'
...
timer_group: refactoring to avoid direct register access in the ISR
See merge request espressif/esp-idf!5656
2019-08-14 15:32:16 +08:00
Angus Gratton
85c2df060d
examples: Mark flash encryption & external flash examples as ESP32 only for now
2019-08-13 17:14:16 +10:00
Angus Gratton
f58d2ea34d
esp32s2: Add SUPPORTED_TARGETS for remaining bluetooth examples
2019-08-13 17:14:16 +10:00
Angus Gratton
18c5cfadae
Fix function prototypes
2019-08-13 17:14:16 +10:00
Angus Gratton
c47e1756f8
examples: Rename deprecate CONFIG_CONSOLE_UART_NUM macro
2019-08-13 17:14:16 +10:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
Angus Gratton
9af30c4ff9
Merge branch 'ci/disable_nimble_tests' into 'master'
...
ci: Temporarily disable NimBLE tests in CI
See merge request espressif/esp-idf!5749
2019-08-12 15:14:23 +08:00
Angus Gratton
e8bdfe07ae
Merge branch 'feature/tls_psk_authentication' into 'master'
...
esp_tls: add psk verification mode
Closes IDFGH-992
See merge request espressif/esp-idf!5095
2019-08-12 12:45:34 +08:00
Angus Gratton
8658b1633c
ci: Temporarily disable NimBLE tests in CI
2019-08-12 09:38:44 +10:00
Michael (XIAO Xufeng)
264ffbeb14
timer_group: use the LL
2019-08-09 13:46:31 +08:00
Angus Gratton
c1e3e1cd9a
Merge branch 'bugfix/fix_ledc_clock_select_bug' into 'master'
...
driver(ledc): fixed ledc clock selection bug
See merge request espressif/esp-idf!3612
2019-08-08 13:56:21 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Michael (XIAO Xufeng)
07166a6b18
sdio_slave: rewrite the doc and highlight efuse-burning as the default option for 3.3V modules
2019-08-07 17:10:34 +08:00
morris
1877a9fcd8
Merge branch 'feature/esp32s2beta_rtc_driver' into 'feature/esp32s2beta'
...
Feature/esp32s2beta rtc driver
See merge request espressif/esp-idf!5243
2019-08-07 14:43:17 +08:00
David Cermak
f3d6a34e7d
esp_tls: enable psk verification mode, added mqtt example using psk authentication
2019-08-07 14:27:40 +10:00
fuzhibo
572084821b
add Comment for touchpad
2019-08-07 11:39:17 +08:00
kooho
2e8c85d8ff
driver(ledc): fixed ledc clock selection bug.
2019-08-06 16:11:18 +08:00
Mahavir Jain
a8bfe59bd1
coap: refactor examples, stylistic cleanups, move certs to independent dir
2019-08-06 10:37:41 +05:30
Mahavir Jain
10c3b42f71
coap: kconfig cleanup, have component specific configuration for common options
2019-08-06 10:37:40 +05:30
Jon Shallow
1aaec808da
Add DTLS support to libcoap using MbedTLS
...
This update supports DTLS, TLS is a future TODO
components/coap/CMakeLists.txt:
components/coap/component.mk:
Add in the new files that have to be built
Replace libcoap/src/coap_notls.c with libcoap/src/coap_mbedtls.c
components/coap/libcoap:
Update the version to include the current version for supporting MbedTLS
components/coap/port/coap_debug.c:
components/coap/port/coap_mbedtls.c:
components/coap/port/include/coap/coap_dtls.h:
New port files for DTLS
components/coap/port/include/coap_config_posix.h:
Include building with MbedTLS
examples/protocols/coap_client/README.md:
examples/protocols/coap_client/main/CMakeLists.txt:
examples/protocols/coap_client/main/Kconfig.projbuild:
examples/protocols/coap_client/main/coap_client_example_main.c:
examples/protocols/coap_client/main/component.mk:
Update CoAP client to support DTLS
examples/protocols/coap_client/main/coap_ca.pem
examples/protocols/coap_client/main/coap_client.crt
examples/protocols/coap_client/main/coap_client.key
New PKI Certs for CoAP client (copied from wpa2_enterprise example)
examples/protocols/coap_server/README.md:
examples/protocols/coap_server/main/CMakeLists.txt:
examples/protocols/coap_server/main/Kconfig.projbuild:
examples/protocols/coap_server/main/coap_server_example_main.c:
examples/protocols/coap_server/main/component.mk:
Update CoAP server to support DTLS
Change "no data" to "Hello World!" to prevent confusion
examples/protocols/coap_server/main/coap_ca.pem
examples/protocols/coap_server/main/coap_server.crt
examples/protocols/coap_server/main/coap_server.key
New PKI Certs for CoAP server (copied from wpa2_enterprise example)
Closes https://github.com/espressif/esp-idf/pull/3345
Closes https://github.com/espressif/esp-idf/issues/1379
2019-08-06 10:37:40 +05:30
fuzhibo
b055bff580
1.update touch driver; 2.update adc/dac driver; 3.add temp sensor driver;
2019-08-05 16:21:18 +08:00
kooho
2139ca668d
Update I2S driver for esp32s2beta.
2019-08-05 16:05:16 +08:00
Angus Gratton
7ef5fa8a0a
Merge branch 'feature/transport_support_der_certs' into 'master'
...
tcp transport ssl DER-support
See merge request espressif/esp-idf!5627
2019-08-05 09:52:08 +08:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Angus Gratton
faeca72e24
Merge branch 'bugfix/update_example_docs_build_instructions_to_cmake' into 'master'
...
examples: change default build instructions in docs to CMake
See merge request espressif/esp-idf!5681
2019-08-05 08:08:53 +08:00
Mahavir Jain
e7dba7d7bc
examples: change default build instructions in docs to CMake
2019-08-02 16:32:46 +05:30
Hrishikesh Dhayagude
146f120f79
examples/bluetooth: Move the demos to the appropriate locations
2019-08-02 18:01:58 +08:00
Ivan Grokhotkov
90e1b7616c
Merge branch 'bugfix/example_ext_flash_dio' into 'master'
...
examples: ext_flash_fatfs: use DIO mode by default
See merge request espressif/esp-idf!5645
2019-08-02 17:53:54 +08:00
David Cermak
25dd5e39af
esp-tls: Naming variables refering to certificates and keys in a neutral way to suggest that both PEM and DER format could be used, added comments descibing important details about using these formats
2019-08-02 09:25:16 +02:00
Anton Maklakov
75c0066f93
Fix remaining -Wstrict-prototypes warnings
2019-08-01 16:28:56 +07:00
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
kooho
f98e7bbccf
Update LEDC, PCNT,Timer_Group driver for esp32s2beta.
2019-07-31 16:03:22 +08:00
Hrishikesh Dhayagude
c0491fc6f1
Minor: Fix some typos in Bluetooth examples
2019-07-31 15:33:03 +08:00
Angus Gratton
b803c7328a
Merge branch 'bugfix/btdm_some_unallocated_memory' into 'master'
...
Bugfix/btdm some unallocated memory
See merge request espressif/esp-idf!5629
2019-07-30 09:41:09 +08:00
Ivan Grokhotkov
022223f570
Merge branch 'feat/sdmmc_io_cis_parse' into 'master'
...
sdmmc_io: support to print CIS information
See merge request espressif/esp-idf!5515
2019-07-29 19:05:30 +08:00
Ivan Grokhotkov
b1bb90a596
Merge branch 'bugfix/partition_tables_update_note' into 'master'
...
global: update note in the partition tables
See merge request espressif/esp-idf!5636
2019-07-29 19:00:44 +08:00
Ivan Grokhotkov
3c63f49591
examples: remove non-existent options from sdkconfig.defaults
2019-07-29 04:57:38 +02:00
Michael (XIAO Xufeng)
b98b4c3886
sdmmc_io: support to print CIS information
...
Currently only ESP slaves can be parsed correctly.
2019-07-29 10:41:17 +08:00
Ivan Grokhotkov
8d35744a33
examples: ext_flash_fatfs: use DIO mode by default
...
DIO works with the same connections as Fast Read, so use it by
default. Also correct the note in README.md which says that DIO
requires additional pins.
2019-07-28 10:14:04 +02:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
baohongde
2d1d747cbb
component/bt: Avoid A2DP demo to use unallocated memory
2019-07-26 14:40:02 +08:00
Ivan Grokhotkov
89ee7b5dfb
examples: add FATFS in external Flash example
...
Demonstrates the usage of the new spi_bus_add_flash_device,
esp_flash_init, esp_partition_register_external functions.
2019-07-26 08:19:42 +02:00
Jiang Jiang Jian
fcb668ec9c
Merge branch 'bugfix/btdm_AVRC_command_fail_while_playing' into 'master'
...
components/bt: Fix AVRCP command will not be executed while playing music
See merge request espressif/esp-idf!5458
2019-07-22 11:45:19 +08:00
chenjianqiang
e43513b610
bugfix(uart): uniform AT_CMD char configuration
2019-07-18 19:24:13 +08:00
chenjianqiang
4cc962353c
feat(uart): update uart driver for esp32s2beta
2019-07-18 15:57:00 +08:00
baohongde
f048be924c
components/bt: Fix AVRCP command will not be executed while playing music
2019-07-16 08:50:36 +00:00
xueyunfei
f29ff2c552
Modify IPv6 functionality compatible with lwip2.1.2
2019-07-16 16:22:11 +08:00
Angus Gratton
4732e22e64
Merge branch 'bugfix/fix_mcpwm_example_memory_bug' into 'master'
...
Bugfix(example) : Fixed the bug that the malloc memory size is smaller than the actual required.
Closes IDFGH-1490
See merge request espressif/esp-idf!5509
2019-07-16 14:51:35 +08:00
David Cermak
3eda52f6cd
mqtt: update example documentation on generating a certificate for ssl authentication to hosts
...
Closes https://github.com/espressif/esp-idf/issues/3593
2019-07-14 16:05:50 +02:00
Ramesh
8795f1ac86
Fixed the bug that the malloc memory size is smaller than the actual required.
...
Merges https://github.com/espressif/esp-idf/pull/3757
2019-07-12 09:51:41 +08:00
chenjianqiang
667113cf94
feat(i2c): update i2c driver for esp32s2beta
2019-07-10 11:41:36 +08:00
Angus Gratton
058ef98c33
Merge branch 'feature/cmake_default_build_system' into 'master'
...
cmake: Make CMake the default build system
Closes IDF-198 and IDF-325
See merge request espressif/esp-idf!5328
2019-07-10 08:16:39 +08:00
Angus Gratton
222146845c
docs: Make CMake build system default, mark GNU Make as legacy option
...
All `-cmake` suffixes are removed
Where a GNU Make option is renamed, the `-legacy` suffix is used
2019-07-09 14:32:26 +10:00
Jiang Jiang Jian
27a6f84e7f
Merge branch 'bugfix/eth2ap_example' into 'master'
...
temporarily work around for fixing eth2ap
Closes IDFGH-1458 and IDFGH-1456
See merge request espressif/esp-idf!5441
2019-07-09 12:20:44 +08:00
Mahavir Jain
74140b0cfb
Merge branch 'feature/cmake_proto_build' into 'master'
...
cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files
Closes IDF-725
See merge request espressif/esp-idf!5442
2019-07-08 19:13:32 +08:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
suda-morris
e0360bf156
temporarily work around for fixing eth2ap
...
Closes https://github.com/espressif/esp-idf/issues/3726
Closes https://github.com/espressif/esp-idf/issues/3728
2019-07-08 15:05:09 +08:00
Angus Gratton
1935a5a93c
Merge branch 'bugfix/gcov_example_report_cmake_target' into 'master'
...
gcov_example: Adds cmake target to generate report
Closes IDF-727
See merge request espressif/esp-idf!5403
2019-07-08 09:30:11 +08:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
Angus Gratton
d67b9403e8
Merge branch 'feature/tcp_transport_pass_errors_stage1' into 'master'
...
esp-tls: capturing specific errors to be available in tcp_transport and then in application code
See merge request espressif/esp-idf!4782
2019-07-08 08:51:29 +08:00
Mahavir Jain
0a65cf73fa
Merge branch 'feature/prov_mgr_event_loop' into 'master'
...
Wi-Fi Provisioning : Add support for esp_event
See merge request espressif/esp-idf!4857
2019-07-07 13:40:18 +08:00
xueyunfei
fa02598b5c
lwip_2.1.2 for idf_4.0
2019-07-07 01:51:45 +00:00
qiyuexia
068a2dcb32
mesh: update mesh events demonstration
2019-07-05 21:14:33 +08:00
qiyuexia
a272e7204d
mesh: use new event library
2019-07-05 21:14:30 +08:00
Jiang Jiang Jian
27628ef133
Merge branch 'doc/add_ble_mesh_doxyfile' into 'master'
...
ble_mesh: add Doxyfile for core apis & model apis
See merge request espressif/esp-idf!5401
2019-07-05 20:55:39 +08:00
Anurag Kar
98cf38ca9c
cmake : Add CMakeLists.txt and update READMEs for re-compilation of proto files
2019-07-05 18:20:15 +05:30
Alexey Gerenkov
2926cd09a2
gcov_example: Adds cmake target to generate report
...
Closes IDF-727
2019-07-05 12:44:35 +00:00
Mahavir Jain
46c8497f01
Merge branch 'bugfix/prov_tool_desc_readme' into 'master'
...
esp_prov : Minor refactoring in argument dependent logic and other changes
See merge request espressif/esp-idf!5430
2019-07-05 17:18:32 +08:00
Anurag Kar
a13cc7da7a
Provisioning : Manager example updated to use esp_event_loop feature
2019-07-05 08:41:27 +00:00
Shivani Tipnis
bfd1eeefa2
Add NimBLE bleprph,blecent,blehr example tests
2019-07-05 08:14:04 +08:00
David Cermak
dc16b8243f
esp_http_client: added example test case to verify error code received when connecting to non-existent url
2019-07-04 20:55:10 +02:00
David Cermak
a001eb39bf
http_client: disconnect event to read last occurred error in esp-tls
2019-07-04 20:55:10 +02:00
David Cermak
587739391c
esp-tls: extending error handle to contain error descriptors with last mbedtls failure and latest certificate verification result flags, reworked tcp_transport to use this error handle
2019-07-04 20:55:10 +02:00
David Cermak
2972f96982
esp-tls: capturing specific errors to be available in tcp_transport and then in application code
2019-07-04 20:55:10 +02:00
Ivan Grokhotkov
8bed3a3dd2
Merge branch 'feature/support_spi_ethernet' into 'master'
...
ethernet: support dm9051
Closes IDFGH-1443 and IDFGH-1439
See merge request espressif/esp-idf!5345
2019-07-04 21:30:52 +08:00
Jiang Jiang Jian
f4f59964a3
Merge branch 'feature/wifi_refactor_smartconfig_to_esp_event' into 'master'
...
esp_wifi: refactor smartconfig callback to use esp event
Closes IDF-268
See merge request espressif/esp-idf!4806
2019-07-04 21:16:57 +08:00
suda-morris
cb42c29252
ethernet: support dm9051
...
1. move resource allocation from xxx_init to xxx_new
2. fix enabling tx checksum insertion by mistake
3. iperf example: enlarge max arguments
4. add examples for spi-ethernet
Closes https://github.com/espressif/esp-idf/issues/3715
Closes https://github.com/espressif/esp-idf/issues/3711
2019-07-04 19:38:13 +08:00
XiaXiaotian
29d1d2bd38
esp_wifi: refactor smartconfig callback to use esp event
2019-07-04 18:00:04 +08:00
Anurag Kar
61923d37b6
esp_prov : Minor refactoring in argument dependent logic
...
Other changes:
* Command line argument name and descriptions updated and formatted
* Some exception messages updated for clarity
* READMEs updated for tool and all provisioning examples
* Minor update in example test scripts due to change in esp_prov.get_transport() API
* Transport_HTTP now forces connect on initialization
2019-07-04 15:02:07 +05:30
Mahavir Jain
28f1cdf5ed
Merge branch 'feature/local_ctrl_no_sec' into 'master'
...
ESP Local Ctrl Feature Added
See merge request idf/esp-idf!5348
2019-07-04 00:45:29 +08:00
Anurag Kar
b75f8b1b20
ESP Local Control Feature Added
...
List of changes:
* New component esp_local_ctrl added
* Example added under examples/protocols/esp_local_ctrl
* Documentation added under protocols/esp_local_ctrl
* Demo client side app esp_local_ctrl.py added under examples/protocols/esp_local_ctrl/scripts
* protocomm_ble : protocomm_ble_config_t given struct name for allowing forward declaration
* esp_prov/transport_softap renamed to transport_http
* transport_http module supports verification of server certificate
* transport_http module performs name resolution before connection
2019-07-03 21:31:04 +05:30
lly
ff40911a51
ble_mesh: add Doxyfile for core apis & model apis
2019-07-03 17:58:09 +08:00
Krzysztof
660eb84da7
Correct links
...
Closes https://github.com/espressif/esp-idf/issues/3723
2019-07-02 18:22:33 +08:00
Krzysztof
8d251d7369
Implement review comments
2019-07-02 18:22:33 +08:00
fakefred
d1ceaf81ae
example/wifi/scan: fix README grammar
...
Merges https://github.com/espressif/esp-idf/pull/3678
2019-07-02 17:49:49 +08:00
Prasad Alatkar
388b350f0d
NimBLE-provisioning: Add NimBLE support to unified provisioning framework
...
- Adds NimBLE stack support to existing BLE variant of unified provisioning.
- Uses scan response to send device name, 128 bit custom UUIDs based on service
UUID.
- Minimal changes to `app_prov.c`, component.mk, CMakeLists.txt and
`protocomm_ble.h` to accomodate NimBLE stack for provisioning.
2019-07-02 14:20:10 +08:00
Hrishikesh Dhayagude
cba69dd088
Bluetooth examples restructuring
...
The existing Bluetooth examples are split as:
1. examples/bluetooth/bluedroid - Bluedroid Host (BT + BLE) examples
a. examples/bluetooth/bluedroid/classic_bt - Classic BT examples
b. examples/bluetooth/bluedroid/ble - BLE examples
c. examples/bluetooth/bluedroid/coex - Classic BT and BLE coex examples
d. examples/bluetooth/bluedroid/hci - VHCI and HCI UART examples
i. Rename ble_adv to controller_vhci_ble_adv and move it in hci folder
2. examples/bluetooth/nimble - NimBLE BLE Host + NimBLE Mesh examples
3. examples/bluetooth/esp_ble_mesh - ESP BLE Mesh examples
4. Update documentation references
2019-07-01 19:21:57 +08:00
Jiang Jiang Jian
70474ae844
Merge branch 'feature/btdm_avrcp_volume' into 'master'
...
components/bt: Add AVRCP feature about volume
See merge request idf/esp-idf!5209
2019-06-30 16:40:10 +08:00
Hrishikesh Dhayagude
21165edf41
Bluetooth component refactoring
2019-06-30 16:39:00 +08:00
baohongde
30d7002731
components/bt: Add AVRCP feature about volume
2019-06-30 03:46:15 +00:00
Jiang Jiang Jian
e2b88207b4
Merge branch 'feature/esp32s2beta_wifi' into 'feature/esp32s2beta'
...
run WiFi on ESP32SBETA
See merge request idf/esp-idf!5293
2019-06-30 00:40:34 +08:00
Deng Xin
c139683024
supplicant/esp_wifi: move supplicant to idf
...
Move supplicant to idf and do following refactoring:
1. Make the folder structure consitent with supplicant upstream
2. Remove duplicated header files and minimize the public header files
3. Refactor for WiFi/supplicant interfaces
2019-06-29 22:46:52 +08:00
Xia Xiaotian
99ef587a05
run WiFi on ESP32SBETA
2019-06-28 11:34:49 +08:00
Ivan Grokhotkov
d7d91225d3
Merge branch 'feature/refactor_etherent_driver' into 'master'
...
add esp_eth component
Closes IDF-324, IDF-637, and IDFGH-1139
See merge request idf/esp-idf!5111
2019-06-28 03:44:44 +08:00
Jiang Jiang Jian
291e25baa6
Merge branch 'bugfix/btdm_add_readme_for_BLE_demos' into 'master'
...
Component/bt: add readme doc for BLE demos
See merge request idf/esp-idf!4890
2019-06-26 16:04:28 +08:00
Jiang Jiang Jian
bd89b69daa
Merge branch 'feature/btdm_add_ble_ancs_demo' into 'master'
...
Component/bt: add ble ancs demo
See merge request idf/esp-idf!4688
2019-06-26 15:50:06 +08:00
Anurag Kar
9c0ee28670
wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager
...
List of changes in components/wifi_provisioning:
* Manager version is now v1.1
* .proto files and protocomm handler added for sending Wi-Fi scan command and receiving scan results
* Implemented handlers for wifi_scan protocomm endpoint
* Update manager context data structure to hold scan state and results
* scheme_softap now runs Wi-Fi in APSTA mode
* Wi-Fi is started in AP mode when provisioning is started. This is necessary for scan list to work
* Docs updates with information about new wifi_scan endpoint
List of changes in tools/esp_prov:
* Added functions for sending and receiving protobuf messages compatible with wifi_scan protocomm endpoint
* Added feature to display/refresh scan results and accept user selection at runtime
* New functions:
* get_version() : only returns the protocol version string
* has_capability() : check is a capability is present according to proto-ver response
* wifi_scan feature is provided only if the `wifi_scan` capability is present
Other changes:
* Replace recursive mutex with plain mutex
* assert on return value of mutex give / take calls
* replace all calls with macros ACQUIRE_LOCK and RELEASE_LOCK
* some checks added in scanning related private APIs
* free and nullify scanning context and state if service is stopped while ongoing scan
2019-06-26 05:24:20 +00:00
suda-morris
90c4827bd2
add esp_eth component
2019-06-26 10:19:23 +08:00
Angus Gratton
2c26eb2213
Merge branch 'feature/flash_encryption' into 'master'
...
Change flash encryption workflow to development / release
See merge request idf/esp-idf!4125
2019-06-26 09:04:03 +08:00
Angus Gratton
ba94bbf1f8
Merge branch 'bugfix/esp_https_ota_heap_failure' into 'master'
...
HTTPS OTA: Removed unnecessary free()
See merge request idf/esp-idf!5048
2019-06-26 09:03:16 +08:00
Jitin George
cdecb67d66
example/https_server: Add default sdkconfig
2019-06-25 23:43:35 +00:00
Jitin George
a2b5a93881
example/simple_ota_example: Fix python formatting and KConfig
2019-06-25 23:41:33 +00:00
Jitin George
83a4e4656f
example/simple_ota_example: Add support for skipping OTA server certificate CN field
2019-06-25 23:41:33 +00:00
Jitin George
9fa23bc599
example/simple_ota_example: Add example test
2019-06-25 23:41:33 +00:00
Hemal Gujarathi
a68c7c21e1
Improve flash encryption documentation and add Development & Release modes
...
This MR improves existing flash encryption document to provide simplified steps
Adds two new modes for user: Development & Release
Adds a simple example
Supports encrypted write through make command
2019-06-25 23:41:18 +00:00
Angus Gratton
9a412d3a08
Merge branch 'feature/use_new_component_registration_apis' into 'master'
...
Use new component registration API
See merge request idf/esp-idf!4898
2019-06-25 10:24:11 +08:00
Hrishikesh Dhayagude
342f6a7829
Port NimBLE Host Stack on ESP-IDF
2019-06-25 09:03:58 +08:00
Island
fc3253163e
component/ble_mesh: ESP BLE Mesh release
...
1. BLE Mesh Core
* Provisioning: Node Role
* Advertising and GATT bearer
* Authentication OOB
* Provisioning: Provisioner Role
* Advertising and GATT bearer
* Authentication OOB
* Networking
* Relay
* Segmentation and Reassembly
* Key Refresh
* IV Update
* Proxy Support
* Multiple Client Models Run Simultaneously
* Support multiple client models send packets to different nodes simultaneously
* No blocking between client model and server
* NVS Storage
* Store Provisioning Data of BLE Mesh Nodes in Flash
2. BLE Mesh Applications
* BLE Mesh Node & Provisioner
* Node Example
* Provisioner Example
* Node + Generic OnOff Client Example
* Fast Provisioning
* Vendor Fast Prov Server Model
* Vendor Fast Prov Client Model
* Examples
* Wi-Fi & BLE Mesh Coexistence
* Example
* BLE Mesh Console Commands
* Example
3. BLE Mesh Models
* Foundation Models
* Configuration Server Model
* Configuration Client Model
* Health Server Model
* Health Client Model
* Generic Client Models
* Generic OnOff Client
* Generic Level Client
* Generic Location Client
* Generic Default Transition Timer Client
* Generic Power OnOff Client
* Generic Power Level Client
* Generic Battery Client
* Generic Property Client
* Generic Server Models
* Generic OnOff Server (Example)
* Lighting Client Models
* Light Lightness Client
* Light CTL Client
* Light HSL Client
* Light xyL Client
* Light LC Client
* Sensor Client Model
* Sensor Client
* Time and Scenes Client Models
* Time Client
* Scene Client
* Scheduler Client
2019-06-24 11:31:24 +08:00
Jiang Jiang Jian
2b808fc19a
Merge branch 'feature/btdm_add_gattc_gatts_coex_example' into 'master'
...
Component/bt: add gattc and gatts coex example
See merge request idf/esp-idf!5087
2019-06-24 11:23:30 +08:00
Jiang Jiang Jian
1b12e6e97d
Merge branch 'refactor/bluedroid' into 'master'
...
Refactor/bluedroid
See merge request idf/esp-idf!4027
2019-06-24 11:07:53 +08:00
Michael (XIAO Xufeng)
fcf4502c6b
spi_example: fix the example to pass in esp32s2beta
2019-06-23 12:17:27 +08:00
Michael (XIAO Xufeng)
eacae2e982
spi_slave: fix a example issue caused by word alignment
2019-06-22 19:09:00 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
Angus Gratton
934a1a3223
Merge branch 'feature/add_ability_to_specify_spiffsgen_dependencies' into 'master'
...
Add ability to specify dependencies for spiffsgen
See merge request idf/esp-idf!4933
2019-06-21 13:27:35 +08:00
Renz Christian Bagaporo
c65038fd74
spiffs,make: change spiffsgen build API
2019-06-21 10:58:40 +08:00
suda-morris
813c9dcf22
ethernet: add eth2ap example
...
This example illustrates how to do Layer2 packet forwarding bussiness between Wi-Fi and Ethernet.
2019-06-20 22:12:56 +08:00
baohongde
07fef85a23
components/bt: Separation of BT and BLE
2019-06-20 17:06:23 +08:00
Angus Gratton
90008e3fd6
Merge branch 'feature/spi_driver_support_multi_chip' into 'master'
...
spi: multichip support
See merge request idf/esp-idf!5234
2019-06-20 16:45:06 +08:00
Tuan
2a2d932cfe
esp_websocket_client: Add websocket client component
...
Closes https://github.com/espressif/esp-idf/issues/2829
2019-06-20 15:37:40 +08:00
Michael (XIAO Xufeng)
2eff8f7742
spi_slave: fix a example issue caused by word alignment
2019-06-20 10:38:52 +08:00
zhiweijian
71eece07a0
Component/bt: add ble ancs demo
2019-06-19 19:36:55 +08:00
zhiweijian
f78eea97fe
Component/bt: add gattc and gatts coex example
2019-06-19 17:30:06 +08:00
suda-morris
3f7a571c90
fix errors when ci testing for esp32
2019-06-19 15:31:47 +08:00
zhiweijian
4d8a46b376
component/bt: add readme doc for BLE demos
...
- Closes:https://github.com/espressif/esp-idf/issues/3341
2019-06-17 07:05:41 +00:00
suda-morris
d156f0fc0f
replace strncpy with strlcpy in wifi examples for safety's sake
2019-06-17 11:25:50 +08:00
Angus Gratton
e20b37aff9
Merge branch 'bugfix/prov_examples_strlcpy' into 'master'
...
Wi-Fi Provisioning : Bugfix in copying Wi-Fi SSID and Passphrase
Closes IDF-693
See merge request idf/esp-idf!5180
2019-06-17 10:29:05 +08:00
Angus Gratton
78b7b137ad
Merge branch 'feature/otatool_parttool_python_api' into 'master'
...
otatool, parttool Python API
See merge request idf/esp-idf!5077
2019-06-13 10:31:29 +08:00
Anurag Kar
a012025deb
Example restful_server : Minor fix in copying file system base path
2019-06-12 05:43:17 +00:00
Anurag Kar
a8d19e6638
Provisioning Examples : Bugfix in copying Wi-Fi SSID and Passphrase
2019-06-12 05:42:46 +00:00
Renz Christian Bagaporo
3882e48e8a
cmake: use new signature form of target_link_library to link components
...
!4452 used setting LINK_LIBRARIES and INTERFACE_LINK_LIBRARIES to link
components built under ESP-IDF build system. However, LINK_LIBRARIES does
not produce behavior same as linking PRIVATE. This MR uses the new
signature for target_link_libraries directly instead. This also moves
setting dependencies during component registration rather than after all
components have been processed.
The consequence is that internally, components have to use the new
signature form as well. This does not affect linking the components to
external targets, such as with idf_as_lib example. This only affects
linking additional libraries to ESP-IDF libraries outside component processing (after
idf_build_process), which is not even possible for CMake<v3.13 as
target_link_libraries is not valid for targets not created in current
directory. See https://cmake.org/cmake/help/v3.13/policy/CMP0079.html#policy:CMP0079
2019-06-11 18:09:26 +08:00
Renz Christian Bagaporo
7f7a9272f0
examples: create example for both Python and CLI otatool interfaces
2019-06-11 13:17:14 +08:00
Renz Christian Bagaporo
5d41322412
examples: create example for both Python and CLI parttool interfaces
2019-06-11 13:17:14 +08:00
Angus Gratton
02f1e9fc20
Merge branch 'feature/prov_mgr' into 'master'
...
Wi-Fi Provisioning Manager
See merge request idf/esp-idf!4805
2019-06-11 09:46:50 +08:00
MartinValik
5268960235
Added support for NVS iterators
...
Closes https://github.com/espressif/esp-idf/issues/129
2019-06-10 16:42:39 +02:00
Anurag Kar
f90d3f6d93
Provisioning : Added Wi-Fi Provisioning Manager example and test script
2019-06-10 15:13:50 +05:30
Mahavir Jain
bb4ca8c508
Merge branch 'feature/config_option_for_mbedtls_debug_level' into 'master'
...
mbedtls: add config option for setting debug level
See merge request idf/esp-idf!5154
2019-06-10 11:44:40 +08:00
Ivan Grokhotkov
4b0b2c6fda
Merge branch 'feature/action_specific_flags' into 'master'
...
idf.py: add support for action specific options
Closes IDF-501, IDFGH-1276, and IDFGH-1275
See merge request idf/esp-idf!5029
2019-06-07 00:44:09 +08:00
Mahavir Jain
0a5dfd3717
mbedtls: add config option for setting debug level
...
Closes https://github.com/espressif/esp-idf/issues/3521
2019-06-06 18:28:19 +05:30
Angus Gratton
19f176eb71
Merge branch 'feature/net_test_suite' into 'master'
...
execute net test suite for esp32 network stack in ci as weekend tests
Closes IDF-210
See merge request idf/esp-idf!3439
2019-06-06 15:25:03 +08:00
David Cermak
684514b3d6
ci: added standard set of network suite for lwip as a part of weekend test
2019-06-04 08:27:53 +02:00
David Cermak
1ae0dfe7ef
mqtt: added support for esp event loop, updating examples to register and use event loop handler
2019-06-04 07:41:27 +02:00
Angus Gratton
045aaf6fb0
Merge branch 'feature/add_xxx_periph_h' into 'master'
...
soc: Add xxx_periph.h for all modules
Closes IDF-192
See merge request idf/esp-idf!4952
2019-06-04 13:24:14 +08:00
Angus Gratton
7f0ac87033
Merge branch 'bugfix/set_default_eth_handler' into 'master'
...
esp_event: fix bug in set_default_eth_handler
See merge request idf/esp-idf!5103
2019-06-04 13:06:55 +08:00
Sergei Silnov
20156f9702
idf.py: Add support for action specific options
...
Changes argument parsing mechanism from argparse to a new one, that provides better support for extensions and options that are only applicable to specific subcommands,
Breaking changes:
1. All global options should go before subcommands, i.e. `idf.py build -C ~/some/project` will not work anymore, only `idf.py -C ~/some/project build` is acceptable
2. To provide multiple values to an option like `--define-cache-entry` it's necessary to repeat option many times, i.e. `idf.py -D entry1 entry2 entry3` will not work, right way is: `idf.py -D entry1 -D entry2 -D entry3`
At the moment there are 3 options like this: `--define-cache-entry` in base list and `--test-components` and `--test-exclude-components` in the unit test extensions
3. Drops `defconfig` and `bootloader-clean` subcommands
Closes https://github.com/espressif/esp-idf/issues/3570
Closes https://github.com/espressif/esp-idf/issues/3571
2019-06-03 13:07:02 +02:00
Ivan Grokhotkov
fa36433199
Merge branch 'feature/multiple_github_prs' into 'master'
...
Fixes from github PRs
See merge request idf/esp-idf!5040
2019-06-03 18:50:46 +08:00
Konstantin Kondrashov
399d2d2605
all: Using xxx_periph.h
...
Using xxx_periph.h in whole IDF instead of xxx_reg.h, xxx_struct.h, xxx_channel.h ... .
Cleaned up header files from unnecessary headers (releated to soc/... headers).
2019-06-03 14:15:08 +08:00
suda-morris
c187f1ef6b
esp_event: fix bug in set_default_eth_handler
2019-05-31 16:00:15 +08:00
Christian
4f8d5d25c4
Delete unneeded code fragments from GPIO-example
...
Closes https://github.com/espressif/esp-idf/pull/2822
2019-05-29 18:02:18 +05:30
Alois Mbutura
4b1f8ef3a2
Correct seconds calculation from TLM data field
...
The SEC_CNT field in the eddystone TLM frame represents the number of centiseconds
elapsed since reboot. A divisor of 10 has been placed within the code to derive seconds from SEC_CNT.
Closes https://github.com/espressif/esp-idf/pull/3300
2019-05-29 18:02:18 +05:30
Alois Mbutura
b6ad457904
Update esp_eddystone_api.h
...
Change incorrect bitshifts in big_endian_read_32() function.
This was giving wrong values of of the 4 byte fieldswithin the eddystone TLM message, namely 'ADV_CNT' and 'SEC_CNT'
2019-05-29 18:02:18 +05:30
Anurag Kar
1831a375ec
protocomm_ble : Example updated to use custom 128bit service UUID
...
Also removed old hardcoded UUIDs from README of esp_prov
2019-05-29 13:53:08 +05:30
Angus Gratton
154fc74f76
Merge branch 'bugfix/nvs_typedef_naming_pr3239' into 'master'
...
nvs: Append _t to nvs_handle & nvs_open_mode types
Closes IDFGH-891
See merge request idf/esp-idf!4783
2019-05-29 08:14:00 +08:00
Angus Gratton
02f2e63662
Merge branch 'feature/use_cmake_function_call_for_embedding_ulp' into 'master'
...
Use function call for embedding ULP binaries
See merge request idf/esp-idf!4242
2019-05-27 13:14:09 +08:00
suda-morris
1886d8d4ef
update ota examples to support both Wi-Fi and Ethernet
2019-05-22 17:56:10 +08:00
GOPTIONS\pfrost
897bb55482
nvs: Append _t to nvs_handle & nvs_open_mode types
...
Merges https://github.com/espressif/esp-idf/pull/3239/
2019-05-22 02:53:28 +00:00
Renz Christian Bagaporo
443850b1a8
example: update ulp example to use cmake function
2019-05-21 20:00:06 +08:00
Roland Dobai
151f757912
Rename Kconfig options (examples)
2019-05-21 09:32:55 +02:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
997b29a9ca
Rename Kconfig options (components/esptool_py)
2019-05-21 09:32:55 +02:00
Roland Dobai
6c0a7a66f3
Rename Kconfig options (components/app_trace)
2019-05-21 09:32:55 +02:00
Roland Dobai
a1bddb923b
Rename Kconfig options (components/bt)
2019-05-21 09:09:01 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
d4af5e6fff
Rename Kconfig options (components/ethernet)
2019-05-21 09:09:01 +02:00
Roland Dobai
92950db44e
Rename Kconfig options (components/lwip)
2019-05-21 09:09:01 +02:00
Roland Dobai
976d2a4b7f
Rename Kconfig options (components/freemodbus)
2019-05-21 09:09:01 +02:00
Roland Dobai
c5000c83d2
Rename Kconfig options (root)
2019-05-21 09:09:01 +02:00
Renz Christian Bagaporo
477fa49fc0
examples: update idf_as_lib example to use new api
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
d214bb912f
examples: update with build system changes
2019-05-14 18:01:14 +08:00
Renz Christian Bagaporo
c6dc47b3e2
cmake: build system changes
2019-05-13 19:57:39 +08:00
suda-morris
11c17ab5b6
add RESTful API server example
2019-05-10 13:21:14 +08:00
Angus Gratton
b6a24bbd25
Merge branch 'feature/esp-https-ota-basic-auth' into 'master'
...
esp_https_ota: component refactoring, bugfixes and feature additions
See merge request idf/esp-idf!4245
2019-05-10 12:39:14 +08:00
Ivan Grokhotkov
6faaeafcdd
Merge branch 'bugfix/http_file_server' into 'master'
...
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths
See merge request idf/esp-idf!4886
2019-05-05 11:24:52 +08:00
Shivani Tipnis
893c1d82f7
nvs_console: Fix type comparison
...
Closes https://github.com/espressif/esp-idf/issues/3320
2019-05-02 15:31:57 +05:30
Jitin George
64e3ab364e
examples/system/ota/advanced_https_ota: Add example for newly introduced APIs in esp_https_ota component
2019-05-02 12:29:29 +05:30
Ivan Grokhotkov
f94f158cf5
Merge branch 'bugfix/move_spiffsgen_example_to_storage' into 'master'
...
spiffsgen follow-ups
See merge request idf/esp-idf!4893
2019-04-30 13:48:54 +08:00
Anurag Kar
59afbe4eed
File Server Example : Check longer than allowed filenames when converting from URIs to filepaths
...
This change prevents buffer overflows in case of really long file paths.
Other changes:
* Remove query (?) and fragment (#) component from URI when converting to file path
* /index.html and favicon.ico can be overridden by files with same name and path in SPIFFS
* README.md updated
2019-04-29 12:19:59 +05:30
Angus Gratton
eb3791faba
Merge branch 'bugfix/udp_multicast_example_errors' into 'master'
...
udp_multicast_example: better handling wrong addresses
Closes IDFGH-979
See merge request idf/esp-idf!4784
2019-04-29 09:21:07 +08:00
Renz Christian Bagaporo
4a288c9f30
example: use mbedtls to compute hash in spiffsgen example
2019-04-26 22:37:41 +08:00
Renz Christian Bagaporo
fa21b5f33b
spiffs: move spiffsgen example with other storage related examples
2019-04-26 22:37:41 +08:00
Roland Dobai
23ee93ea76
Rename deprecated Kconfig options in a backward compatible way
2019-04-24 12:53:02 +02:00
xiehang
5e15840ac1
examples: fix iperf exit error
2019-04-22 12:14:21 +08:00
Ivan Grokhotkov
47988e90ea
Merge branch 'feature/esp_event_loop_examples_provisioning' into 'master'
...
examples/provisioning: use esp_event library for event handling
Closes IDF-55
See merge request idf/esp-idf!4030
2019-04-22 07:48:48 +08:00
He Yin Ling
ad0d8a4767
test: save throughput result to junit report
2019-04-19 14:39:44 +08:00
Angus Gratton
4b9a38d883
Merge branch 'feature/freemodbus_master_support_upd_arch' into 'master'
...
examples: freemodbus port common master and slave interface implementation
See merge request idf/esp-idf!3707
2019-04-18 12:42:05 +08:00
Angus Gratton
a20d02b7f1
Merge branch 'feature/remove_dependency_to_soc' into 'master'
...
global: remove dependency to soc everywhere except driver and kernel components
See merge request idf/esp-idf!4678
2019-04-18 08:08:41 +08:00
gfrodo
269c4c74d2
udp_multicast_example: better handling wrong addresses
...
inet_aton returns 0 on failure, but socket_add_ipv4_multicast_group has to return negative values for failures
getaddrinfo sets res to zero of address could not resolved, but doesn't necessarily return an
error. res is now checked for zero before dereferencing
Merges https://github.com/espressif/esp-idf/pull/2814
2019-04-17 06:52:23 +00:00
Anton Maklakov
453a33ce79
mdns example: Remove a warned unused constant
2019-04-17 11:21:53 +07:00
Alex Lisitsyn
449d2a6367
freemodbus: Fix bug with incorrect coils read mask
...
Contains two different component folders per each implementation (serial_master and serial_slave) with concrete ports.
Added common public api for master and slave and common interface for master and slave implementation.
Add support of cmake system (added cmake files).
Added sdkconfig.defaults files for slave and master modbus examples.
Updated make file and KConfig for freemodbus component
Update according to review and fix doxygen warnings
Fix Doxyfile to pass documentation build
Update headers and change interface file names as per review comments
Merge branch feature/freemodbus_move_rs485_mode_control
Update after review:
The stack modbus folder updated to support master and slave ports together and moved into freemodbus/modbus
Stack and port files updated to remove duplicated simbols
Make file, KConfig and CMakeLists.txt updated to compile master and slave stacks, common interface and concrete implementations of ports
Stack callback functions execute callbacks using interface pointer from concrete port implementation
User can instantiate any of concrete port using common API (only one concrete port at a time) and it does not require to select port by KConfig
Port pins and mode configuration moved into example files from port files to allow user select pins and port mode (customer request)
Changes tested using pymodbus, ModbusPoll and communication between two boards
Updated DoxyFile according to public include path
Fix maximum instance size for slave (merge from master of customer issue)
Fix critical section issue TW#28622 (change spin lock based critical section to semaphore)
Move serial port files into component port folder for master and slave accordingly
Fix example issue showed in the log when IO slave is not configured correctly
Fix conflicts while merging from origin/master
Fix errors handling in modbus controller interface + some final corrections according to review
Update maximum allowed number of slaves in the network segment
Fix bug with incorrect coils read mask
Closes https://github.com/espressif/esp-idf/issues/858
2019-04-16 10:21:20 +02:00
Michael (XIAO Xufeng)
562af8f65e
global: move the soc component out of the common list
...
This MR removes the common dependency from every IDF components to the SOC component.
Currently, in the ``idf_functions.cmake`` script, we include the header path of SOC component by default for all components.
But for better code organization (or maybe also benifits to the compiling speed), we may remove the dependency to SOC components for most components except the driver and kernel related components.
In CMAKE, we have two kinds of header visibilities (set by include path visibility):
(Assume component A --(depends on)--> B, B is the current component)
1. public (``COMPONENT_ADD_INCLUDEDIRS``): means this path is visible to other depending components (A) (visible to A and B)
2. private (``COMPONENT_PRIV_INCLUDEDIRS``): means this path is only visible to source files inside the component (visible to B only)
and we have two kinds of depending ways:
(Assume component A --(depends on)--> B --(depends on)--> C, B is the current component)
1. public (```COMPONENT_REQUIRES```): means B can access to public include path of C. All other components rely on you (A) will also be available for the public headers. (visible to A, B)
2. private (``COMPONENT_PRIV_REQUIRES``): means B can access to public include path of C, but don't propagate this relation to other components (A). (visible to B)
1. remove the common requirement in ``idf_functions.cmake``, this makes the SOC components invisible to all other components by default.
2. if a component (for example, DRIVER) really needs the dependency to SOC, add a private dependency to SOC for it.
3. some other components that don't really depends on the SOC may still meet some errors saying "can't find header soc/...", this is because it's depended component (DRIVER) incorrectly include the header of SOC in its public headers. Moving all this kind of #include into source files, or private headers
4. Fix the include requirements for some file which miss sufficient #include directives. (Previously they include some headers by the long long long header include link)
This is a breaking change. Previous code may depends on the long include chain.
You may need to include the following headers for some files after this commit:
- soc/soc.h
- soc/soc_memory_layout.h
- driver/gpio.h
- esp_sleep.h
The major broken include chain includes:
1. esp_system.h no longer includes esp_sleep.h. The latter includes driver/gpio.h and driver/touch_pad.h.
2. ets_sys.h no longer includes soc/soc.h
3. freertos/portmacro.h no longer includes soc/soc_memory_layout.h
some peripheral headers no longer includes their hw related headers, e.g. rom/gpio.h no longer includes soc/gpio_pins.h and soc/gpio_reg.h
BREAKING CHANGE
2019-04-16 13:21:15 +08:00
Angus Gratton
652302bd06
Merge branch 'feature/sntp_cb_function' into 'master'
...
sntp: Add some modes for time synchronization
Closes IDF-236
See merge request idf/esp-idf!4472
2019-04-16 07:28:04 +08:00
Ivan Grokhotkov
1c21bc5c81
Merge branch 'bugfix/freemodbus_fix_incorrect_read_coil_event' into 'master'
...
freemodbus: fix incorrectly set coils read event in modbus controller
See merge request idf/esp-idf!4749
2019-04-15 19:41:49 +08:00
Jiang Jiang Jian
603d293365
Merge branch 'feature/btdm_AVRCP_TG' into 'master'
...
component/bt: implement AVRCP Target APIs
See merge request idf/esp-idf!3899
2019-04-15 18:53:51 +08:00
Anurag Kar
15be5e47a1
softap_prov_test : example script updated to accomodate for changes in logs
2019-04-15 10:19:29 +00:00
Anurag Kar
d784fbb314
examples/provisioning : Call esp_wifi_init() only in main function before starting provisioning
...
Removed all other instances of call to esp_wifi_init(), because every time this is called it
will override its previously set default event handler and hence cause numerous warnings.
Also, call nvs_flash_init() only once, that is before calling esp_wifi_init() in main function
2019-04-15 10:19:29 +00:00
Anurag Kar
3608f9bde4
examples/provisioning : use esp_event library to handle WiFi/IP events
2019-04-15 10:19:29 +00:00
Konstantin Kondrashov
7e5be1b58c
sntp/lwip: Add some modes for time synchronization
...
Closes: IDF-236
Closes: https://github.com/espressif/esp-idf/pull/1668
2019-04-15 18:11:47 +08:00
Ivan Grokhotkov
9628c60a1d
examples/protocols/mdns: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
aa4a7804ec
examples/protocols/asio: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
ee3035257a
examples/protocols/coap: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
fbc407f088
examples/protocols/esp_http_client: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
e1d1f10e8a
examples/protocols/http(s,2)_request: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
a5b0f5d6ed
examples/protocols/http(s)_server: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
6548afcf49
examples/protocols/mqtt: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
a46d94250d
examples/protocols/openssl: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
e0f3f62cdf
examples/protocols/sntp: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
28cf1c83df
examples/protocols/sockets: use common network component
2019-04-15 03:32:05 +00:00
Ivan Grokhotkov
22bef90bd3
examples: add component for protocol examples network functionality
2019-04-15 03:32:05 +00:00
aleks
eebbced5b6
freemodbus: fix incorrectly set coils read event
...
incorrect set of the MB_EVENT_COILS_WR event is changed while read coils in mbcontroller.c file
added read/write handling for appropriate registers in freemodbus.c example file
Closes https://github.com/espressif/esp-idf/issues/3289
2019-04-15 03:30:31 +00:00
Ivan Grokhotkov
7728f8755e
Merge branch 'feat/example_sdio_over_spi' into 'master'
...
sdio: support SDIO over spi
See merge request idf/esp-idf!3069
2019-04-12 16:12:57 +08:00
Angus Gratton
65664f8e99
Merge branch 'feature/move_aws_iot_to_independent_repository' into 'master'
...
aws_iot: moving AWS IoT to independent repository
See merge request idf/esp-idf!4624
2019-04-12 16:06:38 +08:00
Mahavir Jain
1cfa09d4e8
aws_iot: moving AWS IoT to independent repository
...
Like other cloud frameworks, AWS IoT will also be supported through
independent repository, https://github.com/espressif/esp-aws-iot
2019-04-12 05:36:05 +00:00
Michael (XIAO Xufeng)
9985c33a46
sdio: support SDIO over spi in the example
2019-04-12 02:24:29 +08:00
Ivan Grokhotkov
b4056560c0
examples/wifi: use esp_event library to handle events
2019-04-11 12:32:03 +08:00
Ivan Grokhotkov
11355c4162
examples/system: use esp_event library to handle events
2019-04-11 12:32:03 +08:00
Ivan Grokhotkov
2a48db0f48
examples/ethernet: use esp_event library to handle events
2019-04-11 12:32:03 +08:00
Ivan Grokhotkov
a2d59525e5
mdns: use esp_event library to handle events
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
b1d1e37f87
event loop: re-implement based on esp_event library
...
Includes ds2ds unit test fix, iperf example test fix
2019-04-11 12:04:58 +08:00
Ivan Grokhotkov
e37b0ad648
esp_event: move trailing semicolons out of defines
2019-04-11 12:04:58 +08:00
baohongde
72eb170c4f
components/bt: Fix errors caused by rebase
2019-04-10 17:59:23 +08:00
wangmengyang
61bd453c15
component/bt: implement AVRCP Target APIs
...
1. Add more notification events to the enum according to the event list in AVRCP specification.
2. Add API and callback events for basic AVRCP target functionalities to do init, deinit, callback-registration, connection status indication.
3. Implement API to set/get supported PASSTHROUGH command on local AVRCP TG, implement callback events for remote passthrough command indication.
4. Implement API to set/get supported notification eventIDs on local AVRCP TG, implement API to send event notifications to remote CT. \
Currently supported event in TG only includes ESP_AVRC_RN_VOLUME_CHANGE(0xd), which can be extended in later commits.
5. Implement callback events for SetAbsoluteVolume command indication on TG.
6. Add limitation of event_ids supported in RegisterNotification command in CT. The supported event_ids include: \
ESP_AVRC_RN_PLAY_STATUS_CHANGE(0x1), ESP_AVRC_RN_TRACK_CHANGE(0x2), ESP_AVRC_RN_PLAY_POS_CHANGE(0x5), ESP_AVRC_RN_VOLUME_CHANGE(0xd).
7. Add feature bit mask in parameter of callback event ESP_AVRC_CT_REMOTE_FEATURES_EVT for peer feature information got from SDP.
8. Add API and callback event to AVRCP CT to retrieve remote TG's supported notification event capabilities.
9. Modify data type for parameter of callback event ESP_AVRC_CT_CHANGE_NOTIFY_EVT.
10. Change AVRCP version from 1.3 to 1.4 for compatibility cause in using AbsoluteVolume feature.
11. Modify local AVRCP device to be category 1 as CT and category 2 as TG that applies to bluetooth headphones or speakers.
12. Update the use of AVRCP APIs and events in the two examples: a2dp_sink and a2dp_gatts_coex, which include the demo of volume control and notification.
2019-04-10 16:34:13 +08:00
Alexey Gerenkov
296c9549a4
sys_view: Adds heap & log tracing example
2019-04-01 19:31:45 +03:00
Alexey Gerenkov
5ef3a64c00
sys_view: Adds heap tracing API
2019-04-01 19:31:27 +03:00
Ivan Grokhotkov
d52ecb71d6
Merge branch 'feature/spiffs_image_generator' into 'master'
...
SPIFFS Image Generator
See merge request idf/esp-idf!4156
2019-04-01 20:08:40 +08:00
Angus Gratton
8914f6f9cd
Merge branch 'bugfix/http_server_lf_term_hdr' into 'master'
...
HTTP Server : Fix for tolerating LF terminated headers
Closes IDFGH-748
See merge request idf/esp-idf!4588
2019-04-01 13:25:24 +08:00
Anton Maklakov
da90966828
Merge branch 'feature/mqtt_weekend_tests' into 'master'
...
introducing weekend tests for mqtt and fuzzer test (mdns, LWIP)
Closes IDF-540
See merge request idf/esp-idf!4230
2019-03-27 19:12:33 +08:00
Renz Christian Bagaporo
09d7383180
example: Add SPIFFS image generation from build system example
2019-03-27 09:09:47 +08:00
Anurag Kar
94bd4e0a26
HTTP Server : Added example tests for verifying parser behavior on arbitrary HTTP terminations (LF, CRLF, etc.)
2019-03-26 14:21:40 +05:30
蹬
955aa2e4e0
Update README.md
...
Merges https://github.com/espressif/esp-idf/pull/3104
2019-03-24 19:54:00 +01:00
David Cermak
1465f53f49
mqtt tests: adding weekend test for mqtt library to exercise publishing/receiving different data and references esp-mqtt commits to pass these tests
...
testing conditions:
transports (tcp, ssl, ws..)
qos (0, 1, 2)
short repeated messages (packed packets)
oversized messages (fragmented packets)
publish from a different thread
Closes https://github.com/espressif/esp-idf/issues/2870 by means of including commit 815623dfe5a0e41fa0e51ab4e336feb3eaa5ba15 from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2975 by means of including commit 752953dc3be007cca4255b66a35d3087e61f6a54 from esp-mqtt
Closes https://github.com/espressif/esp-idf/issues/2850 by means of including commits df455d2a5fe562dd1b8351da99a1d6d82b66eff3 17fd713bced4f2d00df7ed664ed82a7d108ab317 from esp-mqtt
2019-03-22 11:37:26 +01:00
Ivan Grokhotkov
940a1f6e79
Merge branch 'feature/separate_rom_from_esp32' into 'master'
...
separate rom from esp32 component to esp_rom
Closes IDF-542
See merge request idf/esp-idf!4500
2019-03-21 22:10:45 +08:00
Ivan Grokhotkov
3a779380a7
Merge branch 'feature/semihost_vfs' into 'master'
...
Adds semihosting VFS driver
Closes IDF-367
See merge request idf/esp-idf!4145
2019-03-21 22:03:06 +08:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
77e7af4e90
Merge branch 'feature/update_libcoap_4.2.0' into 'master'
...
Update component/coap to libcoap version release-4.2.0
See merge request idf/esp-idf!4499
2019-03-21 18:35:20 +08:00
Ivan Grokhotkov
106dc05903
Merge branch 'feature/specify_includes_belonging_esp32' into 'master'
...
move esp32 chip specific includes to esp32/xxx.h
See merge request idf/esp-idf!4534
2019-03-21 18:34:08 +08:00
Akbar Hashim
6f5f40dae4
updated buffer size too small for popular carrier in India Airtel -> airtelgprs.com
...
Merges https://github.com/espressif/esp-idf/pull/3010
2019-03-21 15:06:24 +08:00
Angus Gratton
112c54e043
Merge branch 'doc/ota_readme_cert_cn' into 'master'
...
ota example: Mention the certificate needs CN set correctly
See merge request idf/esp-idf!4441
2019-03-21 09:26:12 +08:00
Jiang Jiang Jian
bd103f3743
Merge branch 'feature/btdm_add_api_to_clean_gattc_cache' into 'master'
...
Component/bt: add api to clean gattc cache
See merge request idf/esp-idf!3951
2019-03-20 22:05:00 +08:00
Alexey Gerenkov
b5ac319160
vfs: Adds example for semihosting VFS driver
2019-03-20 12:52:52 +03:00
Jitin George
ab4b57e03d
example:coap_server: Change app task stack size
2019-03-18 12:33:52 +00:00
Jitin George
fecd7a16d4
example:coap_client: Change app task stack size
2019-03-18 12:33:52 +00:00
Jon Shallow
bc9d1a65d7
Update component/coap to libcoap version release-4.2.0
...
This takes the code up to the latest released version of libcoap.
As there have been API changes, coap_client and coap_server in
examples/protocols have been updated to use the new APIs.
Further information on the new libcoap APIs can be found at
https://libcoap.net/doc/reference/4.2.0/
coap_client has been updated to handle BLOCK2 responses from
"coap://californium.eclipse.org"
coap_client has been modified to only send out one request (and wait for
the response)
coap_server has been updated to support Observe subscriptions, and well as
adding in PUT and DELETE handlers to work on the Espressif resource
coap_server and coap_client have had their stack sizes increased.
port/coap_io.c has been added, a copy of libcoap/src/coap_io.c with support
added for systems that do not have RFC 3542 section 20 support.
port/coap_io_socket.c has been removed as a lot of the code is now
replicated in different libcoap files.
Once this PR is place, then adding in DTLS will be a lot simpler (as a
separate PR)
Signed-off-by: Jitin George <jitin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/3148
2019-03-18 12:33:52 +00:00
morris
956c25dedd
move esp32 chip specific includes to esp32/xxx.h
2019-03-18 17:14:05 +08:00
Jiang Jiang Jian
5beb2802e0
Merge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'
...
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
See merge request idf/esp-idf!2208
2019-03-17 14:19:11 +08:00
Ivan Grokhotkov
945bd36884
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-03-13 20:32:37 +08:00
zhiweijian
d5e78e79d3
Component/bt: add api to clean gattc cache
2019-03-13 15:23:33 +08:00
Hrishikesh Dhayagude
d9ce0bb705
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
...
The current API is insufficient to allow the users to set different combinations of connection and discoverable mode
Users should be able to choose the device modes independently:
1. Connectable-
i. Non-connectable mode
ii. Connectable mode
2. Discoverable-
i. Non-discoverable mode
ii. Limited discoverable mode
iii. General discoverable mode
2019-03-13 11:24:00 +05:30
Angus Gratton
b6ddebb861
Merge branch 'bugfix/blink-increase-task-size' into 'master'
...
examples: Increase task size for blink demo
See merge request idf/esp-idf!4342
2019-03-13 07:44:48 +08:00
Angus Gratton
8d62b0d173
ota example: Mention the certificate needs CN set correctly
2019-03-08 18:32:55 +11:00
morris
378f8f72f0
console: fix wrong timeout settiing in join command
...
1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds
2. Don't clear the CONNECTED_BIT when connected to AP.
2019-03-06 18:25:10 +08:00
Jiang Jiang Jian
c1e50c8a27
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID' into 'master'
...
Component/bt: fix iOS and win10 compatibility error for HID
See merge request idf/esp-idf!4396
2019-03-06 14:11:38 +08:00
Angus Gratton
48d3a5804d
Merge branch 'bugfix/simple_ota_example' into 'master'
...
bugfix(simple_ota_example): Compatible with V3.1 and V3.2,because the NVS format is different
See merge request idf/esp-idf!3983
2019-03-05 13:05:53 +08:00
zhiweijian
d71df18d92
Component/bt: fix iOS and win10 compatibility error for HID
2019-02-28 20:39:12 +08:00
Anuj Deshpande
94594af13f
examples: Move blink code to main task
2019-02-28 12:12:24 +05:30
Angus Gratton
ea9b8c3745
Merge branch 'feature/sniffer_app_trace' into 'master'
...
capture WiFi packets to host via JTAG
See merge request idf/esp-idf!4203
2019-02-28 07:38:52 +08:00
Jiang Jiang Jian
ebca3e27b1
Merge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'
...
fix the bug in tcp_client
See merge request idf/esp-idf!4330
2019-02-27 16:44:00 +08:00
Angus Gratton
590825824d
Merge branch 'feature/embed_elf_sha256' into 'master'
...
build system: include SHA256 hash of ELF file into app_desc structure
See merge request idf/esp-idf!4093
2019-02-27 16:31:47 +08:00
morris
ae6d19b4fb
sniffer: capture packets to host via JTAG
...
Based on app-trace component, it's able to send sniffer packets to host via JTAG interface.
2019-02-27 16:20:13 +08:00
Ivan Grokhotkov
ea52a19c00
build system: include SHA256 hash of ELF file into app_desc structure
2019-02-27 13:30:25 +08:00
xiehang
1e8b8d91a5
fix the bug in tcp_client
...
Closes https://github.com/espressif/esp-idf/issues/3058
2019-02-26 09:28:17 +00:00
Darian Leung
3e25d441a5
freertos: Add real time stats example
...
The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.
2019-02-26 14:34:53 +08:00
Angus Gratton
280d39aedd
Merge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'
...
bugfix(i2s): allow to use apll in pdm/adc/dac mode
See merge request idf/esp-idf!3800
2019-02-26 11:47:49 +08:00
Angus Gratton
a4edeee51b
Merge branch 'bugfix/btdm_fix_comment_error' into 'master'
...
Component/bt: fix comment error
See merge request idf/esp-idf!3769
2019-02-26 11:45:26 +08:00
Anurag Kar
b26f6662f1
http_server examples : Updated tests and examples to demonstrate usage of httpd_register_err_handler()
and accommodate for changes in default error handler behavior
2019-02-25 09:13:39 +00:00
Ivan Grokhotkov
5ec58c316d
Merge branch 'bugfix/multiple_can_bugs' into 'master'
...
CAN: Add functions to clear queues and fix multiple bugs
See merge request idf/esp-idf!4279
2019-02-25 15:43:56 +08:00
Angus Gratton
5b945cb611
Merge branch 'bugfix/mdns_service_memory_leak' into 'master'
...
mdns: fix memory leak when query for service plus various other fixes
See merge request idf/esp-idf!4270
2019-02-21 06:03:48 +08:00
Angus Gratton
40a55823a9
Merge branch 'feature/anti_rollback_efuse' into 'master'
...
Support anti-rollback
See merge request idf/esp-idf!3682
2019-02-20 16:11:00 +08:00
Darian Leung
099b83af67
CAN: Add functions to clear queues and fix multiple bugs
...
This commits adds the functions can_clear_transmit_queue() and
can_clear_receive_queue(). Closes #2906
The following bug are fixed:
- CAN_IO_UNUSED is now explicitly cast to enum type. Closes #2825
- Fix multiple documentation errors. Closes #2898 , Closes #2794
- can_reconfigure_alerts() returns incorrect current_alerts. Closes #3028
- Add missing header file. Closes #3065
2019-02-18 21:31:33 +08:00
David Cermak
fbef5297fc
mdns example: fix print result for IPv6 addresses
2019-02-15 15:54:18 +01:00
Anurag Kar
f4f3b6088a
provisioning examples : typos fixed and minor change in timer callback execution
...
Note : Examples have been updated to prevent invocation of bluedroid/wifi APIs from inside timer callback when stopping provisioning. Workaround is to spawn new task from inside the timer callback.
2019-02-15 10:45:34 +00:00
Anurag Kar
59b10709d1
wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated
...
Closes https://github.com/espressif/esp-idf/issues/2874
2019-02-15 10:45:34 +00:00
Ivan Grokhotkov
df71c733df
Merge branch 'doc/cleanup_apptrace2host_example' into 'master'
...
cleanup app_trace_to_host example
See merge request idf/esp-idf!4160
2019-02-15 17:06:57 +08:00
Angus Gratton
eb4d48815f
Merge branch 'feature/protocomm_httpd_changes' into 'master'
...
Feature/protocomm httpd changes
See merge request idf/esp-idf!4227
2019-02-15 14:21:44 +08:00
Angus Gratton
81cde3b44f
Merge branch 'test/disable_sdio_example_ci' into 'master'
...
sdio: temporarily disable the sdio example ci, since the runners have some power issue
See merge request idf/esp-idf!4264
2019-02-15 08:54:06 +08:00
Konstantin Kondrashov
e916cf52a3
bootloader: Add support of anti-rollback
...
Added:
* set a secure version in app/bootloader.
* description anti-rollback to ota part
* emulate the secure_version write and read operations
* efuse_em partition.
* a description about a rollback for native_ota_example.
Closes: TW26335
2019-02-14 18:51:43 +08:00
Michael (XIAO Xufeng)
c465053195
sdio: temporarily disable the sdio example ci, since the runners have
...
some power issue
2019-02-14 15:51:24 +08:00
Renz Christian Bagaporo
86c4950d2f
examples: fix specified location for event loop example test
2019-02-14 14:06:04 +08:00
Renz Christian Bagaporo
a0310e35d7
example: fix expected logging output order for esp_event example
2019-02-14 14:06:04 +08:00
Jeroen Domburg
72cca0f2a3
Proper README.md for himem example
2019-02-12 19:36:06 +08:00
Piyush Shah
3804c458c7
softap_prov: Changes in the example code as per changes to protocomm_httpd
...
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-02-04 18:22:43 +05:30
morris
ed84bcee7b
cleanup app_trace_to_host example
...
1. Cleanup the README of app_trace_to_host example based on the template.
2. Remove unused header files in the example.
3. Fix typos in public header file.
2019-01-31 21:28:52 +08:00
zhiweijian
06a2e20b15
Component/bt: fix comment error
2019-01-31 20:47:36 +08:00
Anton Maklakov
2790d4a049
Merge branch 'bugfix/mdns_test_cleanup' into 'master'
...
mdns tests: execute test services only when running example in ci
See merge request idf/esp-idf!4174
2019-01-31 14:46:10 +08:00
Angus Gratton
4b2feb316a
Merge branch 'feature/optionally_disable_https_from_ota_component' into 'master'
...
esp_https_ota: few feature enhancements
See merge request idf/esp-idf!4057
2019-01-31 09:11:35 +08:00
Mahavir Jain
b912d0fa9d
esp_https_ota: add support for configurable ota buffer size
...
Closes https://github.com/espressif/esp-idf/issues/2998
2019-01-30 18:11:09 +05:30
David Cermak
74cc7a065f
mdns tests: execute test services only when running example in ci
...
Test services may cause confussion (and did cause some GitHub/forum issues). This update runs test services only when example executed in ci. Also host name is a simple config entry if executed outside of ci.
2019-01-30 09:55:52 +00:00
Ivan Grokhotkov
05a28ef4e7
Merge branch 'bugfix/aws_iot_examples_cmake_build' into 'master'
...
examples: aws_iot: fix cmake build issue which used to pick dummy certificates
See merge request idf/esp-idf!4180
2019-01-30 14:27:51 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
morris
7528dc0f20
ethernet: support new PHY (IP101)
...
1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.
2019-01-29 14:08:35 +08:00
Mahavir Jain
1286b93c81
examples: aws_iot: fix cmake build issue which used to pick dummy certificates
...
For CI build now `sdkconfig.ci` file is used which builds examples assuming certificate
stored on SDCard.
2019-01-28 10:45:34 +05:30
Ivan Grokhotkov
a97765c4b3
Merge branch 'feature/modem_pppos' into 'master'
...
support cellular modem && refactor PPPoS client example
See merge request idf/esp-idf!3778
2019-01-28 11:59:41 +08:00
Jiang Jiang Jian
5c88c5996d
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'
...
component/bt: add a option to make report adv data and scan response individually
See merge request idf/esp-idf!4131
2019-01-25 11:53:06 +08:00
Tian Hao
6c8a8664aa
component/bt: add a option to make report adv data and scan response individually
...
Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.
2019-01-24 14:30:02 +08:00
Wang Fang
ef07bc44ec
add esp ble compatibility test case
2019-01-24 14:29:31 +08:00
morris
2e1f98f8f5
modem: support modem facility and PPPoS
...
1. add support for ESP32 DTE
2. add support for SIM800/BG96 DCE
3. add PPPoS setup procedure
4. add support for SMS
5. add mqtt example after PPP connection established
2019-01-23 18:53:32 +08:00
Angus Gratton
52b27890de
Merge branch 'bugfix/examples_http_file_server_readme' into 'master'
...
HTTP File Server : Fix README of example
See merge request idf/esp-idf!4112
2019-01-23 09:06:46 +08:00
Jitin George
4a667ee12c
esp_http_client: Fix config member path's incorrect setting issue
2019-01-21 19:08:24 +08:00
Anurag Kar
c2fb45b6ef
http file_server : Fix README of example
2019-01-15 12:58:55 +05:30
qiyuexia
a05fdd9c10
mesh: update libs
...
1. detect and fix root conflicts when router BSSID is not set.
2. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.
2019-01-15 14:26:05 +08:00
Anurag Kar
72d2d2845d
http_file_server : fix kconfig of example
2019-01-15 07:27:22 +05:30
Ivan Grokhotkov
1ee729336f
Merge branch 'feature/http_server_wildcard_uri' into 'master'
...
Wildcard URI matching for http_server
See merge request idf/esp-idf!3973
2019-01-14 19:44:54 +08:00
Ivan Grokhotkov
1ad8b96fed
Merge branch 'bugfix/mqtt_tests_local_broker' into 'master'
...
MQTT tests: connect to local broker when running in CI to make the tests more reliable
See merge request idf/esp-idf!3926
2019-01-14 16:29:43 +08:00
Anurag Kar
5127aa1976
HTTP Server : File server example added
...
This example demonstrates the capability of wildcard URI matching
allowing for a full fledged file server to be created using esp_http_server.
2019-01-14 12:03:54 +05:30
David Cermak
b13a536041
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-11 15:30:15 +01:00
aleks
e3a786f2cf
examples: change max register area size to maximum value
...
esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2);
Update support for coils read into freemodbus.c;
TW#28143
Closes https://github.com/espressif/esp-idf/issues/2884
2019-01-11 09:49:11 +01:00
Ivan Grokhotkov
ad5d81df04
Merge branch 'feature/mqtt_before_connect_event' into 'master'
...
MQTT support for fragmented and packed messages
See merge request idf/esp-idf!3743
2019-01-11 15:38:23 +08:00
Martin Válik
602d102403
Added support for NVS in console example
2019-01-11 09:51:50 +08:00
Jitin George
e2ae69f6fb
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
2019-01-07 16:33:41 +08:00
Jiang Jiang Jian
0700cde229
Merge branch 'bugfix/tw26890_update_wifi_api_guide' into 'master'
...
Bugfix/tw26890 update wifi api guide
See merge request idf/esp-idf!3630
2019-01-07 13:03:20 +08:00
David Cermak
13bf307c85
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2019-01-03 09:22:24 +01:00
Liu Zhi Fu
c1022ac22b
docs: udpate wifi document
...
Update WiFi document
2019-01-03 13:46:16 +08:00
He Yin Ling
86cc434ff1
test: get bin path from dut.app.flash_files
instead of dut.download_config
2019-01-03 09:57:47 +08:00
Jiang Jiang Jian
1de94b7b45
Merge branch 'bugfix/btdm_debug_numeric_comparison_mode' into 'master'
...
component/bt: modify the BLE example to make it run with "numeric comparison" mode
See merge request idf/esp-idf!3500
2019-01-02 14:02:58 +08:00
qiyueixa
e3833999ea
mesh: update libs
...
1. when no parent is found, send probe request via broadcast.
2. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
3. fix modify IE encrypt after mesh is started.
4. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
5. fix reason is cleared before vote is done.
2018-12-26 16:10:55 +08:00
Ivan Grokhotkov
88dc626fd7
Merge branch 'feature/example_defconfig_ci' into 'master'
...
ci, examples: use sdkconfig.ci as an extra defaults file, if present
See merge request idf/esp-idf!3934
2018-12-21 12:14:57 +08:00
Ivan Grokhotkov
71c90ac456
Merge branch 'feature/freemodbus_move_rs485_mode_control' into 'master'
...
examples: freemodbus port serial slave move uart mode settings into example
See merge request idf/esp-idf!3870
2018-12-21 12:13:28 +08:00
Roland Dobai
4ca2b149e5
examples, tools: Fix Python3 deprecation warning for the imp module
2018-12-20 12:44:33 +01:00
Jiang Jiang Jian
65142bc59e
Merge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'
...
components/bt: Configure SSP in menuconfig and fix two bugs
See merge request idf/esp-idf!3892
2018-12-20 15:31:08 +08:00
baohongde
9c48528fcc
components/bt: Configure SSP in menuconfig
2018-12-20 11:10:27 +08:00
aleks
5379c941b8
examples: freemodbus port serial slave move uart mode settings into example
...
Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file
TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157
2018-12-19 08:03:18 +00:00
Angus Gratton
fe71ec413d
Merge branch 'feature/app_rollback_example' into 'master'
...
example: App rollback example
See merge request idf/esp-idf!3561
2018-12-19 14:41:54 +08:00
InfiniteYuan1
0fa31d3e31
bugfix(simple_ota): Compatible with V3.1 and V3.2
2018-12-18 14:41:12 +08:00
Mahavir Jain
9a9a319207
examples: update default root-ca for aws_iot demos
2018-12-18 11:05:16 +05:30
Angus Gratton
480fb72b46
Merge branch 'bugfix/prov_example_tests' into 'master'
...
Fix provisioning example tests
See merge request idf/esp-idf!3667
2018-12-17 13:06:44 +08:00
Jiang Jiang Jian
dc194b565d
Merge branch 'docs/btdm_ble_ibeacon_example' into 'master'
...
docs: refactor BLE iBeacon demo readme
See merge request idf/esp-idf!2905
2018-12-13 15:31:30 +08:00
Jiang Jiang Jian
ded4efced1
Merge branch 'doc/add_coap_readme' into 'master'
...
doc: add CoAP README.md
See merge request idf/esp-idf!2643
2018-12-13 15:22:50 +08:00
Anurag Kar
66a9762b2a
esp_prov : python coding style fixed as per conventions
2018-12-13 11:03:43 +05:30
Anurag Kar
5e0d222188
esp_prov : Added config option for enabling exception throw from within APIs
...
Example tests updated to enable exception throwing feature of esp_prov
2018-12-13 11:01:33 +05:30
Anurag Kar
3fe8065b7f
provisioning : tweak example test timeouts to reduce failures
2018-12-13 11:01:33 +05:30
Anton Maklakov
f88f06710e
example: Avoid a fallthrough
2018-12-13 12:29:27 +08:00
Anton Maklakov
eb13758d1a
example: Fix unused identifier warnings
2018-12-13 12:29:27 +08:00
Anton Maklakov
5e6509232e
example: Fix a truncation warning
2018-12-13 12:29:27 +08:00
Konstantin Kondrashov
cf6b79581b
example: Add a support of an app rollback
2018-12-11 11:58:42 +08:00
Ivan Grokhotkov
7ecdb1bb27
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2018-12-10 16:29:24 +08:00
hou wen xiang
67d95c609b
doc(i2s): update README.md file of i2s related examples.
2018-12-10 10:33:41 +08:00
Ivan Grokhotkov
646d36c728
Merge branch 'feature/nmea-parser' into 'master'
...
NMEA0183 Parser
See merge request idf/esp-idf!3866
2018-12-07 14:32:04 +08:00
Ivan Grokhotkov
4e77efc36b
Merge branch 'bugfix/clang_compatibility' into 'master'
...
clang compatibility fixes
See merge request idf/esp-idf!3912
2018-12-07 14:03:05 +08:00
morris
8b7b5821c7
example: add nmea0183 parser example
...
Add NMEA0183 Parser example to illustrate how to use uart event driver together with esp event library to get GPS information.
2018-12-07 10:57:34 +08:00
Roland Dobai
57c54f96f1
examples: Fix Python coding style
2018-12-06 09:34:33 +01:00
Ivan Grokhotkov
94f2dd27d4
examples/console: don’t use raw string literals in C code
...
Raw string literals are a C++ feature, and GCC supports them for C as
an extension. Clang doesn’t support them.
Ref LLVM-11
2018-12-06 16:14:14 +08:00
Wang Jia Lin
a36d714d1a
Merge branch 'doc/adc_example_doc_improve' into 'master'
...
doc(adc): Update README.md file of adc example.
See merge request idf/esp-idf!2665
2018-12-06 15:22:50 +08:00
hou wen xiang
8e9359b4fd
doc(adc): Update README.md file of adc example.
2018-12-06 12:20:29 +08:00
hou wen xiang
062c64fca0
doc(pcnt): Update pcnt example README.md file.
2018-12-06 12:16:45 +08:00
Ivan Grokhotkov
e92e028679
Merge branch 'feature/sdio_example_gpio_doc' into 'master'
...
Enhanced readability in README.md (port from Github PR)
See merge request idf/esp-idf!3883
2018-12-05 13:46:33 +08:00
Ivan Grokhotkov
37975c186d
Merge branch 'feature/pthread_name_affinity_config' into 'master'
...
pthread: make affinity and task name configurable
See merge request idf/esp-idf!3878
2018-12-05 13:46:05 +08:00
ThisNameIsNotAllowed
b12c58224d
Enhanced readability in README.md
...
Changed text based GPIO-list to some table based version.
This should enhance the readability.
Resolves https://github.com/espressif/esp-idf/pull/2749
2018-12-04 21:20:32 +08:00
Angus Gratton
ed21457afc
Merge branch 'doc/ledc_example_doc_improve' into 'master'
...
doc(ledc): Update LEDC example README.md file
See merge request idf/esp-idf!2673
2018-11-30 14:48:25 +08:00
Angus Gratton
a34a27010b
Merge branch 'feature/partition_tools' into 'master'
...
Partition level tools
See merge request idf/esp-idf!3355
2018-11-30 14:15:51 +08:00
morris
9163e454f1
example_test: using try block to pass the python style check
2018-11-30 10:13:58 +08:00
morris
2b165f99c4
i2c_tool: add i2c_tool example test
...
1. add example test for i2c-tools
2. make command line arguments number configurable
2018-11-30 10:08:28 +08:00
Ivan Grokhotkov
1d2673eda5
Merge branch 'bugfix/uart_select_buffer' into 'master'
...
VFS: select() on UART should return immediately when data is buffered
See merge request idf/esp-idf!3803
2018-11-29 09:30:19 +08:00
Per Malmberg
71f57931bd
#2743 - Implemented ability to core affinity and thread name for pthreads and thus also for std::thread.
2018-11-28 20:43:09 +01:00
Jiang Jiang Jian
a134141320
Merge branch 'mesh/feature_channel_switch' into 'master'
...
mesh: add channel switch function
See merge request idf/esp-idf!3772
2018-11-28 20:11:38 +08:00
Renz Christian Bagaporo
b926764385
examples: add otatool and parttool examples
2018-11-28 17:28:20 +08:00
Renz Christian Bagaporo
8ca6904d55
ota: implement otatool functionality
2018-11-28 15:57:20 +08:00
hou wen xiang
ade39f823f
doc(ledc): Update LEDC example README.md file.
2018-11-28 07:15:56 +00:00
qiyuexia
1692896e5e
mesh: add channel switch function
...
1. add network channel switch function.
- users can obtain the new channel through the event MESH_EVENT_CHANNEL_SWITCH.
- the entire network will be moved to the same channel as the router without user intervention.
- if no router is in the network, users can call esp_mesh_switch_channel() on the root side to
move the entire network to their desired channel.
2. support not configuring the network channel.
3. support not configuring the router BSSID even if the router is hidden.
4. add allow_channel_switch to mesh configuration.
- if the channel is not specified, this value will be ignored.
- if the channel is specified and this value is set, when "fail" (mesh_attempts_t) times of parent selection
or look for networks are reached, device will change to perform a full channel scan for networks that could join.
- if the channel is specified and this value is set to 0, when a root is not elected, channel switch is not allowed.
but when a root appears, the root performs a full channel scan during the process of connecting to the router,
so even allow_channel_switch is set to 0, the root may still switch channel and eventually the entire network
changes channel.
5. add allow_router_switch to mesh router configuration.
- if the BSSID of router is not specified, this value will be ignored.
- if the BSSID of router is specified and this value is set, when the router of this specified BSSID fails to be found
after "fail" (mesh_attempts_t) times, the entire network is allowed to switch to another router with the same SSID.
6. modify the root to perform a full channel scan when esp_wifi_connect().
7. support handling beacon without DS Paramter Set.
2018-11-27 23:36:01 +08:00
Roland Dobai
957cf0ab84
VFS: select() on UART should return immediately when data is buffered
2018-11-27 13:39:00 +01:00
Wangjialin
4b34ae1258
bugfix(i2s): allow to use apll in pdm/adc/dac mode
...
1. Allow to use apll in pdm mode
2. Add clock frequency configuration for PDM mode
3. Allow to use apll in ADC/DAC mode
2018-11-27 18:41:20 +08:00
Renz Christian Bagaporo
90f5432f2a
examples: generic cmake support examples
2018-11-27 13:59:26 +08:00
Renz Christian Bagaporo
37d30c7a6e
cmake: separate app from idf lib project
...
mbedtls: import mbedtls using unmodified cmake file
2018-11-27 13:59:24 +08:00
Angus Gratton
81231fcc4b
Merge branch 'feature/i2s_tx_descriptor_auto_clear' into 'master'
...
i2s: add (optional) support to clear tx descriptor in underflow case
See merge request idf/esp-idf!2397
2018-11-27 13:45:51 +08:00
Jiang Jiang Jian
90a6c9aada
Merge branch 'feature/add_long_range_code' into 'master'
...
example: add long range code
See merge request idf/esp-idf!3552
2018-11-26 17:03:09 +08:00
Mahavir Jain
1751607adf
examples: enable option to auto clear I2S tx descriptor on underflow
...
Closes: https://github.com/espressif/esp-idf/issues/1945
2018-11-23 14:43:20 +05:30
zhangyanjiao
ad22d280c6
wifi: add long range code
2018-11-23 09:09:07 +00:00
zhiweijian
e9ee9384fc
Component/bt: add BLE Compatibility Test demo
2018-11-21 19:36:51 +08:00
Angus Gratton
61ee1bd31f
Merge branch 'feature/esp_https_server' into 'master'
...
Add HTTPS Server component
See merge request idf/esp-idf!3608
2018-11-20 13:58:26 +08:00
Alexey Gerenkov
3139b2d533
example: Adds SystemView tracing example app
2018-11-20 04:09:39 +00:00
Ivan Grokhotkov
a5adfd0169
examples: add unit testing example
2018-11-19 12:36:31 +08:00
Anurag Kar
639502ed5d
esp_http_server example tests : updated advanced_tests as per API changes
2018-11-19 04:00:21 +00:00
Anurag Kar
aa6066a197
esp_https_server : Docs and API references fixed
2018-11-19 04:00:21 +00:00
Ondřej Hruška
4dd0fa61e9
Add a 'esp_https_server' component allowing to use http_server with OpenSSL
2018-11-19 04:00:21 +00:00
David Cermak
6309643c1d
mdns: added example test for ci runners
2018-11-16 07:22:29 +00:00
Angus Gratton
1e99e61c33
Merge branch 'bugfix/uart_examples_match_template' into 'master'
...
examples: Fix UART examples to match the template
See merge request idf/esp-idf!3642
2018-11-12 09:19:14 +08:00
Angus Gratton
3685d325d8
Merge branch 'bugfix/multiple_github_pr' into 'master'
...
Multiple github PR's
See merge request idf/esp-idf!3665
2018-11-12 09:14:35 +08:00
Roland Dobai
90a4e37acd
examples: Fix UART examples to match the template
2018-11-08 20:06:03 +01:00
Ondřej Hruška
3ed0f7697d
examples: Correct Content-Length in openssl_server example
...
Before this fix it didn't send all of the response, ending with `</h`
Merges https://github.com/espressif/esp-idf/pull/2535
2018-11-08 15:57:12 +05:30
mharizanov
17177e352b
examples: Fixing possible memory leak, not freeing "run_time" prior to returning
...
Merges https://github.com/espressif/esp-idf/pull/2367
2018-11-08 15:57:00 +05:30
Jiang Jiang Jian
1b7a4758e3
Merge branch 'bugfix/fix_ble_examples' into 'master'
...
examples/bluetooth: Miscellaneous fixes in some of the examples
See merge request idf/esp-idf!3549
2018-11-08 18:09:29 +08:00
Jiang Jiang Jian
71f1a34540
Merge branch 'feature/btdm_support_oob_in_SMP' into 'master'
...
Component/bt: support OOB in SMP
See merge request idf/esp-idf!3496
2018-11-08 16:44:15 +08:00
Ivan Grokhotkov
85d63871ab
Merge branch 'feature/partition_api_example' into 'master'
...
Add partition API examples
See merge request idf/esp-idf!3427
2018-11-06 12:24:27 +08:00
Ivan Grokhotkov
27ef831bcd
examples/storage: adjust readme files according to standard
2018-11-05 12:42:41 +08:00
Jiang Jiang Jian
4f4bed5e65
Merge branch 'test/change_iperf_test_env' into 'master'
...
test: use simplified env to test iperf cases
See merge request idf/esp-idf!3554
2018-11-05 11:05:45 +08:00
David Cermak
8ce1f55b59
mqtt: example tests refactored to provide descriptive failures, addapted to python23, removed workarround for launching without mqtt-paho package
2018-11-01 09:04:09 +01:00
Jiang Jiang Jian
39c03558e8
Merge branch 'bugfix/btdm_add_attr_handle_for_ESP_GATTS_CONF_EVT' into 'master'
...
Component/bt: add attr_handle for ESP_GATTS_CONF_EVT
See merge request idf/esp-idf!3492
2018-10-31 17:20:47 +08:00
David Cermak
0cdb33c9dd
mqtt: ssl mutual authentication example added per PR from github, corrected cmake build, updated per idf style
...
Merges https://github.com/espressif/esp-idf/pull/2490
2018-10-30 08:04:09 +01:00
Riccardo Binetti
49df479486
mqtt: Add ssl mutual authentication example
...
Signed-off-by: David Cermak <cermak@espressif.com>
2018-10-30 08:04:09 +01:00
Angus Gratton
11082598d6
Merge branch 'bugfix/doc_provisioning' into 'master'
...
Docs : Provisioning docs and READMEs updated with links to phone apps
See merge request idf/esp-idf!3511
2018-10-29 14:56:32 +08:00
Hrishikesh Dhayagude
55dfb79e91
examples/bluetooth: Miscellaneous fixes in some of the examples
...
This closes:
https://github.com/espressif/esp-idf/issues/2617
https://github.com/espressif/esp-idf/issues/2622
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-10-29 11:14:09 +05:30
He Yin Ling
eac02c2fcd
test: use simplified env to test iperf cases
2018-10-26 16:53:57 +08:00
Renz Bagaporo
9459526e50
examples: Add partition API examples
2018-10-26 15:46:53 +08:00
Angus Gratton
f55509bd3f
Merge branch 'bugfix/py3_ci' into 'master'
...
Fix Python3 compatibility issues
See merge request idf/esp-idf!3487
2018-10-26 13:45:19 +08:00
Renz Christian Bagaporo
5a83347bec
event: Implement event loop library
2018-10-26 13:14:19 +08:00
zhiweijian
4e81705ca2
Component/bt: support OOB in SMP
2018-10-25 07:09:59 +00:00
Anurag Kar
8340ed3ddb
HTTP Server Examples : Include header esp_http_server.h
2018-10-24 17:32:43 +05:30
Roland Dobai
9daf51e6be
Fix Python 3 compatibility issues
2018-10-24 11:20:54 +02:00
zhiweijian
44827bb681
Component/bt: add attr_handle for ESP_GATTS_CONF_EVT
2018-10-19 08:19:36 +00:00
Ivan Grokhotkov
0663ab7609
Merge branch 'feature/uart_rs485_test' into 'master'
...
driver: rs485 test support
See merge request idf/esp-idf!2701
2018-10-19 13:05:55 +08:00
morris
900b69a33e
example: add console command for wifi sniffer
...
1. add mount/unmount command
2. add sniffer command, supporting options
3. make pcap a component
2018-10-19 11:51:56 +08:00
Ivan Grokhotkov
c02e218da1
Merge branch 'bugfix/asio_consistent_example_names' into 'master'
...
Renamed examples to be consistent no matter which build system used
See merge request idf/esp-idf!3257
2018-10-19 10:25:47 +08:00
Anurag Kar
2bb669cfbd
Docs : Provisioning docs and READMEs updated with links to GitHub repositories of Android and iOS apps
2018-10-18 18:23:03 +05:30
David Cermak
9784df1c3a
asio: examples renamed to have consistent binary names when build in make and CMake
2018-10-17 15:00:26 +02:00
Anurag Kar
6a3fa5c180
HTTP Server Examples : Updated examples to manually return 408 and 500 errors
2018-10-17 17:36:50 +05:30
Alex Lisitsyn
f0eb9985b9
examples: freemodbus port slave basic implementation
...
This example adds functionality to support basic communication in RS485 networks using Modbus protocol.
This example uses FreeModbus stack and regular UART driver API to communicate in RS485 half duplex mode.
Added initial support of modbus controller pure C api to access device parameters over Modbus transport.
Move freemodbus stack and port files into components folder
Move the modbus_controller interface into components idf folder
Source files updated after review.
Add modbus interface documentation docs/en/api-reference/protocols/modbus.rst
porttimer.c: fix bug with timer1 selected in the Kconfig
Add support of cmake system (added cmake files)
Closes https://github.com/espressif/esp-idf/issues/858
2018-10-17 12:47:12 +02:00
island
024f27f3d5
component/bt: modify the BLE example to make it run with "numeric comparison" mode
2018-10-17 16:55:11 +08:00
Angus Gratton
b573812d39
Merge branch 'feature/sockets_example' into 'master'
...
Feature/sockets example
See merge request idf/esp-idf!3447
2018-10-17 15:24:38 +08:00
morris
6d1e23796f
i2c/i2c-tools: add i2c-tools example
...
1. add command i2cconfig
2. add command i2cdetect
3. add command i2cget
4. add command i2cset
5. add command i2cdump
6. add README.md
2018-10-16 16:13:21 +08:00
MartinValik
5a76f1af19
BSD Socket examples
2018-10-16 09:48:57 +02:00
Jeroen Domburg
a78fd2b13c
Merge branch 'feature/64mb_psram_support_base' into 'master'
...
Feature/64mb psram support base
See merge request idf/esp-idf!2887
2018-10-15 15:54:10 +08:00
Jeroen Domburg
81e35a142a
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks
2018-10-15 14:32:58 +08:00
morris
89d7f7bc89
doc/i2c-example: cleanup readme of i2c example
...
1. Update i2c README to add more detail according to the template.[TW#26530]
2. Move some specific configuration to KConfig
2018-10-12 10:24:39 +08:00
Angus Gratton
299704cec3
Merge branch 'feature/unified_provisioning' into 'master'
...
provisioning: This patch adds the unified provisioning support
See merge request idf/esp-idf!2812
2018-10-10 16:29:11 +08:00
Angus Gratton
fc2230aeda
Merge branch 'feature/error_check_without_abort' into 'master'
...
esp32: Add macro to check a condition without abort
See merge request idf/esp-idf!3348
2018-10-10 14:31:38 +08:00
Angus Gratton
7904da0600
Merge branch 'bugfix/httpd_default_content_type' into 'master'
...
HTTP Server : Default content type of response should be HTTPD_TYPE_TEXT
See merge request idf/esp-idf!3443
2018-10-10 08:21:56 +08:00
Krzysztof Budzynski
cd5f8bcf74
MCPWM API doc update
2018-10-10 08:15:23 +08:00
Jiang Jiang Jian
9c148f6ad6
Merge branch 'bugfix/btdm_fix_connect_interval_error_in_slave_adv_params' into 'master'
...
Component/bt: fix connection interval error in slave adv params
See merge request idf/esp-idf!3407
2018-10-09 17:01:44 +08:00
Roland Dobai
d4e572bdb1
esp32: Add macro to check a condition without abort
...
Closes https://github.com/espressif/esp-idf/issues/2325
2018-10-09 08:57:23 +02:00
Anurag Kar
8be9e0946f
HTTP Server : Default content type of response should be HTTPD_TYPE_TEXT
...
Closes https://github.com/espressif/esp-idf/issues/2527
2018-10-08 18:12:15 +05:30
Angus Gratton
e99035af94
Merge branch 'feature/ethernet_example_iperf' into 'master'
...
ethernet: add iperf example to test real bandwidth
See merge request idf/esp-idf!3332
2018-10-08 12:27:05 +08:00
morris
7bc36d23e1
ethernet: add iperf example to test real bandwidth
...
1. Add command for Ethernet based on console component.
2. Make cmd_system and iperf a component that can be referenced by other examples
3. Add "version" command to cmd_system.c
4. Clean up the README.md in all ethernet examples[TW#26525]
2018-10-08 09:51:17 +08:00
Angus Gratton
a95dd4712b
Merge branch 'doc/rmt_readme_typo_fix' into 'master'
...
doc(rmt): fixed some typos in rmt example readme file
See merge request idf/esp-idf!3283
2018-10-08 07:25:10 +08:00
Angus Gratton
d8d85ed8e8
Merge branch 'feature/sigmadelta-example-update-readme' into 'master'
...
Updated sigma-delta example description to the latest template
See merge request idf/esp-idf!3388
2018-10-03 09:50:27 +08:00
Anurag Kar
84f094453b
Examples : Added provisioning examples, tests and client tool.
...
* BLE and softAP provisioning examples added along with tests.
* An application specific example added for demonstrating custom provisioning scheme.
* tools/esp_prov/esp_prov.py can be used as a provisioning client for SoftAP, BLE and CLI based transports.
Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
2018-10-02 19:07:28 +05:30
zhiweijian
fe7fd3bf4d
Component/bt: fix connection interval error in slave adv params
2018-09-30 11:14:27 +00:00
Jiang Jiang Jian
d6bc6fad8b
Merge branch 'bugfix/btdm_add_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_in_set_security_param_API' into 'master'
...
Component/bt: add only accept sepecified authentication function for SMP
See merge request idf/esp-idf!3385
2018-09-30 14:18:23 +08:00
zhiweijian
3050e55801
Component/bt: add only accept sepecified Authentication
2018-09-29 21:23:55 +08:00
zhiweijian
e6d737780a
Component/bt: add “service from” param for ESP_GATTC_SEARCH_CMPL_EVT
2018-09-28 12:59:01 +00:00
Krzysztof
bce5d7ba01
Implemented the first round of review comments
2018-09-28 14:04:22 +08:00
Krzysztof
cc52029d14
Updated sigma-delta example description to the latest template
2018-09-28 14:04:22 +08:00
Roland Dobai
975688b97f
examples: Use flushed print to see logs on the CI server
2018-09-25 08:05:56 +02:00
Roland Dobai
17b7959de9
Examples: Add Python 2&3 support
2018-09-25 08:05:56 +02:00
Angus Gratton
96cd3b75cd
Merge branch 'feature/mbedtls_mem_alloc_options' into 'master'
...
mbedtls: configurable options for controlling dynamic memory allocations
See merge request idf/esp-idf!3343
2018-09-25 08:24:29 +08:00
Angus Gratton
dc135ed1f6
Merge branch 'feature/async_esp_http_client' into 'master'
...
Non Blocking `esp_http_perform()` API in esp_http_client
See merge request idf/esp-idf!3049
2018-09-25 08:20:06 +08:00
Mahavir Jain
5585f699d1
aws_iot: optimize dynamic memory by tweaking tls out buf content length
2018-09-24 11:17:53 +05:30
Jitin George
0aec63c18e
examples/protocols/esp_http_client: Add example for asynchronous HTTP request
2018-09-24 05:42:28 +00:00
qiyueixa
9c4cc55012
mesh: bugfix
...
1. suppport mesh type, mesh ID, router and IE crypt func&key at any time after mesh is initalized.
2. support modify parent at any time after mesh is configured.
3. modify manual networking example.
4. update header file.
5. fix issues in root conflicts handling.
6. add max length of beacon to menuconfig.
7. fix issue when received a beacon without DSSS.
2018-09-23 21:11:02 +08:00
Ivan Grokhotkov
2e6e87816c
Merge branch 'feature/crosstool_backport' into 'master'
...
Backport of work of gcc8 toolchain to v3
See merge request idf/esp-idf!3154
2018-09-21 14:07:41 +08:00
Michael (Xiao Xufeng)
4af51833f3
spi_master: add new polling mode to decrease time cost each transaction
2018-09-20 19:46:46 +08:00
Anton Maklakov
d4cbfd34cc
cmake: silence some warnings in coap, bt, expat, libsodium, lwip and examples/bluetooth
2018-09-20 18:53:15 +08:00
Anton Maklakov
43116e6e2d
examples/sdio: Fix an uninitialized buffer which sometimes caused a test fail
2018-09-20 18:53:15 +08:00
Alexey Gerenkov
f0c15e749a
gcov: use GCC API to control GCOV data dumps
2018-09-20 18:53:14 +08:00
Anton Maklakov
9a55557ad8
build system: Add a compatible old GCC flag
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
0b35292abe
examples/bluetooth: silence unused const variables warnings
2018-09-20 18:53:14 +08:00
Angus Gratton
c15d3c1ffc
examples: Copy ca_cert.pem into both example project dirs
...
Keeps projects all-in-one under a single directory.
2018-09-19 14:38:19 +10:00
Angus Gratton
b38a6da74b
cmake: Fix some failing example builds, fix gcov
2018-09-19 14:38:19 +10:00
kooho
50a5985b06
doc(rmt): fixed some typos in rmt example readme file
2018-09-17 10:21:07 +08:00
Renz Christian Bagaporo
946f55db85
cmake: add ulp components build support
2018-09-13 14:54:59 +08:00
Angus Gratton
7848cfdde7
Merge branch 'feature/mqtt_component' into 'master'
...
added tuan's mqtt library into idf
See merge request idf/esp-idf!2851
2018-09-13 09:06:09 +08:00
Angus Gratton
514487e9a1
Merge branch 'feature/light_sleep_example' into 'master'
...
examples: add light sleep example
See merge request idf/esp-idf!3179
2018-09-13 09:00:59 +08:00
Renz Christian Bagaporo
944014f9f2
cmake: fix source list issues
2018-09-13 08:56:59 +08:00
Jiang Jiang Jian
540ccf4177
Merge branch 'bugfix/enlarge_coap_server_pdu' into 'master'
...
fix: response failed when set a large response data
See merge request idf/esp-idf!2627
2018-09-12 16:48:12 +08:00
Jiang Jiang Jian
3a19fb7e8a
Merge branch 'bugfix/btdm_controller_enable_failed_in_examples' into 'master'
...
bugfix/btdm_controller_enable_failed_in_examples
See merge request idf/esp-idf!3224
2018-09-12 16:41:58 +08:00
Angus Gratton
cbcc60ae5f
Merge branch 'doc/rmt_example_doc_improve' into 'master'
...
doc(rmt): update README.md file of rmt related example.
See merge request idf/esp-idf!2636
2018-09-12 14:58:04 +08:00
David Cermak
23345d2021
MQTT: Integrate esp-mqtt library into idf
...
added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
2018-09-12 08:00:59 +02:00
wangmengyang
ee7a73e5a7
component/bt: release some controller memory according to the configuration of bluetooth examples
2018-09-11 11:32:20 +08:00
wangmengyang
37269dbbca
component/bt: bugfix for mismatch of controller mode in sdkconfig.defaults and source code in some examples
2018-09-11 11:32:04 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Ivan Grokhotkov
82b8db196f
examples: add light sleep example
2018-09-10 17:10:43 +08:00
Jiang Jiang Jian
892fc4ac3f
Merge branch 'feature/btdm_add_set_default_passkey_function' into 'master'
...
Component/bt: add set/clear static passkey function
See merge request idf/esp-idf!3128
2018-09-10 16:08:05 +08:00
krzychb
15c10b3cbe
Added missing CMakeLists.txt file to satisfy CI checks
2018-09-09 21:32:57 +02:00
Angus Gratton
4eeed31a04
Merge branch 'feature/cmake' into 'master'
...
Merge experimental CMake support to master
See merge request idf/esp-idf!3024
2018-09-07 13:44:17 +08:00
zhiweijian
d12982dc6e
Component/bt: add set default passkey function
2018-09-07 10:55:44 +08:00
Ivan Grokhotkov
8893438f08
Merge branch 'feature/cpp_exceptions_example' into 'master'
...
examples: add C++ exception handling example
See merge request idf/esp-idf!3178
2018-09-07 10:34:18 +08:00
Ivan Grokhotkov
13107d5968
Merge branch 'feature/light_sleep_gpio_uart_wakeup' into 'master'
...
sleep: add support for GPIO and UART wakeup from light sleep
See merge request idf/esp-idf!3004
2018-09-07 10:33:33 +08:00
Jiang Jiang Jian
8484b9cfd3
Merge branch 'feature/btdm_legacy_paring' into 'master'
...
component/bt: Add Legacy Pairing
See merge request idf/esp-idf!3057
2018-09-07 10:15:52 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
Ivan Grokhotkov
de0e9a1e05
Merge branch 'bugfix/http_server_example_tests_regex' into 'master'
...
HTTP Server Example Tests : Fix various issues
See merge request idf/esp-idf!3162
2018-09-06 19:37:11 +08:00
XieWX
f278c7c9f8
docs: refactor BLE iBeacon demo readme
2018-09-06 17:31:03 +08:00
Angus Gratton
c1b8949a1e
cmake: Add CMakeLists.txt file for WiFi station example
2018-09-06 16:20:13 +08:00
Ivan Grokhotkov
599da58070
Merge branch 'feature/disable_rom_logging' into 'master'
...
esp32/sleep: Add a function to disable logging from ROM code
See merge request idf/esp-idf!3182
2018-09-06 16:11:23 +08:00
Ivan Grokhotkov
31e969aded
examples/console: add light sleep command
2018-09-06 15:40:46 +08:00
Angus Gratton
0bc5dcc2c2
cmake: Post-merge fixups
2018-09-06 11:14:30 +08:00
Anurag Kar
3ed5af18fd
HTTP Server Example Tests : Fix various issues
...
* Fixed regex constraints for parsing IP and other parameters from monitor log.
* httplib connection timeouts set
* Redundent tests (commented out earlier) have been removed from advanced_tests. These tests are already run during unit testing.
2018-09-05 23:29:07 +05:30
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
baohongde
bd8b9960d5
component/bt: Add Legacy Pairing
2018-09-04 21:11:03 +08:00
Ivan Grokhotkov
cb2876ff4e
examples: add C++ exception handling example
2018-09-04 21:00:14 +08:00
Ivan Grokhotkov
97b2281c49
Merge branch 'bugfix/can_driver_multiple_bugs' into 'master'
...
CAN: Add pm_lock, fix gpio bug, update docs
See merge request idf/esp-idf!3138
2018-09-04 20:34:06 +08:00
Jiang Jiang Jian
f83926a6e6
Merge branch 'doc/btdm_a2dp_sink_example_improvement' into 'master'
...
component/bt: fix the format and add more content to A2DP sink example
See merge request idf/esp-idf!2995
2018-09-04 19:37:31 +08:00
Jiang Jiang Jian
619eadf8d3
Merge branch 'doc/btdm_a2dp_source_example_improvement' into 'master'
...
component/bt: fix the format and add more content to A2DP source example
See merge request idf/esp-idf!2996
2018-09-04 19:14:55 +08:00
Jiang Jiang Jian
69610acbe3
Merge branch 'feature/modify_simple_wifi' into 'master'
...
modify simple wifi example to getting_started example
See merge request idf/esp-idf!3143
2018-09-04 19:04:42 +08:00
Konstantin Kondrashov
dbad72e6b5
examples/ulp: Add using esp_deep_sleep_disable_rom_logging
2018-09-04 18:21:34 +08:00
zhangyanjiao
45d596d821
1. modify simple wifi example
...
2. add README file
2018-09-04 14:44:43 +08:00
Jiang Jiang Jian
76669ca817
Merge branch 'feature/modify_espnow' into 'master'
...
modify espnow example
See merge request idf/esp-idf!3144
2018-09-04 13:09:43 +08:00
Angus Gratton
83a179abb0
esp32: Add esp_fill_random() function
...
Convenience function to fill a buffer with random bytes.
Add some unit tests (only sanity checks, really.)
2018-09-03 04:39:45 +00:00
Darian Leung
dc3fa14a26
CAN: Add pm_lock, fix gpio bug, update docs
...
This commit does the following
- Add power management lock to CAN driver so that APB frequency does not change
whilst CAN driver is in use
- Fix incorrect flag in can_transmit()
- Refactor can_driver_install() and can_driver_uninstall() so that critical sections
are shorter
- Fix CAN gpio configuration bug on RX pin. Closes #2302
- Add docs about multiple ID configuration and fix example links
2018-09-01 02:46:05 +08:00
Jiang Jiang Jian
da1a439153
Merge branch 'feature/modify_smart_config' into 'master'
...
modify smart config example
See merge request idf/esp-idf!3142
2018-08-31 21:01:57 +08:00
zhangyanjiao
6daecf73ce
modify espnow example
2018-08-31 19:21:15 +08:00
zhangyanjiao
98cf74d1b7
modify static variables and README file
2018-08-30 19:52:10 +08:00
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
31cbd1b251
Merge branch 'feature/emmc_ddr' into 'master'
...
sdmmc: eMMC support, command layer refactoring
See merge request idf/esp-idf!3062
2018-08-30 18:14:35 +08:00
Ivan Grokhotkov
da34e3eb68
sdmmc: document eMMC support, host features
2018-08-30 13:14:26 +08:00
Angus Gratton
1806a69abf
Merge branch 'bugfix/http_server_example_tests' into 'master'
...
http_server : Fix and enable example tests
See merge request idf/esp-idf!2960
2018-08-30 12:46:29 +08:00
Angus Gratton
100a325129
Merge branch 'fix/spi_example_wait_gpio' into 'master'
...
spi: fix the misleading example, letting the master wait until slave is ready
See merge request idf/esp-idf!3136
2018-08-30 11:29:38 +08:00
Anurag Kar
e2b4ad8f6e
Temporary : Disable leak tests
2018-08-30 03:01:59 +05:30
Anurag Kar
e2da1d9905
http_server : Fix and enable example tests
...
This introduces the following changes in the example test scripts :
* Dependency on python requests library removed in favor of httplib
* Bug fixed in the logic responsible for receiving and processing http chunked responses
* Default timeouts increased Note : Due to connectivity issues (between runner host and DUT) in the runner environment, some of the advanced_tests are being ignored. These tests are intended for verifying the expected limits of the http_server capabilities, and implement sending and receiving of large HTTP packets and malformed requests, running multiple parallel sessions, etc. It is advised that all these tests be run locally, when making changes or adding new features to this component.
2018-08-30 03:01:59 +05:30
Jiang Jiang Jian
ba17648aea
Merge branch 'bugfix/mesh_fix_hard_to_find_parent' into 'master'
...
mesh: bugfix and add two APIs
See merge request idf/esp-idf!3107
2018-08-29 23:05:32 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
a56b3abf84
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-29 19:39:17 +08:00
Michael (XIAO Xufeng)
0c64d8e822
spi: fix the misleading example, letting the master wait until slave is ready
2018-08-29 18:40:21 +08:00
Ivan Grokhotkov
61dc37a6c3
examples/bluetooth: add fallthrough annotations
2018-08-29 14:40:28 +08:00
Anton Maklakov
6af721e8e4
examples/bluetooth: Fix incompatible cast
2018-08-29 14:40:28 +08:00
Ivan Grokhotkov
c3123b00ae
examples/spi_slave: check for truncation in snprintf call
...
Also fix character array initializer
2018-08-29 14:40:28 +08:00
morris
ec07112f5b
ethernet: support esp_eth_deinit
...
1. change static emac-dma memory to dynamic
2. add esp_eth_deinit
3. modify ethernet example
4. add testcase for ethernet deinit function
5. GPIO0 could not output the 50MHz clock to PHY, so remove this configuration
2018-08-28 12:18:48 +08:00
qiyuexia
91dd05662d
mesh: bugfix and add two APIs
...
1. new APIs: esp_mesh_get_subnet_nodes_num() and esp_mesh_get_subnet_nodes_list().
2. fix hard to find the parent during connect.
3. disable Wi-Fi channel switch function.
4. fix a typo of MESH_EVENT_NO_PARENT_FOUND.
2018-08-27 19:12:40 +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
Ivan Grokhotkov
3cec686803
examples/power_save: set CPU frequencies in sdkconfig
2018-08-21 13:02:46 +08:00
Jiang Jiang Jian
ad9db6ff1c
Merge branch 'bugfix/bluetooth_demo_sdkconfig' into 'master'
...
Fix bluetooth example sdkconfig.defaults
See merge request idf/esp-idf!3032
2018-08-20 20:33:35 +08:00
Angus Gratton
9bc74e6815
Merge branch 'bugfix/err_variable_issue' into 'master'
...
Fix small parameter issue in bt_a2dp_sink example. Merges…
See merge request idf/esp-idf!3012
2018-08-20 07:59:24 +08:00
Tian Hao
99d0624999
Fix bluetooth example sdkconfig.defaults
...
1. a2dp_gatts_coex
2. blufi BT_RESERVE_DRAM
2018-08-19 11:35:28 +08:00
wangmengyang
0465e930d5
component/bt: fix the format and add more content to A2DP source example document and source code
2018-08-16 20:08:00 +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
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Piocky
23a510c752
Fix small parameter issue in bt_a2dp_sink example. Merges https://github.com/espressif/esp-idf/pull/2261
...
The wrong parameter was used to print the error if something failed during the bt init.
2018-08-14 22:13:00 +02:00
Jiang Jiang Jian
b4b1b361da
Merge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master'
...
examples/bluetooth: Fix incorrect end handle print in the GATT client applications
See merge request idf/esp-idf!2880
2018-08-14 14:16:53 +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
wangmengyang
e60db51240
component/bt: fix the format and add more content to A2DP sink example document and source code
2018-08-13 21:17:27 +08:00
Konstantin Kondrashov
117c79eae5
app_update: Add API for getting sha256_of_partition
...
Added bootloader_common_get_sha256_of_partition() and esp_partition_get_sha256() - get or calculate SHA-256
digest for app and data partitions.
Added bootloader_sha256_hex_to_str() - helps to print SHA-256 digest
Added esp_partition_check_identity() - compares two partitions by SHA-256 digest
Refactoring a function esp_image_load() in bootloader space to esp_image_verify() and
bootloader_load_image(). Old name function esp_image_load is deprecated
and will remove in V4.0 version.
spi_flash/sim: Fix error test_host. Add stub for bootloader_common_get_sha256_of_partition in sim/stubs
2018-08-13 13:59:07 +05:00
Ivan Grokhotkov
ee3f64cbad
Merge branch 'feature/http_client_head' into 'master'
...
esp_http_client: add head method support
See merge request idf/esp-idf!2895
2018-08-08 20:58:39 +08:00
Ivan Grokhotkov
80c5547b97
Merge branch 'bugfix/ulp_fixes' into 'master'
...
ULP fixes
See merge request idf/esp-idf!2948
2018-08-08 15:37:25 +08:00
Angus Gratton
cdc792d72c
Merge branch 'feature/http_firmware_upgrade' into 'master'
...
esp_https_ota: Add esp_https_ota component
See merge request idf/esp-idf!2771
2018-08-08 12:27:05 +08:00
Angus Gratton
f1a4bc7c94
Merge branch 'feature/aws-iot-update-3.0.1' into 'master'
...
Feature/aws iot update 3.0.1
See merge request idf/esp-idf!2936
2018-08-08 07:14:58 +08:00
Ivan Grokhotkov
48149fa1b1
Merge branch 'bugfix/asio_test_socket_timeout' into 'master'
...
asio: added socket timeout for example tests
See merge request idf/esp-idf!2931
2018-08-07 21:49:09 +08:00
Ivan Grokhotkov
479af576ca
ulp: fix calculation or ulp_run argument
...
The argument to ulp_run should be expressed in 32-bit words. Both the
address of ulp_entry and RTC_SLOW_MEM already are uint32_t*, so their
difference is the difference in addresses divided by sizeof(uint32_t).
Therefore the extra division by sizeof(uint32_t) is not needed.
2018-08-07 16:14:57 +03:00
Anuj Deshpande
5efc33ce25
aws-iot: Make thing shadow example compatible with v3 of aws iot sdk
2018-08-07 11:28:54 +05:30
Angus Gratton
5f56f2ca01
Merge branch 'feature/nvs_version_check' into 'master'
...
nvs_flash: Version compatibility check for nvs storage
See merge request idf/esp-idf!2855
2018-08-07 13:31:49 +08:00
David Cermak
c0186858ad
asio: added socket timeout for example tests
2018-08-06 22:05:15 +02:00
zhangyanjiao
9063ce9dda
fix the crash when http2_request example send/recv fail
2018-08-06 11:39:01 +00:00
Sagar Bijwe
1df85e0039
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-05 00:00:56 +00:00
zhiweijian
163dbc3200
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 16:52:53 +00:00
Jiang Jiang Jian
b674fa0b99
Merge branch 'bugfix/asio_test_timeout' into 'master'
...
tiny-test-fw: Increase default expect timeout, increase asio example test timeouts
See merge request idf/esp-idf!2925
2018-08-05 00:20:48 +08:00
Jitin George
1fecdc3891
esp_https_ota: Add support for HTTPS based ota feature
2018-08-03 16:47:07 +05:30
Angus Gratton
8b35d8ef25
asio example tests: Increase timeout for DHCP lease to 30s
...
Covers time to connect to WiFi and negotiate lease,
may be more than 5-10s on some busy APs
2018-08-03 16:59:23 +10:00
Jason Kölker
483c3d7a7b
esp_http_client: add head method support
...
Merges https://github.com/espressif/esp-idf/pull/2093
2018-07-31 11:08:31 +03:00
zhiweijian
1261b9e40b
Component/bt: fix ble HID demo error
2018-07-31 15:25:14 +08:00
Ivan Grokhotkov
43baa7f2b9
Merge branch 'feature/cermak_asio_support' into 'master'
...
asio component and examples in esp-idf
See merge request idf/esp-idf!2509
2018-07-31 03:59:28 +08:00
Ivan Grokhotkov
4116c5a5f9
Merge branch 'bugfix/coap_client_parse_url' into 'master'
...
bugfix: unexpected host item when coap client parse a URL string
See merge request idf/esp-idf!2642
2018-07-31 03:58:06 +08:00
Hrishikesh Dhayagude
eb92a06aaf
examples/bluetooth: Fix incorrect end handle print in the GATT client applications
...
End handle is incorrectly printed as start handle
Tested that gatt_client, gatt_security_client and gattc_multi_connect compile successfully
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-07-30 12:04:07 +05:30
David Cermak
1ef13c524c
asio: initial idf port of asio library without ssl
2018-07-30 06:28:43 +00:00
Angus Gratton
97286b3107
Merge branch 'feature/cmd_flash_reset_ota_data' into 'master'
...
make: Add feature to cmd 'make flash' - reset ota_data partition
See merge request idf/esp-idf!2611
2018-07-30 13:52:43 +08:00
He Yin Ling
2b7dd2ef9a
ci: temp modify http server tests to get CI pass:
...
1. change the default value of WIFI password
2. disable simple and advanced test cases
2018-07-27 23:38:20 +08:00
He Yin Ling
2d60e24056
ci: temp disable http client tests:
...
connection is not stable. need to replace with local test servers.
2018-07-27 19:45:12 +08:00
Konstantin Kondrashov
de2b1cb02a
make: Add feature to cmd 'make flash' - reset ota_data partition
...
Add a command `make erase_ota` - erases otadata if it there is in the
partition table otherwise error 'Partition table does not have ota_data partition'.
Closes https://github.com/espressif/esp-idf/issues/1821
2018-07-25 11:22:15 +00:00
Angus Gratton
beb3611ca3
Merge branch 'bugfix/fix_pcnt_isr_service_register_bug' into 'master'
...
driver(pcnt): fix the pcnt isr service can not be re registered bug.
See merge request idf/esp-idf!2439
2018-07-24 13:49:45 +08:00
Angus Gratton
c3069b97f9
Merge branch 'bugfix/udp_multicast_example_leak' into 'master'
...
udp multicast example: Fix leak, change default port (and log UDP port in use)
See merge request idf/esp-idf!2834
2018-07-24 12:12:53 +08:00
kooho
01516abe5a
Add some comments in pcnt.h.
2018-07-24 10:33:58 +08:00
Angus Gratton
b5db59ec31
Merge branch 'bugfix/http_client_enhanced' into 'master'
...
esp_http_client: Resolve some bugs from the github community
See merge request idf/esp-idf!2831
2018-07-23 17:55:49 +08:00
Angus Gratton
bf665ae62e
udp_multicast example: Change port to 3333 to match README, log port from example
2018-07-23 18:25:33 +10:00
Angus Gratton
5fb665dbaf
udp_multicast example: Fix memory leak from getaddrinfo() calls
...
Closes https://github.com/espressif/esp-idf/issues/2201
2018-07-23 18:25:33 +10:00
Tuan PM
6ef558320a
esp_http_client: Resolve some bugs from the github community
...
- Closes https://github.com/espressif/esp-idf/issues/2135
- Closes https://github.com/espressif/esp-idf/issues/2208
- Closes https://github.com/espressif/esp-idf/issues/2213
2018-07-23 12:22:19 +07:00
Angus Gratton
5f2f84c220
Merge branch 'feature/http_server_finalize' into 'master'
...
Feature add HTTP Web Server component
See merge request idf/esp-idf!2606
2018-07-23 13:11:04 +08:00
Ivan Grokhotkov
0e3694b542
Merge branch 'feature/freertos_vtasklist_xcoreid' into 'master'
...
freertos: Add option to display xCoreID in vTaskList
See merge request idf/esp-idf!2728
2018-07-20 18:46:41 +08:00
Anurg Kar
656bef7bb7
Http Server : Add a simple light weight HTTP Server Component.
...
Also add examples, docs and test apps for the HTTP Server.
2018-07-20 15:49:17 +05:30
Ivan Grokhotkov
a8f39a892e
Merge branch 'bugfix/ulp_example_fix' into 'master'
...
ulp example: fix for RTC IOs
See merge request idf/esp-idf!2768
2018-07-19 15:04:20 +08:00
Ivan Grokhotkov
cffaa9f5b5
freertos: add configTASKLIST_INCLUDE_COREID
2018-07-17 10:57:26 +00:00
baohongde
cf061a01b7
component/bt: Fix some misspell
...
Using CONFIG_BT_SSP_ENABLE instead if BT_SPP_INCLUDED
2018-07-16 20:56:45 +08:00
Angus Gratton
f2f925de78
Merge branch 'bugfix/sh2lib_send_bug' into 'master'
...
sh2lib: Fix a bug in send
See merge request idf/esp-idf!2656
2018-07-16 16:29:03 +08:00
Angus Gratton
2ae758ebcb
Merge branch 'bugfix/spi_sdio_sdkconfig_include' into 'master'
...
sdio_example/spi: fix sdkconfig include issue
See merge request idf/esp-idf!2756
2018-07-16 08:00:15 +08:00
Jiang Jiang Jian
394eabdeec
Merge branch 'docs/btdm_refactor_ble_spp_readme' into 'master'
...
component/bt_refactor_ble_spp_readme
See merge request idf/esp-idf!2717
2018-07-15 15:38:40 +08:00
Hou Wen Xiang
733f73067c
Update README.md
2018-07-15 12:56:23 +08:00
Hou Wen Xiang
fe238af249
Update README.md
2018-07-15 12:52:55 +08:00
chenwu
7cbd18ec4e
doc: add CoAP README.md
2018-07-14 16:15:03 +08:00
Jiang Jiang Jian
8571170abe
Merge branch 'feature/btdm_bt_ssp' into 'master'
...
component/bt: Add Secure Simple Pairing
See merge request idf/esp-idf!2453
2018-07-13 19:19:53 +08:00
Ivan Grokhotkov
4b97a1edb2
ulp example: fix for RTC IOs
...
- call rtc_gpio_init for pins which aren't configured as RTC by default
- for RTC IOs 16 and 17, read higher part of the input register
- automatically convert GPIO number into RTC IO number
- use ulp_set_wakeup_period instead of writing to register
2018-07-13 17:48:15 +08:00
Angus Gratton
a67d5d89e0
Replace all DOS line endings with Unix
...
Command run was:
git ls-tree -r HEAD --name-only | xargs dos2unix
2018-07-12 19:10:37 +08:00
Michael (XIAO Xufeng)
95dbfbe4c0
sdio_example/spi: fix sdkconfig include issue
...
(MINOR CHANGES)
2018-07-12 15:59:16 +08:00
xiewenxiang
91052cd333
component/bt_refactor_ble_spp_readme
2018-07-12 09:09:01 +08:00
baohongde
21af1d7339
component/bt: Add Secure Simple Pairing
2018-07-10 11:18:52 +08:00
michael
597eda5f0b
fix(sdio_slave): improve sdio slave for high speed and 4 bit mode
2018-07-06 18:17:50 +08:00
michael
823ebba0f0
fix(sdio_slave): fix minor issues like return value of send function, output arg, etc.
2018-07-06 18:17:49 +08:00
Darian Leung
1d2727f4c8
CAN Driver
...
The following commit contains the first version of the ESP32 CAN Driver.
closes #544
2018-07-04 14:01:57 +08:00
Alex Lisitsyn
a9fca0c775
driver: add rs485 half duplex interface support to uart driver (fix after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
uart.c/h: fix param errors
test_uart.c: Remove GCC warning supress
uart.rst: fix the notes
rs485_example.c: fix output
uart.c: remove reset using UART_RXFIFO_RST from driver.
readme.md: Update example description
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
ef5dc73f6f
driver: add rs485 half duplex interface support to uart driver (update after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
update uart.h (uart_set_rx_timeout() description
test_uart.c remove ignore tag
uart.c/h: fix param errors
test_uart.c: Remove GCC warning supress
uart.rst: fix the notes
rs485_example.c: fix output
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
Alex Lisitsyn
51e9cf6848
driver: add rs485 half duplex interface support to uart driver (update after review)
...
An existing UART driver does not support RS485 half duplex mode.
This task adds this functionality to ESP_IDF UART driver.
driver/uart.c/h: updated to add support of RS485 half duplex mode
examples/peripherals/uart_echo_rs485/main/rs485_example.c: added test example
components/driver/test/test_uart.c: added test of RS485 half duplex mode
docs/en/api-reference/peripherals/uart.rst: updated documentation
test_uart.c: suppress GCC warnings about discarded const qualifiers
uart.rst: remove sphinx warning - "Duplicate explicit target name"
simple change in uart.h file
update (test_uart.c) after rebase from master
update uart.rst, uart.c, rs485_example.c
Update example description in file Readme.md
update uart.c/h, uart.rst, test_uart.c according to review results
The tests are completed using RS485 adapters hardware connected to two ESP32 WROVER KITs.
TW#13812
Closes https://github.com/espressif/esp-idf/pull/667
Closes https://github.com/espressif/esp-idf/pull/1006
2018-07-02 15:24:58 +02:00
chenwu
4898135c15
coap: pass null-terminated string to gethostbyname
...
coap client parse a string by `coap_split_uri`,fetch host should by `host.length`
otherwise, would cause `gethostbyname` failed because of inappropriate parameter.
2018-07-02 10:05:03 +08:00
Jiang Jiang Jian
8f804d5ee7
Merge branch 'bugfix/btdm_some_ble_hid_bugs' into 'master'
...
component/bt: Fix some hid bugs
See merge request idf/esp-idf!2628
2018-06-29 15:36:53 +08:00
Jiang Jiang Jian
83f1d14162
Merge branch 'bugfix/btdm_modify_service_uuid_of_sec_gatts_demo' into 'master'
...
Component/bt: modify service uuid of ble_sec_gatts demo
See merge request idf/esp-idf!2612
2018-06-29 15:00:29 +08:00
Kedar Sovani
fe1889b923
sh2lib: Fix a bug in send
2018-06-29 09:22:18 +05:30
hou wen xiang
cb8ab7c6a8
driver(rmt): update README.md file of rmt related example.
2018-06-29 11:03:09 +08:00
baohongde
7ff84d94aa
component/bt: Fix some hid bugs
...
1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse
2018-06-26 17:48:07 +08:00
chenwu
152a060425
fix: response failed when set a large response data
...
set the last parameter of `coap_pdu_init`, from size to COAP_MAX_PDU_SIZE
refer to https://github.com/obgm/libcoap.git/examples/contiki/coap-observer.c settings -> COAP_DEFAULT_MTU
close https://ezredmine.espressif.cn:8765/issues/23207
2018-06-26 17:13:25 +08:00
qiyueixa
68ff628927
mesh: update libs
...
1. add APIs to set/get announce interval values.
2. add API to enable/disable the min rate to 6Mbps for data packages.
3. add APIs to set/get RSSI threshold values.
4. fix ap_loss.
2018-06-25 21:47:53 +08:00
zhiweijian
ee9db0c76a
Component/bt: modify service uuid of ble_sec_gatts demo
2018-06-25 16:04:20 +08:00
Ivan Grokhotkov
1cd9949f2d
Merge branch 'bugfix/assert' into 'master'
...
assert: Fix. Move useful functions from wrapped assert functions
See merge request idf/esp-idf!2599
2018-06-25 11:02:42 +08:00
Konstantin Kondrashov
899fa2dc55
assert: Fix. Move useful functions from wrapped assert functions
...
Moved useful functions from wrapped assert functions, because option `CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED=y` will remove this functions.
Closes https://github.com/espressif/esp-idf/issues/2068
2018-06-22 15:17:55 +05:00
zhiweijian
4aae691519
Component/bt: modify throughput demo default config
2018-06-21 20:48:20 +08:00
Angus Gratton
75d732887b
Merge branch 'doc/examples_guide' into 'master'
...
docs: Add "Creating Examples" docs page, template example README
See merge request idf/esp-idf!2536
2018-06-21 13:59:44 +08:00
Michael (XIAO Xufeng)
90345050b2
example(sdio): example to use sdmmc host to do SDIO communication with SDIO slave
2018-06-20 07:00:05 +00:00
Angus Gratton
c1fdd45001
Merge branch 'bugfix/fix_touch_pad_can_not_wake_up' into 'master'
...
bugfix(touch pad): modify deep-sleep example and add note for sleep api
See merge request idf/esp-idf!2553
2018-06-20 11:51:46 +08:00
fuzhibo
9a0d57b90b
bugfix(touch pad): modify deep-sleep example and add note for sleep api.
...
Closes https://github.com/espressif/esp-idf/issues/2052
2018-06-20 10:57:26 +08:00
Angus Gratton
d0b8f2865f
docs: Switch base URL from esp-idf.readthedocs.io to docs.espressif.com
2018-06-19 11:23:33 +00:00
Jiang Jiang Jian
0e71cdc097
Merge branch 'mesh/bugfix_osi' into 'master'
...
mesh: update mesh libs
See merge request idf/esp-idf!2524
2018-06-17 18:56:52 +08:00
qiyueixa
0dd750af1a
mesh: update mesh libs
...
1. rename example internal_transceiver to internal_communication
2. bugfix
3. Closes https://github.com/espressif/esp-idf/issues/2014
2018-06-15 20:34:49 +08:00
Angus Gratton
6d6cff03fb
esp_http_client example test: Increase timeout when redirecting to HTTPS
2018-06-15 16:33:37 +10:00
Angus Gratton
df4e227855
docs: Add "Creating Examples" docs page, template example README
2018-06-14 16:49:22 +10:00
Ivan Grokhotkov
2f5cd89833
examples: add esp_timer example
2018-06-07 11:59:36 +08:00
Jiang Jiang Jian
a3a0b01c1b
Merge branch 'bugfix/btdm_fix_ble_throughput_demo_fail' into 'master'
...
Component/bt: fix throughput_demo_fail
See merge request idf/esp-idf!2467
2018-05-31 18:53:01 +08:00
Angus Gratton
6b9784cc45
Merge branch 'master' into feature/cmake_update
2018-05-31 14:46:23 +10:00
zhiweijian
212b786119
Component/bt: fix throughput_demo_fail
2018-05-30 19:58:31 +08:00
zhiweijian
26db749257
Component/bt: add makefile for coex demo
2018-05-30 19:33:52 +08:00
Ivan Grokhotkov
cb649e452f
remove executable permission from source files
2018-05-29 20:07:45 +08:00
Ivan Grokhotkov
ec0d4bd85f
Merge branch 'docs/update_logtrace_readme' into 'master'
...
docs: Corrects OpenOCD command usage in logtrace readme
See merge request idf/esp-idf!2455
2018-05-28 17:05:02 +08:00
Alexey Gerenkov
585df5cfdb
docs: Corrects OpenOCD command usage in logtrace readme
2018-05-25 16:42:18 +03:00
Jiang Jiang Jian
5b88d90a6c
Merge branch 'feature/btdm_add_bt_ble_coex_demo' into 'master'
...
Component/bt: add a2dp_gatts_coex demo
See merge request idf/esp-idf!1945
2018-05-25 19:57:45 +08:00
Jiang Jiang Jian
358c822d6a
Merge branch 'mesh/feature_manual_networking' into 'master'
...
Mesh/feature manual networking
See merge request idf/esp-idf!2426
2018-05-23 19:20:30 +08:00
qiyueixa
feaa6e8a8f
mesh: add manual networking function
...
1. add mesh_assoc_t to esp_mesh_internal.h file.
2. rename "node" to "device" in esp_mesh.h.
3. add MESH_EVENT_SCAN_DONE event.
4. add APIs esp_mesh_scan_get_ap_record() and esp_mesh_scan_get_ap_ie_len() to get scan results.
5. modify API esp_mesh_set_self_organized() by adding parameter "select_parent".
6. modify API esp_mesh_set_parent() by adding parameter "parent_mesh_id"
7. add manual networking example.
2018-05-23 18:09:12 +08:00
Angus Gratton
c9f8470fdf
Merge branch 'feature/rmt_translator' into 'master'
...
driver(rmt): Add API supports sending uint8_t type data
See merge request idf/esp-idf!1975
2018-05-23 07:27:14 +08:00
Jiang Jiang Jian
affed9a235
Merge branch 'feature/a2dp-sink-source-runtime-selection' into 'master'
...
bt-a2dp: BT A2DP sink and source selection is now runtime
See merge request idf/esp-idf!2229
2018-05-22 22:21:39 +08:00
Jiang Jiang Jian
72c2a6f1c6
Merge branch 'feature/proto-client' into 'master'
...
HTTP Client
See merge request idf/esp-idf!1521
2018-05-22 21:06:46 +08:00
zhiweijian
97a4332ed9
Component/bt: add bt_ble_coex demo
2018-05-22 17:19:44 +08:00
Angus Gratton
75c27202f7
Merge branch 'feature/update_touchpad_filter_process' into 'master'
...
driver(touchpad): Change the measuring mode, improve the software filter.
See merge request idf/esp-idf!2358
2018-05-22 09:56:55 +08:00
kooho
5bc8ae3b3a
driver(rmt):Add API supports sending uint8_t type data.
2018-05-22 01:55:44 +00:00
Amey Inamdar
ae8ed8dad8
bt-a2dp: BT A2DP sink and source selection is now runtime
...
Earlier they have to be selected at the compile time through sdkconfig.
A2DP sink and source application tested with this change.
Signed-off-by: Amey Inamdar <amey@espressif.com>
2018-05-21 14:02:49 +05:30
zhiweijian
340ad5c430
Component/bt: fix scan duplicate
2018-05-21 15:23:15 +08:00
Wangjialin
09181b7d94
driver(touchpad): improve touchpad filter mode and update examples.
2018-05-21 14:45:31 +08:00
Angus Gratton
6363396eba
Merge branch 'feature/freertos_tickless_idle' into 'master'
...
freertos,esp32: automatic light sleep support
See merge request idf/esp-idf!2247
2018-05-21 10:59:00 +08:00
Tuan PM
ff528d13c7
Add esp_http_client
...
Add error handling for http client
set ssid password correct with Example_WIFI test, and clear password before free
Fixed the CI failure due to HTTP errror names
2018-05-21 09:35:07 +07:00
Angus Gratton
a79116a23e
Merge branch 'feature/gcov_dbg_stubs' into 'master'
...
Feature/gcov dbg stubs
See merge request idf/esp-idf!1494
2018-05-21 08:07:49 +08:00
qiyueixa
bb9e73c864
mesh: update libs
...
1. use pbkdf2_sha1() to encrypted mesh ie key.
2. fix esp_mesh_waive_root().
3. fix esp_mesh_stop().
4. fix xon issues.
2018-05-20 15:28:38 +08:00
Alexey Gerenkov
c1b6a37bb1
esp32: Adds GCOV debug stubs support
...
Adds the following functionality
- Debug stubs infrastructure
- Stub for retrieveing GCOV data without user source code modification
2018-05-18 16:16:03 +03:00
Roland Dobai
18e83bcd53
Allow VFS file descriptors in select()
2018-05-18 08:06:33 +02:00
Ivan Grokhotkov
12230b7292
examples/wifi/power_save: enable tickless idle
2018-05-18 03:14:46 +00:00
Angus Gratton
51aceaa030
Merge branch 'bugfix/idle_task_stack_size' into 'master'
...
freertos: Bump default idle task stack size to 1536 bytes
See merge request idf/esp-idf!2411
2018-05-18 10:10:13 +08:00
Jiang Jiang Jian
6dcf273f0d
Merge branch 'bugfix/update_ota_download_valid_bin' into 'master'
...
bugfix(ota): update ota to download valid bin file
See merge request idf/esp-idf!2038
2018-05-18 09:52:17 +08:00
Jiang Jiang Jian
cf9499479c
Merge branch 'bugfix/i2s_mix_result_with_error_code_master' into 'master'
...
fix i2s mix result and error code
See merge request idf/esp-idf!2227
2018-05-17 21:53:06 +08:00
Zhang Zhao Xiang
9deb58859c
fix i2s mix result and error code
2018-05-17 10:59:04 +08:00
Angus Gratton
4719bab2f3
freertos: Bump default idle task stack size to 1536 bytes
...
In situations where idle task runs a lot of idle hooks or cleanup code
(due to pthread local storage, etc) it can use more than 1KB of stack.
(I think the trigger is if a context switch happens at the right point
in the TLS cleanup).
Also removes an sdkconfig.default which accidentally set all config items,
including this stack size.
2018-05-17 10:37:24 +08:00
baohongde
50f82a1aa5
component/bt: Change scan mode after connected or disconnected
2018-05-16 10:28:03 +00:00
Jiang Jiang Jian
8128dd245d
Merge branch 'bugfix/rmt_tx_cmd' into 'master'
...
example(rmt): tx cmd without negative coding
See merge request idf/esp-idf!1884
2018-05-16 17:39:04 +08:00
Chen Wu
460c4fa486
bugfix(ota): update ota to download valid bin file
2018-05-16 09:24:47 +00:00
He Yin Ling
e8dd203e47
example test: add test case for iperf example
2018-05-15 13:42:26 +08:00
He Yin Ling
7e4c2cc46b
iperf example: add scan command to get AP rssi
2018-05-15 03:29:31 +00:00
He Yin Ling
f7bb5c8f42
iperf example: add cmd to trace max heap usage
2018-05-15 03:29:31 +00:00
Jiang Jiang Jian
6adaeb0048
Merge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'
...
Component/bt: fix crash without SMP when deinit bluedroid
See merge request idf/esp-idf!2375
2018-05-14 21:20:44 +08:00
Jiang Jiang Jian
66406e1f64
Merge branch 'bugfix/upate_ble_a2dsink_example' into 'master'
...
example(ble): Update ble a2d_sink example
See merge request idf/esp-idf!2105
2018-05-11 15:59:14 +08:00
zhiweijian
b7a5fef871
Component/bt: fix crash without SMP when deinit bluedroid
...
- fix crash without SMP when bluedroid deinit
- modify default menuconfig in blufi demo
2018-05-10 11:39:34 +08:00
Anuj Deshpande
6238459dd7
docs: Fix broken link in nvs and jtag example
...
- Closes https://github.com/espressif/esp-idf/issues/1922
2018-05-07 12:38:20 +05:30
Ivan Grokhotkov
21a6d09bb9
Merge branch 'bugfix/mdns_print_results' into 'master'
...
mdns: fix potential NULL pointer dereference in mdns_print_results
See merge request idf/esp-idf!2353
2018-05-07 13:50:52 +08:00
Jiang Jiang Jian
4c3451c0bf
Merge branch 'bugfix/modify_default_flash_freq_to_40M_for_iperf_example' into 'master'
...
example: set default SPI flash mode to 40Mhz for iperf example
See merge request idf/esp-idf!1928
2018-05-04 19:25:20 +08:00
baohongde
c22c070e07
component/bt: Add APIs of get and remove bond device
...
1. Add APIs of get and remove bond device
2. Add ESP_BT_GAP_AUTH_CMPL_EVT
2018-05-03 19:05:57 +08:00
Michael (XIAO Xufeng)
dd91152589
example(spi_master): add descriptions about LCD example
2018-05-03 11:48:26 +08:00
Liu Zhi Fu
b4ca03c48b
example: set default SPI flash mode to 40Mhz for iperf example
...
Set default SPI flash frequency to 40Mhz for iperf example to avoid random crash for ESP32-WROVER-KIT (v3).
2018-05-03 10:42:34 +08:00
Wayne Keenan
be707f1c6b
Fix potential NULL pointer dereference crash.
2018-04-30 08:03:35 +01:00
Angus Gratton
381be65472
cmake: Build all examples in CI
...
Includes some fixes for compile errors/warnings in examples.
2018-04-30 10:18:33 +10:00
Angus Gratton
1cb5712463
cmake: Add component dependency support
...
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their
requirements.
2018-04-30 09:59:20 +10:00
Angus Gratton
800bffb8b0
cmake: Add CMakeLists.txt files for all examples
...
Generating using convert_to_cmake.py, with some minor cleanup
2018-04-30 09:59:20 +10:00
Angus Gratton
88df8fd293
cmake: Use cmake_lint project, tidy up all CMake source files
2018-04-30 09:59:20 +10:00
Angus Gratton
15d5e88618
cmake: Automatically include ccache if it's on the path
2018-04-30 09:59:20 +10:00
Angus Gratton
abef220b13
cmake: Allow selecting toolchain file based on config
...
Refactor IDF "project" functionality under a wrapping of the default
"project" command, so we can tweak it a bit...
Will need more testing in other environments.
2018-04-30 09:59:20 +10:00
Angus Gratton
4f1a856dbf
cmake: Remove defaults for COMPONENT_SRCDIRS, COMPONENT_SRCS, COMPONENT_ADD_INCLUDEDIRS
...
* Philosophical: "explicit is better than implicit".
* Practical: Allows useful errors if invalid directories given in components as the defaults aren't
always used. Also trims the -I path from a number of components that have no actual include
directory.
* Simplifies knowing which components will be header-only and which won't
2018-04-30 09:59:20 +10:00
Angus Gratton
674d398c93
cmake: Add partition table, and .bin file targets
2018-04-30 09:59:20 +10:00
Angus Gratton
ce6748873d
cmake: Add embedding files in components support
...
Add subscribe_publish AWS example and fixes to allow it to build.
2018-04-30 09:59:20 +10:00
Angus Gratton
134f2238bd
cmake: Refactor main cmake project logic
2018-04-30 09:59:20 +10:00
Angus Gratton
c671a0c3eb
build system: Initial cmake support, work in progress
2018-04-30 09:59:20 +10:00
Jiang Jiang Jian
ee9ab48347
Merge branch 'feature/btdm_bt_spp_vfs' into 'master'
...
component/bt: Add SPP profile with VFS
See merge request idf/esp-idf!1883
2018-04-28 15:10:07 +08:00
baohongde
d95d0ececb
component/bt: Add SPP profile with VFS
2018-04-28 11:36:22 +08:00
Yulong
fd3162d831
component/bt: Added the server test for the bit rate test.
...
component/bt: optimiz the code
component/bt: optimiz the code.
component/bt: added the l2c change.
component/bt: Added the modified.
component/bt: change the indicate callback function.
component/bt: added the BLE throughput test gattc & gatts example.
component/bt: Change the sdkconfig.default CONFIG_GATTS_NOTIFY_THROUGHPUT setting.
component/bt: Change the throughput_client_task delay method.
component/bt: change the btu task size from 4096 to 5096
comonent/bt: close the print when congest.
component/bt: Added the CPU frequency set method to the readme file.
component/bt: Change the gatts_demo_char1_val to gl_profile_tab[PROFILE_A_APP_ID].char_handle to avoid make error.
example/ble_throughput: Added the Readme explanation.
component/bt: Added the bt lib change.
component/bt: Update the bt lib & Change the LOG level from ERROR to DEBUG when congest.
component/bt: Fixed the bug of timer start assign error.
component/bt: Change back the gattc & gatts demo with same as the master.
example/ble_throughput: Fixed the bug when prepare write of the ble throughput.
component/bt: Update the check_sum algorithm.
component/bt: Change Added the path when used the include file of "l2cdefs.h" & "l2c_api.h".
example/throughput_client: Added the Freertos related header files to ble throughput client demo to avoid compile error.
2018-04-27 23:02:10 -04:00
Jiang Jiang Jian
cc2d1fda96
Merge branch 'bugfix/btdm_modify_include_path' into 'master'
...
component/bt : modify header files to avoid conflict
See merge request idf/esp-idf!2195
2018-04-27 12:01:46 +08:00
Tian Hao
b9855df44e
example: fix ble hid device demo include
2018-04-27 10:52:55 +08:00
qiyueixa
ebd1849e18
mesh: add fix root function
2018-04-26 21:15:35 +08:00
Tian Hao
adada3f67e
component/bt : modify header files to avoid conflict
...
1. add the L1 include path with a prefix, such like osi/list.h, stack/a2d_api.h and etc.
2. modify component, only bluedroid/api/include/api is export to another component and application,
other include path just for bluedroid used
3. put bluedroid/include into common/include/common, so the root directory of bluedroid have no include path.
4. modify doxygen to use esp_bt.h and redirect to
component/bt/bluedroid/api/include/api/
fix compile
2018-04-26 19:32:06 +08:00
Angus Gratton
081c830d2f
Merge branch 'feature/partition_size_check' into 'master'
...
partition_table: Check configured flash size fits in partition table
See merge request idf/esp-idf!2274
2018-04-26 08:48:31 +08:00
Angus Gratton
d9cbfe42f9
Merge branch 'bugfix/log_macro_statements' into 'master'
...
log: Make ESP_LOGx macros into single statements
See merge request idf/esp-idf!2275
2018-04-26 08:05:49 +08:00
Angus Gratton
fa3205737f
partition_table: Check configured flash size fits in partition table
...
Check happens at build time, so flash size config may need to be changed.
Also fixes MD5_OPT undefined warning, closes https://github.com/espressif/esp-idf/issues/1867
2018-04-26 09:51:55 +10:00
Angus Gratton
2f318d16fa
log: Make ESP_LOGx macros into single statements
...
Requires a semicolon after any use (previously this was optional due to trailing } after expansion)
Closes https://github.com/espressif/esp-idf/issues/1757
2018-04-26 09:08:07 +10:00
Jiang Jiang Jian
d8c63160af
Merge branch 'bugfix/btdm_fix_gatt_cache_error' into 'master'
...
Component/bt: fix gattc some errors
See merge request idf/esp-idf!2104
2018-04-25 14:57:18 +08:00
Jiang Jiang Jian
14b0285a87
Merge branch 'feature/btdm_cherry-pick_ble_hid_device' into 'master'
...
Feature/btdm cherry pick ble hid device
See merge request idf/esp-idf!1701
2018-04-25 14:53:23 +08:00
zhiweijian
be107320f7
Component/bt: fix gatt cache error
...
- fix sev == NULL error
- fix start_handle == end_handle
2018-04-23 15:43:10 +08:00
Yulong
eb9d0315e5
example/hid: Added the readme file.
2018-04-20 09:20:44 -04:00
Jitin George
d57495cb1c
esp-tls: Fix HTTP2 failure
...
Closes https://github.com/espressif/esp-idf/issues/1874
2018-04-20 16:59:36 +05:30
Ivan Grokhotkov
6185e722c3
Revert "Merge branch 'feature/vfs_select' into 'master'"
...
This reverts merge request !2074
2018-04-20 11:51:41 +08:00
Jiang Jiang Jian
5d3b26e8d0
Merge branch 'feature/mesh' into 'master'
...
mesh: update mesh libs
See merge request idf/esp-idf!2244
2018-04-19 20:24:16 +08:00
Yulong
efb747d167
example/hid: Added the BLE hid device profile.
...
demo/hid: Change the license validity period & some unreasonable LOG print.
example/hid: Added the Vendor Report output support.
2018-04-19 11:44:51 +08:00
qiyueixa
899f2fa1ed
mesh: update mesh libs
...
1. fix issues on sending beacon caused by too much tx retries on other packets.
2. modify not to scan if rc exists when connect.
3. modify scan dwell time to default 120ms fo root.
2018-04-17 11:49:54 +00:00
Roland Dobai
6852d653bd
Allow VFS file descriptors in select()
2018-04-17 11:25:30 +02:00
Ivan Grokhotkov
bdadd95dd7
Merge branch 'feature/wwrite_string_for_idf' into 'master'
...
Enable -Wwrite-strings when compiling IDF's own C files
See merge request idf/esp-idf!2193
2018-04-11 14:59:08 +08:00
He Yin Ling
e184a2fc0b
Merge branch 'feature/esp-tls' into 'master'
...
https_request: Fix CI failure
See merge request idf/esp-idf!2216
2018-04-10 22:07:07 +08:00
Jitin George
a48e0121e0
https_request: Fix CI failure
2018-04-10 16:00:34 +05:30
Ivan Grokhotkov
9464699952
Merge branch 'bugfix/Kconfig_fix_incorrect_description' into 'master'
...
Fix Kconfig.projbuild in some examples, where myssid is the password
See merge request idf/esp-idf!2192
2018-04-10 18:19:34 +08:00
Roland Dobai
744c2dcdd9
Resolve problems found by enabling -Wwrite-strings compilation flag
2018-04-10 08:53:43 +02:00
Jeroen Domburg
e23cfb4038
Merge branch 'bugfix/spi_master_example_gfx' into 'master'
...
Spi_master: spiffier graphics
See merge request idf/esp-idf!2030
2018-04-10 12:08:01 +08:00
Jitin George
9d416fe84e
resolve merge conflicts
2018-04-06 18:16:40 +05:30
Jitin George
b09c3e9878
mbedtls integration in esp-tls
2018-04-06 17:16:27 +05:30
Jitin George
9c8a5ca979
https mbedtls example
2018-04-06 17:16:27 +05:30
Jitin George
30b50cbfb3
esp-tls header file name change
2018-04-06 17:16:27 +05:30
Jitin George
e29294b49a
Resolved Issues
2018-04-06 17:16:27 +05:30
Jitin George
8cd3c47956
esp-tls api support in https_request
2018-04-06 17:16:27 +05:30
Kedar Sovani
8211a16207
Use esp-tls in the http2 example
2018-04-06 17:16:27 +05:30
Hrishikesh Dhayagude
59d19d12af
Fix Kconfig.projbuild in some examples, where myssid is erroneously kept as the default value for password.
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-04-05 14:34:43 +05:30
qiyueixa
2984cdbbe3
add mesh feature
2018-04-04 22:57:45 +08:00
Xia Xiaotian
e72f7e7ec4
Add more description for WiFi modem sleep in document and example.
2018-04-04 16:47:03 +08:00
island
9b7454de0c
support wifi&bt coexist (v0.9.1)
...
1. refactor wifi modem sleep
2. refactor wifi and bt phy enable/diable coexistence
3. support wifi&bt coexist (v0.9.1)
3. add coex pause resume
4. fix bt library interrupt reaction slowly
5. make a2dp more smooth when coex
6. add coexist preference option
7. Make CI do not check libcoexist.a printf/ets_printf
8. disable Wifi RX AMPDU when software coexistence enable && update wifi lib
9. bluetooth call modem sleep api
2018-04-02 13:44:48 +08:00
Jiang Jiang Jian
e6d6deebc7
Merge branch 'bugfix/btdm_fix_connect_fail_when_remote_addr_is_random' into 'master'
...
Component/bt: modify open API params
See merge request idf/esp-idf!2116
2018-03-30 17:00:19 +08:00
Jiang Jiang Jian
21099c10f4
Merge branch 'feature/support_enrollee_feature_in_APSTA_mode' into 'master'
...
feature/support WPS enrollee in APSTA mode
See merge request idf/esp-idf!2120
2018-03-30 16:14:43 +08:00
Jiang Jiang Jian
e84df7a27d
Merge branch 'bugfix/btdm_fix_strncpy_error_in_blufi' into 'master'
...
Component/bt: fix strncpy error in blufi
See merge request idf/esp-idf!2141
2018-03-30 14:10:09 +08:00
Jiang Jiang Jian
fc5b15173e
Merge branch 'bugfix/btdm_add_some_comment' into 'master'
...
Component/bt: add some comments
See merge request idf/esp-idf!1949
2018-03-30 14:07:30 +08:00
Jiang Jiang Jian
52667d8291
Merge branch 'bugfix/btdm_ble_spp_client_heartbeat' into 'master'
...
component/bt: fix type error for ble_spp_client when SUPPORT_HEARTBEAT is enabled
See merge request idf/esp-idf!1876
2018-03-30 14:01:28 +08:00
kooho
8fb9bfef79
example(ble): Update ble a2d_sink example
2018-03-30 12:08:41 +08:00
zhiweijian
e6262375a3
Component/bt: fix connect fail when remote addr type is random
2018-03-29 20:55:31 +08:00
zhiweijian
6a9420465c
Component/bt: fix strncp error in blufi
2018-03-28 11:38:45 +08:00
Ivan Grokhotkov
2e7613b656
Merge branch 'feature/use_esp_err_to_name' into 'master'
...
Use esp_err_to_name in examples & optionally disable it in Kconfig
See merge request idf/esp-idf!2013
2018-03-27 11:50:21 +08:00
Jeroen Domburg
1c4ad79c00
Examples/spi_master: spiffier graphics
2018-03-26 17:07:32 +08:00
Deng Xin
6c3bdd45cf
feature/support WPS enrollee in APSTA mode
...
Add the feature WPS enrollee in APSTA mode
close github issue: https://github.com/espressif/esp-idf/issues/1608
2018-03-23 15:41:59 +08:00
Ivan Grokhotkov
d7e980865b
Merge branch 'bugfix/http2_add_authority_field' into 'master'
...
http2: Include 'authority' header by default in the request
See merge request idf/esp-idf!2097
2018-03-23 13:28:55 +08:00
Kedar Sovani
86eaf5d56b
http2: Include 'authority' field by default in the request
...
Closes https://github.com/espressif/esp-idf/issues/1717
2018-03-20 17:33:05 +05:30
zhiweijian
7c777f40aa
Component/bt: add some comment
2018-03-19 21:19:21 +08:00
Ivan Grokhotkov
85c9164f50
Merge branch 'bugfix/fix_bt_typos' into 'master'
...
components/bt examples/bluetooth: Fix typographical errors
See merge request idf/esp-idf!1950
2018-03-19 16:58:55 +08:00
Jiang Jiang Jian
7594127ca3
Merge branch 'feature/add_simple_wifi_example' into 'master'
...
add feature of simple wifi example
See merge request idf/esp-idf!2045
2018-03-19 14:56:22 +08:00
Jiang Jiang Jian
9e8d098264
Merge branch 'bugfix/btdm_fix_eddystone_demo_error' into 'master'
...
Component/bt: fix eddystone demo error
See merge request idf/esp-idf!2036
2018-03-19 14:26:55 +08:00
zhangyanjiao
d91456a348
add feature of simple wifi example
...
Closes: https://github.com/espressif/esp-idf/issues/1433
2018-03-15 10:35:58 +08:00
Roland Dobai
27a63c492f
Examples: Demonstrate the usage of esp_err_to_name
2018-03-13 14:27:00 +01:00
Ivan Grokhotkov
7a1e3265fe
Merge branch 'bugfix/docs_small_corrections' into 'master'
...
Bugfix/docs small corrections
See merge request idf/esp-idf!2025
2018-03-13 17:43:00 +08:00
krzychb
691b2ad8f3
Added / corrected README files for the SPI master / slave examples under peripherals
2018-03-12 05:56:35 +01:00
zhiweijian
4580a5ab4a
Component/bt: fix eddystone demo error
2018-03-12 12:10:09 +08:00
zhiweijian
b1d8ea84c3
Component/bt: blufi add custom data cmd
2018-03-08 17:38:44 +08:00
baohongde
569b9d592e
component/bt: remove some error logs which are not error
2018-03-05 19:22:21 +08:00
Jiang Jiang Jian
37765d0071
Merge branch 'feature/remove_tcp_perf_example' into 'master'
...
example: remove performance example
See merge request idf/esp-idf!1969
2018-03-02 18:54:39 +08:00
Ivan Grokhotkov
04ad0f79c0
Merge branch 'adc_calibration_update' into 'master'
...
ADC Calibraiton - Support new new calibration methods and eFuse functionality
See merge request idf/esp-idf!1846
2018-02-26 06:15:06 +08:00
Ivan Grokhotkov
c8ba6cf156
Merge branch 'feature/rtc_gpio_isolate' into 'master'
...
Add rtc_gpio_isolate function, use it in deep sleep examples
See merge request idf/esp-idf!1936
2018-02-26 06:09:08 +08:00
Ivan Grokhotkov
eb935c2982
Merge branch 'bugfix/aws_iot_examples_stack_tune' into 'master'
...
examples: aws_iot: fine tune stack size for aws_iot task
See merge request idf/esp-idf!1962
2018-02-26 06:08:03 +08:00
Jiang Jiang Jian
165e3edd49
Merge branch 'bugfix/btdm_mem_leak_of_bt' into 'master'
...
component/bt: Fix mem leak of bt
See merge request idf/esp-idf!1924
2018-02-24 10:25:13 +08:00
Darian Leung
0c9e2c0fba
esp_adc_cal/Remove lookup table
...
This commit removes the lookup table mode due to inferior performance when compared
to linear mode under attenuation 0, 1 and 2. However small portions of the lookup table
are kept for the higher voltages of atten 3 (above ADC reading 2880). That voltage range
in atten 3 has non linear characteristics making the LUT performan better than linear mode.
2018-02-22 20:01:41 +08:00
Liu Zhi Fu
9fb2d45980
example: remove performance example
...
Remove performance example since we have iperf example
close github issue: https://github.com/espressif/esp-idf/issues/1515
2018-02-22 17:34:54 +08:00
Tuan PM
7cda34c626
i2s: add support fixed_mclk configuration
2018-02-22 09:00:23 +07:00
Mahavir Jain
886b5df30b
examples: aws_iot: fine tune stack size for aws_iot task
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-02-20 17:04:07 +05:30
Michael (Xiao Xufeng)
10ab4c085b
example(console): print column name for tasks.
2018-02-14 11:56:47 +08:00
Darian Leung
73cdfbfe79
esp_adc_cal/Add eFuse functionality
...
This commit updates the esp_adc_cal ocmponent to support new calibration methods
which utilize calibratoin values stored in eFuse. This commit includes LUT mode
2018-02-13 21:22:48 +08:00
Hrishikesh Dhayagude
4a7d445301
components/bt examples/bluetooth: Fix typographical errors
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-02-13 13:25:33 +05:30
Ivan Grokhotkov
44c3b0a1ba
Merge branch 'bugfix/console_example_stack_overflow' into 'master'
...
Increase event task stack size to fix console example stack overflow
See merge request idf/esp-idf!1879
2018-02-11 16:45:05 +08:00
Ivan Grokhotkov
af6cfc5552
docs, examples: use rtc_gpio_isolate to disconnect GPIO12
...
This is needed to reduce deep sleep current on ESP32-WROVER modules.
Ref TW18165.
2018-02-11 13:28:47 +08:00
Ivan Grokhotkov
206eadab5a
console example: increase main task stack size
...
Stack size was not sufficient for logging at Verbose log level.
2018-02-11 13:14:44 +08:00
Ivan Grokhotkov
57a516389c
console example: add 'tasks' command to print vTaskList output
...
This command prints list of tasks, their state, and stack
watermark values.
Fixes https://github.com/espressif/esp-idf/issues/1534
2018-02-11 13:06:01 +08:00
Ivan Grokhotkov
95ff76890b
examples/wear_levelling: update readme file
...
Fixes https://github.com/espressif/esp-idf/issues/627 .
2018-02-11 13:03:36 +08:00
Ivan Grokhotkov
59859fa53c
fatfs: add configuration of allocation unit size
...
Closes https://github.com/espressif/esp-idf/issues/1382 .
2018-02-11 13:03:36 +08:00
baohongde
0519a73334
component/bt: Fix mem leak of bt
2018-02-08 16:26:12 +08:00
Wangjialin
451f69cc2e
driver(i2s): fix broken i2s adc mode
...
1. Move i2s reset code from i2s_stop to i2s_start.
2. add RTC API to set sw mode for ADC
3. add description for adc_power_always_on()
4. add lock for i2s dma and RTC ADC functions.
5. add ADC read task in example
reported from bbs: https://esp32.com/viewtopic.php?f=13&t=3490&p=17522#p17522
reported from github: https://github.com/espressif/esp-idf/issues/1333
2018-02-07 17:17:20 +08:00
panfeng
a239e1359a
bugfix(rmt): tx cmd without negative coding
2018-01-31 19:35:50 +08:00
Jiang Jiang Jian
17f01eb718
Merge branch 'feature/wifi_throughput_optimization' into 'master'
...
lwip/esp32/examples: wifi throughput optimization
See merge request idf/esp-idf!1861
2018-01-31 15:44:43 +08:00
wangmengyang
d02e36f4ff
component/bt: fix type error for ble_spp_client when SUPPORT_HEARTBEAT is enabled
2018-01-31 11:39:04 +08:00
Liu Zhi Fu
2242bf9b37
lwip/esp32/examples: wifi throughput optimizations
...
1. Put some lwip udp rx/tx relating functions to IRAM
2. Put some wifi rx/tx relating functions to IRAMa
3. Reduce wifi dynamic malloc from 4 to 1 for each ebuf
4. Update iperf example accordingly
5. Update libphy.a to v383
2018-01-30 16:27:49 +08:00
Jiang Jiang Jian
58f0edfd03
Merge branch 'bugfix/btdm_tutorials_compatible_with_github' into 'master'
...
component/bt: modify ble tutorials to make them be compatible with GitHub markdown
See merge request idf/esp-idf!1786
2018-01-29 15:47:36 +08:00
island
e22f8ad1aa
component/bt: Update BLE examples tutorials and ReadMe files
...
- Make docs compatible with GitHub Markdown
- Add tutorials links in programming doc
- Modify ReadMe files
2018-01-25 16:59:40 +08:00
Angus Gratton
d89542eb2b
Merge branch 'bugfix/uart_pattern_detect' into 'master'
...
bugfix(uart): patten detect function
See merge request !1235
2018-01-24 06:12:48 +08:00
Jiang Jiang Jian
2016478676
Merge branch 'bugfix/btdm_format_error' into 'master'
...
component/bt: Fix format error
See merge request !1803
2018-01-22 19:52:54 +08:00
Jiang Jiang Jian
84b92a4ead
Merge branch 'feature/btdm_add_get_error_enent_for_blufi' into 'master'
...
component/bt: add error report event for blufi
See merge request !1702
2018-01-22 19:48:29 +08:00
Wangjialin
870efdb9d4
bugfix(uart): patten detect function
...
requirement from github(https://github.com/espressif/esp-idf/issues/805 ): to provide the position in the buffer of the pattern detected.
requirement from AT application: in AT app, when no hardware flow control is enabled, in some situation the rx buffer might be full, and the terminator “+++” might be lost, we can use pattern detect interrupt to avoid missing the terminator. When pattern detect interrupt happens, it will not send a data event at the same time.
1. Add API to get position of detected pattern in rx buffer
2. Modify UART event example
3. Add comments for uart_flush, add alias API uart_flush_input to clear the rx buffer
4. Modify the way rx_buffered_len is calculated
2018-01-22 13:33:51 +08:00
wangmengyang
b64872aaab
component/bt: fix README.md format and loggings for A2DP sink example
2018-01-22 10:24:22 +08:00
Jiang Jiang Jian
1c3dd23fe0
Merge branch 'feature/btdm_ble_spp_docs' into 'master'
...
component/bt: add readme for ble spp demo
See merge request !1748
2018-01-17 10:19:30 +08:00
Ivan Grokhotkov
429371c182
Merge branch 'feature/mdns_again' into 'master'
...
New mDNS implementation
See merge request !1683
2018-01-16 18:38:42 +08:00
Ivan Grokhotkov
e73e6bb928
Merge branch 'bugfix/console_example_nvs_init' into 'master'
...
console example: initialize nvs on startup
See merge request !1766
2018-01-16 18:10:32 +08:00
zhiweijian
cf91ad32dc
Component/bt: add get error event for blufi
2018-01-16 17:29:48 +08:00
Jiang Jiang Jian
52c56e834f
Merge branch 'bugfix/btdm_modify_license' into 'master'
...
Component/bt: BLE demo modify license
See merge request !1808
2018-01-16 17:13:56 +08:00
me-no-dev
4bddbc031c
Import mDNS changes
2018-01-16 10:58:34 +02:00
zhiweijian
4d2c3edc07
Component/bt: add get wifi list cmd for blufi
2018-01-15 12:16:19 +00:00
zhiweijian
5dfbacd00e
Component/bt: modify license
2018-01-15 19:47:23 +08:00
Jiang Jiang Jian
cd54a95a7f
Merge branch 'feature/btdm_a2dp_src' into 'master'
...
Feature/btdm a2dp src
See merge request !1190
2018-01-15 18:55:01 +08:00
xiewenxiang
c49a07ea07
component/bt: add readme for ble spp demo
2018-01-12 14:55:57 +08:00
wangmengyang
f360fe5b3e
component/bt: implement A2DP source
...
1. Modified symbol names of A2DP sink APIs include:
- esp_a2d_data_cb_t --> esp_a2d_sink_data_cb_t
- esp_a2d_register_data_callback --> esp_a2d_sink_register_data_callback
2018-01-09 20:20:52 +08:00
Jiang Jiang Jian
3452845063
Merge branch 'bugfix/btdm_avrc_connect_state_evt' into 'master'
...
Bugfix/btdm avrc connect state evt
See merge request !1717
2018-01-09 19:33:06 +08:00
wangmengyang
e07b43e924
component/bt: add AVRC event for remote features indication
...
1. remove the feature mask parameter from AVRC connection state event, as the AVCTP connection can be initiated by remote device before service discovery to remote device is performed. \
In this case, AVRCP connection state event may not be reported after connection initated by remote device is established.
2. remove ESP_AVRC_CT_MAX_EVT
3. add more documentations to AVRC APIs
2018-01-09 16:33:48 +08:00
Ivan Grokhotkov
24b07a3f45
console example: initialize nvs on startup
...
Fixes https://github.com/espressif/esp-idf/issues/1478
2018-01-09 12:48:02 +08:00
Jiang Jiang Jian
c147d7b03e
Merge branch 'feature/btdm_bt_spp' into 'master'
...
component/bt: Add bt spp profile
See merge request !1593
2018-01-09 10:44:46 +08:00
baohongde
d2663c866e
component/bt: Add SPP profile
2018-01-05 16:48:29 +08:00
Angus Gratton
1837a034dd
Merge branch 'bugfix/small_fixes_github' into 'master'
...
Some small fixes from Github
See merge request !1737
2018-01-03 13:36:03 +08:00
island
d950ede96d
component/bt: change pictures from .pdf to .png
2018-01-03 11:13:27 +08:00
island
5c82ef1034
component/bt: Modify docs to be compatible with "Github Standard Markdown"
2018-01-03 11:13:27 +08:00
island
85efc08c27
component/bt: add link of tutorial in README.rst
2018-01-03 11:13:27 +08:00
island
7a0608609f
component/bt: Add bluetooth example tutorials
2018-01-03 11:13:26 +08:00
Martin Pomezný
e7693b8700
GPIO2 note updated
...
Updated note on GPIO2 with informations about possible pull-down resistor.
Merges https://github.com/espressif/esp-idf/pull/1451
2018-01-03 10:48:57 +11:00
Jiang Jiang Jian
15deab4e46
Merge branch 'refactor/btdm_spp_client_demo' into 'master'
...
component/bt: refactor spp client demo
See merge request !1366
2017-12-27 11:43:35 +08:00
Angus Gratton
ec7cac5fe8
Merge branch 'feature/docs_update_rmt_api' into 'master'
...
RMT API docs update, new example
See merge request !1564
2017-12-27 09:23:47 +08:00
Angus Gratton
13a087a390
Merge branch 'bugfix/iperf_example_bugfix' into 'master'
...
example: some modification about iperf example
See merge request !1603
2017-12-27 09:01:21 +08:00
Tian Hao
6220723e7b
component/bt : change header file name bt.h to esp_bt.h in new bluetooth example
2017-12-22 15:13:45 +08:00
xiewenxiang
e8d1072467
component/bt: refactor spp client demo
...
- fix the bug that before free the db pointer, the db was set to NULL
2017-12-21 10:01:38 +08:00
Jiang Jiang Jian
a567de1576
Merge branch 'feature/btdm_classic_discovery' into 'master'
...
component/bt: implement Classic Bluetooth GAP APIs for device and service discovery
See merge request !1576
2017-12-20 13:30:31 +08:00
Jiang Jiang Jian
5cbe950d08
Merge branch 'bugfix/btdm_modify_code_format_and_comments' into 'master'
...
component/bt: modify code format and comments
See merge request !1631
2017-12-19 20:19:00 +08:00
Liu Zhi Fu
5adef5865d
example: some modification about iperf example
...
Modify default sdkconfig since some WiFi menuconfig options are changed
2017-12-19 18:28:22 +08:00
Jiang Jiang Jian
9c5435c14a
Merge branch 'bugfix/btdm_mem_release' into 'master'
...
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
See merge request !1660
2017-12-19 17:31:09 +08:00
Zhi Wei Jian
833ecfdec9
Merge branch 'master' into 'bugfix/btdm_modify_code_format_and_comments'
...
# Conflicts:
# examples/bluetooth/gatt_server_service_table/main/gatts_table_creat_demo.c
2017-12-13 15:42:41 +08:00
Ivan Grokhotkov
d2bd9cccd8
Merge branch 'feature/ulp_docs_update' into 'master'
...
ULP docs update
See merge request !1640
2017-12-13 15:36:36 +08:00
Tian Hao
65bdb2d7ff
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
...
1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()
2017-12-13 11:38:39 +08:00
Angus Gratton
a4ef4cc376
Merge branch 'bugfix/gpio_config_block' into 'master'
...
driver(GPIO): use ULL for IO bit mask
See merge request !1627
2017-12-11 12:56:39 +08:00
Ivan Grokhotkov
ca751648fa
ulp: document the need to wait for RTC to be ready for wakeup
2017-12-11 12:11:46 +08:00
Tian Hao
583dceb69b
component/btdm : change bt.h name to esp_bt.h to form the name prefix
2017-12-08 10:33:50 +08:00
wangmengyang
c23af0b5bb
component/bt: implement Classic Bluetooth GAP APIs for device and service discovery
2017-12-06 10:52:06 +08:00
panfeng
f60fef8136
bugfix: io setting useless when io_num > 32
2017-12-04 17:35:00 +08:00
zhiweijian
c124851048
Component/bt: modify code format and comments
2017-12-04 14:51:42 +08:00
Ivan Grokhotkov
08048ff76a
Merge branch 'feature/btdm_avrc_metadata' into 'master'
...
Feature/btdm avrc metadata: implemented AVRCP metadata and notification register commands
See merge request !1624
2017-12-01 20:31:25 +08:00
Jiang Jiang Jian
c672fc54fd
Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'
...
Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resoluti…
See merge request !1440
2017-12-01 19:33:53 +08:00
pufstudio
86fa1820b7
component/bt: Add AVRCP medadata attribute support so A2DP can show track title, album, etc.
...
Merges https://github.com/espressif/esp-idf/pull/1078
2017-12-01 19:28:52 +08:00
Jiang Jiang Jian
7ec7352534
Merge branch 'bugfix/small_fixes_from_github' into 'master'
...
Small fixes by users from GitHub
See merge request !1620
2017-12-01 19:21:10 +08:00
Jiang Jiang Jian
58e60401a2
Merge branch 'feature/bt_a2dp_i2s' into 'master'
...
examples/bluetooth/a2dp_sink: add i2s audio to a2dp_sink example application
See merge request !853
2017-12-01 19:18:50 +08:00
Adrián Paníček
0f2d417a74
Small typo fix
...
Signed-off-by: krzychb
Merges https://github.com/espressif/esp-idf/pull/1331
2017-12-01 09:06:09 +01:00
Jiang Jiang Jian
4da239e824
Merge branch 'feature/btdm_optimize_gatt_server_service_table_demo' into 'master'
...
component/bt: optimize gatt_server_service_table demo
See merge request !1479
2017-12-01 12:25:42 +08:00
Kedar Sovani
1c0543fb17
lwip: Change socket API macros to static-inline
2017-11-29 11:42:14 +05:30
Angus Gratton
e43ac33b7c
Merge branch 'bugfix/aws_iot_nvs_no_init' into 'master'
...
aws_iot: fix aws_iot examples without NVS initialization
See merge request !1581
2017-11-23 13:19:21 +08:00
krzychb
cdad1e8382
Implement review comments
2017-11-22 23:33:29 +01:00
Ivan Grokhotkov
61ead8fb96
Merge branch 'bugfix/ota_example_http_request' into 'master'
...
ota example: Send a valid HTTP/1.0 request
See merge request !1566
2017-11-22 22:27:10 +08:00
Chen Wu
4b3997cfbb
aws_iot: fix aws_iot examples without NVS initialization
...
WiFi used to initialise nvs automatically, but it doesn't now.
see more info: https://github.com/espressif/esp-idf/issues/624
Closes #624
2017-11-22 13:02:55 +08:00
krzychb
2ec35f60ca
RMT API docs update, new example
2017-11-21 22:34:23 +01:00
Ivan Grokhotkov
6e1453e864
Merge branch 'feature/bot' into 'master'
...
CI: support customize test with @bot
See merge request !1502
2017-11-21 18:43:56 +08:00
Angus Gratton
dc994e9c88
ota example: Send a valid HTTP/1.0 request
...
Was sending an invalid HTTP/1.1 request which many web servers rejected.
Thanks @chegawara for pointing this out on IRC.
Ref:
https://github.com/espressif/esp-idf/issues/231#issuecomment-300287523
2017-11-21 09:02:58 +11:00
Angus Gratton
05dd46cd72
udp_perf/tcp_perf examples: Erase NVS if no more free pages
...
Follows same pattern as other examples.
Amendment to https://github.com/espressif/esp-idf/pull/1279
2017-11-20 16:07:52 +11:00
petermccloud
3b84c1e8fa
fixed broken udp_perf example by adding nvs_flash
...
Merges https://github.com/espressif/esp-idf/pull/1279
2017-11-20 16:07:00 +11:00
petermccloud
0dea8bca46
fixed broken tcp_perf example by adding nvs_flash
2017-11-20 16:06:59 +11:00
Dominik Palo
ad8ebe5b63
Update spp_client_demo.c
...
Merges https://github.com/espressif/esp-idf/pull/1229
2017-11-17 10:49:51 +11:00
He Yin Ling
879160de8c
test: collect example https_request binary size
2017-11-16 17:48:30 +08:00
Piyush Shah
affde01b4c
wifi_scan_example: Comments improved for readability
...
Rephrased the example's description to make it easier to understand
and made other grammatical fixes.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-15 15:02:31 +05:30
Piyush Shah
371c66f188
wifi_scan_example: Indentation Fixes
...
- Trailing white spaces removed
- Re-formatted switch-case
Basic indentation fixes were done using tools/format.sh and switch-case
formatting was done manually (to identify different levels for "switch"
and "case")
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-15 15:01:11 +05:30
zhiweijian
ee3224bed2
Component/bt: optimize gatt_server_service_table demo
2017-11-15 15:26:53 +08:00
krzychb
d488bb7bac
Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resolution' and 'div_num' to 'clock_divider'
2017-11-15 08:08:12 +01:00
Ivan Grokhotkov
c6d25dd9cc
Merge branch 'features/http2_demo' into 'master'
...
HTTP2 Client Demo
See merge request !1475
2017-11-15 14:51:51 +08:00
zhangjunhao
6a02a58347
fix(tw16355): examples/protocols/coap_client(server)
...
fix coap example can not work properly
2017-11-15 11:58:19 +08:00
Jiang Jiang Jian
41272c5b94
Merge branch 'bugfix/btdm_modify_logs' into 'master'
...
component/bt: modify some log
See merge request !1485
2017-11-14 21:13:00 +08:00
Ivan Grokhotkov
31d0c8eec5
Merge branch 'feature/emac_apll' into 'master'
...
feat(emac): add support for emac to use internal (APLL) clock outputs.
See merge request !1518
2017-11-14 00:07:35 +08:00
Ivan Grokhotkov
3726cd39ab
Merge branch 'bugfix/examples_ulp_gpio15' into 'master'
...
examples/ulp: disable pullup on GPIO15 to reduce current
See merge request !1486
2017-11-13 17:34:12 +08:00
Frank Sautter
f324458b6a
feat(emac): add support for emac to use internal (APLL) clock outputs.
2017-11-13 14:18:58 +08:00
Seppe Stas
264315ab81
Fix markdown and format of GPIO example README
...
Fixed headers so they work (requires space between hash and text) and have a sensible structure and removed trailing spaces.
Signed-off-by: krzychb
2017-11-07 20:27:10 +01:00
Ivan Grokhotkov
a45e9c806d
Merge branch 'bugfix/new_task_watchdog_API_false_trigger' into 'master'
...
feat/New Task Watchdog API
See merge request !1380
2017-11-07 10:43:56 +08:00
Xie Wen Xiang
7a423392c3
Merge branch 'master' into 'refactor/btdm_spp_client_demo'
...
# Conflicts:
# examples/bluetooth/ble_spp_client/main/spp_client_demo.c
2017-11-06 14:38:01 +08:00
Kedar Sovani
3ace8416b5
[examples] Create HTTP2 example with http2.golang.org
...
Intention is to partition the demo into multiple files, so that the
main program is quite easy to follow.
1. connectlib.c: For any URL parsing and TCP connection related stuff
2. sh2lib.c: Convenience functions for HTTP2+TLS. The goal here is to
expose a simpler API than nghttp2. If most usecases end up being
served with this library, it could potentially be moved into a separate
component
2017-11-06 09:43:03 +05:30
Ivan Grokhotkov
dec4a868d0
examples/ulp: disable pullup on GPIO15 to reduce current
...
Also increase sampling frequency in ulp_adc example and update READMEs.
Fixes https://github.com/espressif/esp-idf/issues/1108
2017-11-03 18:56:31 +08:00
Jiang Jiang Jian
b13cd4adf8
Merge branch 'feature/btdm_add_value_callback_when_send_notification_or_indicate_failed' into 'master'
...
component/bt: add value callback when send notification or indicate failed
See merge request !1457
2017-11-03 10:05:29 +08:00
zhiweijian
9a96187655
Component/bt: modify some log
2017-11-02 19:45:13 +08:00
Darian Leung
9d63e1da4a
New Task Watchdog API (Revert of Revert)
...
This commit reverts the revert on the new task watchdog API. It also
fixes the following bug which caused the reversion.
- sdkconfig TASK_WDT_TIMEOUT_S has been reverted from the unit of ms back to the
unit of seconds. Fixes bug where projects using the new API without rebuilding sdkconfig
would cause the old default value of 5 to be interpreted in ms.
This commit also adds the following features to the task watchdog
- Updated idle hook registration to be compatible with dual core hooks
- Updated dual core hooks to support deregistration for cpu
- Legacy mode has been removed and esp_task_wdt_feed() is now replaced by
esp_task_wdt_reset(). esp_task_wdt_feed() is deprecated
- Idle hooks to reset are now registered/deregistered when the idle tasks are
added/deleted from the Task Watchdog instead of at Task Watchdog init/deinit
- Updated example
2017-11-02 16:47:51 +08:00
Ivan Grokhotkov
79f206be47
Merge branch 'test/ci_test_examples' into 'master'
...
test: test examples with CI
See merge request !1275
2017-11-01 13:59:10 +08:00
Jiang Jiang Jian
79d75950bd
Merge branch 'bugfix/btdm_modify_close_disconnect_event_params' into 'master'
...
component/bt: modify close , connect and disconnection event params
See merge request !1407
2017-11-01 11:01:36 +08:00
Jiang Jiang Jian
a8deadeba9
Merge branch 'bugfix/btdm_fix_memory_leak_in_blufi' into 'master'
...
component/bt: fix memory leak in bluefi demo
See merge request !1436
2017-11-01 11:01:14 +08:00
zhiweijian
e7020460c6
Component/bt: add value callback when send notification or indicate failed
2017-11-01 11:00:08 +08:00
zhiweijian
481e436587
Component/bt: modify close event and disconnection event params
...
- modify close event params
- modify disconnection event params
- modify connect event params
2017-11-01 10:40:03 +08:00
He Yin Ling
4cb52e0a3d
test: add test for https_request
2017-10-31 17:42:20 +08:00
Jiang Jiang Jian
4d5c3de1e0
Merge branch 'bugfix/btdm_app_malloc_invalid_bug' into 'master'
...
bt/examples: The application layer does not allocate memory correctly causing the btc layer pointer to cross the border.
See merge request !1438
2017-10-31 11:34:37 +08:00
xiewenxiang
04a8d32cba
component/bt: modify spp client demo for discussion
...
- check the characteristic properties before write
- check the db count is equal to SPP_IDX_NB or not
- modify some other code for discussion
2017-10-27 15:35:31 +08:00
zhiweijian
15c75974de
component/bt: fix crash when set device name NULL
2017-10-27 15:21:00 +08:00
xiewenxiang
d57901cd54
component/bt: refactor spp client demo
...
- because the GATTC API was modified, the spp client demo was
refactored
2017-10-27 13:56:48 +08:00
Angus Gratton
ffeecde9e2
Merge branch 'feature/docs_update_timer_api' into 'master'
...
Timer API docs update, refactored example
See merge request !1316
2017-10-27 13:31:18 +08:00
krzychb
9b7d5d76a7
Timer API docs update, refactored example
2017-10-27 07:13:59 +02:00
Angus Gratton
62e24370f1
Merge branch 'feature/uart_example_separate_tx_rx_tasks' into 'master'
...
Added an asynchronous UART example, using separate RX and TX tasks.
See merge request !1403
2017-10-27 13:13:24 +08:00
michael
d30f3e7aa8
example(adc2): add example and test case for adc2.
...
closes #461
2017-10-26 14:35:30 +08:00
Yulong
a1495b0e49
Squash the two submissions of previous.
...
component/bt: The application layer does not allocate memory correctly causing the btc layer pointer to cross the border.
bt/examples: Change the gattc_multi_connect.c incorrect memory apply method.
2017-10-23 05:24:02 -04:00
zhiweijian
9ad451dced
Component/bt: fix memory leak in bluefi demo
2017-10-23 14:26:11 +08:00
Angus Gratton
01befe4d6a
Merge branch 'bugfix/i2c_hw_fsm_recover' into 'master'
...
bugfix(i2c): add I2C hardware reset if the hw FSM get stuck
See merge request !1272
2017-10-23 10:16:02 +08:00
Ivan Grokhotkov
000a4f5941
Merge branch 'bugfix/rmt_thresh_check' into 'master'
...
bugfix(rmt): fix event thresh check issue
See merge request !1423
2017-10-22 12:35:44 +08:00
Ivan Grokhotkov
59b7d98fec
Merge branch 'feature/dfs' into 'master'
...
Dynamic frequency scaling
See merge request !1189
2017-10-22 12:34:11 +08:00
Wangjialin
ed1e32f583
bugfix(i2c): add I2C hardware reset if the hw FSM get stuck
...
Reported from different sources from github or bbs:
https://github.com/espressif/esp-idf/issues/680
https://github.com/espressif/esp-idf/issues/922
We tested reading several sensor or other I2C slave devices, if the power and SDA/SCL wires are in proper condition, everything works find with reading the slave.
If we remove the power supply for the slave during I2C is reading, or directly connect SDA or SCL to ground, this would cause the I2C FSM get stuck in wrong state, all we can do is the reset the I2C hardware in this case.
After this commit, no matter whether the power supply of I2C slave is removed or SDA / SCL are shorted to ground, the driver can recover from wrong state.
We are not sure whether this the save issue with the reported one yet, but to make the driver more robust.
Further information:
1. For I2C master mode, we have tested different situations, e.g., to short the SDA/SCL directly to GND/VCC, to short the SDA to SCL, to un-plug the slave device, to power off the slave device. Under all of those situations, this version of driver can recover and keep working.
2. Some slave device will die by accident and keep the SDA in low level, in this case, master should send several clock to make the slave release the bus.
3. Slave mode of ESP32 might also get in wrong state that held the SDA low, in this case, master device could send a stop signal to make esp32 slave release the bus.
Modifications:
1. Disable I2C_MASTER_TRAN_COMP interrupt to void extra interrupt.
2. Disable un-used timeout interrupt for slave.
3. Add bus reset if error detected for master mode.
4. Add bus clear if SDA level is low when error detected.
5. Modify the argument type of i2c_set_pin.
6. add API to set timeout value
7. add parameter check for timing APIs
2017-10-21 02:10:59 +08:00
Ivan Grokhotkov
b6f37bda97
Merge branch 'feature/i2s_built_in_adc' into 'master'
...
feature(I2S-ADC): add ADC mode for I2S.
See merge request !1077
2017-10-20 15:52:56 +08:00
Liu Zhi Fu
ae1ac2ab0e
example: init nvs in iperf example
...
Need to call nvs_flash_init in iperf example
2017-10-20 10:39:56 +08:00
krzychb
61dcade807
Print out in hex format in case non printable data are received
2017-10-19 22:06:53 +02:00
Pieter du Preez
479ba94ef7
Added an asynchronous UART example, using separate RX and TX tasks.
...
Signed-off-by: krzychb <krzychb@gazeta.pl>
2017-10-19 21:46:09 +02:00
Wangjialin
ab1abff080
bugfix(rmt): fix event thresh check issue
...
reported from: https://github.com/espressif/esp-idf/issues/1011
1. Fix event thresh check issue
2. Change IO number in example in case it conflicts with GPIO16(psram cs pin).
2017-10-18 18:49:09 +08:00
Ivan Grokhotkov
f6ef536fe9
examples/power_save: enable modem sleep and DFS by default
2017-10-18 14:37:23 +08:00
Ivan Grokhotkov
edb212986f
Merge branch 'bugfix/sd_card_fixes' into 'master'
...
SD card fixes
See merge request !1393
2017-10-17 04:45:24 +08:00
Tuan PM
14fe6e9bbb
merge from master
2017-10-16 14:19:29 +07:00
Ivan Grokhotkov
a5f96b22d1
examples/sdmmc: enable internal pull-ups in SD mode
...
Some development boards do not have sufficient external pull-ups on
SD card pins. Most notably, if high level on GPIO13 is not registered
by the card when GO_IDLE_STATE command is received, the card will enter
SPI mode and further communication will not be possible, until power to
the card is toggled.
This change enables internal pull-ups on SD card pins in an attempt to
make this initialization process more reliable.
2017-10-13 08:21:06 +08:00
Ivan Grokhotkov
4d42b5ea24
console: handle empty input to esp_console_run correctly
...
Fixes https://github.com/espressif/esp-idf/issues/1067
Ref. TW15752
2017-10-13 07:14:53 +08:00
Jiang Jiang Jian
8e47c355fa
Merge branch 'feature/i2s_apll' into 'master'
...
driver/i2s: add support apll clock
See merge request !1115
2017-10-12 19:06:50 +08:00
Jiang Jiang Jian
b78cb018a2
Merge branch 'feature/btdm_ibeacon' into 'master'
...
component/bt: add ibeacon demo
See merge request !1028
2017-10-12 18:11:49 +08:00
Jiang Jiang Jian
276034354e
Merge branch 'feature/btdm_eddystone' into 'master'
...
component/bt: Add eddystone demo
See merge request !1076
2017-10-12 17:56:05 +08:00
Jeroen Domburg
a8131b14b0
Merge branch 'feature/docs_update_uart_api' into 'master'
...
Updated functional overview of UART API documentation
See merge request !1328
2017-10-10 14:06:08 +08:00
Jeroen Domburg
1835c3a213
Merge branch 'feature/docs_update_pcnt_api' into 'master'
...
Extended description of the Pulse Counter API and removed redundant comments from the example
See merge request !1312
2017-10-10 14:06:03 +08:00
Jeroen Domburg
bbbfa64a66
Merge branch 'feature/docs_update_ledc_api' into 'master'
...
Updated example and description of LED PWM Controller API
See merge request !1276
2017-10-10 14:05:57 +08:00
Jiang Jiang Jian
904d6c8f2b
Merge branch 'feature/scan_optimize' into 'master'
...
wifi: scan optimize
See merge request !1334
2017-10-10 13:39:16 +08:00
Deng Xin
d515494d1b
wifi: optimize scan feature
...
1. add the threshold of match AP in fast scan
2. add blacklist feature
3. make sure would wrong if password didn't set
4. add scan example
2017-10-10 12:27:02 +08:00
krzychb
9107b47deb
Updated UART API documentation and examples. Included a fix of #1091 from GitHub
2017-10-10 05:54:36 +02:00
Josh Leverette
880821fe9e
Fix typo in ble_adv example
...
Merges https://github.com/espressif/esp-idf/pull/1049
2017-10-09 14:22:56 +11:00
Angus Gratton
110c71d3f1
Merge branch 'feature/ipv6_socket_options' into 'master'
...
IPV6 multicast socket options
See merge request !964
2017-10-09 09:03:30 +08:00
Tuan PM
9d39881981
i2s: add support apll clock
...
using apll_param to setup APLL
new apll calculation method, much faster
validate freq calculation
Ensure that the i2s frequency is greater than the hardware limit
Add description of how to calculate apll clock, support apll for other 16-bits audio, check rev0 chip
correct space
2017-10-06 15:36:24 +07:00
krzychb
d60722c33d
Updated example and descritpion of LED PWM Controller API
2017-10-06 08:34:27 +02:00
Angus Gratton
2cc8c91ad8
lwip: Remove undocumented CONFIG_MDNS macro flag
...
All options that were enabled via CONFIG_MDNS are now in menuconfig, with
the default values set the same as with CONFIG_MDNS enabled (meaning existing
projects that were using CONFIG_MDNS do not need to change).
2017-10-02 10:50:27 +11:00
Angus Gratton
61d2069e1c
example: Add UDP multicast example
2017-10-02 10:50:27 +11:00
Jeroen Domburg
b6a2bd1184
Revert "esp32: New Task Watchdog API"
...
This reverts commit 616baa239d
.
2017-09-30 18:07:19 +08:00
Jiang Jiang Jian
a3731902f5
Merge branch 'bugfix/btdm_hci_mode_periph_clk' into 'master'
...
fix example of controller_hci_uart peripheral clk init
See merge request !1295
2017-09-30 15:57:10 +08:00
Darian Leung
616baa239d
esp32: New Task Watchdog API
...
Legacy API of task watchdog used the same function esp_task_wdt_feed() to add
and feed a task. This caused issues of implicitly adding a task to the wdt list
if the function was used in shared code.
The new API introduces init, adding, feeding, deleting, deinit functions. Tasks
must now be explicitly added to the task watchdog using their handles. Deletion
must also be explicit using task handles. This resolves the issue of implicit
task additions to the task watchdog due to shared code calling
esp_task_wdt_feed().
Task watchdog is now fully configurable at runtime by calling the init and
deinit functions.
Also added functions to get the handles of idle tasks of the other core. This
helps when adding idle tasks to the watchdog at run time.
Configuring the task watchdog using menu config is still available, however
menu config will only result in calling the init and add functions for idle
tasks shortly after the scheduler starts.
Menu config also allows for using legacy behavior, however the legacy behavior
willcall the new API functions but with slight variations to make them legacy
compatible.
Documentation and example have also been updated
gcov_rtio.c headers updated to prevent error of freertos header files being
included in the wrong order.
Resolves issue TW#13265
2017-09-29 23:10:55 +08:00
Angus Gratton
c65f12bb45
Merge branch 'feature/add_espnow_example' into 'master'
...
Feature/add espnow example
See merge request !1263
2017-09-28 07:43:29 +08:00
krzychb
e69691427c
Extended description of the Pulse Counter API and removed redundant comments from the example
2017-09-26 22:44:46 +02:00
Ivan Grokhotkov
bbab9ecf23
Merge branch 'feature/docs_update_sigmadelta_api' into 'master'
...
Updated sigma delta API documenation and example
See merge request !1319
2017-09-26 16:05:18 +08:00
Liu Zhi Fu
05b0d567e5
example: add iperf example
...
Support iperf
2017-09-26 09:19:01 +08:00
krzychb
b5e4c76bfe
Updated sigma delta API documenation and example
2017-09-25 21:31:09 +02:00
Tian Hao
0d0c9e7172
fix example of controller_hci_uart peripheral clk init
2017-09-25 11:46:03 +08:00
XiaXiaotian
3a1d34a7be
Add an example to show how to use ESPNOW
2017-09-22 15:52:45 +08:00
Ivan Grokhotkov
0a6fdc3a96
Merge branch 'bugfix/btdm_enable_limit' into 'master'
...
BT controller: add function to release unused memory to the heap
See merge request !1248
2017-09-21 17:33:09 +08:00
Tian Hao
3e2ee24e4f
component/bt : support bluetooth controller DRAM release dynamically
...
1. remove CONFIG_BT_DRAM_RELEASE from Kconfig
2. add API to release bluetooth controller DRAM to heap
2017-09-21 14:31:20 +08:00
Deng Xin
ee25caf4b2
WiFi: optimize scan feature
...
1. Add all channel scan feature
2. Add sort matched SSID by authmode feature
2017-09-21 14:28:49 +08:00
Chris Morgan
76db44e8ce
openssl_client, openssl_server example: Fix misspelling of PRIORITY in OPENSSL_EXAMPLE_TASK_PRIORITY
...
Merges https://github.com/espressif/esp-idf/pull/929
2017-09-20 12:09:01 +10:00
Tian Hao
b54719d00f
component/bt : fix bluetooth controller enable limit && release memory when de-initialize bluetooth controller
...
1. fix bluetooth controller enable limit
2. release memory when de-initialize bluetooth controller
3. fix heap_caps_add_region limit
2017-09-19 21:14:28 +08:00
Jiang Jiang Jian
3d7ec475d1
Merge branch 'feature/btdm_cherry_pick_change_gattc_api' into 'master'
...
component/bt: Change all the gattc API && bta gattc layer.
See merge request !1147
2017-09-15 19:39:29 +08:00
xiewenxiang
3fbc4ff353
component/bt:modify for gattc new api ci
2017-09-15 17:53:36 +08:00
wangpan
3760d8e175
example : eddystone demo
...
- Separate Eddystone codes into the following 4 files:
esp_eddystone_protocol.h
esp_eddystone_api.h
esp_eddystone_api.c
edp_eddystone_demo.c
- Just store eddystone information into eddystone result
2017-09-15 11:06:46 +08:00
zhiweijian
31cb284967
Component/bt: modify mtu api in spp client demo
2017-09-14 21:11:10 +08:00
Jiang Jiang Jian
169361b38b
Merge branch 'feature/btdm_ble_spp_server_demo' into 'master'
...
component/bt: add example for ble spp server
See merge request !1042
2017-09-14 17:15:17 +08:00
Jiang Jiang Jian
f90eb1c371
Merge branch 'feature/btdm_ble_spp_client_demo' into 'master'
...
component/bt: add example for ble spp client
See merge request !1043
2017-09-14 17:15:01 +08:00
Wangjialin
2fceec4d85
feature(I2S-ADC): add ADC mode for I2S.
...
1. Support built-in ADC for I2S.
2. Modify code of ADC, made no change to the original APIs.
3. Add APIs in I2S:
esp_err_t i2s_set_adc_mode(adc_unit_t adc_unit, adc1_channel_t adc_channel);
4. Add I2S ADC/DAC example code.
5. add old-fashion definition to make it more compatible
6. replase spi_flash_ APIs with esp_partition_ APIs
7. add example of generating audio table from wav
8. change example sound
2017-09-14 13:24:08 +08:00
Ivan Grokhotkov
b2adaf2a4c
Merge branch 'feature/docs_adc_api_reference' into 'master'
...
More details added to description of ADC API
See merge request !1240
2017-09-14 10:49:12 +08:00
Jiang Jiang Jian
ea7a09c3e4
Merge branch 'bugfix/btdm_sec_config' into 'master'
...
component/bt : fix btc security storage bug
See merge request !1161
2017-09-13 11:46:34 +08:00
Yulong
1759a47060
This is a combination of 4 commits.
...
squash again all the commit.
component/bt: Change all the gattc API && bta gattc layer.
component/bt: Debug the code and change the btc_ble_gattc_get_db method.
component/bt: Change the gatt read API interface.
component/bt: Reconstruction the BTA_gattc_cache code.
component/bt: Change back the bluedroid_get_status to marco.
component/bt: Added the serch service res start_handle & end_handle to the result.
component/bt: Change the gattc docs format.
component/bt: Change the docs format.
component/bt: fix the read char value bug.
component/bt: change the gattc_get_attr_count method.
component/bt: Change back the bta_gattc write ccc code.
component/bt: Change the gattc api docs format
component/bt: Change the gattc API docs.
component/bt: Change the prepare write descriptor method to avoid the exection.
Component/bt: modify gatt clinet demo with new API
component/bt: Change the p_src_data->read.p_value to avoid exection.
compoent/bt: Change the bugfix of gattc unreg for the notify.
Modify gattc security demo
component/bt: Change the log error.
Component/bt: modify gattc_multi_connect demo
componnet/bt: Change the bta_gattc_cache sdp include.
component/bt: Change the start_handle & end_handle not from the service.
component/bt: Change the gattc API docs.
component/bt: Change the return issues.
component/bt: Fixed the include service bug.
component/bt: Modify gattc_multi_connect demo , add scan log
component/bt: Fixed the BTA_GATTC_GetIncludeService start handle & end handle error bug.
component/bt: Fix the invalid handle of the get all char issues.
component/bt: Fix the bug with get_db_size_with_type of the start handle & end_handle not correted issue.
component/bt: Fixed the get secondly service num not correct issue.
component/bt: Fixed the last service handle not correted issue.
2017-09-12 07:36:02 -04:00
Ivan Grokhotkov
b6d82eeceb
Merge branch 'feature/gcov_over_apptrace' into 'master'
...
esp32: Adds gcov over JTAG feature
See merge request !1117
2017-09-12 18:54:26 +08:00
Angus Gratton
d5301bdac6
gatts_demo example: Use add_char_descr.attr_handle everywhere
2017-09-12 10:57:45 +10:00
Siarhei Volkau
1922f6cd80
using param, which corresponds to handled event
...
In the handlers of ESP_GATTS_ADD_CHAR_DESCR_EVT was used incorrect parameter, which corresponding to ESP_GATTS_ADD_CHAR_EVT.
2017-09-12 10:41:43 +10:00
krzychb
31eda99136
More detailed description of ADC API
2017-09-11 21:00:09 +02:00
me-no-dev
dd87deb278
Add SPIFFS Component to IDF
2017-09-11 19:56:40 +03:00
krzychb
4079886704
Added socket receiving timeout, ref. TW#14353 / GitHub issue #844
2017-09-11 05:15:39 +02:00
krzychb
b69379941b
Fixed broken links in documentation
2017-09-07 18:48:15 +02:00
Alexey Gerenkov
891f0db31d
esp32: Adds gcov over JTAG feature
...
Implements function to dump GCOV data to host via JTAG.
The following functionality was added:
- Host file I/O
- GCOV runtime I/O stubs
- GCOV example
2017-09-07 18:13:16 +03:00
island
9e27c24e54
component/bt: add esp_ibeacon_api file
2017-09-07 20:49:11 +08:00
zhiweijian
941001959e
Component/bt: delete the useless .h files
2017-09-07 20:49:11 +08:00
island
2f9111c13f
component/bt: Optimize iBeacon demo
...
- Add endian change for major and minor part
- Change measured power format
- Optimize comments in example
2017-09-07 20:49:11 +08:00
island
eff95f3799
component/bt: add ibeacon demo
2017-09-07 20:49:11 +08:00
Tian Hao
38102f4148
component/bt : fix btc security storage bug
...
1. Remove the bond_device global variable.
2. Fix bond_device add cause memory exception
3. Modify the code location.
4. modify thread security
5. remove esp_ble_clear_bond_device_list() API
6. modify esp_ble_get_gond_device_list() to return list immediately, rather than wait event.
7. modify the gatt_security_server demo to show how to remove all the bonded devices.
8. fix some code bugs may cause something error.
2017-09-07 19:37:49 +08:00
Ivan Grokhotkov
3c470e7c43
Merge branch 'bugfix/rmt' into 'master'
...
RMT 2 fixes: Rename one API and specify wait_time in another API
See merge request !896
2017-09-07 18:03:08 +08:00
Ivan Grokhotkov
0d86db773c
Merge branch 'feature/spi_lcd_autodetect' into 'master'
...
example(spi_master): add menuconfig to enable the auto detect of LCD type.
See merge request !1185
2017-09-07 17:47:00 +08:00
Angus Gratton
c503a01388
mbedtls: Rename net to net_sockets (in line with 2.4.0 API change)
2017-09-07 18:02:39 +10:00
krzychb
672390c458
Mass replacement of http with https urls, fixed broken urls
2017-09-06 08:16:01 +02:00
michael
c9f065fd2b
example(spi_master): add menuconfig to enable the auto detect of LCD type.
2017-09-06 11:41:07 +08:00
Ivan Grokhotkov
70cdb03ffa
Merge branch 'bugfix/openssl_client_example' into 'master'
...
example/openssl_client: Fix http string "printf" error without end character '\0'
See merge request !1201
2017-09-05 11:15:55 +08:00
Dong Heng
d523a5181b
example/openssl_client: Fix http string "printf" error without end character '\0'
2017-09-04 13:29:19 +08:00
zhiweijian
f1c4eda373
Component/bt: add set local MTU API
...
- add esp_ble_gatt_set_local_mtu( ) API
- modify esp_ble_gattc_config_mtu(esp_gatt_if_t gattc_if, uint16_t conn_id)
- modify gattc demo
2017-09-01 21:55:28 +08:00
Jiang Jiang Jian
3a1de7dba3
Merge branch 'bugfix/btdm_fix_connection_parameters_update' into 'master'
...
component/bt: fix connection parameters update
See merge request !1099
2017-09-01 20:15:30 +08:00
Jiang Jiang Jian
73473ad351
Merge branch 'bugfix/btdm_optimize_gatt_security_server_demo' into 'master'
...
component/bt: optimize gatt security server demo
See merge request !1047
2017-09-01 20:13:13 +08:00
Ivan Grokhotkov
d2acf1ce77
sleep: add light sleep, factor out APIs common for deep/light sleep
2017-09-01 10:36:14 +08:00
Angus Gratton
96f9ae3e30
Merge branch 'bugfix/minor_prs_github' into 'master'
...
Minor bugfixes and corrections from github
See merge request !1181
2017-08-31 07:11:30 +08:00
Wangjialin
1c9e821fb4
bugfix(timer group): remove floating-point in timer isr in example.
2017-08-30 23:30:53 +08:00
Chris Morgan
105f9f466e
openssl_server: Rename openssl_client_init() to openssl_server_init() to match usage
...
Merges https://github.com/espressif/esp-idf/pull/928
2017-08-30 17:55:00 +10:00
zhiweijian
1a9b02ccbc
component/bt: fix connection parameters update
...
- update connection parameters timeout due to master update illegal connection parameters
- slave returns error status when slave check the connection parameters
- slave connection parameters update callback get that interval_max is equal to interval_min
2017-08-30 11:29:25 +08:00
xiewenxiang
2b0893d8a8
component/bt: add example for ble spp client
...
- refactory spp client code for modification suggestion.
2017-08-29 22:35:33 +08:00
Darian Leung
88b05f9391
esp_adc_cal: Added ADC calibration component
...
Added component containg API that is able to correct raw ADC readings
into a voltage in mV. Also provided a helper function that combines
the process of getting the raw ADC1 reading then converting it to a
voltage in mV. In doing so, the adc1_get_voltage() function of the ADC
driver has been deprecated. Instead there is now adc1_get_raw to obtain
the raw ADC1 reading, and adc1_to_voltage() that gets the raw reading
and converts all in one function. Functions using the deprecated
adc1_get_voltage() have also been updated to use adc1_get_raw().
Conversion is based on ADC characteristics. The characteristics are based
on the ADC's v_ref, herefore the appropriate structure and functions have
been provided to obtain the ADC characteristics.
The existing ADC driver has also been modified by adding a function to
route the internal ADC reference voltage to a GPIO allowing users to measure
it manually.
Relevant documentation has also been updated
2017-08-29 18:43:14 +08:00
xiewenxiang
e6f0ff7209
component/bt: add example for ble spp server
...
- refactory spp server code for modification suggestion.
2017-08-29 13:44:58 +08:00
zhiweijian
e14509b1ed
Component/bt: optimize gatt security server demo
...
- optimize gatt security server demo
- change the adv public address to a private address
2017-08-25 15:33:35 +08:00
xiewenxiang
b3fa390681
component/bt: add example for ble spp client
...
- this demo needs to work with the spp server demo
2017-08-25 09:52:24 +08:00
Ivan Grokhotkov
e1846df542
Merge branch 'feature/app_trace_to_host_example' into 'master'
...
Example on using application trace and logging to host
See merge request !1082
2017-08-24 14:30:28 +08:00
Wang Jia Lin
f1ecffb46c
Merge branch 'bugfix/touch_pad_driver' into 'master'
...
driver(touch): fix bug and add more features
See merge request !1056
2017-08-23 19:12:39 +08:00
Wangjialin
842caaab21
driver(touch): fix bug and add more features
...
1. add sens_struct.h
2. add definition of RTCCNTL and RTCIO
3. modify touch pad examples
4. update example code.
5. add comments add option in menuconfig
6. fix issue that pad index 8 and 9 are mismatched
7. add touch_pad_read_filtered() api to get value filtered by iir filter
8. modify touch pad isr func
9. Make the items in perihperal.ld in the sequence of address
10. delete Kconfig for touch pad
11. add touchpad filter APIs to adjust the filter
12. add touch_pad into index.rst
13. add touch_pad in Doxyfile
14. add touch_pad.rst
2017-08-22 21:21:39 +08:00
xiewenxiang
46e7570dcd
component/bt: add example for ble spp server
...
- the first characteristic is used to receive data from client.
- the second characteristic is used to notify data to client.
- the third characteristic is used to receive command from client, user
can add code to process the command.
- the fourth characteristic is used to notify status to client.
- the fifth characteristic is used to keep ble connection
2017-08-22 16:56:20 +08:00
Jiang Jiang Jian
642117a37f
Merge branch 'bugfix/btdm_optimize_gatt_server_demo' into 'master'
...
component/bt: optimize gatt server demo
See merge request !1040
2017-08-22 16:30:08 +08:00
zhiweijian
6fa06c4646
Component/bt: optimize gatt server demo
2017-08-22 14:48:01 +08:00
zhiweijian
2e6835e90c
Component/bt: optimize gatt_client demo
2017-08-22 14:40:12 +08:00
Jiang Jiang Jian
43f3c59f81
Merge branch 'feature/btdm_add_multiple_connections_demo' into 'master'
...
component/bt : add gattc multiple connect demo
See merge request !1027
2017-08-22 14:12:33 +08:00
Jiang Jiang Jian
5c3f2bdd00
Merge branch 'feature/btdm_add_gatt_security_client_demo' into 'master'
...
component/bt: add gatt_security_client demo
See merge request !1049
2017-08-22 11:59:42 +08:00
Yulong
202c5783db
component/bt:squash the 2 commits.
...
component/bt: cherry-pick the bugfix/btdm_api_manage_pair_info_#13119 to this branch.
component/bt: Change the ble gap API code format & added the status judgment in the btc_storage_load_bonded_ble_devices function.
2017-08-21 06:17:21 -04:00
Ivan Grokhotkov
10f0543080
console: add support for terminal probing and dumb terminal mode
2017-08-21 15:58:28 +08:00
Ivan Grokhotkov
5de7c91a54
add console component and example
2017-08-21 15:58:27 +08:00
Angus Gratton
f44091e48a
Merge branch 'feature/mbedtls_cipher_config' into 'master'
...
mbedtls: Add compile-time configuration, better default configuration
See merge request !1118
2017-08-21 07:19:24 +08:00
krzychb
78a0523757
Example on use application trace logging to host
2017-08-19 15:44:06 +02:00
Ivan Grokhotkov
bb7d5fc10f
Merge branch 'feature/remove_ethernet_config_option' into 'master'
...
ethernet: remove CONFIG_ETHERNET
See merge request !1116
2017-08-18 18:45:49 +08:00
Angus Gratton
ea171a651c
https example: Use correct pattern around mbedtls_ssl_write()
...
mbedtls_ssl_write() will always write the request here in one go,
but it's good to have correct patterns in examples.
2017-08-18 17:15:11 +10:00
Angus Gratton
f4404ae220
https example: Clean up output, print cipher suite & request count
2017-08-18 17:15:11 +10:00
Kedar Sovani
8348a71847
ethernet: remove CONFIG_ETHERNET
...
1. Hello World application shows no footprint difference before and
after this change
2. examples/ethernet/ethernet application compiles properly (can't
test with my board)
2017-08-18 08:31:43 +05:30
michael
f6495d618f
example(spi_master): add menuconfig options allowing users to choose which type of LCD is used.
...
also some modification in the example file, replacing "ili_*" to "lcd_*".
2017-08-18 10:26:07 +08:00
Ivan Grokhotkov
8a7bc34b78
Merge branch 'feature/remove_wifi_config_option' into 'master'
...
Remove wifi config option
Remove Wi-Fi enable/disable option from Kconfig. This can be detected by the presence of esp_wifi_init() function in the application. Minimum footprint impact after the change.
See merge request !1098
2017-08-16 18:43:56 +08:00
Kedar Sovani
63c738de4c
sdkconfig: Remove rest of the references to WIFI_ENABLED
2017-08-16 15:55:42 +05:30
Nilay Sheth
0eb59844bb
bugfix(driver): fix RMT issues from github
...
1. Rename api from rmt_get_ringbuf_handler to rmt_get_ringbuf_handle (Github Issue #274 )
2. doxygen param rename
3. change API rmt_wait_tx_done to specify maximum waiting time
4.Change return type of rmt_wait_tx_done API from bool to esp_err_t
5. update doc
2017-08-15 17:23:51 +08:00
Angus Gratton
5eef5e7a5d
bootloader: Fallback if OTA data is invalid
...
Make bootloader more robust if either OTA data or some OTA app slots are corrupt.
2017-08-15 09:42:19 +10:00
zhangyanjiao
e782928b50
example: optimize the robust of TCP connect
2017-08-10 18:19:50 +08:00
Deng Xin
57bc38d867
Add the fast crypto function in supplicant
...
optimize the speed when do wifi connect
2017-08-09 21:36:13 +08:00
zhiweijian
d03ad1ad73
t # This is a combination of 2 commits.
...
Component/bt : add gattc multiple connect demo
2017-08-08 20:15:38 +08:00
zhiweijian
a7f8ac5ad6
Component/bt: add gatt_security_client demo
...
- connect gatt_security_server demo with paring and bonding
- connet other ble devices that needs to be encrypted
2017-08-04 16:26:17 +08:00
Ivan Grokhotkov
002f38fa8f
Merge branch 'feature/sdspi_driver' into 'master'
...
SD SPI mode driver
This MR adds functionality to support SD cards connected via SPI interface.
Additionally, two bugs are fixed:
- Definition of `SPI_TRANS_MODE_DIOQIO_ADDR` in spi_master driver
- SD card probing frequency was 4000kHz instead of 400kHz as required by the standard
See merge request !727
2017-07-26 13:51:37 +08:00
Jiang Jiang Jian
7b44d3c083
Merge branch 'bugfix/btdm_blufi_aes_cfb128' into 'master'
...
component/bt : comment out set_key_dec for res cfb128(software crypt)
See merge request !971
2017-07-24 14:08:11 +08:00
Ivan Grokhotkov
0e54caabe3
examples: add missing nvs_flash.h include
2017-07-20 17:20:49 +08:00
Ivan Grokhotkov
292c2abd3b
Merge branch 'bugfix/init_nvs_in_bluetooth' into 'master'
...
bt: call nvs_flash_init in examples, show error if NVS is not initialized
See merge request !1003
2017-07-20 14:25:49 +08:00
Dmitry Yakovlev
e5bb45f381
driver: SD protocol driver for SPI peripheral
2017-07-20 13:43:07 +08:00
krzychb
c0cd79c9a9
Changed adc GPIO pin 32, that is not broken out on header in ESP-WROVER-KIT, to 34
2017-07-18 21:11:22 +02:00
Ivan Grokhotkov
979fce0df5
bt: call nvs_flash_init in examples, show error if NVS is not initialized
...
NVS is used to store PHY calibration data, WiFi configuration, and BT
configuration. Previously BT examples did not call nvs_flash_init,
relying on the fact that it is called during PHY init. However PHY init
did not handle possible NVS initialization errors.
This change moves PHY init procedure into the application, and adds
diagnostic messages to BT config management routines if NVS is not
initialized.
2017-07-17 21:29:50 +08:00
Tian Hao
f01c6eb96c
component/bt : comment out set_key_dec for res cfb128(software crypt)
2017-07-10 14:29:29 +08:00
Anton Maklakov
3d1d4fe150
build: Fix the warnings that break the tests
...
unused variable 'lfn'
'isr_handler' defined but not used
'servo_set_angle' defined but not used
'gpio_test_signal' defined but not used
'change_duty' defined but not used
2017-07-07 11:03:25 +08:00
Jiang Jiang Jian
2aad52300a
Merge branch 'bugfix/update_wpa2_certificate' into 'master'
...
update expiration date of wpa2 enterprise certificates to 2027/06/05.
See merge request !830
2017-07-03 15:35:36 +08:00
Angus Gratton
3fe0022efa
stack sizes: Revert stack size increases added in 8d43859
...
Set min stack size to 2048 if AppTrace support is enabled, 512 bytes otherwise.
2017-06-29 14:57:13 +10:00
Ivan Grokhotkov
9b955f4c9f
Merge branch 'feature/sysview_via_apptrace' into 'master'
...
sysview via apptrace
See merge request !708
2017-06-29 08:40:13 +08:00
Alexey Gerenkov
8d43859b6a
esp32: SEGGER SystemView Tracing Support
...
Implements support for system level traces compatible with SEGGER
SystemView tool on top of ESP32 application tracing module.
That kind of traces can help to analyse program's behaviour.
SystemView can show timeline of tasks/ISRs execution, context switches,
statistics related to the CPUs' load distribution etc.
Also this commit adds useful feature to ESP32 application tracing module:
- Trace data buffering is implemented to handle temporary peaks of events load
2017-06-27 20:52:43 +03:00
Jiang Jiang Jian
3dd2861e2a
Merge branch 'bugfix/btdm_ble_update_conn_params_issues' into 'master'
...
component/bt: Modifed the update connection method to fixed the bug of connectio…
See merge request !889
2017-06-22 20:50:37 +08:00
zhiweijian
eec989f026
Component /bt: modify some log infor
2017-06-21 10:54:51 +08:00
Yulong
01705166bc
component/bt: Modifed the update connection method to fixed the bug of connection parameters not correct.
2017-06-19 03:22:25 -04:00
Jiang Jiang Jian
f114ef4a6a
Merge branch 'bugfix/btdm_hci_example' into 'master'
...
component/bt : fix controller_hci_uart sdkconfig.defaults
See merge request !876
2017-06-15 15:38:21 +08:00
Jiang Jiang Jian
ac5040a7c2
Merge branch 'bugfix/btdm_ll_get_remote_feature' into 'master'
...
component/bt: Fix can't get remote's feature bug
See merge request !871
2017-06-15 15:10:52 +08:00
Tian Hao
643a79c527
component/bt : fix controller_hci_uart sdkconfig.defaults
2017-06-15 14:23:08 +08:00
Tian Hao
7cf5eea36f
component/bt : fix blufi second init fail bug
2017-06-15 11:05:21 +08:00
island
e2e5f4caae
component/bt: Fix can't get remote's feature bug
...
- Slave send version_ind cause some Android 7.0 devices can't encrypt correctly
2017-06-14 21:56:59 +08:00
Jiang Jiang Jian
ae7269d39d
Merge branch 'bugfix/btdm_smp_auth_complete_error' into 'master'
...
component/bt: Change the btc layer data copy method.
See merge request !844
2017-06-14 15:16:38 +08:00
Jiang Jiang Jian
6b3a559ee7
Merge branch 'bugfix/btdm_master_write_service_change_ccc' into 'master'
...
component/bt: Fix slave initiate service change ccc discovery procedure bug
See merge request !847
2017-06-14 15:12:45 +08:00
island
c5debed621
component/bt: Fix bug while writing slave's service change characteristic
...
- Fix slave initiate service discovery procedure
- Fix master re-discovery every time connection established
- Optimize service discovery char ccc write procedure
- Optimize esp_log_buffer function
- Modify default supervision timeout from 20s to 2s
2017-06-14 13:12:38 +08:00
Ivan Grokhotkov
af1bec4625
Merge branch 'bugfix/ulp_fixes' into 'master'
...
Minor fixes for ULP
See merge request !800
2017-06-14 09:12:55 +08:00
Yulong
4734ba40b0
component/bt: Change the btc layer data copy method.
2017-06-09 04:32:01 -04:00
Yulong
e5adfb8119
component/bt: correct the security demo pair status code.
2017-06-09 02:37:28 -04:00
XiaXiaotian
176107f845
update expiration date of wpa2 enterprise certificates to 2027/06/05.
2017-06-07 16:30:39 +08:00
Jiang Jiang Jian
b78242da58
Merge branch 'bugfix/btdm_rebase_update_param_#9626' into 'master'
...
component/bt: rebase the btdm_updata_param_bug_#9626 to the new master.
See merge request !808
2017-06-06 20:55:23 +08:00
Yulong
e6acc32df6
component/bt: rebase the btdm_updata_param_bug_#9626 to the new master.
...
- Added the error code for the time out status.
2017-06-06 05:51:31 -04:00
Jiang Jiang Jian
1eaf88262d
Merge branch 'bugfix/btdm_add_open_and_close_event_for_gatts' into 'master'
...
component/bt: add open and close event for gatts
See merge request !786
2017-06-02 13:53:03 +08:00
Jiang Jiang Jian
77a53e528a
Merge branch 'example/smartconfig' into 'master'
...
feat: add smartconfig example
See merge request !716
2017-06-02 13:11:12 +08:00
zhiweijian
f5a59f4f78
component/bt: add open and close event for gatts
...
1.added open event and close event for gatts.
2.used esp_log_buffer_char/hex for gattc scan result.
2017-06-01 15:01:54 +08:00
jack
fc130fba86
fix bug that files missing commit in MR 773
2017-05-31 19:37:39 +08:00
Ivan Grokhotkov
7abd9bc023
ULP: remove deprecated cycle_sel field from ADC instruction
...
Cycle_sel field was never used in binutils and was always set to zero.
This change removes it from documentation and examples.
Needs ULP binutils with this change:
https://github.com/espressif/binutils-esp32ulp/commit/af79434
2017-05-31 18:22:48 +08:00
fuzhibo
d1fb51afd2
feat: add smartconfig example
2017-05-31 15:32:15 +08:00
Angus Gratton
d718cbd873
Merge branch 'bugfix/deep_sleep_example_stub_delay' into 'master'
...
sdkconfig: set CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 by default
See merge request !758
2017-05-29 12:11:56 +08:00
Ivan Grokhotkov
3c583a7655
sdkconfig: set CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 by default
...
To increase the chances that the examples work out of the box, this
change is raising the default deep sleep wakeup delay to 1ms.
If GPIO15 is low at startup, ROM code takes less time to execute
(because no logging is performed), so more time may be needed to allow
flash chip to become ready.
2017-05-25 10:51:39 +08:00