yuanjm
444f81983e
provisioning: update README.md
2021-03-09 11:41:33 +00:00
mjcross
b3e384272a
provisioning: Update README.md to explain QR code format
...
Add examples of how to create a QR code that will be recognised by the iOS or Android app
Signed-off-by: yuanjm <yuanjianmin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6629
2021-03-09 11:41:33 +00:00
Mahavir Jain
f5f25d2b53
Merge branch 'bugfix/ota_docs_openssl_windows' into 'master'
...
examples: Document OTA examples with openssl on windows tips/issues
See merge request espressif/esp-idf!12372
2021-03-09 08:21:38 +00:00
yuanjm
a1d5cfc260
example: Identify the callback whether is hanshake or frame-receive by req->method
...
Now the uri handler gets called immediately after the handshake. In the handler we can identify that this was the handshake by checking req->method as it is still a GET from the first part of the handshake the client has sent. On a normal websocket-frame-receive (when normally a websocket uriHandler gets called) this field is set to 0
Closes https://github.com/espressif/esp-idf/issues/6597
2021-03-09 07:32:15 +00:00
Mahavir Jain
907ea44ee9
Merge branch 'feature/http_server_optimizations' into 'master'
...
esp_http_server optimisations
Closes IDFGH-4484 and IDFGH-4741
See merge request espressif/esp-idf!12240
2021-03-08 09:01:20 +00:00
Island
ddea60c5ad
Merge branch 'bugfix/kconfig_rename' into 'master'
...
Bugfix/kconfig rename
See merge request espressif/esp-idf!12588
2021-03-08 08:53:30 +00:00
Michael (XIAO Xufeng)
a3f5cf2c71
Merge branch 'bugfix/touch_element_callback_para' into 'master'
...
touch_element: fix event callback parameter type, change it into pointer
See merge request espressif/esp-idf!12600
2021-03-05 02:28:04 +00:00
David Cermak
7a020ea16f
examples: Document OTA examples with openssl on windows tips/issues
2021-03-04 08:05:25 +01:00
David Cermak
79d596bcdc
docs/ota: Allow example_test.py to run a custom https-server
2021-03-04 08:05:16 +01:00
mjcross
03901946ba
Explain how to fix 'httpd_parse: header too long'
...
Because this is the 'simple' server example, it is probably where users will start out to understand the HTTP Server API; and also where they might come if they are having problems.
So I think it is useful to explain to users what to do if they see "httpd_parse: parse_block: request URI/header too long", which can easily happen if they submit a POST from an HTML form (for example). That certainly would have helped me!
Merges https://github.com/espressif/esp-idf/pull/6547
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-04 04:08:47 +00:00
Kang Zuo Ling
022bf82e01
touch_element: fix event callback parameter type, change it into pointer
2021-03-03 15:53:12 +08:00
Shubham Kulkarni
fb0beefefb
advanced_https_ota: Add example_test for partial HTTP download
2021-03-02 16:48:18 +05:30
Chinmay Chhajed
3fa1f5d4d6
Renamed Kconfig to Kconfig.projbuild in some examples.
2021-03-02 16:00:59 +05:30
David Čermák
138ab8a3af
Merge branch 'feature/refactor_pppos_modem' into 'master'
...
pppos-client: Refactor modem component
Closes IDFGH-4671
See merge request espressif/esp-idf!12313
2021-03-02 07:26:40 +00:00
Liu Han
b3a35e3d4e
pppos-client: Refactor modem component
...
Merges https://github.com/espressif/esp-idf/pull/6483
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
42aaefe218
Remove duplicated empty lines
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
3968660b2a
Move DCE_CHECK in the esp_modem_dce
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
de239f151f
Edit comments with protocol foreach methods
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
a77e9a8ab9
Move typedef with private resource into esp_modem_dce.h
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
ea1df995f8
Move commun methods in DCE and align few methods
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Hassan DRAGA
b2eb199502
Update native_ota_example.c
...
* assert(update_partition) should be before trying to use update_partition in ESP_LOGI().
* if we show detailed description about the error ESP_ERR_OTA_VALIDATE_FAILED, why show it again using esp_err_to_name() ?
Merges https://github.com/espressif/esp-idf/pull/6623
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-01 14:00:27 +00:00
Kang Zuoling
cd8e874c8d
touch_element: add touch element lib example
2021-02-28 17:33:50 +08:00
David Cermak
3748b4ac57
esp_modem: Add specific power-down command for SIM7600
2021-02-26 17:16:28 +01:00
David Čermák
00432fa2c3
Merge branch 'feature/update_mqtt_test_url' into 'master'
...
Feature/update mqtt test url
See merge request espressif/esp-idf!12473
2021-02-26 16:09:38 +00:00
Michael (XIAO Xufeng)
60dfb09122
Merge branch 'bugfix/freemodbus_fix_zero_based_reg_address_in_iterator' into 'master'
...
freemodbus: fix mb zero based reg address
See merge request espressif/esp-idf!12422
2021-02-26 08:13:59 +00:00
Renz Bagaporo
e5b3824f61
ci: add example test for ulp_riscv example
2021-02-26 13:34:09 +08:00
Cao Sen Miao
a8343bc470
esp_system: support gpio wakeup from deep sleep on esp32c3
2021-02-26 12:26:49 +08:00
aleks
0d3f19beea
freemodbus: fix mb zero based reg address in the iterator
...
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-02-25 15:17:45 +01:00
Michael (XIAO Xufeng)
fcad110dc8
Merge branch 'bugfix/flash_fatfs_example' into 'master'
...
spi_flash: bugfix for external flash fatfs example
Closes IDFCI-464
See merge request espressif/esp-idf!12468
2021-02-25 07:55:40 +00:00
Mahavir Jain
5db150b48a
Merge branch 'feature/add_qrcode_in_provisioning_example' into 'master'
...
examples: Add QR code support for provisioning examples
Closes IDF-2030
See merge request espressif/esp-idf!12409
2021-02-25 00:41:01 +00:00
David Čermák
a91e2744d5
Merge branch 'feature/support_dynamic_payload_len_for_ws_server' into 'master'
...
esp_http_server: support dynamic payload len for ws server
Closes IDFGH-4619
See merge request espressif/esp-idf!12235
2021-02-24 15:41:42 +00:00
Island
f283b7087d
Merge branch 'feature/support_esp32c3_aligenie_demo' into 'master'
...
ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3
See merge request espressif/esp-idf!12260
2021-02-24 12:08:08 +00:00
Yuan Ming Fu
a2dc356e2c
ble_mesh: aligenie_demo: Add sdkconfig.defaults for esp32c3
2021-02-24 20:08:04 +08:00
yuanjm
cd521d4ae3
esp_http_server: support dynamic payload len for ws server
...
Closes https://github.com/espressif/esp-idf/issues/6433
2021-02-24 11:40:34 +00:00
David Čermák
5f0aa46cbf
Merge branch 'feature/seperate_ipv6_function_from_ipv4' into 'master'
...
Add LWIP_IPV6 macro to strip IPv6 function
See merge request espressif/esp-idf!11977
2021-02-24 11:20:53 +00:00
yuanjm
3c4bfdbf48
examples: Add QR code support for provisioning examples
2021-02-24 17:23:25 +08:00
Michael (XIAO Xufeng)
db1c635db4
Merge branch 'feature/esp32c3_rtc_temp_calibration' into 'master'
...
temperature_sensor: calibration for esp32c3
Closes IDF-2502
See merge request espressif/esp-idf!12158
2021-02-24 03:27:49 +00:00
Cao Sen Miao
3e0a765cfd
spi_flash: fix the issue of ext_flash_fatfs_example
2021-02-24 11:13:43 +08:00
yuanjm
f8d27ebd76
examples: Make tcp_server example support tcp keepalive function
2021-02-23 18:26:03 +08:00
yuanjm
b06a588263
examples: Use CONFIG_LWIP_IPV6 to strip tcp_server example
2021-02-23 18:26:03 +08:00
yuanjm
821eea45b3
examples: Strip IPv6 function in example and use sockaddr_storage to replace sockaddr_in6
2021-02-23 18:26:03 +08:00
yuanjm
ca037eba9b
examples: Update mqtt open source test server address
2021-02-23 15:29:07 +08:00
yuanjm
3ff3ea8f88
examples: Add Kconfig for resetting provisioning config
2021-02-23 14:21:11 +08:00
Cao Sen Miao
85855ad8a6
temp_sensor: add calibration for esp32c3
2021-02-23 10:48:17 +08:00
morris
0f5d1c1c46
rtc: supported disable rom log temporarily
2021-02-22 20:56:43 +08:00
Fu Hanxi
fc7b962e54
bugfix: fix http_server example sdkconfig file name
2021-02-22 15:50:52 +08:00
Michael (XIAO Xufeng)
f5f6c59e63
Merge branch 'feature/apply_gdma_new_channel_api_to_adc' into 'master'
...
adc: apply gdma new channel api to adc
Closes IDF-2500
See merge request espressif/esp-idf!12008
2021-02-19 13:07:32 +00:00
David Cermak
41146d674f
ci: Update pppos client test regex with esp-tls transport layer
2021-02-16 09:01:35 +01:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01:00
Angus Gratton
5b5431a5f0
Merge branch 'feature/new_blink_example' into 'master'
...
new blink example
See merge request espressif/esp-idf!12238
2021-02-15 22:47:47 +00:00
pedro.minatel
cccdb3e4aa
Get started example update for addressable LED compatibility.
...
Added the RMT/addr LED blink to the example and more detailed README.md
Moved component/led_strip to common_components
Added missing README file to common_components/led_strip
README file update
Makefile and Kconfig fixed for led_strip component
Fixing end-of-line on main/blink.c
Component updated to handle multiple instances
Added note on the RMT channel number (ESP32 and ESP32-S2)
Removed components folder from rmt/led_strip example and README updated
Changed the led_strip_denit function and added ESP32-C3 RMT info on channel configuration
Updates on README, Kconfig default settings and configure_led() function added
2021-02-15 12:34:55 +00:00
yuanjm
850053caad
provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash
...
Closes https://github.com/espressif/esp-idf/issues/6240
2021-02-15 05:08:22 +00:00
Euripedes Rocha Filho
b5682610b6
examples/mqtt: Cleanup on examples
...
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
and add documentation on usage of handler_args.
2021-02-11 07:29:29 +01:00
Liu Han
94512a76b7
example/http_server: add basic authenticated example to HTTP server
...
Closes https://github.com/espressif/esp-idf/issues/5646
2021-02-10 05:23:01 +00:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
Armando
5427c18781
adc: apply gdma api to adc on esp32c3
2021-02-08 11:41:21 +08:00
wangmengyang
2dd730d35c
component/bt: [esp32c3] modify Bluetooth coexistence options
2021-02-05 09:16:29 +00:00
David Čermák
a2005adf32
Merge branch 'bugfix/disable_software_flow_control_with_small_buffers' into 'master'
...
esp_eth: added option to disable soft flow control when rx buffer is few
Closes WIFI-3362
See merge request espressif/esp-idf!12186
2021-02-04 20:36:04 +08:00
Island
aaa032b532
Merge branch 'bugfix/ble_mesh_example_c3_sdkconfig' into 'master'
...
ble_mesh: example: Add sdkconfig.defaults for esp32c3
See merge request espressif/esp-idf!12222
2021-02-04 20:13:37 +08:00
Jiang Jiang Jian
c172438e42
Merge branch 'bugfix/fix_iperf_example_exception_handling_for_no_ap_found' into 'master'
...
add exception handling for iperf example's scan when no ap was found
Closes WIFI-3229
See merge request espressif/esp-idf!11750
2021-02-04 19:36:41 +08:00
Jiang Jiang Jian
c1aacb2efc
Merge branch 'bugfix/btdm_add_ble_connection_params_check' into 'master'
...
Bugfix/btdm add ble connection params check
See merge request espressif/esp-idf!12193
2021-02-04 17:32:42 +08:00
lly
3f8a7cc125
ble_mesh: example: Add sdkconfig.defaults for esp32c3
2021-02-04 09:20:18 +00:00
dongyou
543664f247
add exception handling for iperf example's scan when no ap was found
2021-02-04 08:40:10 +00:00
Jiang Jiang Jian
46b3cde07b
Merge branch 'bugfix/fix_espnow_example_issue' into 'master'
...
espnow example: Fix the issue of restart in espnow blocking system
See merge request espressif/esp-idf!12084
2021-02-04 16:22:02 +08:00
Ivan Grokhotkov
1678f142fa
Merge branch 'bugfix/fix_partition_find_example_on_find_null_partition' into 'master'
...
example/storage: fix find_partition function when no partition is found
See merge request espressif/esp-idf!12144
2021-02-03 23:00:16 +08:00
David Cermak
c6339d0b4c
ci: Make the mqtt example test to send only portion of the partition
...
This makes the test faster and more robust in very a busy WiFi environment
(our CI) and still exercises the scenario of fragmenting the message on
both mqtt and ssl levels (binary size to send > mqtt buffer size)
2021-02-02 14:25:57 +01:00
Pedro Minatel
42b85a82ae
Apply 1 suggestion(s) to 1 file(s)
2021-02-01 08:35:25 +00:00
pedro.minatel
5c1d19ad02
example/storage: fix find_partition function when no partition is found
2021-02-01 08:35:25 +00:00
morris
932c509280
ethernet: not using test MAC address for EMAC example
2021-02-01 14:14:54 +08:00
Mahavir Jain
d34acd0d82
examples/protocols: update www.howsmyssl.com certificate to fix test failures
2021-01-29 19:06:24 +05:30
zwj
ee53342786
fix throughput example build error
2021-01-29 15:29:18 +08:00
ChenJianxing
243417c48c
temporarily disable hardware encryption for esp32s3
2021-01-28 21:05:51 +08:00
Jiang Jiang Jian
9eae54f3be
Merge branch 'bugfix/fix_a2dp_sink_crash_due_to_ble5.0_code' into 'master'
...
fix a2dp sink crash due to ble 5.0 code
Closes BT-1358, BT-1354, and BT-1356
See merge request espressif/esp-idf!12170
2021-01-28 19:41:54 +08:00
zwj
83f8272645
enable coex config in C3 and S3 default sdkconfig
2021-01-28 17:59:59 +08:00
Alex Lisitsyn
96b77a28b1
freemodbus: add support for list of area descriptors for each register area
...
add multi register area descriptors into concrete port (initial)
add create/destroy of area descriptors into concrete port
add the list of descriptors in common slave interface structure and init/destroy in concrete slave port
move r/w callback functions into common slave
final update of common slave interface wrappers add override API option in concrete port
update slave examples to check new feature
2021-01-28 12:29:32 +08:00
Michael (XIAO Xufeng)
9ff04b2e79
Merge branch 'feature/musical_buzzer' into 'master'
...
RMT example: musical buzzer
See merge request espressif/esp-idf!10346
2021-01-28 01:04:24 +08:00
Jiang Jiang Jian
20b20eef72
Merge branch 'feature/ftm_support' into 'master'
...
Add FTM support for ESP32-S2 & ESP32-C3
Closes IDFGH-3034 and WIFI-3293
See merge request espressif/esp-idf!10441
2021-01-28 00:28:10 +08:00
Nachiket Kukade
8de3b31d2d
FTM support for ESP32-C3 and connectionless mode
...
1. Support for FTM to work without any connection
1. Support for ESP32-C3 chip
3. Fix error case handling if FTM fails
4. Fix asynchronization, re-transmission related issues
2021-01-27 20:49:07 +05:30
Jiang Jiang Jian
67f78569a2
Merge branch 'component_bt/update_bt_demo_and_api_comment' into 'master'
...
component_bt/doc&demo: update bt demo and api comment
See merge request espressif/esp-idf!10461
2021-01-27 21:25:11 +08:00
zwj
b937485ad1
add ble examples default sdkconfig for esp32s3
2021-01-27 15:57:20 +08:00
Angus Gratton
526f9507de
Merge branch 'bugfix/linux_host_build_clang' into 'master'
...
build system: don't add GCC-specific options when building with clang
See merge request espressif/esp-idf!12066
2021-01-27 15:17:19 +08:00
weitianhua
c347b0a937
Update bt_discovery demo and README
...
1. Use bt_app_gap_init function
2. Add Security Simple Pair doc
3. Update README
Update SPP demo
1. Add input module for bt_spp_initiator demo to show the security simple pair features
2. Update README of bt_spp_acceptor and bt_spp_initiator demo.
Format comment in esp_a2dp_api.h
Format comment in esp_avrc_api.h
Format comment in esp_spp_api.h
Fix bt_discovery build err
Update HFP API guide error
Remove BTA_AV_DEBUG
Remove Trailing Whitespace & End of Files
2021-01-27 14:17:12 +08:00
Nachiket Kukade
a71976ab54
wifi/ftm: Stability fixes, raw FTM data in event
...
Update wifi lib with below additions -
1. Add FTM frame formation, IEEE definitions, event and IOCTL.
2. Implementation of FTM bursts, Measurements and RTT calculations
3. Fix Watchdog timeout, crashes with better cleanup of timers
4. Included FTM Report raw data in FTM event
Closes https://github.com/espressif/esp-idf/issues/5059
2021-01-27 11:16:35 +05:30
Nachiket Kukade
acb1143409
Add support for FTM operation
...
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
Angus Gratton
f7a8593a3b
Merge branch 'style/python_isort_double_quote_fixer' into 'master'
...
style: format python files with isort and double-quote-string-fixer
See merge request espressif/esp-idf!12149
2021-01-27 12:25:39 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Angus Gratton
241af87c58
examples console: Fix parts of the code related to deep sleep on ESP32-C3
...
Example not yet working on ESP32-C3, crashes in _findenv_r
2021-01-25 17:20:04 +00:00
Angus Gratton
1cfd65f8c4
examples: Update deep sleep example for ESP32-C3
2021-01-25 17:20:04 +00:00
Jiang Jiang Jian
dc8402ea61
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp' into 'master'
...
feature/ Add A2DP Init and Deinit Complete Evt
See merge request espressif/esp-idf!11458
2021-01-25 23:23:12 +08:00
weitianhua
bfad85a372
Add init & deinit event for a2dp
2021-01-25 16:30:09 +08:00
Nachiket Kukade
76b2cb28d2
Add DPP Enrollee example
...
1. Add Example for DPP Enrollee
2. Use DPP Supplicant API's to setup connection
3. Add support for multiple channels in Bootstrapping
4. Add Unity testcase for testing Offchannel operations
Closes https://github.com/espressif/esp-idf/issues/5654
2021-01-25 13:26:33 +05:30
Nachiket Kukade
1a85d64da8
Add QR Code display support
...
Add a component to support QR Code display required for
different types of provisioning.
2021-01-25 13:24:21 +05:30
Armando
f9ec7ddda3
adc: add comment for ADC sampling frequency
2021-01-25 04:51:40 +00:00
Armando
d8a4b247b9
adc_digi: update_adc_api_for_5M_freq_limit
...
The ``adc_digi_config_t`` struct is modified on esp32c3: configuration
of clock divider factors are not provided anymore. The SARADC sampling
frequency is provided instead. In this way, we can handle the frequency
limit better.
2021-01-25 04:51:40 +00:00
Armando
02600309c8
adc: fix some regression issues
2021-01-25 04:51:40 +00:00
Armando
2b737c1927
adc: fix adc invalid data issue by update adc_reset
2021-01-25 04:51:40 +00:00
Armando
4793bb3267
adc: update adc_dma example README.md
2021-01-25 04:51:40 +00:00
Marius Vikhammer
3fd37d0b59
adc: change the way data is formattted in adc_dma_demo
...
The way the adc_dma_demo data was formatted caused it go get parsed as markdown syntax.
Changed it be more "human" readable as well as put all ADC examples in a common folder
2021-01-25 04:51:40 +00:00
Michael (XIAO Xufeng)
d7d1dee208
system: reset dma when soft reset
2021-01-25 04:51:40 +00:00
Armando
b38f4646de
adc_digi: add dma drivers
2021-01-25 04:51:40 +00:00
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
Ivan Grokhotkov
ed7fbfefac
build system: don't add GCC-specific options when building with clang
2021-01-24 12:48:29 +01:00
Ivan Grokhotkov
cd427c1712
Merge branch 'bugfix/blink_tabs' into 'master'
...
examples/blink: convert tabs to spaces
See merge request espressif/esp-idf!12065
2021-01-22 19:53:50 +08:00
David Čermák
a461f8f115
Merge branch 'bugfix/ws_transport_ping' into 'master'
...
ws_transport: Add option to propagate control packets to the app
Closes IDFGH-4478
See merge request espressif/esp-idf!11957
2021-01-22 19:21:43 +08:00
Mahavir Jain
f5e51e7c1b
Merge branch 'feature/esp32c3_ds_mbedtls_integration' into 'master'
...
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
Closes IDF-2267
See merge request espressif/esp-idf!12033
2021-01-22 17:06:46 +08:00
David Cermak
acc7bd2ca4
ws_transport: Add option to propagate control packets to the app
...
Client could choose if they want to receive control packets and handle
them.
* If disabled (default) the transport itself tries to handle PING
and CLOSE frames automatically during read operation. If handled
correctly, read outputs 0 indicating no (actual app) data received.
* if enabled, all control frames are passed to the application to be
processed there.
Closes https://github.com/espressif/esp-idf/issues/6307
2021-01-22 07:22:41 +00:00
yuanjm
7e17f64a2d
Make OTA example support keepalive
2021-01-22 06:56:28 +00:00
Aditya Patwardhan
7c11988d19
configure_ds.py: Fix double quoted strings ( pre_hook check )
2021-01-22 12:11:04 +05:30
Aditya Patwardhan
79c23a1886
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
2021-01-22 11:54:16 +05:30
Jiang Jiang Jian
9c5a9ae8fd
Merge branch 'bugfix/support_esp32c3_lightsleep_master_cpu_pd_issue' into 'master'
...
fix cpu pd bug of normal light sleep
See merge request espressif/esp-idf!12083
2021-01-22 14:03:10 +08:00
Angus Gratton
a7da0c894b
Merge branch 'feature/c3_master_flash_enc_support' into 'master'
...
flash encryption: merge C3 flash encryption changes to master
See merge request espressif/esp-idf!12040
2021-01-22 12:58:38 +08:00
Mahavir Jain
67c7b6f130
Merge branch 'feature/nvs_encryption_usability_improvements' into 'master'
...
Feature/nvs encryption usability improvements
See merge request espressif/esp-idf!10155
2021-01-22 12:12:26 +08:00
xiehang
d331d7f2a6
example: Fix espnow stuck issue
2021-01-21 11:37:10 +08:00
Aditya Patwardhan
b06fa1d7c2
https_request_example: Updated the example to showcase cacert_buf and global_ca store
...
* Made required changes in the example_test
2021-01-21 01:17:23 +00:00
Jiang Jiang Jian
f7c9f1afd7
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle' into 'master'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd
Closes BT-711
See merge request espressif/esp-idf!11807
2021-01-20 23:39:57 +08:00
Jiang Jiang Jian
ffa29f8098
Merge branch 'feature/hfp_console' into 'master'
...
Feature/modify hfp console style by using esp console
Closes BT-1052
See merge request espressif/esp-idf!10973
2021-01-20 23:39:45 +08:00
Li Shuai
eaa6ab4dab
light sleep: add system light sleep example support
2021-01-20 22:17:24 +08:00
Aditya Patwardhan
a02be97fda
nvs_flash: Modify the default NVS initialization API with internal nvs encryption
...
handling (only when nvs encryption is enabled)
* NVS Encryption will now be turned on by default with flash encryption
* Updated the flash encryption example to shocase NVS encryption
along with information on how to configure and use NVS encryption
* Updated respective test case
* Added two partition tables for NVS encryption
i) Table 1- Single factory app, no OTA, encrypted NVS
ii) Table 2- Factory app, Two OTA, encrypted NVS
2021-01-20 11:12:14 +00:00
Jiang Jiang Jian
d017c21131
Merge branch 'nimble/support_wl_DLE_esp32c3' into 'master'
...
NimBLE: Support whtelist remove, packet length set APIs
Closes BT-1271 and BT-1242
See merge request espressif/esp-idf!12069
2021-01-20 17:17:34 +08:00
Jiang Jiang Jian
26ae354dc5
Merge branch 'feature/support_esp32c3_lightsleep_master' into 'master'
...
support esp32c3 lightsleep for master
Closes IDF-2106
See merge request espressif/esp-idf!11975
2021-01-20 16:00:06 +08:00
Prasad Alatkar
3a184b18f2
wifi_prov_mgr: Make BLE transport option visible in example config except for S2
2021-01-20 12:24:17 +05:30
Jiang Jiang Jian
53e1a7f661
Merge branch 'nimble_esp32c3_support' into 'master'
...
ESP32C3 NimBLE support
See merge request espressif/esp-idf!12046
2021-01-20 13:57:38 +08:00
Ivan Grokhotkov
d8a3f59d29
examples/blink: convert tabs to spaces
2021-01-20 01:15:51 +01:00
Prasad Alatkar
f959028486
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-01-19 17:03:00 +05:30
Li Shuai
355dd10257
light sleep: dfs support for esp32c3
2021-01-19 14:50:58 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
lly
bcd9710b86
ble_mesh: ci: Add disable log sdkconfig test files
2021-01-19 02:09:58 +00:00
Mahavir Jain
4ebd258dde
Merge branch 'fix/http2_request_example_enable_insecure_tls_by_default' into 'master'
...
http2_request: Enable insecure TLS by default
See merge request espressif/esp-idf!12042
2021-01-18 21:36:49 +08:00
Jiang Jiang Jian
3748fdbbb3
Merge branch 'feature/wifi_lightsleep_optimization' into 'master'
...
esp_wifi: Wi-Fi lightsleep optimization
See merge request espressif/esp-idf!11811
2021-01-18 20:43:52 +08:00
Jiang Jiang Jian
f5e7504000
Merge branch 'nimble/update_nimble-1.3.0-idf' into 'master'
...
NimBLE: Update NimBLE to latest 1.3.0 release
See merge request espressif/esp-idf!9917
2021-01-18 20:29:10 +08:00
Aditya Patwardhan
64e543ed0a
http2_request: Enable insecure TLS by default
2021-01-18 16:05:46 +05:30
ninh
659d805411
esp_wifi: light sleep optimization
2021-01-18 15:31:03 +08:00
Marius Vikhammer
03fa63b0c9
bootloader: add flash encryption support for C3
...
Adds flash encryption support for C3 and updates docs for S2 & C3
2021-01-18 14:10:54 +08:00
Island
f01264f9d5
Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master' into 'master'
...
Bugfix/ble mesh build error c3 merge master
See merge request espressif/esp-idf!11844
2021-01-18 13:20:48 +08:00
Jiang Jiang Jian
9e059689f2
Merge branch 'bugfix/fix_iperf_example_crash_issue' into 'master'
...
example: Scan failure should not cause system crash
Closes WIFI-3306
See merge request espressif/esp-idf!11998
2021-01-18 10:52:58 +08:00
lly
bcdd470618
ble_mesh: example: Add gpio option for ESP32C3-DevKitC
2021-01-18 08:59:23 +08:00
Angus Gratton
e82fe93b3d
Merge branch 'feature/update_esptool' into 'master'
...
tools: Update esptool submodule
Closes IDFGH-4600
See merge request espressif/esp-idf!12011
2021-01-18 07:13:33 +08:00
Jiang Jiang Jian
8b33695495
Merge branch 'feature/support_esp32c3_s3_ble_5.0_and_bug_fix' into 'master'
...
Feature/support esp32c3 s3 ble 5.0 and bug fix
See merge request espressif/esp-idf!12007
2021-01-17 17:06:12 +08:00
Roland Dobai
eadb69aa36
tools: Update esptool submodule
...
Closes https://github.com/espressif/esp-idf/issues/6415
2021-01-16 09:37:04 +01:00
Prasad Alatkar
afcf0e9101
NimBLE: Enable NIMBLE_MESH_FRIEND
by default for blemesh
example
2021-01-15 16:57:29 +00:00
Prasad Alatkar
8224aa69a2
NimBLE: Update NimBLE to latest 1.3.0 release
2021-01-15 16:57:29 +00:00
Mahavir Jain
526f682397
Merge branch 'bugfix/httpd_session_close_lru' into 'master'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru
Closes IDF-2443
See merge request espressif/esp-idf!11543
2021-01-15 20:06:00 +08:00
Mahavir Jain
d43b3b4dd5
Merge branch 'feature/configure_ds_read_and_parse_efuse_summary' into 'master'
...
esp32s2/configure_ds.py: The script now reads and parses the efuse summary
See merge request espressif/esp-idf!11748
2021-01-15 19:54:13 +08:00
xiehang
d9e1d51ec8
example: Scan failure should not cause system crash
2021-01-15 11:45:23 +00:00
Jiang Jiang Jian
9ff1609a20
Merge branch 'feature/add_esptouch_v2' into 'master'
...
WiFi: add ESPTouch v2
Closes WIFI-942 and WIFI-2619
See merge request espressif/esp-idf!10093
2021-01-15 19:11:47 +08:00
zwj
7c1c669799
component/bt: add BLE v5.0 feature for bluedroid host
2021-01-15 17:55:12 +08:00
ninh
27aa6c289f
components/pm: Add slp gpio configure workaround
2021-01-15 15:34:45 +08:00
zhangyanjiao
1da9d9c356
esp_wifi: add esptouch v2
...
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
Shubham Kulkarni
59869bf610
http_server example: Add example test which opens multiple connections
2021-01-15 05:53:41 +00:00
Aditya Patwardhan
f97aed80c2
configure_ds.py: Add function documentation for improving redability.
2021-01-14 22:40:40 +05:30
Aditya Patwardhan
5331bc2c71
esp32s2/configure_ds.py: The script now reads and parses the efuse summary of
...
the esp32-s2 chip.
* Added option to read and use previously burned efuse keys
* Added option for the user to save the DS parameters for
* development purpose.
* Updated required documentation.
2021-01-14 22:40:40 +05:30
morris
1969313b6f
rmt: add musical buzzer example
2021-01-14 21:32:49 +08:00
Marius Vikhammer
0713e93b8f
TWAI: bringup for S3 and C3
2021-01-14 20:30:31 +08:00
Mahavir Jain
ccf89cd4bf
wifi_provisioning: fix build warnings due to incorrect event handler argument type
2021-01-14 10:47:35 +05:30
Mahavir Jain
1ae280aee2
wifi_prov_mgr: increase firmware partition size
...
For ESP32-C3, firmware with Bluedroid host stack exceeds by ~20KB over default
allocated partition size.
2021-01-14 10:47:35 +05:30
Mahavir Jain
7d4acd9e17
wifi_prov_mgr: keep SoftAP transport as default only for ESP32S2
...
This allows to have default transport as BLE for all chips except
ESP32S2.
2021-01-14 10:47:35 +05:30
Mahavir Jain
9ca00064bd
Merge branch 'bugfix/send_conn_close_header' into 'master'
...
file_serving example: Demonstrate use of connection close header from request headers
Closes IDFGH-3874
See merge request espressif/esp-idf!11922
2021-01-13 22:59:26 +08:00
Jiang Jiang Jian
755b5d617c
Merge branch 'bugfix/fix_wps_example_issue' into 'master'
...
example: We should not check the return value of esp_wifi_connect() in any case
See merge request espressif/esp-idf!11897
2021-01-13 22:23:27 +08:00
Shubham Kulkarni
6f91d408ab
file_serving example: Demonstrate use of connection close header from request headers
...
Closes: https://github.com/espressif/esp-idf/issues/5775
2021-01-13 13:01:15 +00:00
Liu Han
7f3bcc13d7
esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode
2021-01-11 13:47:33 +00:00
Ash
935edc9e09
rename dce parameter
...
Merges https://github.com/espressif/esp-idf/pull/5750
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
Robert Nuttall
d59ffd9128
Expose get operator name command. Add get access tech
...
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
xiehang
c260c223e9
example: We should not check the return value of esp_wifi_connect() in any case
2021-01-11 14:40:18 +08:00
Marius Vikhammer
9c8e4fd4c5
C3: build and run unit tests
...
Enable building and running of unit tests in CI for C3 as well as fix
related compile errors
Also enables building of C3 test apps
2021-01-11 11:34:37 +08:00
Ivan Grokhotkov
66ac736a8c
Merge branch 'bugfix/tusb_partial_read' into 'master'
...
usb: Add fix for tinyusb reading
Closes IDF-2029 and IDFGH-4465
See merge request espressif/esp-idf!10069
2021-01-11 00:07:29 +08:00
Andrei Gramakov
1d1896d409
tinyusb: Add fix for tinyusb reading
...
Closes IDF-2029
2021-01-08 14:21:26 +00:00
liaowenhao
6c0e3fe23c
bugfix:unhandle event when tg receive set_player_app_value cmd
2021-01-08 20:58:35 +08:00
Euripedes Rocha Filho
61f8dc4365
examples/mqtt : Fix ssl mutual auth to use event loop
...
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2021-01-08 07:38:14 +00:00
liaowenhao
60e2eb8dfc
bugfix/fixed the warning info always being printed when entering the cona command in msbc mode
2021-01-07 11:37:24 +00:00
liaowenhao
06344bd531
add gap module in hfp_hf for fisrt connecting
2021-01-07 11:37:24 +00:00
liaowenhao
7e10572e8b
modify console by using console REPL environment
2021-01-07 11:37:24 +00:00
Yinling He
d74eaadd56
test: add softap iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
97220af848
test: use pyecharts to replace matplotlib in iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
5197716d5d
test: modify bad point check logic of Wi-Fi iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
16a488c405
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
ninh
e908a32381
put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf
2021-01-06 03:40:28 +00:00
David Cermak
1c093c48ed
Examples: MQTT DS example to use ds_peripheral API
2021-01-05 12:04:36 +00:00
Shubham Kulkarni
3452e06e7e
https_request example: Perform request over HTTP/1.1 to enable keepalive timeout
...
Closes: https://github.com/espressif/esp-idf/issues/6133
2021-01-04 15:39:39 +05:30
He Yin Ling
faeaddbd22
Merge branch 'bugfix/ci_socket_tests' into 'master'
...
ci: Made socket example tests more robust
Closes IDFCI-325
See merge request espressif/esp-idf!11733
2020-12-30 09:52:25 +08:00
Ivan Grokhotkov
7f3b16a99d
freertos: always enable static allocation
...
to use it for newlib locks
2020-12-29 16:18:04 +01:00
David Cermak
25499115eb
ci: Made socket tests more robust
...
Added common timeout
Added debug logs for both addr families
Renamed example tests to have different names
2020-12-29 13:22:54 +00:00
Marius Vikhammer
9fc771ad1b
CI: change icmp example test address
...
Use a server that is inside the great firewall of china for CI test.
This avoid issues due to proxies, network configs etc.
2020-12-28 10:07:00 +08:00
Michael (XIAO Xufeng)
0cee6a9e17
Merge branch 'bugfix/ir_protocol_example_timeout_issue' into 'master'
...
ir_protocol: fix ir example timeout issue
See merge request espressif/esp-idf!11348
2020-12-24 22:42:13 +08:00
Angus Gratton
66d2c9196f
example ulp_riscv: Set IDF_TARGET to esp32s2
2020-12-24 14:18:02 +11:00
Angus Gratton
01696afc34
esp32c3: Add new esp_sleep_is_valid_wakeup_gpio() function
2020-12-24 13:40:01 +11:00
Jiang Jiang Jian
1fdd83b1da
Merge branch 'docs/wifi_wpa2-enterprise' into 'master'
...
docs:wifi: Add wifi_guide for wpa2_enterprise.
Closes WIFI-987
See merge request espressif/esp-idf!10402
2020-12-23 12:50:46 +08:00
Jiang Jiang Jian
52e66cb143
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs' into 'master'
...
component_bt/fix spp vfs demo crash when use dynamic memory
See merge request espressif/esp-idf!11502
2020-12-23 12:36:44 +08:00
David Čermák
8b82c31f59
Merge branch 'bugfix/ppp_deinit_failure' into 'master'
...
esp_modem: Fixed race condition on exiting PPP mode
Closes IDFGH-4151, IDF-2269, IDFGH-3828, IDFGH-4199, IDFGH-4162, IDFGH-2786, IDFGH-2568, IDFGH-3627, IDFGH-3776, IDFGH-2354, and IDFGH-3705
See merge request espressif/esp-idf!11006
2020-12-22 16:36:23 +08:00
Jiang Jiang Jian
05d48c1ea1
Merge branch 'ajust_espnow_channel_config_range' into 'master'
...
components/wifi: ajust espnow channel range
Closes IDFGH-4445
See merge request espressif/esp-idf!11656
2020-12-22 15:42:18 +08:00
David Cermak
55d41c3377
esp_modem: Fixed race condition on exiting PPP mode
...
esp_modem_stop_ppp() stops both ppp netif and switches the modem back to
command mode. IF these two actions are not synchronised, we might
experience issues of
* active PPP session trying to send/receive uart-data
* command mode already active before modem switched to it
both resulting in crashes.
Fixed by introducing the transition mode and running these actions in sequence
* set esp-modem to transition mode
* enter command mode, wait for the reply or re-sync
* close the PPP netif
* wait until the netif closes
Other fixes include ignoring certain events if modem component not ready
or not in appropriate mode:
* ignoring all UART events comming from DTE with no DCE attached
* ignore pattern detection in PPP mode
Closes https://github.com/espressif/esp-idf/issues/6013
Closes https://github.com/espressif/esp-idf/issues/5737
Closes https://github.com/espressif/esp-idf/issues/6024
Closes https://github.com/espressif/esp-idf/issues/6058
Closes https://github.com/espressif/esp-idf/issues/5563
Closes https://github.com/espressif/esp-idf/issues/5695
Closes https://github.com/espressif/esp-idf/issues/5633
Closes https://github.com/espressif/esp-idf/issues/4482
Related https://github.com/espressif/esp-idf/pull/4849
Related https://github.com/espressif/esp-idf/pull/4653
2020-12-21 16:38:20 +01:00
lly
a18304224d
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2020-12-21 09:08:25 +00:00
Jiang Jiang Jian
0c853a547e
Merge branch 'feature/nimble_bt_wifi_coex_example' into 'master'
...
NimBLE: example running BLE prph & ICMP echo reply simultaneously.
Closes BT-1125
See merge request espressif/esp-idf!11094
2020-12-20 22:43:06 +08:00
Ivan Grokhotkov
41cd344c6b
Merge branch 'feature/example_use_cpp_thread' into 'master'
...
cxx: improve experimental cxx examples
See merge request espressif/esp-idf!11638
2020-12-17 22:02:00 +08:00
aditi_lonkar
cd85c79d30
docs:wifi: Add wifi_guide for wpa2_enterprise.
...
Closes https://github.com/espressif/esp-idf/issues/2698
2020-12-17 10:41:41 +05:30
dongyou
65513824a7
ajust espnow channel range
...
Close https://github.com/espressif/esp-idf/issues/6276
2020-12-17 10:58:49 +08:00
Ivan Grokhotkov
792dc6ebb8
Merge branch 'feature/linux_target' into 'master'
...
build system: Add Linux target
Closes IDF-2145
See merge request espressif/esp-idf!10076
2020-12-16 16:25:38 +08:00
Jakob Hasse
5b15f37458
fix[cxx]: improve experimental cxx examples
...
* use std::this_thread::sleep_for instead of
FreeRTOS sleep functions
* adjusted/added lincense headers in examples
2020-12-16 10:10:20 +08:00
Jakob Hasse
52093fa4ef
linux: added linux target
...
* add toolchain file
* add linux to preview targets
* add stub for dfu number in cmake
* excluded unity runner per default
* Added esp_attr.h and esp_partition.h linux stubs
* component.cmake check list for emptyness
* added switch for linux in unity cmake file
* Added Linux host example app
2020-12-14 18:53:14 +08:00
morris
138c1e278f
ir_protocol: fix ir example timeout issue
...
More detail see https://esp32.com/viewtopic.php?f=25&t=18204
2020-12-14 12:03:53 +08:00
Jakob Hasse
8282b0f9ea
esp_timer: added C++ wrapper for esp_timer
...
Closes IDF-1074
2020-12-14 11:17:56 +08:00
Ivan Grokhotkov
b0150615df
Merge branch 'test/disable_twai_example_ci' into 'master'
...
Temporarily disable TWAI network example test
See merge request espressif/esp-idf!11560
2020-12-13 04:15:21 +08:00
Angus Gratton
7472d76db0
Merge branch 'bugfix/after_ligth_sleep_esp_timer_forms_one_event' into 'master'
...
esp_timer: Add an option skip_unhandled_events
See merge request espressif/esp-idf!10969
2020-12-11 06:04:58 +08:00
Darian Leung
9b34f1c49c
twai: Temporarily disable network example test
...
Disabling network example test due to issue with synchronizing the
start of each DUT
2020-12-10 21:17:44 +08:00
liqigan
478cef9b75
fix spp vfs demo crash when use dynamic memory
2020-12-09 19:46:43 +08:00
KonstantinKondrashov
aa96c9a4d8
esp_timer: Add an option to skip unhandled events for periodic timers
...
- Added an option to skip unhandled events for periodic timers. Useful for light sleep.
- Added doc about this case
- Added Test a latency between a call of callback and real event (14-16us). and UT to check skip_unhandled_events.
- Fixed for esp_timer_dump() if name of timer is NULL
- Refactored timer_process_alarm()
- Added the delete function after using in UTs
2020-12-09 17:19:19 +08:00
lly
b77563abb0
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2020-12-08 15:13:04 +08:00
Chinmay Chhajed
ecfceaf7b9
NimBLE: example running BLE prph & ICMP echo reply simultaneously.
...
This commit adds an example in NimBLE where esp32 runs a peripheral as
well as a ping request to configured IP address. This example uses
nimble host stack.
Signed-off-by: Chinmay Chhajed <chinmay.chhajed@espressif.com>
2020-12-07 11:29:49 +05:30
lly
2803c81f83
ble_mesh: ci: Add settings sdkconfig test files
2020-12-04 20:31:25 +08:00
Mahavir Jain
1d4380853c
Merge branch 'feature/demonstrate_http_partial_download' into 'master'
...
Update esp_http_client example to demonstrate partial HTTP downloads
See merge request espressif/esp-idf!11442
2020-12-03 19:54:41 +08:00
Shubham Kulkarni
60749b5483
esp_http_client example: Update example to demonstrate partial HTTP downloads
2020-12-03 09:39:16 +00:00
Shubham Kulkarni
4874f52d96
Update advanced_https_ota_example and native_ota_example to use esp_ota_abort in case of error
2020-12-03 14:49:55 +05:30
Island
66416d1a8b
Merge branch 'bugfix/aligenie_demo_timer' into 'master'
...
bugfix: update genie timer in aligenie example
See merge request espressif/esp-idf!11411
2020-12-02 12:04:32 +08:00
Yuan Ming Fu
76c279bee1
bugfix: update genie timer in aligenie example
2020-12-02 12:04:27 +08:00
Angus Gratton
38116853f4
Merge branch 'feature/esp32c3_small_changes' into 'master'
...
esp32c3: Merge small target support changes
Closes IDF-2361
See merge request espressif/esp-idf!11381
2020-12-01 13:46:57 +08:00
Angus Gratton
5228d9f9ce
esp32c3: Apply one-liner/small changes for ESP32-C3
2020-12-01 10:58:50 +11:00
Island
6c58c1f73d
Merge branch 'bugfix/aligenie_demo' into 'master'
...
bugfix: update function parameter in aligenie example
See merge request espressif/esp-idf!11397
2020-11-30 13:49:39 +08:00
Angus Gratton
b782ccd1fb
Merge branch 'bugfix/blecent_example_test' into 'master'
...
ci: Fix blecent example test
Closes IDFCI-93
See merge request espressif/esp-idf!11265
2020-11-30 13:08:13 +08:00
InfiniteYuan
39bddb720f
ble_mesh: example: update function parameter
2020-11-30 11:01:41 +08:00
morris
8d0a0537cc
eth: hide spi configuration when using internal emac
2020-11-27 21:11:31 +08:00
Jiang Jiang Jian
079247b42a
Merge branch 'bugfix/blufi_config_potential_double_free' into 'master'
...
Bugfix/blufi config potential double free
Closes BCI-249, BCI-241, BCI-244, and BT-1174
See merge request espressif/esp-idf!9980
2020-11-27 13:44:37 +08:00
Michael (XIAO Xufeng)
a3b59aeeb5
Merge branch 'bugfix/clk_allocator' into 'master'
...
I2C: Fix logic issue on i2c clk allocator
See merge request espressif/esp-idf!11343
2020-11-26 18:18:52 +08:00
Island
bebdd08e08
Merge branch 'optimize/ble_mesh_provision_dev_uuid_check' into 'master'
...
ble_mesh: stack: Need uuid when adding device for provisioning
See merge request espressif/esp-idf!11299
2020-11-26 10:36:10 +08:00
Shivani Tipnis
fc146a98e4
ci: Fix blecent example test
2020-11-25 22:37:24 +05:30
Mahavir Jain
0a933f66e3
Merge branch 'fix/https_server_mem_leak_for_error_ret' into 'master'
...
Fix/https server mem leak for error ret
Closes IDFGH-4300
See merge request espressif/esp-idf!11369
2020-11-26 00:11:58 +08:00
lly
382815cad6
ble_mesh: ci: Add PB-ADV & PB-GATT sdkconfig test files
2020-11-25 20:51:23 +08:00
Angus Gratton
893a42e72c
Merge branch 'bugfix/ci_example_test_check_performance_exception' into 'master'
...
CI: remove fake binary size check in example test
Closes IDFCI-255, IDFCI-256, and IDFCI-257
See merge request espressif/esp-idf!11356
2020-11-25 20:36:08 +08:00
Island
af45d6d6ea
Merge branch 'bugfix/ble_mesh_wifi_coexit_example' into 'master'
...
bugfix: Delete local variables to avoid null global variables
See merge request espressif/esp-idf!11367
2020-11-25 20:29:15 +08:00
Aditya Patwardhan
df0b016cfd
Fixed typo in configure_ds.py script commmand.
2020-11-25 13:47:48 +05:30
InfiniteYuan
b6c86dfa00
bugfix: Delete local variables to avoid null global variables
2020-11-25 15:41:31 +08:00
InfiniteYuan
7e182bb808
ble mesh: add aligenie ble mesh example
2020-11-25 14:33:33 +08:00
Cao Sen Miao
31afe8109f
i2c: Fix bug on i2c clk allocator
2020-11-25 14:26:37 +08:00
He Yin Ling
a908174c06
test: remove fake binary size check in example test:
...
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
Michael (XIAO Xufeng)
af992c26bc
Merge branch 'bugfix/fix_x32k_startup_slow_bug' into 'master'
...
bugfix: Fix xtal 32k not oscillate or oscillate too slowly issue for esp32
See merge request espressif/esp-idf!10519
2020-11-24 17:37:29 +08:00
wangcheng
d1bf93e055
component/bt: Add a macro to control the compilation of blufi.
2020-11-24 10:43:18 +08:00
chaijie
a48b5246cc
ESP32: Fix xtal 32k not oscillate or oscillate too slowly issue
...
ESP32 in revision0 and revision1 uses touchpad to provide
current to oscillate xtal 32k. But revision2 and revision3
do not need to do that.
Note: touchpad can not work and toupad/ULP wakeup sources
are not available when toupad provides current to xtal 32k
2020-11-23 19:38:11 +08:00
lly
ad52ba97e1
ble_mesh: ci: Add enabling hb recv sdkconfig file
2020-11-23 01:28:28 +00:00
Jiang Jiang Jian
0e42b856af
Merge branch 'bugfix/initialize_SO_REUSEADDR_value' into 'master'
...
[WiFi] fixed iperf example parameter opt isn't initialized bug
See merge request espressif/esp-idf!10913
2020-11-22 16:08:21 +08:00
David Čermák
ae30617810
Merge branch 'feature/mqtt_submodule_update_23c8e1ec' into 'master'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes)
Closes IDFGH-4033
See merge request espressif/esp-idf!11225
2020-11-20 17:21:02 +08:00
Anton Maklakov
c82799c9c8
Merge branch 'feature/support_python3_ci' into 'master'
...
ci: All jobs use python3 by default
See merge request espressif/esp-idf!11154
2020-11-20 15:01:01 +08:00
David Cermak
c31cd77d43
examples: make mqtt tcp example to report tcp-transport errno
2020-11-19 17:25:04 +01:00
David Čermák
9741d43cdd
Merge branch 'bugfix/ipv6_address_value_issue' into 'master'
...
lw-ip:bugfix for ipv6_address_value_issue
Closes WIFI-2636
See merge request espressif/esp-idf!10038
2020-11-19 21:13:12 +08:00
Shubham Kulkarni
83f4ebf852
esp_http_client: Skip check for redirection counter if status code is success.
...
Set disable_auto_redirect in esp_http_client example to validate this condition in CI
2020-11-19 14:43:14 +05:30
Chen Yu Dong
454edcc0a8
ci: all jobs use python3 by default
2020-11-19 03:27:58 +00:00
Jiang Jiang Jian
a139bceb0a
Merge branch 'feature/11kv_roaming' into 'master'
...
esp_wifi: 11kv support for network assisted roaming
Closes WIFI-2471
See merge request espressif/esp-idf!9474
2020-11-18 20:40:36 +08:00
Angus Gratton
a22704a8f6
Merge branch 'bugfix/spiffsgen_example_test' into 'master'
...
example: Fix spiffsgen example test
Closes IDFCI-223
See merge request espressif/esp-idf!11255
2020-11-18 10:31:38 +08:00
Ivan Grokhotkov
3a01196eb0
Merge branch 'bugfix/smtp_client_attachment_newline' into 'master'
...
Add newline separator to fix wrong attachment sent
Closes IDFGH-4240
See merge request espressif/esp-idf!11177
2020-11-18 07:42:38 +08:00
Angus Gratton
29315213a8
example: Fix spiffsgen example test
...
Regression in 66fb5a29bb
- whitespace cleanup
added trailing newline (\n) to the end of the file, which is printed as \r\n by
IDF printf, so the 'expect' fails to see it.
2020-11-17 22:28:34 +00:00
kapil.gupta
27101f9454
wpa_supplicant: Add initial roaming support
...
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.
Followings are added as part of this.
1. Support for sending neighbor report request and provide
the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
(triggered by the APP).
5. Support for bss transition management request and move
to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
Angus Gratton
42a6b61132
Merge branch 'feature/console_repl_on_usb_cdc' into 'master'
...
console repl over usb cdc
Closes IDF-1644
See merge request espressif/esp-idf!8969
2020-11-17 07:14:16 +08:00
morris
aea901f014
eth: support W5500 in network examples
2020-11-16 13:30:49 +08:00
Xue Yun Fei
74236f0b29
bugfix for ipv6_address_value_issue
...
Closes https://github.com/espressif/esp-idf/issues/5663
2020-11-13 08:55:32 +00:00
morris
e039a28821
console: support create REPL over USB CDC
2020-11-13 10:51:40 +08:00
Shubham Kulkarni
cda61a87da
Update OTA example to demonstate anti_rollback feature
...
Add example_test for anti_rollback feature
2020-11-11 11:51:28 +00:00
Mahavir Jain
e2716690bc
Merge branch 'fix/esp_local_ctrl_update_expired_cert' into 'master'
...
esp_local_ctrl: Updated the expired cacert.pem
Closes IDFCI-212
See merge request espressif/esp-idf!11184
2020-11-11 19:40:02 +08:00
Aditya Patwardhan
e8b2d80944
esp_local_ctrl: Updated the expired cacert.pem
2020-11-11 08:38:25 +00:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
Angus Gratton
e82eac4354
cmake: Apply cmakelint fixes
2020-11-11 07:36:35 +00:00
Vikram Dattu
c2b5744ae7
Fixed content type of attachment
...
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-11-10 11:57:20 +05:30
Vikram Dattu
5fc644ac27
Add newline separator to fix wrong attachment sent
...
Issue:
Missing newline between header and attachment
Issue seen with email clients viz., AppleMail and YahooMail. Attachment is not renderable.
Some clients like Google mail, Samsung mail tolerate the issue.
Fix:
Added newline between header and attachment.
Closes https://github.com/espressif/esp-idf/issues/6098
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-11-10 10:58:17 +05:30
nx518
9207c6ca8e
lwip: Added description to Kconfig option on IPv6 SLAAC
...
Closes https://github.com/espressif/esp-idf/issues/6076
Merges https://github.com/espressif/esp-idf/pull/6078
2020-11-09 22:10:32 +00:00
David Cermak
cfbcb9f21e
examples, esp_mesh: Fix internal ip mesh example to use transmit wrap function
...
Fixed regression caused by recent refactoring of WiFi Tx. If wasn't defined all transmits end up in a crash.
Closes https://github.com/espressif/esp-idf/issues/6067
2020-11-09 20:32:58 +01:00
Ivan Grokhotkov
5dd16db1d6
Merge branch 'feature/esp_event_cxx' into 'master'
...
C++: ESP Event wrapper classes
Closes IDF-1048 and IDF-232
See merge request espressif/esp-idf!9602
2020-11-06 17:24:34 +08:00
dongyou
b55bb0a61f
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-10-29 02:50:31 +00:00
Jiang Jiang Jian
6bed9ec70c
Merge branch 'bugfix/fix_ag_outging_callback_not_triggered' into 'master'
...
Bugfix/Fix Ag Example Outgoing Callback Not Triggered
Closes BTCI-50
See merge request espressif/esp-idf!10828
2020-10-28 19:57:02 +08:00
David Cermak
8a143fcf40
esp-netif: Fix PPP netif event posting to include esp_netif data
...
Closes https://github.com/espressif/esp-idf/issues/6009
2020-10-26 16:00:42 +00:00
Michael (XIAO Xufeng)
bcb5c3506d
Merge branch 'feature/dedicated_gpio' into 'master'
...
Dedicated GPIO driver on ESP32-S2 and ESP32-S3
Closes IDF-1672
See merge request espressif/esp-idf!8716
2020-10-26 15:33:33 +08:00
Jiang Jiang Jian
090dbc5550
Merge branch 'feature/add_ipv6_ping' into 'master'
...
lw-ip:add feature for ipv6 ping
Closes WIFI-2535
See merge request espressif/esp-idf!9530
2020-10-26 15:16:23 +08:00
Mahavir Jain
df7fe00df7
Merge branch 'fix/use_cli_for_espefuse_in_configure_ds' into 'master'
...
esp32s2-ssl_ds: Use CLI interface for espefuse in configure_ds.py
See merge request espressif/esp-idf!10919
2020-10-23 22:14:17 +08:00
lly
73d22d8ed9
ble_mesh: example: Update sdkconfig test files for disabling Health Server model
2020-10-23 02:04:21 +00:00
lly
72d96c4e81
ble_mesh: example: Fix fast provisioning compile error
2020-10-23 02:04:21 +00:00
lly
d268e0fdb1
ble_mesh: ci: Add disabling mesh model sdkconfig test files
2020-10-23 02:04:21 +00:00
lly
b0f5e4b4ee
ble_mesh: ci: Add disabling mesh deinit sdkconfig test files
2020-10-23 02:04:21 +00:00
Aditya Patwardhan
19df6529b2
esp32s2-ssl_ds: Use CLI interface for espefuse in configure_ds.py
...
* make the project CMakelists to flash the external partition "pre_prov"
* Remove the dependancy of configure_ds.py on esptool.py
* Updated README
* Fix the help menu
2020-10-22 17:25:23 +05:30
xueyunfei
79fc027830
lwip:add feature for ipv6 ping
2020-10-22 15:01:59 +08:00
Jakob Hasse
f835bead45
C++: ESP Event wrapper classes
...
* Provide easy interface to esp_event in C++
* Extended functionality linke synchronous
waiting for events
* Closes IDF-1048
* Closes IDF-232
2020-10-22 09:56:52 +08:00
morris
d51a62e33a
dedicated gpio: matrix keyboard example
2020-10-20 21:06:10 +08:00
Michael (XIAO Xufeng)
2e681f4cb5
Merge branch 'bugfix/fix_rs485_ut_fail' into 'master'
...
Bugfix/fix RS485 ut fail
See merge request espressif/esp-idf!9448
2020-10-19 16:17:23 +08:00
Alex Lisitsyn
8737584789
Bugfix/fix RS485 ut fail
2020-10-19 16:17:19 +08:00
morris
906dd0ad84
pcnt: replace isr register with isr service in example
2020-10-19 11:56:18 +08:00
morris
153e819e8a
pcnt: add rotary encoder example
2020-10-19 11:56:18 +08:00
Michael (XIAO Xufeng)
647dea9395
soc: combine xxx_caps.h into one soc_caps.h
...
During HAL layer refactoring and new chip bringup, we have several
caps.h for each part, to reduce the conflicts to minimum. But this is
The capabilities headers will be relataive stable once completely
written (maybe after the featues are supported by drivers).
Now ESP32 and ESP32-S2 drivers are relative stable, making it a good
time to combine all these caps.h into one soc_caps.h
This cleanup also move HAL config and pin config into separated files,
to make the responsibilities of these headers more clear. This is
helpful for the stabilities of soc_caps.h because we want to make it
public some day.
2020-10-17 16:10:15 +08:00
Angus Gratton
2e5ca433f9
Merge branch 'bugfix/cmake_example_sdkconfig_path' into 'master'
...
cmake/example: Move idf_as_lib sdkconfig path to project, document configuring project
See merge request espressif/esp-idf!8649
2020-10-16 07:10:08 +08:00
Angus Gratton
c90d6ae9af
examples: Move idf_as_lib sdkconfig file to the project directory
...
Also add some explanation about configuring the project in the README
Previously with the default build-esp32.sh script, the build directory was
deleted and recreated so the project would always be built with default config.
2020-10-14 19:30:30 +11:00
liqigan
743c1c1f20
fix ag example outgoing callback not triggered
...
Closes https://github.com/espressif/esp-idf/issues/4967
2020-10-14 09:47:16 +08:00
Felipe Neves
a3c90bf59a
freertos: merged freertos 10 kernel files into IDF
...
freertos/port: update the port files and split into xtensa and riscv ports
freertos: separated cpu files from rest of the kernel sources
freertos/port_xtensa: separated private include files into a folder
freertos/tasks: added task create pinned to core function do not break current IDF API
freertos/tasks: mimiced task create pinned function into tasks.c to do not break the IDF API.
freertos: freertos component now compiling
freertos: freertos component now building
freertos: moved critical sections outside from FR kernel section to portable section
portmacro_xtensa: add void indentifier on functions that take no arguments
freertos: fix critical sections implementation to match with their function prototype
freertos: add cmake changes of freertos into make
freertos: remove portDONT_DISCARD attribute from switch context function, it was breaking the docs building.
freertos: fix conflicitng types of vApplicationSleep function
license: update the license of freertos
freertos: Doxygen comments refactored to render them correctly on docs
freertos: added new functions of freertos into the documentation
freertos: added message buffers and stream buffers to documentation
sysview: update freertos system view to the compatible with version 10
freertos: fixed event group documentation rendering
freertos: update static task structure to match the actual tcb size
freertos: removed backported test functions
freertos/smp: brought SMP code to FreeRTOS 10 port
freertos/portmacro: added missing crosscore interrupt for yielding tasks
freertos: replaced soft-critical sections with hard-critical sections used by SMP
freertos: placed muxes inside of kernel objects
freertos: replaced original FR critical sections with SMP enabled spinlocks critical sections
freertos: moved xtensa port files to a separated folder
freertos: added multiple instance of global variables required to SMP
freertos: added SMP modifications on specific tasks module functions
freertos: added TLS deletion function to task module
freertos/tls: initialize TLS deletion callback to avoid crashing when calling task delete
freertos: modified vTaskDelete to do not erase current task that runs on other core
freertos: reverted taskhandle and timerhandle as void* type
freertos: fixed de-referencing void pointer to get run time counter
freertos: fix system view trace enter macro arguments
freertos: Replaced soft critical sections with spinlocks on event_groups
freertos: fixed tick function to avoid calling tick hooks twice
freertos: Nofity give checking per CPU if schedule is suspended
freertos: added mpu release on TCB deletion
freertos: Added SMP changes when deleting a TCB on idle task
freertos/license: update freertos license in COPYRIGHT.rst
freertos: unicore configurations can use task create pinned to core, it will be always pinned to core 0
freertos/portmacro: added cpu_hal_get_core_id() function instead of inline assembly
freertos/xtensa: update xtensa specific files used in master branch
newlib/locks: revert the preemption checking in lock acquisition and release
ref_clock: fix initial state of ref_clock interrupt handler
freertos: added missing critical sections and yielding checkings
freertos: remove magic numbers in vTaskDelete
freertos: added missing critical section in prvIsQueueEmpty
2020-10-13 23:52:03 +00:00
Shubham Kulkarni
76860cc939
example_test.py: In ota example_test, open file in binary mode to avoid UnicodeDecodeError
2020-10-10 06:18:30 +00:00
Angus Gratton
e456af6537
Merge branch 'bugfix/fix_example_mapping' into 'master'
...
examples: fix eeprom ldgen mapping
See merge request espressif/esp-idf!10654
2020-10-06 16:20:51 +08:00
Mahavir Jain
20af94ff53
Coredump config option rename throughout IDF
2020-09-30 20:22:27 +05:30
Renz Bagaporo
0e1b1f7c69
examples: fix eeprom ldgen mapping
2020-09-28 15:29:38 +08:00
Cao Sen Miao
4065872a88
http_server: The example adds a new function about file saving to SDcard
2020-09-28 12:09:46 +08:00
Krzysztof Budzynski
068690e604
Merge branch 'docs/fix_formatting_issues_in_idf_monitor' into 'master'
...
docs: fix formatting issues in api-guides
Closes DOC-489, DOC-406, and DOC-487
See merge request espressif/esp-idf!10459
2020-09-24 15:30:33 +08:00
Wang Fang
00a99cfb9d
docs: fix formatting issues in api-guides
2020-09-24 15:30:28 +08:00
Mahavir Jain
4a3b5b73a8
Merge branch 'feature/esp_ds_sw_support' into 'master'
...
Added support for RSA sign using DS peripheral (only for ESP32-S2)
Closes IDF-1626
See merge request espressif/esp-idf!9477
2020-09-23 20:39:04 +08:00
Angus Gratton
afe1413c9c
Merge branch 'feature/bringup_esp32s3_fpga' into 'master'
...
esp32-s3 (beta2) chip bringup
Closes IDF-958
See merge request espressif/esp-idf!9978
2020-09-23 10:10:27 +08:00
Ivan Grokhotkov
2626f19500
Merge branch 'feature/add-command-idf-new-project' into 'master'
...
Add command for creating project and component with minimal required files
Closes IDF-1596
See merge request espressif/esp-idf!10156
2020-09-23 04:27:30 +08:00
Aditya Patwardhan
b5c2fa632d
esp32s2/esp_ds: Added mqtt example for TLS using Digital Signature
2020-09-22 18:31:31 +05:30
morris
9fa06719fa
global: enable build uinit test for esp32-s3
2020-09-22 15:15:03 +08:00
martin.gano
b599f127b5
add new command to idf
2020-09-21 23:38:52 +02:00
Mahavir Jain
48e96e8eb8
Merge branch 'feature/esp_cryptoauthlib_sub_update' into 'master'
...
esp-cryptoauthlib: Update submodule pointer to add a new feature.
See merge request espressif/esp-idf!10526
2020-09-21 13:38:01 +08:00
Ivan Grokhotkov
5925d21346
Merge branch 'feature/power_consumption_graphs' into 'master'
...
Power consumption graphs
Closes IDF-208
See merge request espressif/esp-idf!10476
2020-09-20 21:16:29 +08:00
Aditya Patwardhan
3988cf854d
esp-cryptoauthlib: Update submodule pointer to add a new feature.
2020-09-19 09:48:18 +05:30
Michael (XIAO Xufeng)
8b1d39bf53
Merge branch 'bugfix/fix_mcpwm_period_calculation_bug' into 'master'
...
mcpwm_example: fix period calculation bug in high frequency
See merge request espressif/esp-idf!10152
2020-09-18 02:02:32 +08:00
Ivan Grokhotkov
a62c6b6b05
Merge branch 'bugfix/flash_encryption_example_espsecure_public' into 'master'
...
examples: fix flash encryption example test (third version)
See merge request espressif/esp-idf!10480
2020-09-18 01:08:55 +08:00
Martin Valik
815d9ec6bd
Power consumption graphs were added to ulp and wifi power save examples
...
Closes IDF-208
2020-09-17 13:20:09 +02:00
Mahavir Jain
d82b9275b5
Merge branch 'bugfix/provisioning_example_warning_with_O2_optimization' into 'master'
...
provisioning: use memcpy instead of strncpy for copying SSID
Closes IDFGH-3983
See merge request espressif/esp-idf!10467
2020-09-17 17:56:37 +08:00
Mahavir Jain
6a3d50c952
provisioning: use memcpy instead of strncpy for copying SSID
...
Per WiFi library requirement, SSID can be non-null terminated string
if its length goes to 32 bytes (maximum). Use of strncpy in this case,
along with compiler optimization level -O2 results in some warnings
for potential use of non-null terminated strings.
Fix here ensures use of memcpy to copy SSID string upto appropriate
desired length. This helps to avoid compiler specific workaround
flags added earlier.
Closes https://github.com/espressif/esp-idf/issues/5866
Closes IDFGH-3983
2020-09-17 12:59:22 +05:30
Mahavir Jain
6d14bdf068
Merge branch 'feature/ota_example_test' into 'master'
...
Add OTA example test on Flash Encrypted runner
Closes IDFCI-73
See merge request espressif/esp-idf!9423
2020-09-17 12:39:41 +08:00
Ivan Grokhotkov
cdb4b3b889
examples: fix flash encryption example test
...
Commit 5e8795eebe
has changed the partition table offset, which
has resulted in the ciphertext not matching the one expected in the
example test.
Fix by calculating the ciphertext using espsecure.py.
2020-09-17 13:27:57 +10:00
Ivan Grokhotkov
77b03ff800
Merge branch 'bugfix/fix_partition_table_in_flash_encryption_example' into 'master'
...
example/flash_encryption: Fix partition table
See merge request espressif/esp-idf!10133
2020-09-16 15:58:38 +08:00
Shubham Kulkarni
b930f7a96d
simple_ota_example: Add example test with flash encryption enabled
2020-09-14 13:47:39 +00:00
lly
f2ae5f6e32
ble_mesh: ci: Enable settings in sdkconfig.ci.xxx
2020-09-14 08:40:12 +00:00
Roland Dobai
6358f3fb8a
CI: Fix regex in ulp_adc example test
2020-09-11 10:45:41 +02:00
Ivan Grokhotkov
00072fe2e2
Merge branch 'ci/standalone_unit_test_app' into 'master'
...
CI: add standalone unit test app for esp_netif
See merge request espressif/esp-idf!10102
2020-09-11 15:50:54 +08:00
David Čermák
6f7ae1d751
Merge branch 'bugfix/fix_netsuite_tx_wrap' into 'master'
...
CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes
See merge request espressif/esp-idf!10344
2020-09-11 02:15:56 +08:00
Krzysztof Budzynski
0640181b46
Merge branch 'feature/explain_hello_world_files' into 'master'
...
docs: Add explanation of hello_world folder contents
Closes DOC-456
See merge request espressif/esp-idf!10319
2020-09-10 22:29:27 +08:00
Krzysztof Budzynski
2d4e0a4496
docs: Add explanation of hello_world folder contents
2020-09-10 22:29:24 +08:00
David Cermak
59471c9f3f
CI: esp_netif tests: Fix netsuite driver layer per wifi optimization changes
...
esp-wifi introcuded wifi tx optimization in !9147 . Update needed in netsuite to pass the tx data using function
2020-09-10 11:52:01 +02:00
Ivan Grokhotkov
b6467257b9
Merge branch 'feature/cmock_component' into 'master'
...
cmock as component replacing unity
See merge request espressif/esp-idf!9859
2020-09-10 16:06:20 +08:00
Ivan Grokhotkov
287bfeb7fd
Merge branch 'bugfix/parttool_example_test_fail' into 'master'
...
fix multiple example test failures
Closes IDFCI-39 and IDFCI-124
See merge request espressif/esp-idf!10350
2020-09-10 00:27:07 +08:00
David Čermák
e6f0087448
Merge branch 'bugfix/httpd_ws_sock_type' into 'master'
...
https_server: Added WSS server example and some http(s)+ws updates
Closes IDFGH-3822, IDFGH-3668, IDFGH-3766, and IDFGH-3444
See merge request espressif/esp-idf!10262
2020-09-09 20:57:11 +08:00
David Cermak
6f3fa81863
http_server: Simplified httpd_get_client_list() to return clients in int array
2020-09-09 08:00:20 +02:00
David Cermak
2f22a43a5d
http_server example test: Simplify client code in the test to use ws package
2020-09-09 08:00:20 +02:00
David Cermak
5e1e5f8be9
http_server: Add a flag to enable using control frames in user handlers
2020-09-09 08:00:20 +02:00
David Cermak
76ca826758
https_server example: Add new WSS server example
...
Added a new https server example with WS support which runs
* keep-alive thread to send PINGs to clients
* async message to all active WS clients
Moved the existing https-server example to a subfolder
Closes https://github.com/espressif/esp-idf/issues/5733
Closes https://github.com/espressif/esp-idf/issues/5686
2020-09-09 08:00:38 +02:00
Ivan Grokhotkov
fb43cfbf6a
examples/parttool: fix the test to work on parallel test runner
...
Pass the DUT port to parttool_example.py as an argument.
2020-09-08 17:35:15 +02:00
Anton Maklakov
2b7e02c9ed
Merge branch 'revert-983220e2' into 'master'
...
ci: enable RS485 related tests again
See merge request espressif/esp-idf!10277
2020-09-07 20:47:04 +08:00
Fu Hanxi
bd83088ba5
fix blehr queue python 2 3 compatibility
2020-09-07 12:16:06 +08:00
Mahavir Jain
228adfa6b1
Merge branch 'feature/ota_incremental_erase_during_write' into 'master'
...
Feature/ota incremental erase during write
See merge request espressif/esp-idf!9726
2020-09-04 20:00:07 +08:00
Island
4e27fbc99a
Merge branch 'bugfix/ble_mesh_sensor_example_fix' into 'master'
...
ble_mesh: example: Fix sensor data wrong iteration
Closes BMCI-112
See merge request espressif/esp-idf!10272
2020-09-04 16:54:26 +08:00
Mahavir Jain
33d0024034
esp_https_ota: change erase to incremental during flash write
2020-09-04 12:05:06 +05:30
Michael (XIAO Xufeng)
4941cf58d0
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2020-09-04 12:57:08 +08:00
lly
01617303dd
ble_mesh: example: Fix sensor data wrong iteration
2020-09-04 11:44:59 +08:00
David Cermak
5dae28069f
esp-netif: Fix SLIP interface to start with correct IPv6 addr
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-09-03 18:11:09 +00:00
David Čermák
9e8f4e51b2
Merge branch 'bugfix/mdns_query_id' into 'master'
...
mdns: Responding: Fix query ID, add questions if not strict mode
Closes IDFGH-3639 and IDFGH-3577
See merge request espressif/esp-idf!9795
2020-09-03 14:57:47 +08:00
David Cermak
81e89476fe
mdns test: Add test to resolve esp32 hostname with DiG
2020-09-02 11:12:08 +02:00
David Cermak
52a7721bf7
examples: Common connect component: Unregister shutdown handler on disconnection
...
To be able to connect smoothly after disconnecting, we have to unregister all handlers including shutdown handler on disconnection
2020-09-02 11:12:08 +02:00
Jakob Hasse
20c068ef3b
cmock: added cmock as component
...
* changing dependencies from unity->cmock
* added component.mk and Makefile.projbuild
* ignore test dir in gen_esp_err_to_name.py
* added some brief introduction of CMock in IDF
2020-09-02 16:38:37 +08:00
Mahavir Jain
ae15603c91
Merge branch 'bugfix/ota_documentation' into 'master'
...
Update OTA README, set custom headers in esp_https_ota
Closes IDFGH-3535 and IDFGH-3619
See merge request espressif/esp-idf!10053
2020-09-01 15:36:06 +08:00
Island
03f5d2fec8
Merge branch 'bugfix/ble_mesh_example_compile_warn' into 'master'
...
ble_mesh: example: Fix example compile warning
Closes BMCI-108
See merge request espressif/esp-idf!10081
2020-09-01 14:05:37 +08:00
lly
b6308e4a1b
ble_mesh: example: Remove some useless included header files
2020-08-31 11:37:34 +00:00
Carlos Sobrinho
c2491c86b1
Fix compilation warnings about portmacro being already define.
2020-08-31 11:37:34 +00:00
David Cermak
6f1b8fe062
esp-modem: Remove esp-netif destroy from modem network glue code
...
To be in line with other interfaces, when deleting the driver and it's glue layer to esp-netif, we DO NOT delete the related esp-netif (since is was allocated and created outside of the glue code and it works the same way in esp-eth and esp-wifi driver/glue layers).
Closes https://github.com/espressif/esp-idf/issues/5486
2020-08-31 06:47:01 +00:00
Shubham Kulkarni
78356d1336
advanced_https_ota_example: Demonstrate use of init_complete_callback to set custom headers
2020-08-29 09:05:52 +00:00
Shubham Kulkarni
7d3618a86c
Update OTA README to mention advanced_https_ota example and add reference to API documentation of esp_https_ota component
...
Closes: https://github.com/espressif/esp-idf/issues/5487
2020-08-29 09:05:52 +00:00
KonstantinKondrashov
5e8795eebe
example/flash_encryption: Fix partition table and sdkconfig.defaults
...
When the flash encryption is enabled then we do not need to change the partition table.
The partition_example.csv should not have fixed offsets for partitions because we want to move the whole table.
The fixed offsets in the table were cleared.
2020-08-26 19:37:33 +08:00
Chen Yi Qun
b45b3de1fa
mcpwm_example: Fix MCPWM period calculation bug in high frequency
...
mcpwm_basic_config example calculates period incorrectly in high
frequency. The period calculation will move to ISR and the method of
calculation will be changed.
2020-08-25 19:39:27 +08:00
Roland Dobai
6a73c74d71
Follow-up improvements for the gcov example test
2020-08-24 08:29:03 +00:00
David Čermák
a80b25ebbb
Merge branch 'feature/ws_client_close_frame' into 'master'
...
ws_client: Added support for close frame, closing connection gracefully
Closes IDF-1915
See merge request espressif/esp-idf!9677
2020-08-21 14:36:18 +08:00
He Yin Ling
685c3fc70c
Merge branch 'test/merge_ble_mesh_node_and_provioner_in_console' into 'master'
...
Test:merge ble mesh node and provioner in console
See merge request espressif/esp-idf!8897
2020-08-21 11:01:37 +08:00
Lu Chang Jie
cd3cf630a5
Test: merge ble mesh node and provioner in console
2020-08-21 11:01:37 +08:00
Angus Gratton
7547820393
Merge branch 'refactor/sleep_modes' into 'master'
...
Refactor sleep modes code
Closes IDF-1119
See merge request espressif/esp-idf!8404
2020-08-19 12:51:43 +08:00
David Cermak
44c553fd14
ws_client tests: Updated example test to use WebsSocket package
...
Added a new test for closing connection with close frames
2020-08-18 06:42:22 +00:00
David Cermak
b213f2c6d3
ws_client: Added support for close frame, closing connection gracefully
2020-08-18 06:42:22 +00:00
David Čermák
30845ed47e
Merge branch 'bugfix/mqtt_mutual_auth_example' into 'master'
...
MQTT: add server side authentication to mutual auth example
See merge request espressif/esp-idf!10014
2020-08-18 14:10:32 +08:00
Renz Bagaporo
b30522f701
esp32, esp32s2: move sleep modes code to esp_system
2020-08-17 19:09:23 +08:00
Jiang Jiang Jian
9c1b2820a1
Merge branch 'feature/btdm_mode_change_event' into 'master'
...
components/bt: Add mode change event
Closes BT-981
See merge request espressif/esp-idf!9720
2020-08-17 14:53:46 +08:00
Michael (XIAO Xufeng)
ceb690886e
Merge branch 'feature/esp32s2_adc_calib_V1' into 'master'
...
driver/adc: support for esp32s2 adc calibration scheme (RTC High Priority)
Closes IDFGH-3500
See merge request espressif/esp-idf!10004
2020-08-14 13:42:39 +08:00
Wu Bo Wen
6a0951ecb2
driver/adc: support for esp32s2 adc calibration scheme
...
ESP32 lets the user choose from using Vref, Lookup Table, and Two-Point Calibration. In ESP32S2 only two-point calibration is supported. This commit support these changes in idf.
Closes https://github.com/espressif/esp-idf/issues/5455
2020-08-13 17:27:03 +08:00
baohongde
060a36352c
components/bt: Add mode change event
2020-08-12 09:20:04 +00:00
Marius Vikhammer
a54291b22b
MQTT: add server side authentication to mutual auth example
2020-08-12 11:25:00 +08:00
Michael (XIAO Xufeng)
e97e7281b2
Merge branch 'feature/tinyusb_cdc' into 'master'
...
Feature/tinyusb cdc
See merge request espressif/esp-idf!7212
2020-08-10 18:13:23 +08:00
Jiang Jiang Jian
c2e549b1b8
Merge branch 'feature/ble_combined_adv_scan' into 'master'
...
bluetooth: added example `ble_adv_scan_combined' for combined scanning and advertising
Closes BT-843 and BT-867
See merge request espressif/esp-idf!6661
2020-08-07 14:08:02 +08:00
Jiang Jiang Jian
c27bd40d54
Merge branch 'feature/support_phase2TTLS_algos' into 'master'
...
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
Closes FCS-361
See merge request espressif/esp-idf!8816
2020-08-07 14:06:12 +08:00
Andrei Gramakov
84aa1c0cc3
usb: cdc support, streams redirection; ci, examples upd
...
tusb: cdc, tasks encapsulation, callbacks api, multiple interfaces
examples: added serial interface and usb console
ci: reimplemented cmake/make test in python with ignore lists
IDF-578
2020-08-06 15:26:08 +02:00
Michael (XIAO Xufeng)
b08c2885d8
Merge branch 'bugfix/examples_echo_fix_stack_size' into 'master'
...
examples: fix echo example crash when UART interrupt handler placed in IRAM
Closes IDFGH-2371
See merge request espressif/esp-idf!8694
2020-08-06 19:32:14 +08:00
Alex Lisitsyn
df9ca688d7
examples: fix echo example crash when UART interrupt handler placed in IRAM
2020-08-06 19:32:11 +08:00
Fu Hanxi
19ad15a1b4
modify example tests. delete unused arguments
2020-08-04 13:27:16 +08:00
Ivan Grokhotkov
16c73edc67
Merge branch 'refactor/add_alias_name_for_ets_common_api' into 'master'
...
esp_rom: extract common ets apis into esp_rom_sys.h
See merge request espressif/esp-idf!9701
2020-07-28 15:04:55 +08:00
Chinmay Chhajed
6dbb993071
bluetooth: Added HCI example for combined scanning and advertising.
2020-07-28 05:32:14 +00:00
Chinmay Chhajed
abb79e4fb5
Bluetooth HCI common components.
...
Separate Bluetooth HCI component example which adds some macros and
functions used by HCI Layer defined by the spec.
2020-07-28 05:32:14 +00:00
Michael (XIAO Xufeng)
395a51b441
Merge branch 'bugfix/fix_touch_sensor_api' into 'master'
...
driver(touch): fix touch sensor driver redundancy
Closes IDF-1850
See merge request espressif/esp-idf!9273
2020-07-27 22:20:10 +08:00
Michael (XIAO Xufeng)
2bfd725e66
Merge branch 'feature/i2c++' into 'master'
...
I2C C++ API
See merge request espressif/esp-idf!7812
2020-07-27 20:05:42 +08:00
morris
2917651478
esp_rom: extract common ets apis into esp_rom_sys.h
2020-07-27 15:27:01 +08:00
fuzhibo
1568b6913d
driver(touch): fix touch sensor driver redundancy
2020-07-27 03:37:29 +00:00
Jakob Hasse
25424477f2
C++: I2C API
2020-07-24 08:36:16 +08:00
Aditya Patwardhan
591d67d58b
esp32/secure_element: update esp-cryptoauthlib submodule pointer
2020-07-23 16:08:14 +00:00
Hrudaynath Dhabe
d7ccad371a
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
2020-07-23 11:07:14 +00:00
He Yin Ling
4c32c71db9
Merge branch 'feature/support_python3_autotest' into 'master'
...
test: run IT jobs with python3
See merge request espressif/esp-idf!9673
2020-07-23 16:07:43 +08:00
Chen Yudong
4088702077
test: auto test script supports python3
2020-07-22 16:14:21 +08:00
Alexey Gerenkov
0e3c7918e4
examples: Fixes 'apptrace_to_host' to work with updated OpenOCD tracing command
2020-07-22 06:49:27 +00:00
Ivan Grokhotkov
ba874ccb04
Merge branch 'feature/freemodbus_add_tcp_master_slave' into 'master'
...
freemodbus: add tcp master and slave support
Closes IDFGH-1147 and IDF-452
See merge request espressif/esp-idf!7506
2020-07-22 00:34:06 +08:00
Alex Lisitsyn
d0b9829eef
examples: freemodbus add tcp support for common master/slave iface
...
Add TCP port files to provide Modbus TCP interface for communication
Add freemodbus add tcp support for common master/slave iface and tcp example based on socket API
The communication between master and slave checked for each example serial_master, serial_slave (use ModbusPoll TCP)
update tcp example according netif changes, fix ci issues
update TCP slave implementation
update example_test.py to to set IP through stdin
update API documentation
event bit instead of semahore to lock communication resource
update default options and master/slave port files
Closes https://github.com/espressif/esp-idf/issues/858
Closes IDF-452
2020-07-22 00:34:04 +08:00
Fu Hanxi
6885421976
CI: add size info for binaries
2020-07-21 16:00:05 +08:00
Angus Gratton
f83a61e2c8
Merge branch 'feature/ulp_riscv' into 'master'
...
feature/components: Initial support for ULP-RISC-V Coprocessor on esp32s2
Closes IDF-521
See merge request espressif/esp-idf!8781
2020-07-20 08:27:20 +08:00
Felipe Neves
b6dba84323
ulp: added support to building code for riscv ULP coprocessor
2020-07-15 15:28:49 -03:00
David Cermak
bb9a7356ac
esp-netif: removing SLIP related events as the slip-modem set state synchronously
2020-07-15 15:46:46 +02:00
David Cermak
1a41545c3e
esp-netif: SLIP interface refactor to isolate interface from drivers
2020-07-15 15:46:46 +02:00
ryan
266be00254
esp-netif: Added esp_netif slip support, slip_modem component and example
...
Merges https://github.com/espressif/esp-idf/pull/4985
2020-07-15 15:46:46 +02:00
David Čermák
95b33895b8
Merge branch 'feature/pppos_sim7600' into 'master'
...
pppos-client: support for SIM7600 modem
Closes IDFGH-3256
See merge request espressif/esp-idf!9333
2020-07-15 20:54:26 +08:00
David Čermák
fa9f025e4a
Merge branch 'feature/asio_ssl_support' into 'master'
...
asio: basic support of SSL/TLS transport
Closes IDFGH-1085 and IDFGH-2138
See merge request espressif/esp-idf!8797
2020-07-15 19:51:47 +08:00
Li Qi Gan
f6f2d9780b
add API esp_spp_stop_srv() and fix the error parameter in esp-idf/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/example_spp_initiator_demo.c
...
Closes https://github.com/espressif/esp-idf/issues/5409
Closes https://github.com/espressif/esp-idf/pull/5408
See merge request espressif/esp-idf!9114
2020-07-15 15:49:37 +08:00
Jiang Jiang Jian
0376b23c7c
Merge branch 'component/seperate_bta_jv_l2c' into 'master'
...
component_bt:/ separate BTA_JV_L2CAP for less bin size
See merge request espressif/esp-idf!9158
2020-07-15 11:38:16 +08:00
David Čermák
f8b649baaf
Merge branch 'bugfix/ws_server_async_send_fin' into 'master'
...
http_server example: WebSocket server to set final flag in async messages
Closes IDFGH-3443
See merge request espressif/esp-idf!9251
2020-07-15 05:31:02 +08:00
David Čermák
b2150f86a5
asio: make the example code conform to Espressif C++ standards
2020-07-14 10:42:17 +00:00
David Cermak
1c8171c3e8
asio: option to use wolfSSL as TLS stack for ASIO
...
Plus other minor update, make openssl aware of current modes (SSL_set_mode)
Update coding style in examples and tests, including copyright notices
2020-07-14 10:42:17 +00:00
David Cermak
213bbe51fc
examples: asio ssl example demonstrating both server and client
...
By default it uses simple client connecting to https address. It is
possible to configure both server and client. As for example test the
configuration of both server and client connecting to each other on
2020-07-14 10:42:17 +00:00
David Cermak
085d2b8d25
examples: common connect to also support no connection flow if no inteface chosen
...
This is useful for testing if there's no need for external network and connection
2020-07-14 10:42:17 +00:00
Mahavir Jain
7727f1612e
Merge branch 'task/httpd_strlen' into 'master'
...
httpd_resp_send: use `HTTPD_RESP_USE_STRLEN` when possible
Closes IDFGH-3268
See merge request espressif/esp-idf!8957
2020-07-14 12:11:52 +08:00
David Cermak
c226270138
pppos-client: support for SIM7600 modem
...
Reuses most of the code from BG96. At this moment, this is not a
perfect support for other modules as the generic handlers for most
common modem functionality is not easily reusable. Refactoring to a
fully independent modem component will solve this.
Closes https://github.com/espressif/esp-idf/issues/5250
2020-07-13 14:45:19 +00:00
David Cermak
005f21accc
http_server: WebSocket server to set flag in transmitted messages by default
...
Add logic to set `FIN` flag automatically for transmitted WS frames, but
if `fragmented` option set indicating an expert/manual mode, then the
`FIN` flag is set according to the `final` option.
2020-07-13 14:39:22 +00:00
David Cermak
52150c2cd2
http_server example: WebSocket server to set final flag in async messages
...
Closes https://github.com/espressif/esp-idf/issues/5405
2020-07-13 14:39:22 +00:00
David Čermák
6edf0fed2b
Merge branch 'feature/support_ksz8041' into 'master'
...
support ksz8041
Closes IDFGH-3495 and IDFGH-3584
See merge request espressif/esp-idf!9558
2020-07-13 22:30:58 +08:00
Ivan Grokhotkov
b62e4e6f85
Merge branch 'feature/vfs_uart_set_line_ending' into 'master'
...
feature: support vfs uart set line endings with specified uart number
See merge request espressif/esp-idf!9112
2020-07-13 15:51:42 +08:00
sU8U7SfkcwTJVH7PjaVmej7D
6673407f98
httpd_resp_send: use HTTPD_RESP_USE_STRLEN
when possible
2020-07-13 05:34:56 +00:00
Jiang Jiang Jian
92d4bb6ed0
Merge branch 'bugfix/wps_multiple_ap_creds' into 'master'
...
Fix handling of multiple AP credentials in WPS
Closes FCS-356
See merge request espressif/esp-idf!9137
2020-07-12 20:26:08 +08:00
lly
578f775fb9
ble_mesh: ci: Enable friend & low power in build check
2020-07-10 14:14:01 +08:00
houwenxiang
8e00522cd7
vfs: support vfs uart set line endings with specified uart number
2020-07-10 11:15:09 +08:00
lly
953810aa68
ble_mesh: example: Add result check during mesh init
2020-07-10 00:57:09 +00:00
Island
5d970c0e8c
Merge branch 'feat/ble_mesh_use_iram_for_mem_alloc' into 'master'
...
Feat/ble mesh use iram for mem alloc
See merge request espressif/esp-idf!9449
2020-07-09 23:06:27 +08:00
morris
648bcc7a87
ethernet: add ksz8041 in basic ethernet example
2020-07-09 21:49:07 +08:00
Nachiket Kukade
81f037a299
Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
weitianhua
11abaed398
Fix tsk watchdog when running spp vfs demo
2020-07-08 17:50:19 +08:00
Mahavir Jain
5341688c7e
Merge branch 'feature/add_status_code_check' into 'master'
...
esp_https_ota: Add check for HTTP error codes
Closes IDFGH-3593
See merge request espressif/esp-idf!9486
2020-07-08 13:12:46 +08:00
Shubham Kulkarni
60fcf1bae6
Increase receive timeout in sdkconfig.ci to fix CI failures
2020-07-08 04:03:26 +00:00
Marius Vikhammer
55982fa146
Rewrite Bluedroid BT READMEs from .rst to .md
2020-07-08 10:39:33 +08:00
Marius Vikhammer
a80cff924b
docs: fix broken links in example READMEs
2020-07-08 10:39:33 +08:00
lly
b10b2884a6
ble_mesh: ci: Add iram & psram configurations
2020-07-08 01:45:01 +00:00
Ivan Grokhotkov
ea75605aa7
Merge branch 'feature/scan_test_at_pre_check' into 'master'
...
ci: scan_tests at pre_check stage to determine build/artifact behavior for example_test and custom_test
Closes IDF-1376
See merge request espressif/esp-idf!8447
2020-07-07 23:43:03 +08:00
Ivan Grokhotkov
8cd1f99ace
Merge branch 'refactor/common_rom_gpio_apis' into 'master'
...
esp_rom: extract common GPIO apis into esp_rom_gpio.h
See merge request espressif/esp-idf!9248
2020-07-07 17:28:39 +08:00
Ivan Grokhotkov
adf86bd95e
Merge branch 'feature/console_repl_on_uart' into 'master'
...
console_repl: move UART specific configuration into single config structure
See merge request espressif/esp-idf!8964
2020-07-07 16:27:47 +08:00
morris
a4d0033c03
esp_rom: extract common GPIO apis into esp_rom_gpio.h
2020-07-07 11:40:19 +08:00
Ivan Grokhotkov
983220e216
ci: temporarily disable RS485 related tests
2020-07-06 20:12:43 +00:00
Fu Hanxi
2c2f66aa21
add supported target to ESP32-S2 Temperature Sensor Example
2020-07-06 19:05:44 +08:00
Ivan Grokhotkov
59f5e9af37
Merge branch 'bugfix/monitor_wait_reconnect' into 'master'
...
Fix IDF Monitor so it will wait for the device to reconnect
Closes IDF-1640
See merge request espressif/esp-idf!8632
2020-07-06 15:18:48 +08:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
Island
a97a16202e
Merge branch 'bugfix/ble_mesh_compile_error' into 'master'
...
bugfix: ble mesh proxy compile error
See merge request espressif/esp-idf!9334
2020-07-01 11:17:26 +08:00
Island
9e23affd65
Merge branch 'bugfix/ble_mesh_readme_fix' into 'master'
...
ble_mesh: example: Fix example README & tutorial link error
Closes BMCI-97 and IDFGH-3558
See merge request espressif/esp-idf!9379
2020-07-01 11:11:59 +08:00
Darian Leung
97721d469c
TWAI: Add ESP32-S2 support
...
This commit adds TWAI driver support for the
ESP32-S2. The following features were added:
- Expanded BRP support
- Expanded CLKOUT Divider Support
- Updated example READMEs
2020-06-30 16:56:03 +08:00
lly
aa2a98899b
ble_mesh: example: Fix example README & tutorial link error
2020-06-29 19:23:18 +08:00
Roland Dobai
b9eb7cb7f0
tools: Fix IDF Monitor so it will wait for the device to reconnect
2020-06-29 09:18:05 +02:00
lly
e4a115f0e2
ble_mesh: ci: Add different proxy configurations
2020-06-28 23:09:47 +00:00
Angus Gratton
002a13a71a
ci provisioning: Add some experiments to check the runner's STA state
...
Not clear why sometimes it associates without negotiating a new DHCP lease.
2020-06-28 22:52:45 +00:00
Angus Gratton
2e8d607b21
legacy provisioning: Always try to reconnect when disconnected
...
Some APs may fail authentication temporarily if they have too many
associated stations, for example.
2020-06-28 22:52:45 +00:00
Angus Gratton
5bdecb3db2
esp_prov: Refactor to use new 'wait_wifi_connected' function
...
Means all provisioning examples will have the same retry behaviour.
2020-06-28 22:52:45 +00:00
Angus Gratton
e969a5e5ff
ci provisioning: Use strings instead of "magic numbers" for connection state
2020-06-28 22:52:45 +00:00
Angus Gratton
05ef08b1d5
ci: Wait up to 60 seconds for client to connect to DUT in provisioning test
2020-06-28 22:52:45 +00:00
Ivan Grokhotkov
45fff86e05
Merge branch 'feature/usb_console_ig' into 'master'
...
add USB CDC as a console option
Closes IDF-1620
See merge request espressif/esp-idf!8459
2020-06-29 05:16:15 +08:00
Ivan Grokhotkov
3e7506ccda
examples/console: error out if built with USB CDC enabled
2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
b767e6191d
examples/console: add check for CONFIG_ESP_CONSOLE_UART_NUM
2020-06-26 15:38:49 +02:00
Ivan Grokhotkov
9548aea3e4
examples: add console_usb example for USB CDC
2020-06-26 15:38:49 +02:00
Angus Gratton
40d7ea68af
Merge branch 'bugfix/ci_softap_example_test' into 'master'
...
Set sleep time to allow wlan0 to connect to softap
See merge request espressif/esp-idf!9258
2020-06-25 09:06:55 +08:00
Shivani Tipnis
76232fd263
ci: Set sleep time to allow wlan0 to connect to softap
2020-06-24 23:07:46 +05:30
Ivan Grokhotkov
dafc6676ae
examples/console: allow not registering sleep related commands
2020-06-24 15:50:51 +02:00
Ivan Grokhotkov
19c73192ba
ble_mesh_coex_test: fix deprecated Kconfig option name
2020-06-24 15:50:51 +02:00
Angus Gratton
40f5ac4cd4
ci: Temporarily remove the esp_http_client httpbin redirect tests
...
Need to host httpbin ourselves or wait for
postmanlabs/httpbin/issues/617 to be resolved
2020-06-24 03:26:39 +00:00
Jiang Jiang Jian
2955342e9c
Merge branch 'doc/add_UUID_description_in_gattc_demo' into 'master'
...
docs:add 128-bit UUID description
Closes BCI-202
See merge request espressif/esp-idf!9189
2020-06-23 22:01:58 +08:00
lly
a254c42173
ble_mesh: Move TAG definition to each example
...
Move the TAG definition of each example to the corresponding
source file (previously it is defined in the common example
intialization header file), which can avoid the redefinition
of TAG in some situations.
2020-06-20 05:34:30 +00:00
David Čermák
93aa9163c7
Merge branch 'bugfix/pppos_ignored_modem_start_return' into 'master'
...
pppos client: modem netif fix ignoring potential modem-start error
Closes IDFGH-3470
See merge request espressif/esp-idf!9244
2020-06-19 20:48:49 +08:00
Ivan Grokhotkov
cf155161c4
Merge branch 'feature/higher_level_com_gdb' into 'master'
...
CI: Use higher-level interaction with GDB in example tests and test apps
Closes IDF-1622
See merge request espressif/esp-idf!8840
2020-06-19 16:13:01 +08:00
David Cermak
8f0ec8bd50
pppos client: modem netif fix ignoring potential modem-start error
...
esp-modem netif glue layer implements esp-netif attach callback to setup corresponding driver functions and start the modem. The error code of esp_modem_start_ppp() was ignored and ESP_OK returned in all cases. Fixed by passing esp_modem_start_ppp()'s error code to post_attach callback.
Closes https://github.com/espressif/esp-idf/issues/5430
2020-06-18 16:20:50 +02:00
liminyang
8364bca3f4
docs:perfect 128-bit UUID description
...
The previous description is not easy for the reader to understand, some changees have been made to perfect it.
Closes https://github.com/espressif/esp-idf/issues/5057
2020-06-17 11:58:41 +08:00
Shubham Kulkarni
d36f5cf020
esp_http_client_example.c: Add fix to clear length of received data in case user_data buffer is passed
2020-06-16 20:48:40 +05:30
Shubham Kulkarni
1bbafb817d
esp_http_client: Set user configurable authorization retries
...
Closes: https://github.com/espressif/esp-idf/issues/5407
2020-06-16 20:48:28 +05:30
Jiang Jiang Jian
8c7c3ff899
Merge branch 'bugfix/btdm_ESP_BT_GAP_DISCOVERY_STOPPED_evt_come_twice' into 'master'
...
Bugfix/fix event bug in GAP API
Closes BT-594 and BT-595
See merge request espressif/esp-idf!8808
2020-06-16 21:22:40 +08:00
liminyang
5bf8ff55d3
docs:add 128-bit UUID description
...
Gatt_client demo lacks description.When service and characteristic UUID is 128-bit, should change the order of UUID defined by macro in little-endian storage mode.
2020-06-16 20:36:33 +08:00
Krzysztof Budzynski
de9facf182
Merge branch 'bugfix/broken_links' into 'master'
...
docs: Fix broken links reported on https://esp32.com/
Closes DOC-236
See merge request espressif/esp-idf!9182
2020-06-16 19:13:25 +08:00
Jiang Jiang Jian
0a297dda58
Merge branch 'bugfix/att_buffer_count_fixed' into 'master'
...
fix acl att buffer count not auccrate
Closes BT-744
See merge request espressif/esp-idf!9071
2020-06-16 15:57:50 +08:00
Krzysztof
ae7ec27125
Resolve broken links reported on https://esp32.com/viewtopic.php?f=5&t=14148#p61449 by chegewara
2020-06-15 21:35:19 +02:00
wangcheng
e87a42f46c
components/bt: Add api to query the number of available buffers for the current connection
2020-06-13 14:27:48 +08:00
Mahavir Jain
c533674120
simple_ota_example: add SPIRAM enabled configuration
...
This commit adds one example test case for OTA with SPIRAM
enabled configuration. Additionally it also keeps
`SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY` enabled to catch any issues
of sort "cache disabled but cached region accessed".
https://github.com/espressif/esp-idf/issues/5354
2020-06-12 05:45:02 +00:00
Mahavir Jain
d7e33d60fa
Merge branch 'feature/httpd_low_level_apis' into 'master'
...
esp_http_server: Expose low level socket send/recv APIs
Closes IDFGH-1910
See merge request espressif/esp-idf!9084
2020-06-12 13:40:02 +08:00
Ivan Grokhotkov
625bd5eb18
Merge branch 'feature/reassign_example_test_runners' into 'master'
...
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
See merge request espressif/esp-idf!9109
2020-06-11 14:22:05 +08:00
Fu Hanxi
bde4b1b350
ci: Modify some dut-unrelated example tests env tag from Example_WIFI to Example_GENERIC
2020-06-11 14:22:05 +08:00
Piyush Shah
627d8e7385
httpd_advanced_tests: Use the new low level APIs instead of calling an internal API
2020-06-11 01:56:47 +00:00
Elvis Dukaj
1463cd3550
ble_hid_device_demo: fix build if building with c++
...
Signed-off-by: Elvis Dukaj <elvis.dukaj@gmail.com>
Signed-off-by: liminyang <liminyang@example.com>
Merges https://github.com/espressif/esp-idf/pull/5191
2020-06-10 15:23:30 +08:00
Shubham Kulkarni
c287ca1363
example_test.py: Update OTA example tests to make it compatible with python3
2020-06-09 11:58:35 +00:00
Roland Dobai
493c852b73
CI: Use higher-level interaction with GDB in example tests and test apps
2020-06-05 14:58:34 +00:00
Jiang Jiang Jian
55b319e1ae
Merge branch 'bugfix/authmode_degrade_fix' into 'master'
...
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
Closes WIFI-2328
See merge request espressif/esp-idf!8708
2020-06-05 14:01:26 +08:00
Roland Dobai
1f05da9cfa
Fix SNTP example test to match pattern
2020-06-04 13:46:47 +00:00
kapil.gupta
179292f9b3
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
David Čermák
d3588f53a7
Merge branch 'feature/pin_ethernet_task_to_core' into 'master'
...
ethernet: support pin emac task to core
Closes IDFGH-3383
See merge request espressif/esp-idf!8953
2020-06-03 22:26:03 +08:00
Angus Gratton
bea6590b07
Merge branch 'bugfix/app_trace_pins_for_esp32s2' into 'master'
...
example: update app_trace example
See merge request espressif/esp-idf!8343
2020-06-03 13:01:32 +08:00
Jiang Jiang Jian
c807e9f6af
Merge branch 'bugfix/enable_esp32s2_wifi_example' into 'master'
...
esp_wifi: re-enable build wifi example
Closes WIFI-2384
See merge request espressif/esp-idf!8991
2020-06-02 17:38:22 +08:00
Chen Jian Xing
ebb2caa940
esp_wifi: re-enable build wifi example
2020-06-02 17:38:22 +08:00
Island
7c72a0b1f0
Merge branch 'bugfix/ble_mesh_example_nvs_store' into 'master'
...
Bugfix/ble mesh example nvs store
Closes BMCI-84
See merge request espressif/esp-idf!8972
2020-06-02 10:57:54 +08:00
Renz Bagaporo
e24c8eada3
examples: additional changes to app_trace example README for esp32s2
2020-06-01 17:04:12 +08:00
Renz Bagaporo
666ee00ebe
examples: update app_trace pins for esp32s2
2020-06-01 17:04:12 +08:00
Renz Bagaporo
7c09cb1739
examples: update app_trace example relevant paths in README
2020-06-01 17:04:12 +08:00
David Čermák
738e9f76fd
Merge branch 'bugfix/fix_esp_modem_mode_switch_timeout' into 'master'
...
fix esp_modem switch mode timeout
Closes FCS-412, IDFGH-2106, IDFGH-2170, and IDFGH-1201
See merge request espressif/esp-idf!8913
2020-06-01 15:12:32 +08:00
lly
55c5d2953d
ble_mesh: Add nvs operations for examples
...
- Store onoff_client example proper mesh info
- Store vendor_client example proper mesh info
Closes https://github.com/espressif/esp-idf/issues/5359
2020-06-01 10:00:49 +08:00
lly
c5226f8286
ble_mesh: Add mesh example common nvs operations
2020-06-01 09:34:13 +08:00
morris
1184366387
ethernet: support pin emac task to core
2020-05-29 17:51:37 +08:00
lly
2190c2c368
ble_mesh: Define a macro for invalid company id
2020-05-29 09:40:19 +00:00
morris
0fcb447707
add pppos client restart in example
...
Closes https://github.com/espressif/esp-idf/issues/4268
2020-05-29 13:09:53 +08:00
morris
6d70b7c352
fix esp_modem switch mode timeout
...
Closes https://github.com/espressif/esp-idf/issues/3506
Closes https://github.com/espressif/esp-idf/issues/4324
2020-05-29 13:03:15 +08:00
David Čermák
e1ec6c86e6
Merge branch 'bugfix/icmp_echo_ci_ttl_fail' into 'master'
...
ICMP echo: example test were failing due to regex not matching TTL
See merge request espressif/esp-idf!8931
2020-05-28 13:31:30 +08:00
Jiang Jiang Jian
b1cb127e61
Merge branch 'bugfix/esp32s2_iperf_config_update' into 'master'
...
update esp32s2 iperf config
See merge request espressif/esp-idf!8461
2020-05-27 13:56:19 +08:00
Marius Vikhammer
26d59f0f4c
ICMP echo: example test were failing due to regex not matching TTL
2020-05-27 11:16:18 +08:00
David Čermák
ea78d06939
Merge branch 'bugfix/example_common_connect_no_ip6' into 'master'
...
examples: common connect: fix build error if ipv6 disabled
See merge request espressif/esp-idf!8877
2020-05-25 17:23:52 +08:00
Michael (XIAO Xufeng)
b3587ff88c
Merge branch 'bugfix/fix_i2s_comm_format_unclear_description_bug' into 'master'
...
Bugfix(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug
Closes IDFGH-3040, IDFGH-2913, IDFGH-578, IDFGH-2408, and IDFGH-3117
See merge request espressif/esp-idf!8339
2020-05-25 15:00:10 +08:00
David Cermak
5c6bca69a5
examples: common connect: fix build error if ipv6 disabled
...
Declaration of local variable esp_ip6_addr_t ip6[]; was active even if IPV6 disabled in sdkconfig. Introduced in 06711c7c36
2020-05-22 08:45:59 +00:00
Mahavir Jain
6272cb842f
Merge branch 'feature/esp_wroom32_se_example' into 'master'
...
Feature/esp wroom32 se example
See merge request espressif/esp-idf!8552
2020-05-21 19:51:19 +08:00
Aditya Patwardhan
423e600d46
secure_element: atecc608_ecdsa example
...
* Replaced crypotoauthlib with esp-cryptoauthlib
* Added menuconfig option for esp-tls about using HSM
* Added error codes for HSM in esp-tls,
* Added support to select different type of ATECC608A chips
* Added README, updated docs
* tcp_transport: Added option to enable secure_element for ssl
Closes https://github.com/espressif/esp-idf/issues/4432
2020-05-21 13:08:30 +05:30
Island
fbf2088fc8
Merge branch 'example/ble_mesh_structural_adjust' into 'master'
...
Example/ble mesh structural adjustment
Closes BLEMESH-200
See merge request espressif/esp-idf!8719
2020-05-21 15:11:23 +08:00
Anton Maklakov
e1262aa68e
Merge branch 'bugfix/gh_action_pass_IDF_PATH_to_pylint' into 'master'
...
gh_action: fix python lint
Closes IDF-1538 and IDFGH-3341
See merge request espressif/esp-idf!8812
2020-05-21 10:15:35 +08:00
Bryan Hunt
4553f6c95d
Add cryptoauthlib as a component with mbedtls integration
...
* Add options to mbedtls for hardware acceleration
* Disable mbedtls EC curves if hardware acceleration is selected
since the hardware will have to define the curves supported
* Add a hardware ecdsa example
2020-05-20 22:52:37 +05:30
liqigan
55f6a927b5
btdm:fix emit ESP_BT_GAP_DISC_STATE_CHANGED_EVT
event when call API esp_bt_gap_start_discovery
...
closes BT-594
See merge request espressif/esp-idf!8808
2020-05-20 22:43:44 +08:00
lly
2b767ef104
ble_mesh: Fix tutorial links in examples README.md
2020-05-20 11:33:46 +00:00
lly
3209336f6b
ble_mesh: Rename esp_fast_prov_* to ble_mesh_fast_prov_*
2020-05-20 11:33:46 +00:00
lly
88eb4a0820
ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_*
2020-05-20 11:33:46 +00:00
lly
861816c353
ble_mesh: Rename ble mesh example main & init files
...
- Rename ble_mesh_demo_main.c to main.c
- Rename ble_mesh_demo_init.* to ble_mesh_example_init.*
2020-05-20 11:33:46 +00:00
lly
68fd967934
ble_mesh: Move the example init to the common_components
2020-05-20 11:33:46 +00:00
lly
a2a952aa55
ble_mesh: Move the button component to common_components
2020-05-20 11:33:46 +00:00
lly
5598620f6c
ble_mesh: Change the EXTRA_COMPONENT_DIRS used by examples
2020-05-20 11:33:46 +00:00
lly
db67e2d35c
ble_mesh: Rename common_vendor_models to common_components
...
Since the scripts of CI will bypass common_components when
trying to get ALL_EXAMPLES, and these BLE Mesh components
will only be used by other mesh examples, i.e. no need to
be compiled as a single example, so we rename the folder
to common_componnets.
2020-05-20 11:33:46 +00:00
Mahavir Jain
5f5bf9e5ee
Merge branch 'bugfix/allow_buffering_on_stdout' into 'master'
...
protocol_examples_common: keep buffering enabled on stdout
See merge request espressif/esp-idf!8793
2020-05-20 10:51:29 +08:00
Mahavir Jain
ed05dd7713
Merge branch 'bugfix/coap_component_build_issue' into 'master'
...
coap: move mbedTLS config options from component to examples
See merge request espressif/esp-idf!8707
2020-05-20 10:51:06 +08:00
morris
d003f96a9d
gh_action: fix python lint
2020-05-20 10:50:10 +08:00
Ivan Grokhotkov
60437e8ae4
Merge branch 'feature/protocols_example_tests' into 'master'
...
Add protocol example tests
Closes IDF-1157
See merge request espressif/esp-idf!8645
2020-05-20 02:05:26 +08:00
Mahavir Jain
7dbf01afad
coap: move mbedTLS config options from component to examples
...
CoAP component relies on some mbedTLS crypto configuration
options, e.g. DTLS and PSK. These configuration options if
selected, have footprint impact on generic TLS examples like
https_request or https_ota as well.
Footprint of https_request example with/without change is per below:
$ ./tools/idf_size.py new_https_request.map --diff old_https_request.map
<CURRENT> MAP file: new_https_request.map
<REFERENCE> MAP file: old_https_request.map
Difference is counted as <CURRENT> - <REFERENCE>, i.e. a positive number means that <CURRENT> is larger.
Total sizes of <CURRENT>: <REFERENCE> Difference
DRAM .data size: 14796 bytes 14796
DRAM .bss size: 23560 bytes 23680 -120
Used static DRAM: 38356 bytes ( 142380 available, 21.2% used) 38476 -120 ( +120 available, +0 total)
Used static IRAM: 89045 bytes ( 42027 available, 67.9% used) 89045 ( +0 available, +0 total)
Flash code: 554231 bytes 563823 -9592
Flash rodata: 179000 bytes 181224 -2224
Total image size:~ 860632 bytes (.bin may be padded larger) 872568 -11936
This commit moves relevant config options to CoAP specific examples
and also adds some run time warnings if they are kept disabled.
Closes https://github.com/espressif/esp-idf/issues/5262
2020-05-19 17:23:29 +05:30
Anton Maklakov
d6a6ac4d2d
Merge branch 'bugfix/mdns_example_test_graceful_fail' into 'master'
...
mdns-example: fail gracefully if mdns response not received within timeout
See merge request espressif/esp-idf!8774
2020-05-19 19:21:53 +08:00
Roland Dobai
5f024e1cd4
Add protocol example tests
2020-05-19 12:17:32 +02:00
Jiang Jiang Jian
ce507da514
Merge branch 'bugfix/mesh_manual_networking_example' into 'master'
...
example: fix mesh manual networking example
See merge request espressif/esp-idf!6869
2020-05-19 14:05:51 +08:00
Mahavir Jain
c7be363af9
Merge branch 'bugfix/http_client_example' into 'master'
...
Add note regarding use of URL and configuration parameters in http client
Closes IDFGH-3161
See merge request espressif/esp-idf!8791
2020-05-18 20:59:03 +08:00
houwenxiang
b35d9002f3
driver(I2S): Fix i2s_comm_format_t configuration parameter does not match the TRM bug.
...
When I2S `i2s_comm_format_t` is set to `I2S_COMM_FORMAT_I2S_MSB`, the data should launch at first BCK. But not in fact, this MR fixed this issue.
For compatibility, several nwe parameters have been added, and the old parameters will be removed in the future.
closes https://github.com/espressif/esp-idf/issues/5065
closes https://github.com/espressif/esp-idf/issues/4957
closes https://github.com/espressif/esp-idf/issues/2978
closes https://github.com/espressif/esp-idf/issues/5136
Merges https://github.com/espressif/esp-idf/pull/4522
2020-05-18 19:55:30 +08:00
Mahavir Jain
7925ba245d
protocol_examples_common: keep buffering enabled on stdout
...
- Newlib uses significantly more stack space when printing to an unbuffered stream
- For examples tests, disabling buffering on stdout is not really required
This issue was found during one of the OTA example test failure, root cause
being stack overflow in `esp_event` task.
2020-05-18 16:59:20 +05:30
Shubham Kulkarni
7a561cb1fa
esp_http_client_example.c: Add note regarding use of URL and configuration parameters.
...
Demonstrate use of query parameter.
Closes: https://github.com/espressif/esp-idf/issues/5174
2020-05-18 16:31:59 +05:30
David Cermak
761c3a3942
examples: make sure WiFi interface is disabled when connecting with Ethernet
2020-05-18 09:29:55 +02:00
David Cermak
8a45f074fc
esp-netif: Added API to get the underlying interface name
...
The interface name can be used in socket API, i.e. setsockopt(). The API esp_netif_get_netif_impl_name() shoudl be used to populate standard
interface structure struct ifreq.
2020-05-18 09:26:24 +02:00
David Cermak
06711c7c36
examples: common connect component to use both interfaces at once
2020-05-18 09:26:24 +02:00
Liu Han
547210f7a5
socket-example: Add tcp client example for multiple interfaces
2020-05-18 09:26:24 +02:00
David Cermak
3758177bf8
mdns-example: fail gracefully if mdns response not received within timeout
...
If mdns answer hasn't been received within timeout, Value error would be raised, but the mdns-server-thread would still run, blocking CI jobs. Fixed by moving the raise statement within try-finally block
2020-05-18 08:13:14 +02:00
Mahavir Jain
be3b6b7cb8
Merge branch 'feature/mbedtls_dynamic_memory' into 'master'
...
feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost
See merge request espressif/esp-idf!8313
2020-05-18 13:55:05 +08:00
Jiang Jiang Jian
bb2379b7ab
Merge branch 'bugfix/wpa3_mixed_mode_authype' into 'master'
...
esp_wifi: Add and utilize WPA3/WPA2 Mixed mode Authtype
See merge request espressif/esp-idf!8778
2020-05-17 17:04:18 +08:00
Anton Maklakov
f9a5794cba
Merge branch 'bugfix/socket_example_ipv6_randomfail' into 'master'
...
socket examples: fix random ci failure on reading ipv6 address
See merge request espressif/esp-idf!8686
2020-05-15 23:36:48 +08:00
Island
52e9bcb696
Merge branch 'bugfix/ble_mesh_remove_patch' into 'master'
...
ble_mesh: Remove patch for the bug of an App
Closes BLEMESH-202
See merge request espressif/esp-idf!8737
2020-05-15 20:17:22 +08:00
Nachiket Kukade
d7edd28338
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype.
2020-05-15 17:24:51 +05:30
chenyudong
ca7f2099db
example: fix mesh manual networking example
...
Solves https://www.esp32.com/viewtopic.php?f=21&t=8610
2020-05-15 18:39:16 +08:00
David Cermak
5f4e2cf391
socket examples: fix random ci failure on reading ipv6 address
...
dut.expect() returns groups of a matching regex, but could be truncated upon reading/buffering. fixed by forcing expect to acquire exactly 8 octets of IPv6 address, i.e. not supporting short-handed entries such as fe80::0000..
2020-05-15 04:02:33 +00:00
Jiang Jiang Jian
26ab1c54ec
Merge branch 'bugfix/esp32s2_wifi_skip_light_sleep' into 'master'
...
esp_wifi: When WiFi TSF is active, skip light sleep
Closes WIFI-2305 and WIFI-2306
See merge request espressif/esp-idf!8639
2020-05-15 11:41:45 +08:00
David Čermák
5e436be77f
Merge branch 'bugfix/stop_mac_can_be_controlled_by_user' into 'master'
...
ethernet: esp_eth_stop API should stop emac hardware
Closes WIFI-2247 and WIFI-2337
See merge request espressif/esp-idf!8664
2020-05-15 04:40:55 +08:00
Dong Heng
3d57bf30a2
feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost
2020-05-14 11:45:09 +00:00
Michael (XIAO Xufeng)
94ce4836ae
Merge branch 'bugfix/fix_gpio_wakeup_light_sleep' into 'master'
...
driver(gpio): fix gpio can't wakeup light sleep
Closes IDF-1361
See merge request espressif/esp-idf!8522
2020-05-14 11:45:40 +08:00
lly
25a6ea9600
ble_mesh: Remove patch for the bug of an App
2020-05-14 10:24:15 +08:00
Roland Dobai
29c95d3919
CI: Require runner with PSRAM for himem example test
2020-05-13 18:19:44 +00:00
Xia Xiaotian
526a3e49ed
esp_wifi: When WiFi TSF is active, skip light sleep
...
* Add an API for peripherals to set callbacks to skip light sleep
* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
morris
6020d6a5d4
ethernet: esp_eth_stop API should stop emac hardware
2020-05-13 15:58:42 +08:00
lly
6b9c0dda08
ble_mesh: Fix typos
2020-05-12 16:23:13 +08:00
fuzhibo
d91e64cea4
driver(gpio): fix gpio can't wakeup light sleep
2020-05-12 07:15:13 +00:00
Michael (XIAO Xufeng)
f7ec57b615
Merge branch 'feature/usb_wrap_headers' into 'master'
...
usb: add usb_wrap headers, move some code from LL to HAL
See merge request espressif/esp-idf!8395
2020-05-10 19:19:14 +08:00
Jan-Hendrik Frintrop
ff9c2dfa8c
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
https://github.com/espressif/esp-idf/pull/5186
2020-05-08 14:22:39 +08:00
Jiang Jiang Jian
09d4767947
Merge branch 'mesh/power_save_function' into 'master'
...
mesh/ps: add duty control and support only transmit/receive on active duty
See merge request espressif/esp-idf!8152
2020-05-06 15:53:49 +08:00
Jiang Jiang Jian
62c36a0372
Merge branch 'feature/enable_wpa3_pmf_by_default' into 'master'
...
esp_wifi: Enable WPA3 & PMF by default
See merge request espressif/esp-idf!8600
2020-05-06 10:53:13 +08:00
Ivan Grokhotkov
d82b60905f
Merge branch 'feature/jtag_examples' into 'master'
...
Add JTAG related example tests
Closes IDF-1147
See merge request espressif/esp-idf!8393
2020-05-05 21:40:38 +08:00
Mahavir Jain
ce2a99dc23
Merge branch 'bugfix/fix_ci_exception' into 'master'
...
Fix broken pipe exception in CI for OTA examples
See merge request espressif/esp-idf!8519
2020-05-05 18:08:42 +08:00
qiyuexia
4522ef8798
mesh: add duty cycle control and support only transmit/receive in actve duty cycle
2020-05-05 18:06:47 +08:00
Roland Dobai
79e58eff8f
Add JTAG related example tests
2020-05-05 11:08:33 +02:00
Shubham Kulkarni
b1e29232ea
example_test.py: Override SimpleHTTPRequestHandler to catch broken pipe exception
2020-05-05 14:07:51 +05:30
Ivan Grokhotkov
b0f448a972
Merge branch 'feature/console_no_empty_lines' into 'master'
...
console: allow not returning empty lines (Github PR)
Closes IDFGH-2869
See merge request espressif/esp-idf!8232
2020-05-05 16:12:50 +08:00
Nachiket Kukade
107cf56e20
esp_wifi: Enable WPA3 & PMF by default
...
In wifi station example, set PMF(Protected Management Frames)
configuration to capable. Set WPA3 Feature in menuconfig enabled
by default. This will allow device to establish more secured
connection with AP's that support these protocols.
2020-05-04 16:02:14 +05:30
Ivan Grokhotkov
79976e7370
Merge branch 'feature/storage_examples' into 'master'
...
examples: Add storage example tests and migrate "loadable elf" test to test_apps
Closes IDF-1150 and IDF-1586
See merge request espressif/esp-idf!8174
2020-04-30 14:34:34 +08:00
Angus Gratton
d041512022
Merge branch 'feature/mesh_ip_network_example' into 'master'
...
ESP-MESH: IP internal network example
See merge request espressif/esp-idf!7724
2020-04-30 14:33:16 +08:00
ChenJianxing
eda97d7e16
update esp32s2 iperf config
2020-04-30 14:00:34 +08:00
Ivan Grokhotkov
466998d487
examples/console: add note about Ctrl+C
2020-04-29 23:46:58 +02:00
Ivan Grokhotkov
19f6da99ed
examples/console: match prompt to the target name
2020-04-29 23:44:46 +02:00
Ivan Grokhotkov
ece41b04e3
console: make empty line behavior run-time configurable
2020-04-29 23:44:46 +02:00
Michael 'ASAP' Weinrich
8a2413b5c0
Added filtering blank lines from history
2020-04-29 23:44:46 +02:00
MadnessASAP
8680394167
Break the input loop on error or EOF
2020-04-29 23:44:46 +02:00
me-no-dev
406d9d20a3
Update HID examples to comply with the new requirements
2020-04-29 20:51:16 +03:00
Jiang Jiang Jian
922a0fa485
Merge branch 'feature/esp-hid-component' into 'master'
...
ESP-HID Component
See merge request espressif/esp-idf!6908
2020-04-29 17:24:02 +08:00
Hristo Gochkov
25281ef4de
Add HID Support to IDF
...
- Adds HID Host support in Buedroid
- Adds BLE HID Host and Device support
- Adds some general HID utilities and definitions to help integrate with other stacks and native USB
2020-04-29 17:24:01 +08:00
Ivan Grokhotkov
e0177eb252
examples/tusb_sample_descriptor: default to esp32s2 target
2020-04-29 10:04:13 +02:00
Roland Dobai
2d709c6384
Migrate "loadable elf" test from hello_world example to test_apps
2020-04-29 09:17:28 +02:00
Roland Dobai
819f7a4e57
examples: Add storage example tests
2020-04-29 09:16:18 +02:00
Roland Dobai
d5aeae9d48
examples: fix import error for the https_x509_bundle example
2020-04-29 09:16:18 +02:00
David Čermák
f04fd2976d
Merge branch 'bugfix/modem_pattern_queue_size_fix' into 'master'
...
esp_modem: Fix misuse event_queue_size as pattern_queue_size
Closes IDFGH-3172
See merge request espressif/esp-idf!8539
2020-04-29 14:09:31 +08:00
Roland Dobai
e1dc92b60b
Add system example tests
2020-04-28 14:52:15 +02:00
lly
fab9b944a4
ble_mesh: Add length check for some mesh operations
2020-04-27 14:24:07 +08:00
lly
c77b7394ed
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-04-27 14:24:07 +08:00
Michael (XIAO Xufeng)
9d98111652
Merge branch 'bugfix/spi_bus_lock_missing_semphrstatic' into 'master'
...
spi: fix config break and reduce overhead of the bus lock on SPI1
Closes IDFGH-3017
See merge request espressif/esp-idf!8221
2020-04-27 12:57:19 +08:00
Island
1e12673b3c
Merge branch 'feat/ble_mesh_sensor_model_example' into 'master'
...
ble_mesh: Add ble mesh sensor model examples
Closes BLEMESH-190
See merge request espressif/esp-idf!8253
2020-04-27 11:47:06 +08:00
Island
32cfcc77ed
Merge branch 'bugfix/ble_mesh_use_sdkconfig_ci' into 'master'
...
ble_mesh: Add bluedroid and nimble example configurations
See merge request espressif/esp-idf!8172
2020-04-27 11:41:26 +08:00
lly
8d57ebf57d
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-26 06:25:08 +00:00
lly
fa40a1a0c7
ble_mesh: Add bluedroid and nimble example configurations
2020-04-26 06:12:22 +00:00
lly
2f28c97f06
ble_mesh: Add ble mesh sensor model examples
2020-04-26 06:08:44 +00:00
Axel Lin
85e9930071
esp_modem: Fix misuse event_queue_size as pattern_queue_size
...
Also remove event_queue_size from esp_modem_dte_t because
event_queue_size is only used in esp_modem_dte_init.
Fixes: 817c0e3019
("esp_modem: UART runtime configuration of esp-modem")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-04-25 08:08:01 +08:00
Angus Gratton
bb0a95b17c
spi_flash s2: Fix encrypted writes when legacy implementation disabled
...
ROM function didn't use correct Addr bitlen if legacy was disabled on ESP32-S2
2020-04-24 12:43:47 -03:00
Felipe Neves
6f27992430
flash_encryption: return more clear error codes when bootloader encryption fails
2020-04-24 12:43:47 -03:00
Felipe Neves
7635dce502
bootloader/flash_encrypt: added esp32s2 flash encryption code on build system and enabled example
...
flash_enctryption: enabled flash encryption example on esp32s2
bootloader: raise WDT overflow value providing sufficient interval to encrypt app partition
flash_ encrypt: Fixed the TODOs on flash encryption key generation for esp32s2
flash_encryption: added secure boot features to flash enctryption for esp32s2
bootloader: leave only esp32s2 compatible potentially insecure options on menuconfig.
flash_encryption: removed secure boot version 1 from esp32s2 encryption code
flash_encryption: added CONFIG_SECURE_FLASH_REQUIRE_ALREADY_ENABLED option for esp32s2
flash_encryption: fixed the count of left plaintext flash
flash_encryption: disable dcache and icache download when using encryption in release mode
flash_encryption: add cache potentally insecure options for s2 chips
flash_encryption: fixed bug which bricked some chips in relase mode
2020-04-24 12:43:47 -03:00
Michael (XIAO Xufeng)
77d5e4b4e2
Merge branch 'bugfix/timer_group_intr_enable' into 'master'
...
Bugfix/timer group intr enable
Closes IDFGH-3082
See merge request espressif/esp-idf!8340
2020-04-24 18:28:36 +08:00
David Cermak
9e58d94a42
esp-mesh: Added example showing internal IP capable mesh network
2020-04-24 07:32:58 +02:00
Jiang Jiang Jian
741960d5ce
Merge branch 'bugfix/Add_softap_example_channel_configuration' into 'master'
...
esp_wifi:Add softap example channel configuration
See merge request espressif/esp-idf!8387
2020-04-24 11:21:45 +08:00
morris
91e62f4e37
timer_group: update hal api && fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-23 19:29:15 +08:00
Ivan Grokhotkov
28efe511f4
Merge branch 'bugfix/semihosting_write' into 'master'
...
Semihosting fixes for write and the semihost example
See merge request espressif/esp-idf!8290
2020-04-23 06:26:41 +08:00
michael
fdf983e0c4
spi: fix config break and reduce overhead of the bus lock on SPI1
...
The SPI bus lock on SPI1 introduces two side effects:
1. The device lock for the main flash requires the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` to be selected, however this
option is disabled by default in earlier IDF versions. Some developers
may find their project cannot be built by their old sdkconfig files.
2. Usually we don't need the lock on the SPI1 bus, due to it's
restrictions. However the overhead still exists in this case, the IRAM
cost for static version of semaphore functions, and the time cost when
getting and releasing the lock.
This commit:
1. Add a CONFIG_SPI_FLASH_BYPASS_MAIN_LOCK option, which will forbid the
space cost, as well as the initialization of the main bus lock.
2. When the option is not selected, the bus lock is used, the
`CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION` will be selected explicitly.
3. Revert default value of `CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION`
to `n`.
introduced in 49a48644e4
.
Closes https://github.com/espressif/esp-idf/issues/5046
2020-04-22 16:06:13 +08:00
xiehang
2d6f7f25e3
esp_wifi:Add softap example channel configuration
2020-04-17 17:31:46 +08:00
Andrei Gramakov
283026a761
vfs: semihost driver bugfix
2020-04-15 15:46:47 +02:00
David Cermak
6aabfd50d5
pppos_client: support for PPPAUTHTYPE_NONE
...
Closes https://github.com/espressif/esp-idf/issues/4616
Closes WIFI-1652
2020-04-14 21:46:07 +02:00
David Cermak
817c0e3019
esp_modem: UART runtime configuration of esp-modem
...
Basic set of configuration related to UART moved from KConfig
to runtime configuration structure to simplify reusing the component for
testing and examples.
2020-04-14 21:46:07 +02:00
Axel Lin
0784426d6b
esp_modem: Ensure uart_param_config and uart pins are set before uart_driver_install
...
Fixes Guru Meditation Error: Core 0 panic'ed (LoadProhibited) when config with
CONFIG_PM_ENABLE=y && CONFIG_PM_DFS_INIT_AUTO=y.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4904
2020-04-14 21:46:07 +02:00
David Cermak
636621d1c5
pppos_client: Add a test application for pppos_client
...
Adding testing facilities for pppos-client including esp-modem component
and PPP client in lwip. Testing is provided with PPP server running on
rpi.
2020-04-14 21:46:07 +02:00
David Cermak
745f062e07
esp_modem: pppos_client modem to use uart with REF_TICK
...
pppos_client example used the UART default clock configuration which might
cause issues if power management enabled. Settings updated to UART_SCLK_REF_TICK
Also need to explicitly disable RX interrupts in UART pattern detection
mode.
Closes https://github.com/espressif/esp-idf/issues/4801
2020-04-14 21:46:07 +02:00
Krzysztof Budzynski
e1ab4b6711
Merge branch 'bugfix/uart_echo_readme' into 'master'
...
example: Remove duplicate commands and invalid serial port information
Closes IDFGH-3022
See merge request espressif/esp-idf!8295
2020-04-11 01:52:01 +08:00
Jiang Jiang Jian
4d9bb3ca71
Merge branch 'bugfix/wifi_station_examples_event_error' into 'master'
...
Fix instance names for event handler unregister
Closes WIFI-2122
See merge request espressif/esp-idf!8282
2020-04-10 20:56:39 +08:00
Fu Hanxi
5b2fa1a5ad
build_app: make multi target support readable
2020-04-09 16:40:57 +08:00
Roland Dobai
6adb1a0609
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-08 13:17:48 +02:00
Ivan Grokhotkov
651dbe48e7
Merge branch 'feature/gcovr' into 'master'
...
app_trace: Add coverage generations by gcovr
Closes IDF-780
See merge request espressif/esp-idf!8168
2020-04-08 15:57:08 +08:00
ronghulin
f0744184f5
fix: add event unregister comment
2020-04-07 21:53:50 +08:00
Jari Jokinen
266b0c3889
Fix instance names for event handler unregister
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5064
2020-04-07 20:30:19 +08:00
Anton Maklakov
fa3131b870
Merge branch 'bugfix/bash_bin_env' into 'master'
...
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
Closes IDFGH-708
See merge request espressif/esp-idf!8235
2020-04-06 17:51:43 +08:00
David Cermak
e57dbf7c27
http-server-example: correction of regex waiting to acquire IP address
...
Since the recent refactoring of spi bus_lock comonent introduced heavy logging under debug/verbose level of verbosity, the http-server test executed in the CI became less stable due to complicated regex. Fixed by removing the first optional group
2020-04-05 20:07:27 +02:00
David Čermák
0f6b0f13b0
Merge branch 'bugfix/ws_example_test_format' into 'master'
...
Fix format string in websocket example
Closes IDFGH-3025
See merge request espressif/esp-idf!8239
2020-04-03 16:40:48 +08:00
Ivan Grokhotkov
e94288da31
global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs
...
Using the method from @cemeyer
(https://github.com/espressif/esp-idf/pull/3166 ):
find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} +
Closes https://github.com/espressif/esp-idf/pull/3166 .
2020-04-03 01:10:02 +02:00
Elia Bieri
5288a797ef
Fix format string in websocket example
2020-04-02 22:48:58 +02:00
Jiang Jiang Jian
59660c67cd
Merge branch 'mesh/power_save_function_with_local_duty' into 'master'
...
mesh/ps: add mesh network power save function
See merge request espressif/esp-idf!8203
2020-04-02 19:43:12 +08:00
Mahavir Jain
6866f9c996
Merge branch 'bugfix/eth2ap' into 'master'
...
example/eth2ap: Fix station multi-connection problem
See merge request espressif/esp-idf!8051
2020-04-02 13:18:42 +08:00
qiyuexia
6d01dc4cfa
mesh/ps: add mesh network power save function
2020-04-01 22:09:23 +08:00
InfiniteYuan
1f43f025d8
example/eth2ap: fix station multi-connection problem and add channel config item.
...
Closes https://github.com/espressif/esp-idf/issues/5029
2020-04-01 19:20:30 +08:00
fuzhibo
baa7898e35
driver(adc/dac): fix adc dac driver for esp32s2
...
1. update register file about adc; 2. fix adc driver; 3. add UT for adc/dac;
See merge request espressif/esp-idf!7776
2020-04-01 12:41:51 +08:00
David Cermak
abcc3fe6da
spi: fix spi eeprom example build
...
Fix GNU make build error introduced in f53812d27a
2020-03-31 17:48:01 +02:00
Michael (XIAO Xufeng)
4a005a02f9
Merge branch 'bugfix/spi_eeprom_example_make_build' into 'master'
...
spi: fix the component.mk for eeprom example
See merge request espressif/esp-idf!8187
2020-03-31 22:33:07 +08:00
David Čermák
8b0063588f
Merge branch 'bugfix/udp_client_build_error' into 'master'
...
socket examples: Fix udp_client build error
Closes IDFGH-2982
See merge request espressif/esp-idf!8176
2020-03-31 22:25:48 +08:00
Michael (XIAO Xufeng)
6998257514
spi: fix the component.mk for eeprom example
...
introduced in f53812d27a
.
2020-03-31 18:18:18 +08:00
Michael (XIAO Xufeng)
1cdbaf5b50
Merge branch 'bugfix/freemodbus_fix_long_frame_buffer_issue' into 'master'
...
freemodbus: fix long buffer failure (no temp frame buffer)
Closes IDFGH-2371
See merge request espressif/esp-idf!7418
2020-03-30 22:05:49 +08:00
Alex Lisitsyn
3abdd2207d
freemodbus: fix long buffer failure
...
check master read write functions with array of registers)
fix master serial processing code and modbus controller to work with register array
modbus_master: add reading and writing of test value array (58 registers) to check failure is gone
remove parameter temporary buffer from modbus controller to allow more than 24 byte writes
driver: fix issue with TOUT feature
driver: fix uart_rx_timeout issue
driver: fix issue with rxfifo_tout_int_raw not triggered when received fifo_len = 120 byte and all bytes read out of fifo as result of rxfifo_full_int_raw
driver: add function uart_internal_set_always_rx_timeout() to always handle tout interrupt
examples: call uart_internal_set_always_rx_timeout() to handle tout interrupt correctly
examples: update examples to use tout feature
driver: reflect changes of uart_set_always_rx_timeout() function, change uart.c
driver: change conditions to trigger workaround for tout feature in uart.c
driver: change uart_set_always_rx_timeout()
freemodbus: fix tabs, remove commented code
driver: remove uart_ll_is_rx_idle()
2020-03-30 22:05:48 +08:00
Roland Dobai
26695df5c8
app_trace: Add coverage generation by gcovr
2020-03-30 13:34:06 +02:00
Anton Maklakov
0fee085b67
Merge branch 'bugfix/update_esp32s2_iperf_config' into 'master'
...
examples: update esp32s2 config for wifi iperf
See merge request espressif/esp-idf!8084
2020-03-30 16:45:11 +08:00
Michael (XIAO Xufeng)
135aa51d06
Merge branch 'feat/spi1_host_eeprom' into 'master'
...
spi: add eeprom example on SPI1 host
See merge request espressif/esp-idf!7130
2020-03-30 12:14:59 +08:00
Michael (XIAO Xufeng)
de310764c6
Merge branch 'bugfix/fix_i2s_example_sample_calculation_incorrect_bug' into 'master'
...
bugfix (I2S): Fixed I2S example sine wave sample calculation incorrect bug
Closes IDFGH-2947
See merge request espressif/esp-idf!8108
2020-03-30 12:02:31 +08:00
Michael (XIAO Xufeng)
f53812d27a
spi: add eeprom example
2020-03-29 12:52:29 +08:00
Michael (XIAO Xufeng)
0f1041cc04
example: move spi master example to a subfolder
2020-03-29 12:52:29 +08:00
Axel Lin
8592f14a93
socket examples: Fix udp_client build error
...
Fix below build error:
../main/udp_client.c: In function 'udp_client_task':
../main/udp_client.c:58:41: error: 'addr_str' undeclared (first use in this function); did you mean 'caddr_t'?
Fixes: 995ef85e85
("socket examples: add tests for server and client applications")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
2020-03-28 11:29:20 +08:00
Jiang Jiang Jian
79e92b0e6a
Merge branch 'bugfix/ble_mesh_add_test_function' into 'master'
...
ble_mesh: Add ble mesh white list test function
See merge request espressif/esp-idf!8046
2020-03-27 19:53:54 +08:00
Angus Gratton
2415531f44
Merge branch 'refactor/esp_event_examples_new_interface' into 'master'
...
Examples: esp event examples use new register API
See merge request espressif/esp-idf!7928
2020-03-27 18:05:45 +08:00
Alex Lisitsyn
16e6e63694
driver: fix driver set rx timeout feature of uart
...
tout_thr - move calculation and masking into hal layer update driver and uart_ll (add uart_ll_set_rx_tout)
move tout calculation into uart_ll
move calculation of time out in bit time for esp32s2 into low level uart_ll.h file
move uart_hal_get_symb_len() into hal
update set_rx_timeout() to warn user about incorrect value
update HAL, LL 1
fix uart_xx_set_rx_tout() to convert symbol time into bit time
update param description
update tout calculation in LL
update uart_hal_get_max_rx_timeout_thrd() and uart_ll_get_max_rx_timeout_thrd()
2020-03-27 16:20:21 +08:00
Prasad Alatkar
2bc28bbd5a
NimBLE: Fix NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT
in esp_nimble_cfg
and bleprph
README
2020-03-27 14:05:32 +08:00
Angus Gratton
88bf21b21e
Merge branch 'nimble/iram_allocation_strategy' into 'master'
...
NimBLE: Add support to IRAM allocation strategy
See merge request espressif/esp-idf!8015
2020-03-27 13:54:25 +08:00
Mahavir Jain
7cbc593ef6
Merge branch 'bugfix/http2_request_example' into 'master'
...
Fixed broken http2_request example.
See merge request espressif/esp-idf!8000
2020-03-26 19:45:10 +08:00
fuzhibo
340563f479
Driver(touch): fix touch sensor driver for esp32s2.
...
1.update touch sensor driver for esp32s2;
2.update unit test for touch sensor;
3.update register files about touch sensor;
2020-03-25 22:45:57 +08:00
lly
45d43f005a
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-03-25 11:30:08 +08:00
Jakob Hasse
1cf2312734
Examples: some examples use new event register API
...
* getting started - station
* softap
* iperf
* fast scan
* Power save
2020-03-25 10:36:47 +08:00
Angus Gratton
62426a6c90
Merge branch 'refactor/use_new_component_registration_functions' into 'master'
...
CMake: Use new component registration function
See merge request espressif/esp-idf!8068
2020-03-25 08:02:42 +08:00
houwenxiang
0304ba906f
Example(I2S): Fixed I2S example sine wave sample calculation incorrect bug.
...
closes https://github.com/espressif/esp-idf/issues/4980
2020-03-25 01:35:01 +08:00
Ivan Grokhotkov
55c3c2b73d
Merge branch 'feature/vfs_optional' into 'master'
...
vfs: add option to disable VFS layer, saving some RAM and code size
See merge request espressif/esp-idf!7950
2020-03-24 21:11:28 +08:00
David Čermák
e50a7a97da
Merge branch 'bugfix/ipv6_examples' into 'master'
...
IPv6 related updates: esp-netif, common-connect, socket-examples
See merge request espressif/esp-idf!7500
2020-03-24 19:32:33 +08:00
ChenJianxing
fabb7e5e87
examples: update esp32s2 config for wifi iperf
2020-03-24 11:36:16 +08:00
Mahavir Jain
4e0e15631d
Merge branch 'feature/esp_http_client_add_example' into 'master'
...
Add example to demonstrate use of low level APIs in http client
Closes IDFGH-2773
See merge request espressif/esp-idf!7832
2020-03-23 21:14:13 +08:00
David Cermak
a5a750ba48
examples: add socket stdin utils to common connect component
2020-03-23 12:19:38 +00:00
David Cermak
995ef85e85
socket examples: add tests for server and client applications
2020-03-23 12:19:38 +00:00
David Cermak
63aa0d6e9c
common_connect: add support for getting multiple IPv6 addresses
2020-03-23 12:19:38 +00:00
David Cermak
56725fa678
esp-netif: support for ipv6 addr types and indices
2020-03-23 12:19:38 +00:00
David Cermak
94ded5fb2f
socket-examples: IPv6 related update for examples to set correct scoped id
...
The scope id must be present when connecting to IPv6 Local Link
address.
2020-03-23 12:19:38 +00:00
Ivan Grokhotkov
286538e7af
Merge branch 'bugfix/ci_example_target_specific_defaults' into 'master'
...
ci: consider sdkconfig.defaults.TARGET_NAME in examples and test apps
See merge request espressif/esp-idf!8061
2020-03-23 15:48:15 +08:00
Angus Gratton
b4d97a8076
Merge branch 'feature/add_heap_info_per_task_example' into 'master'
...
Add Task Heap Tracking example
See merge request espressif/esp-idf!7750
2020-03-23 14:07:00 +08:00
Vikram Dattu
e27c495354
Fixed broken http2_request example.
...
Implementation of `esp_tls_conn_new_sync` now uses timeout_ms value to
give up retries.
Specified this value to be 10 sec. (10 * 1000 ms).
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2020-03-23 05:16:40 +00:00
Shubham Kulkarni
b9555db47f
examples: Add example to demonstrate use of low level APIs for GET and POST requests
...
Use buffer to accumulate data of response from event handler and print the response on console
Demonstrate use of user_data field in esp_http_client_config_t to get response body
2020-03-23 10:45:39 +05:30
Shubham Kulkarni
d0d99fe4c7
esp_http_client_example.c: Fix http_perform_as_stream_reader example
...
Run Basic Auth examples only if ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is enabled
Closes https://github.com/espressif/esp-idf/issues/4969
2020-03-23 10:45:39 +05:30
Renz Bagaporo
4d9c573fb6
test, examples: use new component registration function
2020-03-23 10:58:48 +08:00
Chen Sheng
f3986bca71
ble mesh: update ble mesh console example
2020-03-22 18:34:39 +08:00
Ivan Grokhotkov
bfefee3205
examples: set correct CPU frequency in ethernet/iperf for ESP32-S2
2020-03-20 15:33:32 +01:00
Ivan Grokhotkov
1e462be4ab
examples: print free heap size in hello_world example
2020-03-20 14:07:10 +01:00
David Čermák
e7cd3b592e
Merge branch 'bugfix/esp_netif_ppp_setdefault_fix' into 'master'
...
ESP-NETIF: Set default interface for ppp netif must be called from lw_ip context
Closes IDFGH-2672
See merge request espressif/esp-idf!7555
2020-03-20 14:50:41 +08:00
Jiang Jiang Jian
4504fe62d0
Merge branch 'bugfix/add_esp_ble_mesh_coex_demo' into 'master'
...
ble_mesh: add ble mesh coex with tcp demo.
See merge request espressif/esp-idf!6372
2020-03-20 13:20:57 +08:00
David Cermak
fffdc1d789
esp-netif-ppp: support for setting ppp netif up and down
...
calling esp_netif_up() and esp_netif_down() was not supported if the
underlying netif wos of ppp type. Updated the code to enable setting
these interfaces up/down and registered actions in moden_netif glue for
connection/disconnection events to set the netif up/down.
2020-03-19 13:16:24 +00:00
Shubham Kulkarni
6e09056c25
example: Add Heap Task Tracking example
2020-03-19 15:07:41 +05:30
David Čermák
1d3dbb239a
Merge branch 'feature/ws_server' into 'master'
...
http_server: adds WebSocket support
Closes IDFGH-2151 and IDFGH-2752
See merge request espressif/esp-idf!7893
2020-03-19 17:20:56 +08:00
Hrishikesh Dhayagude
67a6fd6f3b
NimBLE: Add support to IRAM allocation strategy
...
Added IRAM allocation provision under nimble_platform_mem_malloc()
2020-03-19 04:47:39 +00:00
Angus Gratton
207914a13a
Merge branch 'refactor/common_code_panic_handler' into 'master'
...
Panic handling common code refactor
See merge request espressif/esp-idf!7489
2020-03-19 11:23:57 +08:00
David Cermak
0c13082b20
http_server docs: document websocket feature and corresponding example
2020-03-18 20:24:46 +00:00
David Cermak
1b842ce1a8
http_server: websocket server to support async send
2020-03-18 20:24:46 +00:00
David Cermak
d7b3a051f0
examples: http_server - add websocket echo server example with test
2020-03-18 20:24:46 +00:00
Jiang Jiang Jian
5193838a07
Merge branch 'feat/ble_mesh_vnd_model_example' into 'master'
...
Feat/ble mesh vnd model example
Closes BLEMESH-167
See merge request espressif/esp-idf!7840
2020-03-17 15:35:20 +08:00
Mahavir Jain
6795fc194f
Merge branch 'fix/wifi_provisioning_uuid' into 'master'
...
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script
See merge request espressif/esp-idf!7939
2020-03-17 12:00:32 +08:00
Ivan Grokhotkov
454293159d
Merge branch 'docs/update_esp32s2_oocd_target_name' into 'master'
...
Updates OpenOCD commands
See merge request espressif/esp-idf!7906
2020-03-17 01:15:10 +08:00
Alexey Gerenkov
7ee7a6d7bb
docs: Updates OpenOCD command names
2020-03-16 19:06:47 +03:00
Prasad Alatkar
415ccf8518
Wifi_provisioning_mgr_test: Allow three attempts to connect to AP before concluding provisioning failure
2020-03-16 08:20:37 +00:00
Prasad Alatkar
8419aa85a9
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-16 08:20:37 +00:00
Piyush Shah
9ee5f3e8ce
wifi_prov_mgr: Add config options to switch transport and support for custom data
...
Config options have been set such that BLE transport will be the default for ESP32
and SoftAP will be the default for ESP-S2.
CMakeLists.txt for all provisioning examples applicable for ESP32-S2 have also been updated
as these now work fine on ESP32-S2
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
Piyush Shah
156ae68275
provisioning_examples: Move older examples to legacy/ folder
...
Change the manager example folder name to wifi_prov_mgr to sound more meaningful.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2020-03-13 06:23:15 +00:00
lly
0d6ad3265e
ble_mesh: Add ESP BLE Mesh vendor models example
2020-03-12 18:21:29 +08:00
lly
e8fc87b6f3
ble_mesh: Rename ble_mesh_vendor_models to common_vendor_models
2020-03-12 17:50:12 +08:00
Angus Gratton
694e22b41a
Merge branch 'feature/multi_target_performance_test' into 'master'
...
Add multi-target support for performance tests
Closes IDF-1137 and IDF-1113
See merge request espressif/esp-idf!7831
2020-03-11 14:38:51 +08:00
Renz Christian Bagaporo
2b100789b7
esp32, esp32s2: move panic handling code to new component
2020-03-10 19:56:24 +08:00
Jiang Jiang Jian
a30557ca31
Merge branch 'mesh/feature_chain_topology' into 'master'
...
Mesh/feature chain topology
Closes WIFI-1726
See merge request espressif/esp-idf!7215
2020-03-10 17:41:11 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
Michael (XIAO Xufeng)
81daaff050
Merge branch 'feature/usb_component' into 'master'
...
Feature/usb component
See merge request espressif/esp-idf!6897
2020-03-09 16:53:55 +08:00
Andrei Gramakov
9d059be165
usb: added a tinyusb component; ci; soc.
...
ci: ignore s2-only projects from the cmake-make test
soc: refactored the usb part
2020-03-09 07:55:06 +01:00
Angus Gratton
c1871437c8
Merge branch 'bugfix/console_repl_build_failure' into 'master'
...
bugfix reported on GitHub (ethernet, console, i2ctool)
Closes IDFGH-2780, IDFGH-2361, and IDFGH-2829
See merge request espressif/esp-idf!7886
2020-03-09 14:26:39 +08:00
qiyuexia
7bd03faa4b
mesh: add chain topology
2020-03-09 06:00:42 +00:00
Angus Gratton
1a8dc6f76b
Merge branch 'bugfix/ws_example_text_send' into 'master'
...
examples: websocket example to send textual data with esp_websocket_client_send_text()
See merge request espressif/esp-idf!7894
2020-03-09 13:34:51 +08:00
Felipe Ruhland
718a34f765
Fix typo from ic2_tools readme
...
Merges https://github.com/espressif/esp-idf/pull/4488
2020-03-07 12:11:37 +08:00
Michael (XIAO Xufeng)
63cd2b0613
Merge branch 'feature/esp32s2_sd_card_example' into 'master'
...
examples: re-enable storage/sd_card example for ESP32-S2
Closes IDF-1125
See merge request espressif/esp-idf!7850
2020-03-06 16:10:07 +08:00
Angus Gratton
46e6307e07
Merge branch 'bugfix/fix_passing_argument_to_ulp_cmake_script' into 'master'
...
Fix passing argument to ULP CMake script
See merge request espressif/esp-idf!7845
2020-03-06 14:37:03 +08:00
Angus Gratton
b393203b27
Merge branch 'feature/x509_cert_management' into 'master'
...
X509 certificate management
Closes IDF-296
See merge request espressif/esp-idf!5346
2020-03-06 14:29:53 +08:00
Michael (XIAO Xufeng)
8e348dcdcd
Merge branch 'bugfix/fix_driver_ut_i2s' into 'master'
...
bugfix(i2s): fix driver ut i2s
See merge request espressif/esp-idf!6946
2020-03-06 11:55:07 +08:00
Prasad Alatkar
48bd2d74b4
NimBLE: Add Host based privacy (RPA) feature support
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-06 11:02:18 +08:00
David Čermák
a3816bcb75
Merge branch 'bugfix/example_esp32s2_ipv6_on' into 'master'
...
examples: enable IPv6 in example common connect for esp32s2
Closes IDF-1115
See merge request espressif/esp-idf!7879
2020-03-06 04:05:27 +08:00
David Cermak
48fe3a13f5
examples: common connect code to ignore GOT_IP6_EVENT if comes from unrelated netif
2020-03-05 18:46:48 +00:00
David Cermak
eae8eaa55f
esp-netif-ppp: support for posting GOT_IP event for IPv6
2020-03-05 18:46:48 +00:00
Francesco Giancane
afd6d6294e
examples: pppos_client: update sdkconfig.defaults
...
As per discussion in #4782 , IPV6 link local negotiation by default is
disabled.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
2020-03-05 18:46:48 +00:00
David Cermak
0927ac648f
examples: enable IPv6 in example common connect for esp32s2
...
Closes IDF-1115
2020-03-05 18:33:35 +00:00
David Cermak
e5650d1ed8
examples: websocket example to send textual data with esp_websocket_client_send_text()
...
Closes https://github.com/espressif/esp-idf/issues/4640
2020-03-05 16:26:26 +01:00
Ivan Grokhotkov
4fc3ebbdf6
examples: re-enable storage/sd_card example for ESP32-S2
...
* adjust SPI initialization
* update readme file to mention ESP32-S2
2020-03-05 13:22:18 +01:00
wangcheng
03d11913a2
ble_mesh: add ble mesh coex test example
2020-03-04 14:56:26 +08:00
Marius Vikhammer
947e3e94ed
Add ESP certificate bundle feature
...
Adds the ESP certificate bundle feature that enables users to bundle a
root certificate bundle together with their application.
Default bundle includes all Mozilla root certificates
Closes IDF-296
2020-03-04 10:51:43 +08:00
Renz Bagaporo
7dbd77cefc
examples: split source files for one of the ulp examples
2020-03-03 16:56:14 +08:00
xiongyu
b3ae9fa978
bugfix(i2s): Updated ESP32-S2 ADC DAC support
...
* Delete the relevant codes of ADC DAC of ESP32-S2.
2020-03-03 12:59:30 +08:00
fuzhibo
3ad5138dd8
fix coexist i2s_adc and rtc_adc
2020-03-03 11:58:53 +08:00
xiongyu
faf898b659
bugfix(i2s): fix driver ut i2s
...
* Add test support for ESP32S2
* Add loop back test
* Support chip internal connection, no external wiring required.
* Delete the relevant codes of PDM of ESP32-S2 ll layer.
* fix dac dma mode issue
2020-03-03 11:58:53 +08:00
Michael (XIAO Xufeng)
ce3ab0b8df
Merge branch 'bugfix/nec_example' into 'master'
...
bugfix in NEC example and low level function
Closes IDFGH-2676 and IDFGH-2689
See merge request espressif/esp-idf!7562
2020-02-28 11:00:50 +08:00
lly
7cd08b5824
ble_mesh: Miscellaneous modifications
...
1. Add an API to set Provisioner static oob value
2. Add an API to deinit BLE Mesh stack
3. Add an API to set Provisioner unicast address
4. Add an API to provision devices with fixed address
5. Add an API to store node composition data
6. Add an API to get node with device uuid
7. Add an API to get node with unicast address
8. Add an API to delete node with device uuid
9. Add an API to delete node with unicast address
10. Add an API for Provisioner to update local AppKey
11. Add an API for Provisioner to update local NetKey
12. Support Provisioner persistent functionality
13. Fix Provisioner entering IV Update procedure
14. Fix an issue which may cause client failing to send msg
15. Use bt_mesh.flags to indicate device role
16. Remove several useless macros
17. Callback RSSI of received mesh provisioning packets
18. Modify the Provisioner disable function
19. Change some log level from debug to info
20. Add parameters to Provisioner bind AppKey completion event
21. Fix node ignoring relay messages issue
22. Support using a specific partition for BLE Mesh
23. Fix compile warning when proxy related macros are disabled
24. Clean up BLE Mesh stack included header files
25. NULL can be input if client message needs no parameters
26. Fix compile warning when BT log is disabled
27. Initilize BLE Mesh stack local variables
28. Support using PSRAM for BLE Mesh mutex, queue and task
29. Add a menuconfig option to enable using memory from PSRAM
30. Clean up sdkconfig.defaults of BLE Mesh examples
2020-02-26 17:37:44 +08:00
Krzysztof Budzynski
097d0bd9c8
Merge branch 'bugfix/doc_python3' into 'master'
...
Docs: Encourage to use Python 3
Closes IDF-1316
See merge request espressif/esp-idf!7726
2020-02-26 05:04:18 +08:00
Jiang Jiang Jian
02e2c30ba2
Merge branch 'bugfix/hfp_github_issues' into 'master'
...
Bugfix/hfp github issues
Closes BT-614, BT-639, and BT-633
See merge request espressif/esp-idf!7753
2020-02-25 21:05:56 +08:00
weitianhua
477e584f7d
Bugfix for HFP and some Github issue.
...
1. Bugfix for AG audio crash (change the return position)
2. Fix the error macro name and error return in hfp_hf demo
3. Fix the annotation error using UTF-8 ' (from Github)
4. Change or remove the log in SCO related code region.
5. Correct error of introduction of a function.
2020-02-25 18:03:54 +08:00
Jiang Jiang Jian
cc7b5ed6d2
Merge branch 'feature/resume_several_tests_on_esp32s2' into 'master'
...
Resume several tests on esp32s2
Closes IDF-1013, IDF-1025, and IDF-1030
See merge request espressif/esp-idf!7751
2020-02-25 14:28:14 +08:00
Roland Dobai
5c0cd9417d
Docs: Encourage to used Python 3
2020-02-24 12:55:55 +01:00
Shubham Kulkarni
4d40f94168
OTA: Add fix in case of URL redirection and a test case of URL redirection
...
Closes https://github.com/espressif/esp-idf/issues/4780
2020-02-24 16:53:27 +05:30
morris
237f6448d3
resume pppos example on esp32s2
2020-02-24 12:02:18 +08:00
morris
da6742b91f
resume iperf example on esp32s2
2020-02-24 11:59:25 +08:00
Mahavir Jain
d472e99a8f
examples: fix cpp example tests regression
2020-02-19 11:03:07 +05:30
Ivan Grokhotkov
fe0df01b12
Merge branch 'bugfix/from_github' into 'master'
...
Fixes from Github
Closes IDFGH-2679, IDFGH-2632, IDFGH-2716, IDFGH-2439, and IDFGH-2509
See merge request espressif/esp-idf!7659
2020-02-18 23:53:38 +08:00
Jiang Jiang Jian
a16d795448
Merge branch 'example/ble_optimization_the_example_ble_spp_server_demo' into 'master'
...
example : Optimize the ble_spp_server_demo example
Closes BCI-90
See merge request espressif/esp-idf!7029
2020-02-18 21:00:54 +08:00
khuynh
21fd946312
fix markdown table formatting
...
fixed markdown for a table in
`examples/peripherals/temp_sensor_esp32s2/README.md`
Merges https://github.com/espressif/esp-idf/pull/4609
2020-02-18 12:30:56 +01:00
Jakob Hasse
31edd48b43
C++: Moved all C++ examples to own folder
...
* moved C++ examples to a new cxx folder in
examples
* added experimental C++ component
* added ESPException class to the C++ experimental
component
* added test cases for ESPException and
corresponding test macros
2020-02-18 12:48:57 +08:00
Renz Christian Bagaporo
bb639bb91d
ulp: use quotes when specifying files for embedding ulp binaries
2020-02-18 00:12:56 +00:00
DeeFuse
c788351c94
Update ir_builder_rmt_nec.c
...
fixes standard protocol mode wich would fail due to integer promotion in inversion
Merges https://github.com/espressif/esp-idf/pull/4750
2020-02-17 15:20:41 +08:00
DeeFuse
a63a0be6ed
Update ir_protocols_main.c
...
RMT write should be non-blocking to wait the correct time for sending the repeat frame
2020-02-17 15:20:41 +08:00
Angus Gratton
effefc2329
Merge branch 'feat/sdio_example_without_intr' into 'master'
...
sdio: update the host example to support working with a slave without DAT1
See merge request espressif/esp-idf!7098
2020-02-17 07:04:31 +08:00
Jiang Jiang Jian
928438056d
Merge branch 'bugfix/btdm_hfp_ag_crash_in_unknown_at_cmd' into 'master'
...
components/bt: Fix connection fail and crash when receive unknown AT cmd
Closes BT-565
See merge request espressif/esp-idf!7389
2020-02-14 19:46:46 +08:00
Michael (XIAO Xufeng)
067f3d21c9
sdspi, vfs_fat: allow sharing SPI bus among devices, and mounting multiple SD cards
2020-02-12 15:16:08 +08:00
Francesco Giancane
d8755fff3f
esp_modem.c: post PPP stop event when requested
...
When library users call esp_stop_ppp(), it is expected that the PPP link
is closed and the DCE is moved into command mode.
If the STOP event is not posted into the event loop, then the PPP stack
would not be turned off, resulting in the impossibility to switch into
command mode, as the modem is still sending PPP binary data.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4642
2020-02-10 09:49:27 +00:00
Ivan Grokhotkov
f11b8f14c7
Merge branch 'feature/support_enc28j60' into 'master'
...
Added ENC28J60 Example
Closes IDFGH-2295
See merge request espressif/esp-idf!6877
2020-02-10 17:18:38 +08:00
Angus Gratton
59c39173f2
Merge branch 'feature/mqtt_unit_test' into 'master'
...
mqtt: basic set of unit tests, modify example tests to check ssl connect
See merge request espressif/esp-idf!7393
2020-02-10 15:10:56 +08:00
morris
9e59be1aab
ethernet: add enc28j60 example
2020-02-10 12:56:14 +08:00
Henry Gilbert
eda07acc81
Add ENC28J60 Ethernet Driver
...
Merges https://github.com/espressif/esp-idf/pull/4435
2020-02-10 12:56:14 +08:00
David Cermak
911be99054
mqtt-tests: migrate the publish-connection test from example-test to test-apps
2020-02-07 21:14:24 +01:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
David Cermak
3ecb731c23
mqtt: example test to check connection with different ssl parameters
2020-02-07 10:35:40 +01:00
Ivan Grokhotkov
8a6c3c254c
examples/smtp: fix strict prototypes error in SMTP example
2020-02-06 16:40:13 +01:00
Angus Gratton
5c05af2641
Merge branch 'example/simple_smtp_client' into 'master'
...
Added simple SMTP email client.
Closes IDF-1292
See merge request espressif/esp-idf!7309
2020-02-06 14:29:43 +08:00
Angus Gratton
34b1ea9b3d
Merge branch 'feature/netif_ppp_authtype_none' into 'master'
...
esp-netif: PPPoS fixes
Closes IDFGH-2553 and IDFGH-2548
See merge request espressif/esp-idf!7488
2020-02-06 14:14:43 +08:00
Shubham Kulkarni
ba31458347
OTA: Fixed OTA with chunked servers and added example_test with chunked server
2020-02-05 11:56:37 +05:30
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
zhiweijian
4ffb4911e1
gatt_server example receive prepare write
2017-05-22 10:33:36 +08:00
Guido García
3d6da958d3
Fix typo in comment
...
This is a minor fix (moudule -> module)
Merges https://github.com/espressif/esp-idf/pull/555
2017-05-17 10:44:56 +10:00
Ivan Grokhotkov
98e15df7f6
examples: add ULP ADC example
2017-05-16 13:15:02 +08:00
Kewal M Shah
2008f4d88c
feature: add Motor Control PWM(mcpwm) driver
...
1. Name change from chopper to carrier, block diagram update, minor changes to example codes
2. mcpwm_reg.h changed, brought uniformity in comments, worked on suggestions, duty to accept float. Some name changes!
3. Minor readme changes and Indetation
4. Minor change: move mcpwm_reg.h and mcpwm_struct.h to new path
5. Minor change: addition of BLDC example code and Readme
6. Name changed from epwm to mcpwm
7. Improve the reg name in mcpwm_struct.h
8. Name change chopper>carrier, deadband>deadtime
2017-05-12 15:47:59 +08:00
Ivan Grokhotkov
15a6145961
Merge branch 'feature/get_chip_ver' into 'master'
...
add API to get chip info
This change adds an API to get chip info, such as chip model, enabled capabilities, size of embedded flash, silicon revision.
Hello_world example is modified to print out the information about the chip. The example is also simplified by moving all code into the main task.
Ref TW12031.
See merge request !549
2017-05-11 12:05:55 +08:00
Ivan Grokhotkov
c742f7d860
Merge branch 'feature/base_mac_address' into 'master'
...
Optimize configuration of base MAC address
Application developer can call APIs to configure base MAC address
instead of using menuconfig.
See merge request !744
2017-05-11 12:01:51 +08:00
XiaXiaotian
b22067a8f0
Optimize configuration of base MAC address
...
Application developer can call APIs to configure base MAC address
instead of using menuconfig.
2017-05-10 10:15:07 +08:00
Jiang Jiang Jian
eb00de5384
Merge branch 'bugfix/btdm_debug_gattc_adv' into 'master'
...
component/bt: fix adv stop event bug and add attribute table create
- Fix bug that advertising stop event produced while calling start_adv function
- Modify gatt server adv data and scan rsp data raw setting
- Add create attribute table error msg
- Delete redundant printf in previous commits
See merge request !739
2017-05-09 22:36:24 +08:00
Jeroen Domburg
a41ac2d21d
Merge branch 'bugfix/spi_example' into 'master'
...
SPI: Various fixes (examples, mem leak, arg check)
- Fix SPI master example to use DMA-capable memory for display initialization. Fixes https://github.com/espressif/esp-idf/issues/551
- SPI master: Do not leak DMA descriptor pointer array on free
- SPI Master/Slave: Check if DMA'ed buffers actually live in DMA-capable memory
See merge request !735
2017-05-08 17:28:55 +08:00
Ivan Grokhotkov
8e3c30a27d
Merge branch 'bugfix/sntp_timezone' into 'master'
...
examples: fix timezone for China in SNTP example
Daylight saving time isn’t observed in China.
Fixes https://github.com/espressif/esp-idf/issues/549
See merge request !722
2017-05-08 15:48:03 +08:00
island
da67773b02
component/bt: fix adv stop event bug and add attribute table create
...
error
- Fix bug that advertising stop event produced while calling start_adv function
- Modify gatt server adv data and scan rsp data raw setting
- add create attribute table error msg
- Delete redundant printf in previous commits
2017-05-08 15:44:36 +08:00
Jiang Jiang Jian
fd079a8bd6
Merge branch 'bugfix/set_scan_bug_rebase_#10399' into 'master'
...
component/bt: component/bt: Check own address and filter policy for validity.
rebase the invalid scan params not report error.
See merge request !736
2017-05-05 17:47:27 +08:00
Ivan Grokhotkov
db295b24f9
examples: print chip info in hello_world example
2017-05-05 17:28:30 +08:00
Yulong
0a56b748df
component/bt:change the ESP_PUBLIC_ADDR to BLE_ADDR_TYPE_PUBLIC.
2017-05-05 04:46:08 -04:00
Daniel
dfb8aa6257
place initialization sequence into DRAM to be reachable by DMA
...
Signed-off-by: Jeroen Domburg <jeroen@espressif.com>
2017-05-05 11:13:12 +08:00
zhiweijian
fb45ee7a4c
Component/bt: add new cmd for blufi ,ESP32 close a gatt connection
2017-05-04 20:31:58 +08:00
Yulong
c0825b35c1
component/bt:fix the bug with gatt client cant not receive the gatt server service change event.
2017-05-02 22:53:48 -04:00
Ivan Grokhotkov
4c01929a1e
examples: fix timezone for China in SNTP example
...
Daylight saving time isn’t observed in China.
Fixes https://github.com/espressif/esp-idf/issues/549
2017-04-28 19:37:14 +08:00
Angus Gratton
7db85a386a
Merge branch 'bugfix/i2s_driver' into 'master'
...
I2S driver - fixed support for 24 and 32-bits, fixed tx/rx at the same time
- Modify sample can test with 24, 32-bits audio
- Add i2s sample README
- simply i2s_push function
- change sample rates, bits per sample, channel on fly
See merge request !483
2017-04-28 08:00:07 +08:00
Ivan Grokhotkov
6f0a9f76cd
Merge branch 'feature/ci_minor_fixes' into 'master'
...
ci minor fixes
See merge request !707
2017-04-28 00:25:13 +08:00
Jiang Jiang Jian
0759897bfb
Merge branch 'bugfix/btdm_gattc_adv_bug' into 'master'
...
component/bt: Fix memory leakage, connection fail bugs
- Fix memory leakage while deregisting gatt app
- Fix Android connection failed problem
- Fix service_uuid_len error in adv data
See merge request !706
2017-04-27 21:13:16 +08:00
Jiang Jiang Jian
a21d524ca0
Merge branch 'feature/btdm_ble_bt_separa' into 'master'
...
Feature/btdm ble bt separa
@Jack @snake @igrokhotkov @angus @island please help to review the code.
Separate the bt/ble code. After the separate, can save 15k~25k ram & 240k~460k code size(depending on the menuconfig).
See merge request !684
2017-04-27 21:12:44 +08:00
Jeroen Domburg
46fa2cfb46
Merge branch 'feature/spi_slave' into 'master'
...
Split common SPI stuff out of master driver; add slave driver; add workaround for DMA issue.
This merge req mainly adds a slave device. In order to do this, the original master driver is refactored into common code shared by master and slave modes, and a slave driver is added.
The other things added are:
- Added a workaround for a 'feature' of the ESP32 silicon that can lock up the receive DMA channel in some situations. This can only be fixed by resetting *both* DMA channels. The workaround implemented makes sure that the reset only happens when both channels are idle
- Got rid of the automatic choice between register- and DMA-based transfers. The master (and slave) code will now always go for a DMA transfer if a DMA channel is given, and always go for register-based transfers if no DMA channel is given.
- Add in a bunch of fixes for outstanding Github issues.
See merge request !659
2017-04-27 12:28:42 +08:00
Jeroen Domburg
4c06dca15c
SPI: Small fixes according to MR comments
2017-04-27 11:49:04 +08:00
Jeroen Domburg
e9c372bc2d
SPI: Split common SPI stuff out of master driver; add slave driver; add workaround for DMA issue.
2017-04-27 11:49:04 +08:00
Tuan PM
fc1ee2666a
I2S: fixed support for 24 and 32-bits, fixed tx/rx at the same time and others in log:
...
Add support 24, 32 bits
@jxmao optimize i2s_zero_buffer
@jxmao correct config support slave mode
@jxmao correct setup pin support tx/rx at the same time
Enhance pin power
@jxmao add dynamic change number of channels
remove nvs_init
remove start log and enhance power pin setup
using enum for i2s_channel and i2s_bits_per_sample, return ESP_ERR_INVALID_ARG when check params
validate i2s_bits_per_sample and channel
check tx & rx buffer before fill zero
remove checking channel as @jxmao suggest
limit dma buffer
modify i2s pin back to gpio mux before configure gpio matrix, resolve github issue #512
Add support 24, 32 bits
reduce push function
Modify sample can test with 24, 32-bits
Add i2s sample README
Fixed i2s_set_clk got reset sometime
can changes bit-wide while running
Fix sample rate calculation for DAC mode from @jeroen
modify example can change bits per sample every 5 seconds
cleanup
add comment for bytes_per_sample
update as @angus suggestions
Add i2s_set_clk api
I2S driver bug fixed as following log:
@jxmao optimize i2s_zero_buffer
@jxmao correct config support slave mode
@jxmao correct setup pin support tx/rx at the same time
Enhance pin power
@jxmao add dynamic change number of channels
remove nvs_init
remove start log and enhance power pin setup
using enum for i2s_channel and i2s_bits_per_sample, return ESP_ERR_INVALID_ARG when check params
validate i2s_bits_per_sample and channel
check tx & rx buffer before fill zero
remove checking channel as @jxmao suggest
limit dma buffer
modify i2s pin back to gpio mux before configure gpio matrix, resolve github issue #512
limit dma buffer to 4092
change gpio_matrix_*_check to inline function, remove some comments and rename test_i2s function to setup_triangle_sine_waves
for change commit title
2017-04-27 10:00:10 +07:00
Anton Maklakov
079b0128de
build: Fix comments and avoid build warning
2017-04-27 10:51:45 +08:00
island
a3717515a2
component/bt: Fix memory leakage, connection fail bugs
...
- Fix memory leakage while deregisting gatt app
- Fix Android connection failed problem
- Fix service_uuid_len error in adv data
2017-04-26 16:07:56 +08:00
Ivan Grokhotkov
0fe765a977
Merge branch 'feature/32k_xtal' into 'master'
...
add support for 32k XTAL as RTC_SLOW_CLK source
- RTC_CNTL_SLOWCLK_FREQ define is removed; rtc_clk_slow_freq_get_hz
function can be used instead to get an approximate RTC_SLOW_CLK
frequency
- Clock calibration is performed at startup. The value is saved and used
for timekeeping and when entering deep sleep.
- When using the 32k XTAL, startup code will wait for the oscillator to
start up. This can be possibly optimized by starting a separate task
to wait for oscillator startup, and performing clock switch in that
task.
- Fix a bug that 32k XTAL would be disabled in rtc_clk_init.
- Fix a rounding error in rtc_clk_cal, which caused systematic frequency
error.
- Fix an overflow bug which caused rtc_clk_cal to timeout early if the
slow_clk_cycles argument would exceed certain value
- Improve 32k XTAL oscillator startup time by introducing bootstrapping
code, which uses internal pullup/pulldown resistors on 32K_N/32K_P
pins to set better initial conditions for the oscillator.
Ref TW11683.
Ref https://esp32.com/viewtopic.php?f=13&t=1570
Fixes https://github.com/espressif/esp-idf/issues/337 .
See merge request !696
2017-04-26 14:01:59 +08:00
Ivan Grokhotkov
6353bc40d7
Add support for 32k XTAL as RTC_SLOW_CLK source
...
- RTC_CNTL_SLOWCLK_FREQ define is removed; rtc_clk_slow_freq_get_hz
function can be used instead to get an approximate RTC_SLOW_CLK
frequency
- Clock calibration is performed at startup. The value is saved and used
for timekeeping and when entering deep sleep.
- When using the 32k XTAL, startup code will wait for the oscillator to
start up. This can be possibly optimized by starting a separate task
to wait for oscillator startup, and performing clock switch in that
task.
- Fix a bug that 32k XTAL would be disabled in rtc_clk_init.
- Fix a rounding error in rtc_clk_cal, which caused systematic frequency
error.
- Fix an overflow bug which caused rtc_clk_cal to timeout early if the
slow_clk_cycles argument would exceed certain value
- Improve 32k XTAL oscillator startup time by introducing bootstrapping
code, which uses internal pullup/pulldown resistors on 32K_N/32K_P
pins to set better initial conditions for the oscillator.
2017-04-26 12:43:22 +08:00
Yulong
a4d9aadeca
component/bt:Merge the new master to this branch
2017-04-25 08:14:54 -04:00
Yulong
09f69fe9ea
Merge branch 'master' of ssh://gitlab.espressif.cn:27227/idf/esp-idf
2017-04-25 07:58:24 -04:00
Ivan Grokhotkov
b540322dc1
Merge branch 'feature/wear_levelling' into 'master'
...
wear levelling
This MR adds wear levelling component. It presents an interface similar to the interface of spi_flash and esp_partition. Inside, it stores data inside a partition to in a way that reduces worst case number of erase cycles for any given sector.
Also included are APIs similar to the ones provided for SDMMC to mount FAT filesystem on top of the wear levelling partition. A simple example shows how this API can be used.
Ref TW10338.
See merge request !567
2017-04-25 19:46:11 +08:00
Jiang Jiang Jian
3f4e917ad6
Merge branch 'feature/ppp_over_serial' into 'master'
...
Enable experimental/unsupported PPP over Serial driver
From PR #272 https://github.com/espressif/esp-idf/pull/272
See merge request !690
2017-04-25 14:02:55 +08:00
Jiang Jiang Jian
90c8bd93e0
Merge branch 'feature/ethernet_lan8720' into 'master'
...
ethernet: Add LAN8720 phy support, move PHY to components
Encompasses PR #383 https://github.com/espressif/esp-idf/pull/383
Also includes changes to move PHY support functions into ethernet component, similar to #398 https://github.com/espressif/esp-idf/pull/398/files .
See merge request !540
2017-04-24 17:03:37 +08:00
Jiang Jiang Jian
36ed7f507e
Merge branch 'bugfix/gattc_example_strcmp' into 'master'
...
Fix device_name check in gatt_client example
`strcmp` was used against `adv_name` array, which was not a zero terminated string, causing `strcmp` check to fail for valid names.
Ref. https://github.com/espressif/esp-idf/pull/502
See merge request !652
2017-04-24 13:11:41 +08:00
Jiang Jiang Jian
767e38f462
Merge branch 'example/perf_tcp_udp_revision' into 'master'
...
tcp_udp_perf: add license and modify some details
tcp_udp_perf: add license and modify some details
See merge request !666
2017-04-24 13:07:32 +08:00
Angus Gratton
fa3120cb40
PPPoS example: Move pin configuration to menuconfig, add log statement
...
Also remove spurious infinite loop in app_main()
2017-04-21 14:29:16 +10:00
Angus Gratton
f3a567b65d
PPPoS: Rearrange config items (move TCP/IP stack size to LWIP), mark as experimental/unsupported
...
Ref #272
2017-04-21 14:23:34 +10:00
Adrian Muzyka
47c722d674
Enable lwip PPPoS support
...
* Fix some lwip api bugs
* Added PPP_SUPPORT parameter to lwip Kconfig
* Added example pppos_client
Merges #272 https://github.com/espressif/esp-idf/pull/272
2017-04-21 14:23:34 +10:00
rudi ;-)
e5012bd07e
OTA example readme: [typo]: Worflow to Workflow
...
Merges PR #507 https://github.com/espressif/esp-idf/pull/507
2017-04-21 11:03:07 +10:00
Angus Gratton
abe58c867e
Ethernet example: Add README, use menuconfig for all example pin assignments
2017-04-20 18:03:00 +10:00
Angus Gratton
453722ba54
ethernet: Refactor PHY support to be part of ethernet component
...
Move generic PHY support into its own interface
2017-04-20 18:03:00 +10:00
Robin Cutshaw
5d6e6f79b9
examples/ethernet: Add LAN8720 phy support
...
Merges #383 https://github.com/espressif/esp-idf/pull/383
2017-04-20 18:03:00 +10:00
Yulong
67863ec495
component/bt:Added the GATTS_INCLUDED macro to the bta layer
2017-04-19 08:06:38 -04:00
chenyudong
85f75f1ccd
tcp_udp_perf: add license and modify some details
2017-04-18 15:23:28 +08:00
Yulong
22ccf6c368
component/bt:rebase the BT_BLE_separate to the new master
2017-04-17 22:53:43 -04:00
Asuki Kono
a797dca528
Replace to strncmp from strcmp to check device_name on examples/bluetooth/gatt_client
...
(Amended slightly from version in https://github.com/espressif/esp-idf/pull/502 to
account for differences when adv_name is a prefix of device_name.)
2017-04-18 10:29:36 +10:00
Ivan Grokhotkov
52b51df859
add wear_levelling component and example
2017-04-17 11:01:17 +08:00
Yulong
c6a516f122
component/bt:move the btdm_rebase_ssp_api branch to this branch
2017-04-13 10:14:28 -04:00
Ivan Grokhotkov
8bc153e142
Merge branch 'bugfix/http_request_example' into 'master'
...
Fix issues with HTTP[S] request examples
This MR includes:
- request string fix for the http_request example (https://github.com/espressif/esp-idf/pull/500 )
- same fix applied to the https_request example
- stack size increase for http_request example
Fixes https://www.esp32.com/viewtopic.php?f=13&t=1620
See merge request !646
2017-04-13 15:27:37 +08:00
Jiang Jiang Jian
6ace4f6fa4
Merge branch 'feature/btdm_avrc' into 'master'
...
Feature/btdm avrc
The source branch "feature/btdm_avrc" includes classic Bluetooth profiles A2DP(sink role) and AVRCP(controller role);
Menuconfig options to control whether to enable classic BT is added.
See merge request !591
2017-04-13 14:36:58 +08:00
chenyudong
0765355a4e
wps_ps: add license
2017-04-13 11:43:01 +08:00
wangmengyang
b503d68045
component/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)
2017-04-12 16:42:14 +08:00
Jiang Jiang Jian
87fd90716f
Merge branch 'example/wifi_wps_ps' into 'master'
...
Example/wifi wps ps
Adding two new examples including wps and power save.
See merge request !614
2017-04-12 15:48:23 +08:00
Jiang Jiang Jian
b1015dedd7
Merge branch 'example/wifi_performance' into 'master'
...
wifi performance: add wifi performance examples including TCP&UDP TX/RX
Add wifi performance examples including TCP and UDP send and receive.
See merge request !577
2017-04-12 15:47:36 +08:00
island
941a12cb4e
bt component: Add stop adv/scan completed event
2017-04-12 14:19:16 +08:00
Ivan Grokhotkov
041754f255
examples: increase stack size in http_request
...
Previously the stack size was 2048 bytes, which caused stack overflow
to be detected after one or two runs of the example.
2017-04-11 19:01:41 +08:00
Ivan Grokhotkov
6b94c32cd6
examples: fix https_request request content
...
Same as 727d884
, but for https_request example
2017-04-11 19:01:41 +08:00
Malte Janduda
1dc3ae6e4e
fixing http_request_example request content
...
request new lines must be `\r\n` as specified in the HTTP RFC.
Also the following logic checks for the socket to be closed by the server. This only happens with HTTP/1.0 not HTTP/1.1. So I have adjusted the protocol in the request, too.
2017-04-11 19:01:41 +08:00
island
a4f3312d9d
bt component: optimize scan feature
...
1. Add advertising data length and scan response length in scan result
2. Add scan continuously feature
3. Fix non connectable adv topology error
4. Increase BTC queue size
2017-04-11 14:20:20 +08:00
chenyudong
28a7a325e8
modify some text error
2017-04-10 20:39:04 +08:00
wangmengyang
ccfe4fefeb
component/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)
2017-04-10 16:12:21 +08:00
chenyudong
68bf54607a
tcp_udp: remove some unnecessary functions.
2017-04-10 11:49:45 +08:00
chenyudong
e261e16981
eg/perf:modify README.
2017-04-10 11:49:45 +08:00
chenyudong
8a163e3db0
eg/perf:modify udp_perf and some mistakes
...
modify udp_perf to be similar with tcp_perf.
change indentation and some mistakes of codes.
edit README.
2017-04-10 11:49:45 +08:00
chenyudong
5ecc88cb33
tcp_perf:modify tcp_perf with some new options.
...
You can set esp32 as AP/STA, client/sever, sender/recever in menuconfig.
You can set whether to display delay time info in menuconfig.
Now you can transfer data between esp and esp.
2017-04-10 11:49:45 +08:00
yudongchen95
a0b565a8e8
customization parameters in menuconfig,combine codes to two project.
2017-04-10 11:49:45 +08:00
yudongchen95
99578f1bd0
wifi performance: add wifi performance examples including TCP&UDP TX/RX
2017-04-10 11:49:45 +08:00
Tian Hao
d90a35af19
component/bt : modify bluetooth config style
2017-04-06 11:35:53 +08:00
Tian Hao
f5ebeb4c4d
component/bt : add uart(1/2) as HCI IO directly
2017-04-05 21:23:42 +08:00
chenyudong
38068e6df0
wps_ps: Add new options to menuconfig, modify README and some explainations.
2017-03-31 16:12:58 +08:00
chenyudong
b0dd5d9157
example: adding wifi example wps and power save.
2017-03-31 16:12:58 +08:00
wangmengyang
9d745be3f7
Merge branch 'master' into feature/btdm_avrc
2017-03-31 12:51:45 +08:00
wangmengyang
c9d29d109e
component/bt: fix the dependence issue in Kconfig
2017-03-30 21:16:11 +08:00
Angus Gratton
40a35db784
Merge branch 'bugfix/example_naming' into 'master'
...
examples: Standardise naming of files, symbols, etc. in examples
* Use "example" in all example function & variable names,
ie use i2c_example_xxx instead of i2c_xxx for example functions.
Closes #198 https://github.com/espressif/esp-idf/issues/198
* Mark example functions, etc. static
* Replace uses of "test" & "demo" with "example"
* Split the UART example into two
* Rename "main" example files to end with "_main.c" for disambiguation
See merge request !601
2017-03-29 08:50:49 +08:00
Angus Gratton
821c70f5d7
examples: Standardise naming of files, symbols, etc. in examples
...
* Use "example" in all example function & variable names,
ie use i2c_example_xxx instead of i2c_xxx for example functions.
Closes #198 https://github.com/espressif/esp-idf/issues/198
* Mark example functions, etc. static
* Replace uses of "test" & "demo" with "example"
* Split the UART example into two
* Rename "main" example files to end with "_main.c" for disambiguation
2017-03-27 17:42:05 +11:00
Dmitry Yakovlev
a6e4e89592
ulp: add build system integration and example
2017-03-27 12:41:00 +08:00
Ivan Grokhotkov
ecee175962
Merge branch 'bugfix/nvs_init_check_empty_pages' into 'master'
...
Error handling in NVS initialization
Previously nvs_flash_init worked under an assumption that there should always be at least one free page available. This is true during normal operation, but in some cases (such as when changing application partition table from a non-OTA to an OTA one), NVS partition may get truncated, which will cause empty pages to be lost.
This MR adds error checks for this condition, and updates code which calls `nvs_flash_init` to check for the return code.
For most examples, a simple `ESP_ERROR_CHECK` is added around `nvs_flash_init`. For NVS examples and the OTA example, more robust error handling is added.
This change also removes nvs_flash_init calls from examples which don't use NVS.
See merge request !582
2017-03-23 17:57:15 +08:00
Ivan Grokhotkov
9254d2846f
Merge branch 'feature/ledc_low_speed_channels' into 'master'
...
add ledc low speed channels
1. add low speed channels
2. modify example code.
See merge request !490
2017-03-21 15:35:40 +08:00
Chu Shu Chen
bab7a2df80
add adc1 example
2017-03-20 14:46:41 +08:00
wangmengyang
2a5d01a930
component/bt: clean up the A2DP sink example
2017-03-18 16:02:54 +08:00
wangmengyang
a849ce9942
component/bt: fix and move the a2dp-sink project
2017-03-17 21:31:59 +08:00
wangmengyang
007efdb852
Merge branch 'master' into feature/btdm_avrc
2017-03-17 21:04:18 +08:00
Wangjialin
7670e93639
Feature: add ledc low speed channels
...
1. Add low speed channels for LEDC module.
2. Improve fade object allocate mechanism.
3. Improve ledc example, add 2 low speed channels in example.
4. Remove debug code
5. Improve the register bit field name of slow clock.
2017-03-17 17:26:30 +08:00
Ivan Grokhotkov
4813ab2d28
examples: check return value of nvs_flash_init
...
nvs_flash_init may return an error code in some cases, and applications
should check this error code (or at least assert on it being ESP_OK, to
make potential issues more immediately obvious).
This change modifies all the examples which use NVS to check the error
code. Most examples get a simple ESP_ERROR_CHECK assert, while NVS
examples, OTA example, and NVS unit tests get a more verbose check which
may be used in real applications.
2017-03-15 10:44:54 +08:00
Ivan Grokhotkov
f59f13efd5
examples: remove nvs_flash_init from examples which do not use NVS
2017-03-14 22:03:40 +08:00
Angus Gratton
2156408d45
Merge branch 'feature/aws_iot_sdk' into 'master'
...
Amazon AWS IoT SDK
Amazon IoT SDK component, plus two examples derived from their Linux samples.
See merge request !132
2017-03-14 10:21:08 +08:00
Angus Gratton
da660b234c
AWS IoT Device SDK Support
...
Use device cert/key embedded in firmware, or loaded from filesystem.
2017-03-13 17:23:29 +08:00
wangmengyang
383db0dc81
Merge branch 'master' into feature/btdm_avrc
2017-03-13 16:21:41 +08:00
Ivan Grokhotkov
66c693eebb
Merge branch 'feature/deep_sleep_wakeup_from_touch' into 'master'
...
add wakeup from touch sensor, and deep sleep example
- add new deep sleep wakeup mode
- change documentation to explain incompatibilities between different wakeup mode, add error checks
- add new ULP instructions necessary for ULP wakeup scenario
- fix issues with I_WR_REG, I_SLEEP, I_END instructions
- add deep sleep example, illustrating the use of timer, gpio, touch, and ULP wakeup triggers
See merge request !461
2017-03-08 14:27:58 +08:00
Angus Gratton
a35d5e3a3a
Merge branch 'feature/touch_pad_examples' into 'master'
...
Examples on using capacitive touch sensors
- `touch_pad_read` - read sensor values and show on terminal
- `touch_pad_interrupt` - perform simple calibration; trigger an interrupt when any pad is touched
See merge request !530
2017-03-07 09:03:11 +08:00
Angus Gratton
0b7058d8ef
mbedTLS: Add generic support for mbedTLS debug output via the esp_log functionality
2017-03-07 10:18:47 +11:00
Angus Gratton
9f7d8c338e
Merge branch 'feature/esptool_espefuse_set_flash_voltage' into 'master'
...
esptool version bump and new "espefuse.py set_flash voltage" command
* New "espefuse.py set_flash_voltage" command to easily set a fix
VDD_SDIO regulator voltage (1.8V, 3.3V or disabled).
* Fixes bugs when flashing files with non-4-byte aligned lengths
(doesn't effect esp-idf image files)
* esptool README improvements
* Detect overlapping files in write_flash
* read_mac now works correctly on ESP32
* Integrates reset fix for older dev boards (formerly the "Windows ESP32R0 reset workaround")
See merge request !481
2017-03-07 07:08:18 +08:00
Krzysztof
41890f15b9
- examples: add 'Capacitive touch sensor read' example
...
- examples: add 'Capacitive touch sensor interrupts' example
- Code review comments implemented
- use only one image
- add external picture of ESP32 Demo Board V2
2017-03-06 21:25:54 +01:00
Angus Gratton
975be7a2c9
Merge branch 'bugfix/github_small_fixes' into 'master'
...
Merge small bugfix PRs from github
* https://github.com/espressif/esp-idf/pull/389
* https://github.com/espressif/esp-idf/pull/382
* https://github.com/espressif/esp-idf/pull/367
* https://github.com/espressif/esp-idf/pull/366
* https://github.com/espressif/esp-idf/pull/361
* https://github.com/espressif/esp-idf/pull/355
* https://github.com/espressif/esp-idf/pull/350
* https://github.com/espressif/esp-idf/pull/348
* https://github.com/espressif/esp-idf/pull/339
* https://github.com/espressif/esp-idf/pull/46
* https://github.com/espressif/esp-idf/pull/307
See merge request !541
2017-03-03 12:58:22 +08:00
Angus Gratton
5ea9097dbd
esptool: Update to latest v2.0 beta version
...
* New "espefuse.py set_flash_voltage" command to easily set a fix
VDD_SDIO regulator voltage (1.8V, 3.3V or disabled).
* Fixes bugs when flashing files with non-4-byte aligned lengths
(doesn't effect esp-idf image files)
* README improvements
2017-03-03 15:34:04 +11:00
rudi ;-)
f4c4787281
examples/ethernet: Same sense of meaning SW_STRAP
...
Merges #366 #367
https://github.com/espressif/esp-idf/pull/366
https://github.com/espressif/esp-idf/pull/367
2017-03-03 14:59:15 +11:00
rudi ;-)
e335f19a4d
examples/ethernet: typo, better named
...
Merges #382 https://github.com/espressif/esp-idf/pull/382
2017-03-03 14:59:15 +11:00
Ivan Grokhotkov
7754647e71
Merge branch 'bugfix/separate_ethernet_and_wifi' into 'master'
...
Allow separate ethernet & wifi configuration
If only 1/2 of ethernet & WiFi are enabled in config, the other interface is no longer linked into the firmware.
* Fixes bug where enabling Ethernet but not WiFi would fail to compile.
* Also means that enabling WiFi but not Ethernet no longer links some unused ethernet interface functions.
See merge request !525
2017-03-03 11:53:32 +08:00
Ivan Grokhotkov
8911e666a0
Merge branch 'feature/docs_partition_ota_flash' into 'master'
...
Partition/SPI/OTA docs & OTA new functionality
* Update partition, SPI flash & OTA docs to reflect functionality changes
* Refactor OTA implementation to perform checks mentioned in API doc
* Add new functions to OTA API: esp_ota_get_running_partition() & esp_ota_get_next_update_partition() functions
* Add spi_flash_cache2phys() & spi_flash_phys2cache() functions to support esp_ota_get_running_partition()
See merge request !513
2017-03-03 11:27:01 +08:00
wangmengyang
79ed36495b
component/bt: transplant btif_rc module and program works.
2017-03-01 16:18:08 +08:00
wangmengyang
8f65322a84
component/bt: modify the enable/disable function
2017-02-28 11:47:04 +08:00
wangmengyang
c7dac035ae
component/bt: add module btc_gap_bt and port function esp_bt_gap_set_scan_mode
2017-02-24 17:28:33 +08:00
Angus Gratton
fd0edae75a
ethernet example: Disable WiFi, enable Ethernet in default config
...
Ref: https://esp32.com/viewtopic.php?f=2&t=1249
2017-02-24 14:56:29 +11:00
Tian Hao
b582697889
component/bt : add adv/scan start complete event
...
1. indicate adv/scan start complete success or failed
2. controller do limit of adv/scan concurrence, so add some codes to report adv/scan start failed or not.
2017-02-23 17:54:22 +08:00
wangmengyang
41070f6768
Merge branch 'master' into feature/btdm_avrc
...
1. merge master into feature/btdm_avrc
2. add call of esp_bt_controller_enable() in app_main
2017-02-23 15:10:25 +08:00
Ivan Grokhotkov
4af5f572f4
add deep sleep wake up example
2017-02-22 18:40:31 +08:00
Angus Gratton
25f739c183
ota ops: Add new functions esp_ota_get_next_update_partition / esp_ota_get_running_partition
...
* Update OTA example to use these.
* Refactor esp_ota_begin() to return ESP_ERR_OTA_PARTITION_CONFLICT as documented
2017-02-22 10:24:42 +11:00
Ivan Grokhotkov
26dec992eb
deep sleep: add note about disabling WiFi and BT
...
This change adds a note to esp_deep_sleep that applications should disable WiFi and BT before going into deep sleep.
SNTP example is also updated.
2017-02-21 17:07:16 +08:00
Tian Hao
4bd5b0c91a
component/bt : add bt enable/disable for power save
...
1. add new APIs bt controller enable/disab/deinit
2. make bt controller work need to call two APIs of esp_bt_controller_init and enable
3. modify phy init to make mac reset once
2017-02-17 19:24:58 +08:00
Jiang Jiang Jian
6c139c8ffb
Merge branch 'feature/ethernet_phy_power' into 'master'
...
ethernet: add a gpio to enable/disable phy power
ethernet board v2 use gpio 17 .
See merge request !495
2017-02-16 15:12:09 +08:00
shangke
2fc4413dae
ethernet: add pin macro
2017-02-16 14:36:46 +08:00
Ivan Grokhotkov
34d0b0086e
Merge branch 'bugfix/openssl_server_example' into 'master'
...
Example 10_openssl_server should use TLSv1.2 instead of SSLv3; fixed corrupted HTTP Header
* Merges github PR #214 https://github.com/espressif/esp-idf/pull/214
* Closes #333 https://github.com/espressif/esp-idf/issues/333
See merge request !501
2017-02-15 14:34:08 +08:00
Angus Gratton
39c546d63f
openssl_server example: Roll back to TLS_server_method() for compatibility
...
Add a comment recommending TLS v1.2.
2017-02-15 17:19:09 +11:00
Ivan Grokhotkov
25f05bef71
Merge branch 'bugfix/OTA_and_flash_encryption_incompatible' into 'master'
...
bootloader_support: fix bug OTA & flash encryption incompatible
github issue:https://github.com/espressif/esp-idf/issues/253
See merge request !464
2017-02-15 13:24:10 +08:00
Malte Janduda
dcd5c5bb73
Example 10_openssl_server should use TLSv1.2 instead of SSLv3; fixed corrupted HTTP Header
2017-02-14 15:38:37 +11:00
shangke
9893b71096
ethernet: add a gpio to enable/disable phy power
2017-02-11 15:19:53 +08:00
Tian Hao
cf917567e9
component/bt : use real adv data to set raw adv data
2017-02-10 16:40:40 +08:00
Angus Gratton
eea2788f5a
OTA: Fix issues with encrypted OTA
...
- OTA source can write non-16-byte multiples of data
- Assumption that empty ota_data is 0xFFFFFFFF untrue when encrypted
2017-01-26 18:52:35 +11:00
Angus Gratton
67336672bd
OTA: Improve verification of OTA image before writing, incl. secure boot
...
Verify 0xE9 magic byte on first write, verify entire image before
switching.
Enable verification for secure boot signature (was using invalid ifdef
guard)
2017-01-26 16:20:06 +11:00
Mike Ryan
74aff89918
gatts_demo: re-enter advertising after client disconnects
...
In the existing tree, after a connected client disconnects the device
will never re-enter the advertising state. Additional clients will not
be able to discover or connect to the device. This patch forces the
device back into the advertising state upon disconnection.
Resolves Pull Request #217 https://github.com/espressif/esp-idf/pull/217
2017-01-20 14:57:41 +11:00
Jiang Jiang Jian
aea18f6e74
Merge branch 'feature/btdm_raw_adv' into 'master'
...
Feature/btdm raw adv
Add APIs to set raw advertising data and scan response data by user self.
See merge request !451
2017-01-19 18:57:39 +08:00
Tian Hao
0073ff3acd
component/bt : add api to set raw adv_data/scan_rsp_data
...
1. add api to set raw scan response data
2. add api to set raw scan response data
3. update doxygen
4. add menuconfig to config gatt server demo
2017-01-19 17:36:40 +08:00
wangmengyang
36a74daa0a
component/bt: clean up AVRCP API and example code
2017-01-19 15:23:46 +08:00
krzychb
16b23a407c
Added links from api category TOC to example category folders
...
Typo fix in bluetooth README.md
2017-01-18 21:21:02 +01:00
krzychb
0b6598c492
Added README.md to example category folders
2017-01-18 21:03:15 +01:00
Ivan Grokhotkov
30c2fca25a
Merge branch 'bugfix/docs_cleanup' into 'master'
...
Organize examples and API documentation - supplement to !430
This supplement to !430 , both intended to replace bulky !421 .
1. Fixed broken links
2. Added links to available examples in API documentation, where missing
3. Updated links to point directly to example folder (to show README.md with example description)
4. Added README.md in docs folder info to point reader to ReadTheDocs instead of doc sources, ref. https://github.com/espressif/esp-idf/issues/243
5. Fixed some typo errors / Sphinx warnings
6. Fixed memory leak in example, ref. https://github.com/espressif/esp-idf/issues/209
See merge request !440
2017-01-19 00:33:31 +08:00
krzychb
8aa5082baa
Fixed memory leak in example, ref. https://github.com/espressif/esp-idf/issues/209
2017-01-17 21:20:24 +01:00
krzychb
66647bb5bd
Typo corrections
2017-01-17 21:12:54 +01:00
Tian Hao
5508826509
component/bt : fix gatts demo mistakes & unpeg notify bug
2017-01-17 20:13:25 +08:00
wangmengyang
49b68c38fa
Merge branch 'master' into feature/btdm_avrc
...
# Conflicts:
# components/bt/bluedroid/hci/packet_fragmenter.c
# components/bt/bluedroid/stack/include/gatt_api.h
2017-01-17 10:36:26 +08:00
Krzysztof Budzynski
ad25997349
Updated links to examples in new folders / categories in api documentation
2017-01-16 23:08:36 +01:00
Krzysztof Budzynski
382999b378
Moved examples to new folders / categories. Removed example numbers from example names
2017-01-16 23:08:35 +01:00
Angus Gratton
ea19838d3a
Build: Handle WiFi & BT enabled/disabled combos gracefully as possible
...
If using WIFI_INIT_CONFIG_DEFAULT, error message will point out lack
of WiFi. Otherwise linker errors on WiFi symbols should help give a
clue as to what is broken.
Piggy-backs on changes in !420 , ref github #230 #237
2017-01-16 13:03:17 +11:00
Ivan Grokhotkov
a2ace698ed
sdmmc: fix explanation of flash voltage regulator configuration efuses
...
- low level on GPIO12 corresponds to 3.3V output, not 1.8V
- add espefuse.py commands to burn efuses
- add XPD_SDIO_REG to the list of efuses which must be set
Reported on the forum: http://esp32.com/viewtopic.php?f=2&t=849&start=10#p4170
2017-01-16 02:38:31 +08:00
me-no-dev
dd3f18d2d8
Initial mDNS component and example
2017-01-13 12:12:43 +02:00
Wu Jian Gang
ad1790fe3e
Merge branch 'feature/btdm_attr_table' into 'master'
...
component bt:Added the create attribute table method to the new API
GATT Server service table APIs.
Have already modify the style and other things as @jeroen suggestion in other MR(the MR have been closed)
See merge request !399
2017-01-12 17:31:39 +08:00
Tian Hao
142756615b
component/bt : mv demo name
...
1. mv demo name
2. fix a docs
2017-01-12 14:44:26 +08:00
Jiang Jiang Jian
2126f6c8b7
Merge branch 'feature/wpa2_example' into 'master'
...
wpa2 enterprise: add example for wpa2 enterprise
See merge request !410
2017-01-12 11:49:52 +08:00
Island
9f151d745e
component/bt : Optimize Gatt attr table and fix some bugs
...
1. Optimize GATT attribute table structure
2. fix read/write bugs
3. add docs
2017-01-12 11:49:15 +08:00
XiaXiaotian
ff4a5a1406
wpa2 enterprise: add example for wpa2 enterprise
2017-01-11 21:56:17 +08:00
Ivan Grokhotkov
5fbea86a9e
Merge branch 'feature/config_wifi_bt' into 'master'
...
Clean up WiFi & Bluetooth config options
* Splits "WiFi" configuration out from ESP32 configuration submenu to its own menu.
* Renames "BT" to "Bluetooth", enabling Bluetooth is now in this option not the ESP32 submenu.
* Also disables compiling/linking of BT stack if Bluetooth is disabled, saves some build time.
See merge request !397
2017-01-11 18:38:30 +08:00
Jeroen Domburg
8a2ff5a16d
Merge branch 'bugfix/spi_inconsistencies' into 'master'
...
SPI: Some fixes to docs and flag naming
Kolban noticed the flags for a transaction are not named like the documentation states. The flags as mentioned in the docs are more consistent, so this MR renames them to that. Also some additions to the docs wrt the SPI signals
Ref http://www.esp32.com/viewtopic.php?f=13&t=919&p=3976#p3976 and http://www.esp32.com/viewtopic.php?f=13&t=921&p=3975#p3975
See merge request !398
2017-01-11 17:11:45 +08:00
Yulong
d512d6100c
component bt:Added the create attribute table method to the new API
2017-01-11 16:57:19 +08:00
Jeroen Domburg
ee59fa75f4
Rename SPI Master IO pins to more common terminology, add better explanation to queue_length initialization value
2017-01-11 11:25:56 +08:00
shangke
0e701e1cac
ethernet: support flow control
2017-01-10 15:19:18 +08:00
Jeroen Domburg
5eb8eb3855
SPI master: rename transaction flags from SPI_* to SPI_TRANS_*, like the documentation says. Also add some explanation about the SPI signals in the documentation
2017-01-10 14:41:12 +08:00
Angus Gratton
2e78b397bc
config: Simplify WiFi & Bluetooth config options
...
Removes redundant menu options, splits WiFi configuration out from
generic ESP32 configuration.
2017-01-10 16:04:04 +11:00
Wu Jian Gang
fb70126bc8
Merge branch 'feature/openssl' into 'master'
...
examples/10_openssl_server: fixup SSL server with method of specific version
1. add method of any version supporting at OpenSSL and add API in header file
2. change OpenSSL server context method to be method of any version
Fixes http://esp32.com/viewtopic.php?f=14&t=696 .
See merge request !369
2017-01-10 12:01:40 +08:00
Jiang Jiang Jian
0106feeeda
Merge branch 'feature/btdm_common_api' into 'master'
...
component/bt : add bt device api
1. add get bd_addr function
later, will add other functions reference with bluetooth device.
See merge request !380
2017-01-09 11:33:57 +08:00
Ivan Grokhotkov
edd924f273
sdmmc: add peripheral driver and protocol layer
2017-01-09 04:51:24 +08:00
Wu Jian Gang
1b9f477b15
example: Reindex ota demo
2017-01-07 15:39:22 +08:00
Wu Jian Gang
ed01eb2df1
example: fix CI error of ota demo
2017-01-07 15:39:22 +08:00
Wu Jian Gang
4491dd0e2a
example: fix CI error of coap server demo
2017-01-07 15:39:18 +08:00
Wu Jian Gang
6ca2934843
example: fix CI error of coap client demo
2017-01-07 15:39:12 +08:00
Tian Hao
9c630b759f
component/bt : add bt device api
...
1. add get bd_addr function
2017-01-06 21:19:58 +08:00
Jiang Jiang Jian
f5b221b9fb
Merge branch 'feature/btdm_blufi_version' into 'master'
...
component/bt : blufi add version
blufi add version and the android APK add version check, too.
See merge request !378
2017-01-06 18:55:05 +08:00
Tian Hao
e4b9563dac
component/bt : blufi add version
2017-01-06 17:40:46 +08:00
Jeroen Domburg
718969f6ed
Merge branch 'driver/spi' into 'master'
...
SPI master driver
This merge requests adds an SPI Master driver. This driver is (of course) multithread capable, has device abstraction, has command queueing, DMA support and all other sorts of nice things you'd expect from a SPI driver.
See merge request !332
2017-01-06 16:28:52 +08:00
Wu Jian Gang
e387a16e51
Merge branch 'feature/Add_OTA_Demo' into 'master'
...
esp32 examples: Add OTA Demo
this demo would show you an OTA workflow and how to make it run.
See merge request !324
2017-01-06 16:15:14 +08:00
Wu Jian Gang
c943fabcda
Merge branch 'feature/CoAP' into 'master'
...
Add CoAP feature
Add CoAP protocol, support client and server test demo.
See merge request !303
2017-01-06 15:37:09 +08:00
Jeroen Domburg
23455de4c2
Add SPI Master driver, example, test and docs
2017-01-06 14:20:32 +08:00
Tian Hao
99d6984800
component/bt : blufi fix security init bug
2017-01-06 12:24:37 +08:00
Ivan Grokhotkov
ded13ac8e6
Merge branch 'feature/btdm_blufi' into 'master'
...
Feature/btdm blufi
This is new BLUFI for config wifi connection through bluetooth.
See merge request !359
2017-01-05 21:54:45 +08:00
Tian Hao
24af07fd13
component/bt : new blufi
...
1. new blufi protocol
2. new blufi demo
3. support security
4. support sta/ap/sta_ap
5. support wpa-enterprise
2017-01-05 20:22:35 +08:00
Wang Jia Lin
ad1d4500f9
Merge branch 'feature/ledc' into 'master'
...
driver: ledc update
1. add fading functions.
2. clear up ledc.h
3. update api doc.
4. add ledc example
See merge request !347
2017-01-05 20:05:13 +08:00
wangmengyang
2e7748d625
component/bt: modify bluetooth API
...
1. VHCI api and doxygen
2. Controller api and doxygen
3. bluedroid init/enable api and doxygen
4. cleanup demo codes
2017-01-05 20:02:06 +08:00
Wangjialin
6b5e734901
driver: ledc - update fading functions, add example and doc
...
1. add fading functions.
2. clear up ledc.c and ledc.h
3. update api doc.
4. add ledc example
5. edit ledc.rst and add readme for example code.
6. add s_ prefix for static global values.
7. add mutex for fade functions
8. minor changes according to the comments.
2017-01-05 17:57:52 +08:00
Tian Hao
d6fcec73b2
component/bt : add macro for adv_data_flag
...
1. add macro for adv data flag
2. add docs for doxygen
2017-01-05 17:53:33 +08:00
Tian Hao
daf58e3852
component/bt : fix advertising bug
...
1. adv data flag
2. default adv data not BR/EDR in demo
2017-01-05 17:53:33 +08:00
Dong Heng
8c7dfef317
examples/10_openssl_server: fixup SSL server with method of specific version
...
1. add method of any version supporting at OpenSSL and add API in header file
2. change OpenSSL server context method to be method of any version
Fixes http://esp32.com/viewtopic.php?f=14&t=696 .
2017-01-05 15:57:25 +08:00
Liu Han
56514d5ab2
examples: Add CoAP client demo
...
Test CoAP protocol client
2017-01-05 15:49:21 +08:00
Liu Han
899f61f4a2
examples: Add CoAP server demo
...
Test CoAP protocol server
2017-01-05 15:49:14 +08:00
wangmengyang
44914c17bc
component/bt: add AVRC controller example with simple PASSTHROUGH cmd
2017-01-05 15:43:44 +08:00
Tian Hao
ee318d42ae
Merge branch 'master' into feature/btdm_gatt_api
2017-01-05 15:25:03 +08:00
Chen Wu
b1cac83f61
examples: Rename 18_ota to 26_ota
...
example numbers should accord with our internal definition.
2017-01-05 09:57:45 +08:00
Ivan Grokhotkov
6f578796d3
Merge branch 'bugfix/ci_build_example_failures' into 'master'
...
Fix CI build example not failing on errors
See merge request !357
2017-01-05 00:48:27 +08:00
Wangjialin
9c7cc86793
1. modify i2c_set_pin function
...
2. update example comments and other minor changes
3. rename API: i2c_cmd_link_create/i2c_cmd_link_delete (+4 squashed commits)
Squashed commits:
[2e0ac3e] 1. coding style: add one space after condition key words.
2. modify i2c.h, use gpio_num_t instead of int, improve comments of return values
3. add i2c index in index.rst
4. add readme for i2c example
[4991d92] update i2c.doc
[88b672e] driver: i2c
1. add mux and spin lock to run in a thread-safe way.
2. modify example code
[4eb15fe] driver: i2c code
1. add i2c master code
2. add i2c slave code
3. add i2c example code
4. add DRAM_ATTR for I2C array
2017-01-03 00:57:19 +08:00
wangmengyang
fa72a98635
component/bt: remove source codes from esp-audio modules;
2017-01-02 14:20:28 +08:00
Angus Gratton
eb8324e2c2
examples: Fix build errors that weren't being caught by CI
2016-12-30 16:53:01 +11:00
Angus Gratton
2350288a33
examples: Move sdkconfig.defaults support into build system
...
Is used fairly widely, and a little bit buggy in the form
where it was in each Makefile (didn't always get copied in place).
2016-12-29 17:37:30 +08:00
Chen Wu
d0fccbce15
examples: Add OTA demo
2016-12-29 17:37:17 +08:00
Tuan PM
5462d98e5a
Add i2s driver
2016-12-29 17:29:14 +08:00
Wangjialin
ade7ee2092
gpio_driver: add per-pin interrupt handlers
...
1. add ISR handler apis so that users of different layers can hook their own isr handler on different GPIO.
Audio project has different software layers, they need different gpio isr handler for layer instead of processing all GPIO interrupts in one handler.
If this kind of calling a handler from isr is not proper, please kindly point out.
2. add gpio example code.
3. improve gpio.rst
4. add readme for gpio example
Squashed commits:
[278e50f] update: GPIO
1. coding style, add a space between conditional or loop keyword and an opening paren.
2. modify some return value and doc
3. use printf in example code
Squashed commits:
[efb23bb] minor change of comment
2016-12-29 11:16:32 +08:00
Angus Gratton
3cfe738fcf
Merge branch 'bugfix/minor_issues' into 'master'
...
Bugfixes from Github
Many small fixes for open github issues.
See merge request !334
2016-12-28 13:18:34 +08:00
Angus Gratton
06e03ff52e
Replace backwards-compatible portTICK_RATE_MS with FreeRTOS v8+ portTICK_PERIOD_MS
...
Closes github #51 https://github.com/espressif/esp-idf/issues/51
2016-12-28 10:23:13 +11:00
wangmengyang
d7c1c0b1f6
component/bt: fix API typos, add license headers and fix some log messages
2016-12-27 13:48:07 +08:00
wangmengyang
c94e0177c2
component/bt: Merge branch 'master' into feature/btdm_a2dp
2016-12-26 20:35:28 +08:00
wangmengyang
0ad3017df7
component/bt: A2DP code original in example project moved to component/bt directory;
...
1. move btif and A2DP source code from project directory to bluetooth directory;
2. some updates of audio source code;
2016-12-26 17:40:28 +08:00
wangmengyang
6163d214b3
component/bt: API clean up for the A2DP example
2016-12-26 17:26:54 +08:00
shangke
5ddf6daa98
feature/ethernet_driver: update ethernet driver
...
1. The transmitting mode of the packets from LWIP to MAC is changed from synchronous to asynchronous.
2. The receive buf mode : support pointer mode and copy mode.
3. Add get phy status func used to config mac register.
2016-12-26 14:50:49 +08:00
Angus Gratton
2f9772860a
Examples: Add READMEs for examples which did not have them
...
Closes github #128 https://github.com/espressif/esp-idf/issues/128
2016-12-22 15:07:02 +11:00
Wangjialin
9dbdab5c9a
driver: uart
...
1. add uart rx buffer data length API
2. add uart pattern detect event
3. add uart example code
4. modify uart_isr_register
5. modify uart.rst
6. fix parity err event and frame err event.
2016-12-21 11:55:53 +08:00
Jeroen Domburg
99849ca2cc
Fix timer example; it had too little stack resulting in a stack overflow
2016-12-19 18:48:08 +08:00
Tian Hao
65fe6ab320
component/bt : modify demo for new api
...
1. modify GATT Client demo
2. modify GATT Server demo
3. fix a register notify bug
2016-12-19 17:15:41 +08:00
Tian Hao
c01dedcb06
component/bt : change api for V2.0
...
1. change all gatt cb function to 3 args and function type. add gattc_if/gatts_if as second argument
2. delete gatt_if of "gatt cb param"
3. separate conn_id and gatt_if from conn_id
4. change the demo code as the gatt changed
2016-12-19 17:15:41 +08:00
Wangjialin
b00b75db7e
driver: sigma-delta
...
1. add sigma-delta code and example.
2. add gpio output signal in io matrix.
Squashed commits:
[a25e7d4] minor changes for doc
[6a03a1e] minor changes on comments and doc.
[97dd9e4] Add doc.
update index.rst
change example index
2016-12-18 17:20:17 +08:00
Ivan Grokhotkov
88ddf5aefa
deep sleep: rename header file
2016-12-16 14:30:27 +08:00
Tian Hao
5a2033c4e3
Merge branch 'master' into bugfix/btdm_bluedroid
2016-12-15 14:40:29 +08:00
Tian Hao
1be09039e3
component/bt : cleanup the un-necessary include in api.h
...
1. cleanup the un-necessary include in api.h for "extern c"
2. add UUID define
2016-12-09 14:38:21 +08:00
Jeroen Domburg
bf57594ebe
Merge branch 'feature/intr_alloc' into 'master'
...
Add dynamic interrupt allocation mechanism
This adds:
- Dynamic allocation of interrupts. Pass it the features of the interrupt you want, it'll set you up with an int.
- Shared interrupts. Enables multiple peripheral drivers to use the same interrupt.
- Marking what interrupts are fully executable from IRAM; if an int isn't marked like that it will get disabled once flash cache gets disabled.
Also:
- Modifies driver to be in line with these changes
See merge request !254
2016-12-09 14:00:39 +08:00
Angus Gratton
f68e1c22ab
Merge branch 'bugfix/ci_fail_warnings' into 'master'
...
Fail CI build on warnings
This allows developers to add CFLAGS for -Wno-error=XXX while developing, but before code passes the CI build then it must be warning-free.
See merge request !279
2016-12-09 13:25:51 +08:00
Liu Han
d6ec6d1ae5
example/09_openssl_client: change default port to be 443
2016-12-08 20:28:45 +08:00
Liu Han
19a2ee3740
example/https_request: add header file declare platform.h of mbedtls
2016-12-08 15:03:38 +08:00
Jeroen Domburg
baa6a477c5
Fix example code, add chapter to docs about interrupts and multicore issues
2016-12-08 14:42:00 +08:00
Jeroen Domburg
2c34ab3374
Mark some interrupts that are now allocated dynamically as free, add int handle param documentation, add local ints test
2016-12-08 12:39:33 +08:00
Jeroen Domburg
655fd2986a
Add interrupt allocation scheme / interrupt sharing. Also modifies drivers and examples. Also allows interrupts
...
to be marked specifically as having a handler that's all in IRAM.
2016-12-08 12:39:33 +08:00
Angus Gratton
cbc7d1814c
pcnt example: Remove unused debugging tag
2016-12-07 14:16:05 -08:00
Tian Hao
c277735e6e
component/bt : cleanup demo warnings
2016-12-07 13:49:53 -08:00
Tian Hao
5933ebc6b6
component/bt : cleanup all the "-W-no-xx" and all the warnings
...
1. cleanup the warnings.
2. fix the some function called in gap
3. fix some code in btc_main
2016-12-07 13:49:53 -08:00
wangmengyang
bc5bc0f026
component/bt: bug fix for incorrect copy of Bluetooth device address
2016-12-06 20:20:56 +08:00
wangmengyang
252353d1c6
component/bt: A2DP clean-up:
...
1. remove UIPC code;
2. remove SBC encoder part
2016-12-06 17:07:32 +08:00
wangmengyang
9b397f1e28
component/bt: A2DP clean-up
...
1. remove unused file audio_a2dp_hw.c
2. remove "BTIF_AV_SRC_INCLUDED" enclosed codes
2016-12-05 18:02:09 +08:00
wangmengyang
11ddfbba4e
Merge branch 'feature/btdm_bluedroid' into feature/btdm_a2dp
...
# Conflicts:
# examples/13_bt_sdp/components/bluedroid_demos/btif/btif_core.c
# examples/13_bt_sdp/components/bluedroid_demos/include/btif_util.h
2016-12-02 22:33:09 +08:00
wangmengyang
56bbc17ddc
component/bt: refactor the A2DP application task
2016-12-02 21:50:32 +08:00
Wu Jian Gang
667d0ef319
docs: fix example index
2016-12-02 16:02:20 +08:00
wangmengyang
6b4c2e8dc0
component/bt: use a callback function instead of UIPC function to write audio stream
2016-12-02 14:39:03 +08:00
Jiang Jiang Jian
bd20288b81
Merge branch 'feature/btdm_bluedroid' into 'master'
...
Feature/btdm bluedroid
This branch contain the bluedroid host code.
Currently, Only GAP/GATT SERVER/GATT CLIENT release to users.
Actually, the content of the codes is further more than GAP/GATT and etc.
In this release version, users only need to concern about the APIs which are in "api/include/".
Now, suggestions in comment have been resolved are following:
1. The APIs use callback function. Ivan , Jeroen and me have discussed it. Currently the code will not be changed.
2. The APIs use OPEN/CLOSE. I have ask Ivan, besides bluedroid do this, we will keep the name.
3. Coding style. I have run format.sh to handle the style. And some spell error have been fixed.
4. APIs doxygen. I have clean the warning by doxygen. But bt.rst is still need to be completed.
5. Other comment without resolved face to face that I have to add response in the comment and fix them in the code
6. Fix some incorrect things. See the git log for details.
This 1st version of bluedroid release still have lots of things to do. But it can be done after this merge.
1. Compelete the BLUFI(Bluetooth config wifi connection) documents, security, application protocol and other.
2. Add SPP-LIKE profile.
3. Do more examples codes to cover most of the APIs.
4. Test and fix bug.
Another thing:
1. Do the document of APIs.(xml->bt.rst->html)
(I will do this before merge as Ivan's suggestion)
This is already done. Besides, the union type in doxygen have something error. Ivan will fix it.
See merge request !239
2016-12-02 12:07:20 +08:00
wangmengyang
1d8355f54b
component/bt: modify the stack manager API not to use callbacks
2016-12-01 21:46:37 +08:00
wangmengyang
38cc22a85c
component/bt: A2DP API modification
...
1. add one API to register the A2DP callback functions
2016-12-01 21:30:05 +08:00
wangmengyang
e17519e49b
component/bt: merge the three A2DP APIs into one
2016-12-01 21:13:27 +08:00
wangmengyang
859e2d5578
component/bt: A2DP APIs refactor
...
1. change A2DP typedef and API prefixes
2. modify function audio configuration callback
2016-12-01 19:48:51 +08:00
shangke
e0040af7e5
ethernet: add first version of ethernet driver
2016-12-01 19:17:48 +08:00
wangmengyang
5b120186f1
component/bt: modify the a2dp APIs
2016-12-01 14:57:44 +08:00
Tian Hao
a8dd1dfcf2
component/bt : remove sdp demo and add default sdkconfig of bt demos
...
1. remove sdp demo.
2. add sdkconfig.default for bt demos
2016-11-30 11:26:30 +08:00
Tian Hao
5a9801aca7
Merge branch 'master' into feature/btdm_bluedroid
...
# Conflicts:
# components/esp32/cpu_freq.c
# components/esp32/lib
2016-11-29 18:38:37 +08:00
Tian Hao
f6de7ea764
component/bt : cleanup status and spell check
2016-11-28 22:40:30 +08:00
Tian Hao
9d9e758756
component/bt : add comment for doxygen
...
1. use doxygen check api comment
2016-11-28 21:59:04 +08:00
wangmengyang
50227f12fd
Merge branch 'feature/btdm_bluedroid' into feature/btdm_a2dp
...
# Conflicts:
# components/bt/bluedroid/bta/include/bta_api.h
# components/bt/bluedroid/bta/include/bta_gattc_int.h
# components/bt/bluedroid/hci/hci_hal_h4.c
# components/bt/bluedroid/hci/hci_layer.c
# components/bt/bluedroid/include/bt_target.h
# components/bt/bluedroid/stack/btu/btu_init.c
2016-11-28 18:06:24 +08:00
Tian Hao
ff8ce12787
component/bt : cleanup the spell && redundant
2016-11-28 14:58:30 +08:00
wangmengyang
2c577b1360
component/bt: reduce bt tasks' stack size
2016-11-26 16:46:52 +08:00
wangmengyang
2e8af3a8b7
component/bt: fix typos and complier errors of the merged code
...
1. format the source code of A2DP sample
2. fix some compiler errors and warnings
2016-11-26 13:09:55 +08:00
wangmengyang
73f00732cf
Merge branch 'feature/btdm_bluedroid' into feature/btdm_a2dp
...
# Conflicts:
# components/bt/bluedroid/bta/sys/bta_sys_main.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_api.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_bld_ct.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_bld_tg.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_opt.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_pars_ct.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_pars_tg.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_sdp.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_utils.c
# components/bt/bluedroid/btc/profile/std/avrc/include/avrc_int.h
# components/bt/bluedroid/btc/profile/std/include/avct_api.h
# components/bt/bluedroid/btc/profile/std/include/avdt_api.h
# components/bt/bluedroid/btc/profile/std/include/avdt_defs.h
# components/bt/bluedroid/btc/profile/std/include/avdtc_api.h
# components/bt/bluedroid/btc/profile/std/include/avrc_api.h
# components/bt/bluedroid/btc/profile/std/include/avrc_defs.h
# components/bt/bluedroid/gki/gki_buffer.c
# components/bt/bluedroid/hci/hci_hal_h4.c
# components/bt/bluedroid/hci/hci_layer.c
# components/bt/bluedroid/hci/packet_fragmenter.c
# components/bt/bluedroid/include/bt_trace.h
# components/bt/bluedroid/osi/alarm.c
# components/bt/bluedroid/profiles/std/avrc/avrc_api.c
# components/bt/bluedroid/profiles/std/avrc/avrc_bld_ct.c
# components/bt/bluedroid/profiles/std/avrc/avrc_bld_tg.c
# components/bt/bluedroid/profiles/std/avrc/avrc_opt.c
# components/bt/bluedroid/profiles/std/avrc/avrc_pars_ct.c
# components/bt/bluedroid/profiles/std/avrc/avrc_pars_tg.c
# components/bt/bluedroid/profiles/std/avrc/avrc_sdp.c
# components/bt/bluedroid/profiles/std/avrc/avrc_utils.c
# components/bt/bluedroid/profiles/std/avrc/include/avrc_int.h
# components/bt/bluedroid/profiles/std/include/avct_api.h
# components/bt/bluedroid/profiles/std/include/avdt_api.h
# components/bt/bluedroid/profiles/std/include/avdt_defs.h
# components/bt/bluedroid/profiles/std/include/avdtc_api.h
# components/bt/bluedroid/profiles/std/include/avrc_api.h
# components/bt/bluedroid/profiles/std/include/avrc_defs.h
# components/bt/bluedroid/stack/avdt/include/avdt_defs.h
# components/bt/bluedroid/stack/avrc/avrc_api.c
# components/bt/bluedroid/stack/avrc/avrc_bld_ct.c
# components/bt/bluedroid/stack/avrc/avrc_bld_tg.c
# components/bt/bluedroid/stack/avrc/avrc_opt.c
# components/bt/bluedroid/stack/avrc/avrc_pars_ct.c
# components/bt/bluedroid/stack/avrc/avrc_pars_tg.c
# components/bt/bluedroid/stack/avrc/avrc_sdp.c
# components/bt/bluedroid/stack/avrc/avrc_utils.c
# components/bt/bluedroid/stack/avrc/include/avrc_int.h
# components/bt/bluedroid/stack/btu/btu_task.c
# components/bt/bluedroid/stack/include/avct_api.h
# components/bt/bluedroid/stack/include/avdt_api.h
# components/bt/bluedroid/stack/include/avdtc_api.h
# components/bt/bluedroid/stack/include/avrc_api.h
# components/bt/bluedroid/stack/include/avrc_defs.h
# components/bt/bluedroid/stack/include/gatt_api.h
# components/bt/bluedroid/stack/l2cap/l2c_main.c
# components/bt/component.mk
# examples/06_bluedroid_demos/components/bluedroid_demos/app_core/bt_app_core.c
2016-11-25 19:45:29 +08:00
wangmengyang
8e77c39deb
component/bt: reduce the task stack size
...
1. some tasks's stack size is reduced and the previous severe audio distortion issue is eliminated
2016-11-25 11:21:29 +08:00
Tian Hao
19273c7b2d
component/bt : run astyle handle the code files
2016-11-25 02:10:15 +08:00
Tian Hao
d7eb709a9c
component/bt : add license header
2016-11-25 01:58:26 +08:00
Wangjialin
a5ad8090cf
Merge branch 'master' into driver_merge_tmp/merge_timer
...
# Conflicts:
# docs/index.rst
2016-11-25 01:07:19 +08:00
Wang Jia Lin
35ae2cd1a5
Merge branch 'driver_merge_tmp/merge_pcnt' into 'master'
...
driver: PCNT
1. add PCNT module in periph_ctrl.c/.h
2. add description of PCNT status in pcnt_struct.h
3. add PCNT driver code
4. add PCNT example code.
See merge request !229
2016-11-25 00:41:16 +08:00
Tian Hao
160e81e901
example : cleanup the order
2016-11-24 20:20:59 +08:00
Tian Hao
55e0690f69
component/bt : wifi/bt software coexist option
...
1. option of sw coexist
2. cpu set freq function modify
3. update lib
4. ld add static data address
2016-11-24 19:57:47 +08:00
Ivan Grokhotkov
1bcd90d45d
Merge branch 'feature/system_apis' into 'master'
...
system_* APIs cleanup
This changeset is mostly about cleaning up `system_*` APIs and moving them from libcore. It has dragged a few more changes along, however.
- `system_deep_sleep` deprecated, new name is `esp_deep_sleep`
- `system_efuse_read_mac` deprecated, new name is `esp_efuse_read_mac`
- `system_read/write_rtc_mem` removed (reason: we use linker to place code/data into RTC memory now)
- `system_get_sdk_version` deprecated. Returns "master" for now. Support for compile-time and runtime version detection will be done in a separate MR.
- `system_get_time` and variations have been deprecated. `gettimeofday` should be used instead.
- `system_restart` deprecated, new name is `esp_restart`. Rewritten code to work correctly from any of the cores.
- `system_restore` deprecated, `esp_wifi_restore` should be used instead.
- `system_get_rst_info` removed (it wasn't in a header file)
- RTC library has been updated to latest version
- Logging output from `libfoo.a` goes through `foo_printf` function now, where `foo ` is any of the library names. For libraries other than rtc and phy, this is a temporary measure, until we finish switching to esp_log library and clean up all uses of printf/ets_printf.
- ESP-IDF build will fail if any of the libraries have printf/ets_printf reference.
- Added `esp_random` function which gets values from HW RNG. I have added code which makes sure the value is not polled too often (allows at least 16 APB cycles). Also added a header file for HW RNG (just one register).
- Moved random number generation functions used by wpa library into wpa_supplicant component.
See merge request !234
2016-11-24 18:22:50 +08:00
Tian Hao
7a41ab6982
Merge branch 'master' into feature/btdm_bluedroid
...
1. update bt lib submodule
# Conflicts:
# components/bootloader/src/main/esp32.bootloader.ld
# components/bt/component.mk
# components/esp32/component.mk
# components/esp32/lib
2016-11-24 15:45:04 +08:00
Wangjialin
f97f198c9d
driver: improve pulse counter code
...
1. Modify some comments in pcnt.h
2. Modify api/pcnt.rst
3. Improve example code.
4. Add status definitions in pcnt_reg.h
2016-11-24 12:01:21 +08:00
Angus Gratton
79646f41b5
Fixes for stdlib.h inclusion
...
Refs:
http://esp32.com/viewtopic.php?f=13&t=550
http://esp32.com/viewtopic.php?f=13&t=551
rmt.c should include stdlib.h for malloc, esp_bignum,c &
https_request_main.c for abort().
FreeRTOSConfig.h is only including stdlib if
CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION is set. However, it is
included for abort() so needs to be included whenever
CONFIG_FREERTOS_ASSERT_FAIL_ABORT is set.
This change includes unconditionally in FreeRTOSConfig.h. This is to
avoid this kind of bug where compiler errors are dependent on config. I
suggest we don't change this to be more selective until we have 'make
randomconfig' style tests in CI.
2016-11-24 08:20:21 +11:00
Wangjialin
6db1482cd5
Merge branch 'master' into driver_merge_tmp/merge_pcnt
...
# Conflicts:
# components/driver/include/driver/periph_ctrl.h
2016-11-23 18:15:54 +08:00
Tian Hao
85aac3afa6
component/bt : decrease callback cb param size
...
1. decrease callback cb param size
2. add write in gatt server demo
2016-11-23 15:34:21 +08:00
wangmengyang
965735febb
component/bt: bug fix for improper media_task reset and clearing of data
2016-11-23 09:57:15 +08:00
Wangjialin
a3c4a70ba3
driver: add hardware timer code.
...
1. add timer driver code
2. add timer example code
3. replace api for enable interrupt in task_wdt.c
2016-11-23 02:15:27 +08:00
Ivan Grokhotkov
df6edb50e9
implement esp_deep_sleep, fix build issues
2016-11-22 21:54:49 +08:00
Tian Hao
db007fbb2e
component/bt : clean up the demos
...
1. cleanup gatt client demo
2. cleanup gatt server demo
3. cleanup blufi demo
4. use correct log level
2016-11-22 20:32:45 +08:00
Tian Hao
595bd2e3c4
component/bt : gatt client fix search service bug
...
1. fix search service bug
2. delete some print
2016-11-22 17:26:30 +08:00
wangmengyang
bb79b2d19b
component/bt: use macro "BTIF_AV_SRC_INCLUDED" to separate the A2DP source and SBC encoder module
2016-11-22 17:10:23 +08:00
Wangjialin
6a1dbc3f1c
add RMT driver and example
2016-11-22 00:57:19 +08:00
Tian Hao
3b432735c6
component/bt : fix advertising data and refer bug
2016-11-21 22:38:00 +08:00
Wangjialin
1cc1d9d721
driver: Add PCNT code
...
1. add PCNT module in periph_ctrl.c/.h
2. add description of PCNT status in pcnt_struct.h
3. add PCNT driver code
4. add PCNT example code.
2016-11-21 18:17:07 +08:00
Tian Hao
4ed6404e9f
Merge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature/btdm_arch
...
# Conflicts:
# components/bt/bluedroid/api/include/esp_gatt_defs.h
# components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c
2016-11-21 14:50:51 +08:00
wangmengyang
d833293581
component/bt: play of audio stream functionally works
2016-11-21 12:21:37 +08:00
Yulong
1561c02ba9
component bt:Add stop scan API to the esp_gap_ble API module
2016-11-19 09:56:36 -05:00
Yulong
a76b65ed95
compnent bt:debug the btc_gattc received data error issues.
2016-11-19 08:00:08 -05:00
Tian Hao
0245a2028c
component/bt : gatts fix
...
1. gatt server demo
2. gatt server fix bug(bta btc covert bug)
3. fix print lost
2016-11-18 22:10:35 +08:00
Yulong
3edcd29a83
compoent bt:debug the btc_gap_ble module, fix the adv len not long fix
2016-11-18 05:00:47 -05:00
Yulong
2f7288ff03
component bt:debug the scan result and add the resove adv data method to the gapapi
2016-11-18 03:43:51 -05:00
Wu Jian Gang
8ab4e11840
Merge branch 'feature/openssl' into 'master'
...
OpenSSL API examples
add openssl demo
See merge request !198
2016-11-18 15:50:50 +08:00
Dong Heng
2b196b4f3e
components/openssl_demo: remove the apache license header and add cc license head
2016-11-18 10:07:34 +08:00
Tian Hao
37365cef95
component/bt : gatt server
...
1.add gatt server demo for user
2. some function didn't be tested
2016-11-18 00:30:35 +08:00
Yulong
645717b147
Merge remote-tracking branch 'origin/feature/btdm_arch' into feature/btdm_arch_debug1
2016-11-17 08:08:19 -05:00
Yulong
7548b8c622
component bt: Added the client demo to the bt project
2016-11-17 06:37:56 -05:00
Tian Hao
a35e2d42f0
Merge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature/btdm_arch
...
1. merge to fix gap modify
2016-11-17 11:28:10 +08:00
Tian Hao
aafaebefb4
component/bt : move blufi to new architecture btc task
...
1. move blufi to new architecture
2. delete some log trace
2016-11-16 22:11:59 +08:00
wangmengyang
47486db37b
component/bt: implement UIPC API functions according to esp_audio component
2016-11-16 22:00:18 +08:00
Yulong
a63383dd19
component bt:change the scan rsp callback & scan param setup
2016-11-16 06:50:44 -05:00
Tian Hao
9691fe9dae
component/bt : init api
...
1. use future to redefine init api
2016-11-16 16:26:02 +08:00
Tian Hao
8fed003ce5
component/bt : main api
...
1. use blufi check main api ok
2016-11-16 11:28:41 +08:00
Angus Gratton
9ae07082ff
examples: Update component.mk for new conventions
2016-11-16 14:20:47 +11:00
Dong Heng
2ed9e2d9a8
feature/openssl: fixup the file and code style
2016-11-16 11:11:01 +08:00
wangmengyang
1fdaf74c4f
component/bt: bug fix for HCI packet reassmebler
...
1. bug fix for HCI packet reassmebler; audio stream can be received;
2. fix some log message typos
2016-11-16 11:05:55 +08:00
Dong Heng
656543c5ca
feature/openssl: fixup some insufficient
2016-11-16 10:46:03 +08:00
Tian Hao
521ef3f579
component/bt : new architectecture
...
1st compile ok
2016-11-15 20:56:15 +08:00
Dong Heng
4d25986aaa
Merge branch 'master' into feature/openssl
2016-11-15 15:20:48 +08:00
Dong Heng
a2b1f4221b
feature/openssl: add the openssl server demo
2016-11-15 15:08:51 +08:00
Dong Heng
dfaac25a37
feature/openssl: add openssl server demo and remove some check function
2016-11-15 15:04:21 +08:00
wangmengyang
ea75dc7064
component/bt: bug fix for hci data packet reassembler
...
1. bugfix for hci data packet reassembler
2. create new file btif_avk.c originated from btif_av.c to eliminate the avrc related logic
2016-11-15 14:32:22 +08:00
Dong Heng
858fe9815b
feature/openssl: add openssl client demo
2016-11-15 11:12:58 +08:00
Dong Heng
794b4ff578
components/openssl: add client and server demo
2016-11-14 15:11:22 +08:00
Angus Gratton
751736f902
ble_adv example: Remove int return value from app_main()
2016-11-14 15:55:26 +11:00
Angus Gratton
f7af4ddc89
Examples: Remove deprecated system_init() call
2016-11-14 15:54:33 +11:00
Angus Gratton
c15024e629
Merge branch 'master' into feature/build_component_project_vars
2016-11-14 14:54:41 +11:00
Angus Gratton
ea4005e673
Merge branch 'feature/esptool_secure_boot' into 'master'
...
Secure boot support
Also includes a lot of esptool.py changes (two new command line tools, espefuse.py and espsecure.py)
https://github.com/themadinventor/esptool/compare/feature/esp32_v20_refactor...feature/esp32_secure_boot?expand=1
See merge request !163
2016-11-14 11:32:04 +08:00
Ivan Grokhotkov
980be385cb
Merge branch 'feature/nvs_examples' into 'master'
...
NVS examples
Add two examples for working with NVS.
One is reading and writing an integer value, another is reading and writing a blob.
See merge request !194
2016-11-11 14:25:27 +08:00
Ivan Grokhotkov
9aa9086c8b
examples: minor tweaks to comments
2016-11-11 12:16:54 +08:00
Krzysztof
3aca537157
Optimsed code
...
Following note in review by @igrr 👍
2016-11-10 07:37:16 +01:00
Krzysztof
f7cb6fc969
NVS Examples update
...
Updated previusly submitted example, saved it as "07_nvs_rw_value" and
added a new one.
Overview of examples:
* 07_nvs_rw_value - simple read and write a single value
* 08_nvs_rw_blob - read and write a blob that is extened with new data
on each restart of ESP32
Removed LICENSE files
2016-11-10 06:52:48 +01:00
Angus Gratton
208e83def7
build system: Refactor component.mk to not need component_common.mk
...
New makefile component_wrapper.mk allows some variables to be set
before component.mk is evaluated. This properly fixes problems with
sdkconfig being hard to access in all phases of the build.
Including component_common.mk is no longer necessary and will print a
deprecation warning for components which use it.
2016-11-10 15:52:22 +11:00
wangmengyang
7b659b2741
component/bt: Merge branch 'feature/btdm_bluedroid' into feature/btdm_a2dp
2016-11-08 18:26:45 +08:00
Angus Gratton
fce359b240
build system: Add support for embedded arbitrary binary or text files in .rodata
...
Simplifies examples of embedding a certificate file or a root cert.
This is a much cruder mechanism than the full flash filesystem we want
eventually, but still sometimes useful.
2016-11-08 11:13:54 +11:00
Tian Hao
118984283a
component/bt : blufi use api
...
1. use api
2. bluetooth init/deinit/enable/disable wrap api(1st version)
3. bluetooth deinit(free resource) still some problem
2016-11-07 02:16:00 +08:00
Krzysztof
025bb47302
Non-Volatile Storage (NVS) example
...
Demonstrates how to read and write a value using NVS.
The value tracks number of ESP32 module restarts.
Example also shows how to use basic diagnostics if read / write
operation was successful.
2016-11-06 18:19:49 +01:00
Tian Hao
3b489f04f0
component:bt : change adv api
2016-11-06 23:58:37 +08:00
Krzysztof
b981b195be
Fixed broken links
2016-11-05 17:04:35 +01:00
Tian Hao
224acf37f6
component/bt : api category
2016-11-05 20:40:07 +08:00
Tian Hao
084248e211
component/bt : cleanup task evt
2016-11-05 19:57:53 +08:00
Tian Hao
5c3ce5b269
component/bt : demo compile fix
2016-11-05 02:50:51 +08:00
Tian Hao
aa6fe04148
component/bt : cleanup the liscence header
2016-11-05 02:48:16 +08:00
wangmengyang
32cbf52310
component/bt: port btif_rc.c
2016-11-04 22:08:12 +08:00
Tian Hao
acda125e8b
Merge branch 'feature/btdm_prf_task' into feature/btdm_bluedroid
...
# Conflicts:
# components/bt/bluedroid/profiles/core/bt_prf_sys_main.c
# components/bt/bluedroid/profiles/core/bt_prf_task.c
# components/bt/bluedroid/profiles/core/include/bt_prf_sys.h
# components/bt/bluedroid/profiles/core/include/bt_prf_task.h
# components/bt/bluedroid/profiles/esp/include/wx_airsync_prf.h
# components/bt/bluedroid/profiles/esp/wechat_AirSync/wx_airsync_prf.c
# components/bt/bluedroid/stack/btm/btm_sec.c
2016-11-04 19:32:47 +08:00
wangmengyang
d4d34c1457
component/bt: move bta_av_co.c out to example directory
2016-11-04 18:33:57 +08:00
wangmengyang
ecafe5306f
component/bt: enable some AVDT macros and minor issue fixes for btif;
2016-11-04 18:27:26 +08:00
Tian Hao
4ea38327b6
component:bt delete old demo trash
2016-11-04 17:50:40 +08:00
Yulong
b83b0ed06a
commpnent bt:Added the stop advertising to the bt project
2016-11-04 05:36:32 -04:00
wangmengyang
30198ee8c1
component/bt: add new example for A2DP
...
1. add new example for A2DP and the related btif layer source code is ported
2. modification on osi_alarm_new API to support periodic timer
3. enable macro BTA_AR_INCLUDED, BTA_AV_INCLUDED, BTA_AV_SINK_INCLUDED
4. The A2DP example cannot work and can only be built successfuly
2016-11-04 15:08:30 +08:00
Yulong
90d9f1a74e
component bt:debug the profile task can work
2016-11-04 02:34:52 -04:00
Yulong
c377650cdd
component bt:Added the profile task to the bt project
2016-11-03 04:27:44 -04:00
Ivan Grokhotkov
eb2c633cbf
newlib: implement settimeofday, integrate LwIP SNTP, add SNTP example
2016-11-03 12:46:46 +08:00
Yulong
57f8128718
component bt:Change the battery client profile to the new API
2016-11-02 07:04:11 -04:00
Yulong
2cea783ca1
component bt:Added the app_button event process function to the bt project
2016-11-02 02:21:31 -04:00
yulong
97c75a88ae
component bt:Change the button profile function to the new API function
2016-11-02 02:05:30 -04:00
Tian Hao
66b31b89ac
Merge branch 'feature/btdm_gap' into feature/btdm_bluedroid
...
# Conflicts:
# examples/07_blufi/components/bluedroid_demos/app_project/SampleClientProject.c
# examples/07_blufi/components/bluedroid_demos/app_project/SampleServerProject.c
# examples/07_blufi/components/bluedroid_demos/include/bt_app_common.h
2016-11-01 14:19:38 +08:00
Tian Hao
cb33e2a5ae
Merge branch 'feature/btdm_blufi' into feature/btdm_bluedroid
...
# Conflicts:
# components/bt/bluedroid/bta/dm/bta_dm_pm.c
# components/bt/component.mk
# examples/07_blufi/components/bluedroid_demos/app_core/bt_app_core.c
# examples/07_blufi/components/bluedroid_demos/app_project/SampleServerProject.c
2016-11-01 14:01:49 +08:00
wangmengyang
a8b2608dd9
component/bt: merge SDP client and SDP server example to a single demo
2016-11-01 11:54:01 +08:00
yulong
1cc3858dc8
component bt:Modified the API method to the bt project
2016-10-31 07:24:03 -04:00
yulong
3053518f8a
component bt:modified the API format to the standard format
2016-10-31 06:55:54 -04:00
wangmengyang
2d15803f70
component/bt: add new demo for Bluetooth SDP client
...
1. add Bluetooth SDP client demo;
2. some minor typo fixes
2016-10-31 12:34:11 +08:00
wangmengyang
0933339e4b
component/bt: add new demo for bluetooth SDP server
...
1. add bluetooth SDP server demo
2. some minor typo fixes
2016-10-28 15:48:27 +08:00
yulong
d6db871068
component bt:Change the profile function method to new API
2016-10-28 01:54:42 -04:00
yulong
5ede46f213
component bt:Change the profile & app interface to new API
2016-10-26 08:19:48 -04:00
yulong
3cd8149288
component bt:Finished Adding all the GATTS API to the bt project
2016-10-26 06:16:43 -04:00
yulong
a799bb8519
component bt:Finished Adding the GATTC API to the bt project
2016-10-26 05:50:23 -04:00
Tian Hao
45638b3f98
component/bt : use LOG_XXX instead of print
2016-10-26 15:57:40 +08:00
yulong
fd064e5d88
component bt: Added the Gatt client API to the bt project
2016-10-25 23:56:45 -04:00
yulong
86dc0ae808
component bt: Added the param len & connect API to the bt project
2016-10-25 09:12:10 -04:00
Tian Hao
20d33d636b
component/bt ; add notify
2016-10-25 15:05:08 +08:00
Tian Hao
8e247f3b4c
component/bt : delete extra GATTAPP_REGISTER
2016-10-24 20:07:19 +08:00
Tian Hao
5fbfa2a01d
blufi cleanup the bad things
2016-10-24 17:08:37 +08:00
wangmengyang
063e9e8287
component/bt: Merge branch 'feature/btdm_bluedroid' into feature/bt_gap
2016-10-21 15:19:39 +08:00
wangmengyang
2c0ceb484b
component/bt: Bluedroid BTA/SDP module is ported
2016-10-21 15:12:22 +08:00
yulong
94442708f5
component bt:added the advertising & scanning API to the bt project
2016-10-21 02:16:01 -04:00
wangmengyang
e81ff4f68c
component/bt: fix compiler error for examples/07_blufi
...
1. add the missing include of header in bt_app_core.c for examples/07_blufi,
where macro "BUT_PROFILE_CFG" should be set non-zero;
2016-10-19 19:51:18 +08:00
yulong
2182b69b3d
component bt:added the button profile event & process method to the project
2016-10-18 05:22:36 -04:00
wangmengyang
0574f2f55a
component/bt: fix of compiler errors after previous merge of code;
2016-10-17 23:53:02 +08:00
wangmengyang
9476dc2eb8
components/bt: Merge branch 'feature/wechat_prf' into feature/btdm_bluedroid
...
warning: example 07 has complier errors;
# Conflicts:
# components/bt/bluedroid/profiles/esp/ble_button/button_pro.c
# components/bt/bluedroid/stack/btu/btu_init.c
2016-10-17 23:06:33 +08:00
Tian Hao
28fa3c1a70
component/bt : new coexist lib
...
change boot loader.ld , the 0x40098000 may set other instructions
2016-10-17 15:47:45 +08:00
yulong
2fdd9ba930
component bt:change the hid profile & bt_profile task
2016-10-17 02:15:36 -04:00
yulong
7cb55c2c6c
component bt: added the WX_AIRSYNC_CFG macro to control the wechat profile
2016-10-16 23:54:22 -04:00
Tian Hao
f87ebb6d49
Merge branch 'feature/btdm_blufi' into feature/btdm_bluedroid
...
# Conflicts:
# components/bt/bluedroid/stack/btu/btu_task.c
2016-10-16 17:08:05 +08:00
yulong
1a08abea78
component bt:1.update the BLE hid to the project
...
2.update the app adverting method
2016-10-15 06:28:54 -04:00
yulong
f68c8dd687
commponant bt:change bt_app_main to app_main
2016-10-14 04:44:56 -04:00
yulong
65445b21dd
commponent bt:1.add bt_prf_act.c file for the state machine
...
2.add the bt_app_api.h file
3.modified the bt_prf_task.c==>added the free & start task function
2016-10-13 04:02:30 -04:00
yulong
6a5f5400f0
commponent bt: 1.added the bt_app_sec.c file used for the security of the bt module;
...
2.added the bt_app_sec.h file which defined the sturct used for the bt security
2016-10-12 23:41:30 -04:00
yulong
849ba39544
commponent bt:add the wechat airsync profile to the project
...
1. add the wx_airsync_prf.h which have been define the sturcter data has been
used for the wechat airsync profile database
2. add the wx_airsync_prf.c file
3. add the app_airsync_md5.c file
4. add the app_airsync_prf.c
5. add epb.c file
6. add epb_mmbp.c
7. add mpbledemo2.c
8. add wechar_crc.c
9 add wechat_aes.c
10. add app_airsync_md5.h
11. add app_airsync_prf.h
12. add app_wechat_util.h
13. add epb.h
14. add epb_mmbp.h
15 add mpbledemo2.h
16 add wechar_crc.h
17 add wechat_aes.h
2016-10-11 05:43:36 -04:00
wangmengyang
833eb88679
minor bug fixes for releasing bluedroid task events and deleting message queue
2016-10-10 20:16:30 +08:00
Tian Hao
e32d4e546a
component/bt : advertising no random address
...
1. advertising with public bdaddr
2. increase queue size avoid for exception because of the log is a lot
2016-10-10 19:21:12 +08:00
Tian Hao
eb8cb8d22e
component/bt : add bluf that use bluetooth config wifi connection demos
...
1. add libphy.a librtc.a, but store in bt submodule, if someone use them, please copy to esp32/lib/ instead the origin one
2. add 07_blufi demo
3. change esp32/Kconfig to allow bt/wifi coexist
2016-10-07 11:16:13 +08:00
Tian Hao
1c877be609
component/bt : modify some files adapt to new master
...
1. fix some header files include
2. modify demo
2016-10-07 10:47:25 +08:00
Tian Hao
0b37621438
Merge branch 'master' into feature/btdm_bluedroid
...
feature/btdm_bluedroid use newest master
# Conflicts:
# components/bt/component.mk
2016-10-07 10:31:37 +08:00
Tian Hao
6c793cb8eb
component/bt : adjust the bluedroid architecture
...
1. move the app demo code to example
2. move the header files to correct path
3. move profile to profiles directory and seperate esp&std
4. some other codes
5. needs continue to cleanup the code
2016-09-27 21:38:07 +08:00
Angus Gratton
fdb90ddd21
Merge remote-tracking branch 'origin/bugfix/modify_some_wifi_apis' into feature/initial_examples
2016-09-27 19:37:06 +10:00
Angus Gratton
a98ab8d801
nvs: Remove flash layout arguments from nvs_init()
...
Add notes that current NVS layout defaults are a Work In Progress and
not yet integrated with the partition table.
2016-09-27 13:28:45 +10:00
Angus Gratton
c3f418aa90
Update http_request & https_request examples for new startup flow
2016-09-27 12:06:54 +10:00
Angus Gratton
6850751ee8
Add very simple "hello world" & "blink" examples
2016-09-27 12:06:54 +10:00
Angus Gratton
de76546227
Build examples out-of-tree as part of CI process
2016-09-27 12:06:54 +10:00
Angus Gratton
8016e862e0
Examples: Use event groups for waiting until WiFi is associated & ESP has IP
2016-09-27 10:41:05 +10:00
Angus Gratton
db183e653c
BT example: Enable BT stack in config by default
2016-09-27 10:41:05 +10:00
Angus Gratton
22e99694e3
Documentation: Add contributor guide, expand README & add an examples README
2016-09-27 10:38:00 +10:00
Angus Gratton
af0a5d8d7e
examples: Add https_request example
2016-09-27 10:38:00 +10:00
Angus Gratton
d4b8a916a4
examples: HTTP request example
2016-09-27 10:38:00 +10:00
Ivan Grokhotkov
7cef0308dc
Change application entry point name back to app_main
2016-09-26 14:48:41 +08:00
Ivan Grokhotkov
b936441b9b
Startup flow refactoring
...
This change removes implicit WiFi/BT initialization from startup code.
"main" task is started once essential part of startup code is complete.
This task calls application-provided "int main(void)" function, which can call WiFi/BT init functions if necessary.
2016-09-26 00:50:57 +08:00
snake
95c48d4b84
1. clean up the macro. 2. change component/bt/lib url to use new lib
2016-09-23 10:48:55 +08:00
wangmengyang
5383af1e2e
BLE ADV Demo
2016-09-22 21:15:54 +08:00