]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'feature/sockets_example' into 'master'
Angus Gratton [Wed, 17 Oct 2018 07:24:38 +0000 (15:24 +0800)]
Merge branch 'feature/sockets_example' into 'master'

Feature/sockets example

See merge request idf/esp-idf!3447

6 years agoMerge branch 'feature/i2c-tools' into 'master'
Angus Gratton [Wed, 17 Oct 2018 07:23:48 +0000 (15:23 +0800)]
Merge branch 'feature/i2c-tools' into 'master'

add i2c-tools example

See merge request idf/esp-idf!3483

6 years agoMerge branch 'update/mfg_gen' into 'master'
Angus Gratton [Wed, 17 Oct 2018 07:23:27 +0000 (15:23 +0800)]
Merge branch 'update/mfg_gen' into 'master'

Update mfg utility and nvs partition utility to make Python2 and Python3 compatible

See merge request idf/esp-idf!3243

6 years agoMerge branch 'bugfix/run_esptool_espport' into 'master'
Angus Gratton [Wed, 17 Oct 2018 00:14:20 +0000 (08:14 +0800)]
Merge branch 'bugfix/run_esptool_espport' into 'master'

cmake: Handle ESPPORT environment variable correctly

See merge request idf/esp-idf!3482

6 years agoi2c/i2c-tools: add i2c-tools example
morris [Mon, 15 Oct 2018 02:19:02 +0000 (10:19 +0800)]
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

6 years agoBSD Socket examples
MartinValik [Tue, 2 Oct 2018 14:33:16 +0000 (16:33 +0200)]
BSD Socket examples

6 years agoMerge branch 'feature/34_coding_scheme' into 'master'
Angus Gratton [Tue, 16 Oct 2018 07:07:43 +0000 (15:07 +0800)]
Merge branch 'feature/34_coding_scheme' into 'master'

bootloader: 3/4 Coding Scheme support

See merge request idf/esp-idf!3430

6 years agoSecure Boot & Flash encryption: Support 3/4 Coding Scheme
Angus Gratton [Tue, 2 Oct 2018 05:15:32 +0000 (15:15 +1000)]
Secure Boot & Flash encryption: Support 3/4 Coding Scheme

Includes esptool update to v2.6-beta1

6 years agoMerge branch 'bugfix/fuzzer_ci_tests_to_new_lwip' into 'master'
Angus Gratton [Tue, 16 Oct 2018 00:01:00 +0000 (08:01 +0800)]
Merge branch 'bugfix/fuzzer_ci_tests_to_new_lwip' into 'master'

LWIP Fuzzer: updated fuzzer tests to be compatible with new lwip module

See merge request idf/esp-idf!3278

6 years agoMerge branch 'bugfix/guide-download' into 'master'
Angus Gratton [Mon, 15 Oct 2018 08:27:44 +0000 (16:27 +0800)]
Merge branch 'bugfix/guide-download' into 'master'

Docs: Renamed download links to clearly state they are to download documentation.…

See merge request idf/esp-idf!3271

6 years agoMerge branch 'feature/64mb_psram_support_base' into 'master'
Jeroen Domburg [Mon, 15 Oct 2018 07:54:10 +0000 (15:54 +0800)]
Merge branch 'feature/64mb_psram_support_base' into 'master'

Feature/64mb psram support base

See merge request idf/esp-idf!2887

6 years agoSpiram: Add option to reserve MMU banks; add himem API to make use of those banks
Jeroen Domburg [Fri, 29 Jun 2018 03:05:36 +0000 (11:05 +0800)]
Spiram: Add option to reserve MMU banks; add himem API to make use of those banks

6 years agocmake: Handle ESPPORT environment variable correctly
Angus Gratton [Sun, 14 Oct 2018 23:25:44 +0000 (10:25 +1100)]
cmake: Handle ESPPORT environment variable correctly

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

6 years agoMerge branch 'doc/update_i2c_example_readme' into 'master'
Angus Gratton [Sun, 14 Oct 2018 22:34:48 +0000 (06:34 +0800)]
Merge branch 'doc/update_i2c_example_readme' into 'master'

cleanup readme of i2c example

See merge request idf/esp-idf!3449

6 years agoMerge remote-tracking branch 'refs/remotes/origin/update/mfg_gen' into update/mfg_gen
Shivani Tipnis [Fri, 12 Oct 2018 05:35:02 +0000 (11:05 +0530)]
Merge remote-tracking branch 'refs/remotes/origin/update/mfg_gen' into update/mfg_gen

6 years agoutil: Update docs as per review comments
Shivani Tipnis [Fri, 12 Oct 2018 04:46:39 +0000 (10:16 +0530)]
util: Update docs as per review comments

6 years agotools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool
Shivani Tipnis [Thu, 11 Oct 2018 12:20:12 +0000 (17:50 +0530)]
tools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool

6 years agonvs_util: Add Python2 and Python3 compatible
Shivani Tipnis [Thu, 11 Oct 2018 06:19:32 +0000 (11:49 +0530)]
nvs_util: Add Python2 and Python3 compatible

6 years agonvs_part_gen: Add changes to partition size input
Shivani Tipnis [Mon, 8 Oct 2018 05:41:56 +0000 (11:11 +0530)]
nvs_part_gen: Add changes to partition size input

6 years agonvs_part_gen: Update to make python version compatible
Shivani Tipnis [Mon, 8 Oct 2018 05:02:09 +0000 (10:32 +0530)]
nvs_part_gen: Update to make python version compatible

(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)

6 years agomfg_gen: Add changes to make Python2 and Python3 compatible
Shivani Tipnis [Wed, 3 Oct 2018 11:31:00 +0000 (17:01 +0530)]
mfg_gen: Add changes to make Python2 and Python3 compatible

6 years agoUpdate mfg utility as per updated nvs partition util
Shivani Tipnis [Tue, 11 Sep 2018 08:13:05 +0000 (13:43 +0530)]
Update mfg utility as per updated nvs partition util

6 years agonvs_util: Add Python2 and Python3 compatible
Shivani Tipnis [Thu, 11 Oct 2018 06:19:32 +0000 (11:49 +0530)]
nvs_util: Add Python2 and Python3 compatible

6 years agonvs_part_gen: Add changes to partition size input
Shivani Tipnis [Mon, 8 Oct 2018 05:41:56 +0000 (11:11 +0530)]
nvs_part_gen: Add changes to partition size input

6 years agonvs_part_gen: Update to make python version compatible
Shivani Tipnis [Mon, 8 Oct 2018 05:02:09 +0000 (10:32 +0530)]
nvs_part_gen: Update to make python version compatible

(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)

6 years agomfg_gen: Add changes to make Python2 and Python3 compatible
Shivani Tipnis [Wed, 3 Oct 2018 11:31:00 +0000 (17:01 +0530)]
mfg_gen: Add changes to make Python2 and Python3 compatible

6 years agoUpdate mfg utility as per updated nvs partition util
Shivani Tipnis [Tue, 11 Sep 2018 08:13:05 +0000 (13:43 +0530)]
Update mfg utility as per updated nvs partition util

6 years agoutil: Update docs as per review comments
Shivani Tipnis [Fri, 12 Oct 2018 04:46:39 +0000 (10:16 +0530)]
util: Update docs as per review comments

6 years agodoc/i2c-example: cleanup readme of i2c example
morris [Mon, 8 Oct 2018 08:50:26 +0000 (16:50 +0800)]
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

6 years agoMerge branch 'bugfix/doc_get_started_cmake' into 'master'
Angus Gratton [Thu, 11 Oct 2018 23:01:27 +0000 (07:01 +0800)]
Merge branch 'bugfix/doc_get_started_cmake' into 'master'

doc : Corrected git clone command parameters under get-started-cmake

See merge request idf/esp-idf!3466

6 years agotools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool
Shivani Tipnis [Thu, 11 Oct 2018 12:20:12 +0000 (17:50 +0530)]
tools: Add Python2 and Python3 compatibility support to nvs util tool and mfg tool

6 years agonvs_util: Add Python2 and Python3 compatible
Shivani Tipnis [Thu, 11 Oct 2018 06:19:32 +0000 (11:49 +0530)]
nvs_util: Add Python2 and Python3 compatible

6 years agonvs_part_gen: Add changes to partition size input
Shivani Tipnis [Mon, 8 Oct 2018 05:41:56 +0000 (11:11 +0530)]
nvs_part_gen: Add changes to partition size input

6 years agonvs_part_gen: Update to make python version compatible
Shivani Tipnis [Mon, 8 Oct 2018 05:02:09 +0000 (10:32 +0530)]
nvs_part_gen: Update to make python version compatible

(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)

6 years agomfg_gen: Add changes to make Python2 and Python3 compatible
Shivani Tipnis [Wed, 3 Oct 2018 11:31:00 +0000 (17:01 +0530)]
mfg_gen: Add changes to make Python2 and Python3 compatible

6 years agoUpdate mfg utility as per updated nvs partition util
Shivani Tipnis [Tue, 11 Sep 2018 08:13:05 +0000 (13:43 +0530)]
Update mfg utility as per updated nvs partition util

6 years agonvs_util: Add Python2 and Python3 compatible
Shivani Tipnis [Thu, 11 Oct 2018 06:19:32 +0000 (11:49 +0530)]
nvs_util: Add Python2 and Python3 compatible

6 years agonvs_part_gen: Add changes to partition size input
Shivani Tipnis [Mon, 8 Oct 2018 05:41:56 +0000 (11:11 +0530)]
nvs_part_gen: Add changes to partition size input

6 years agonvs_part_gen: Update to make python version compatible
Shivani Tipnis [Mon, 8 Oct 2018 05:02:09 +0000 (10:32 +0530)]
nvs_part_gen: Update to make python version compatible

(cherry picked from commit 3506b2d60792e5d4ed4f744b28f2da6733c6aae7)

6 years agomfg_gen: Add changes to make Python2 and Python3 compatible
Shivani Tipnis [Wed, 3 Oct 2018 11:31:00 +0000 (17:01 +0530)]
mfg_gen: Add changes to make Python2 and Python3 compatible

6 years agoUpdate mfg utility as per updated nvs partition util
Shivani Tipnis [Tue, 11 Sep 2018 08:13:05 +0000 (13:43 +0530)]
Update mfg utility as per updated nvs partition util

6 years agodoc : Corrected git clone command parameters under get-started-cmake
Anurag Kar [Thu, 11 Oct 2018 06:08:55 +0000 (11:38 +0530)]
doc : Corrected git clone command parameters under get-started-cmake

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

6 years agolwip: updated fuzzer tests to be compatible with new lwip module
David Cermak [Fri, 14 Sep 2018 12:30:03 +0000 (14:30 +0200)]
lwip: updated fuzzer tests to be compatible with new lwip module

6 years agoMerge branch 'bugfix/several_bugfix_about_ba_session_setup' into 'master'
Jiang Jiang Jian [Thu, 11 Oct 2018 03:28:20 +0000 (11:28 +0800)]
Merge branch 'bugfix/several_bugfix_about_ba_session_setup' into 'master'

esp32: several fixes/optimizations about BlockAck(BA) setup

See merge request idf/esp-idf!3374

6 years agoMerge branch 'feature/unified_provisioning' into 'master'
Angus Gratton [Wed, 10 Oct 2018 08:29:11 +0000 (16:29 +0800)]
Merge branch 'feature/unified_provisioning' into 'master'

provisioning: This patch adds the unified provisioning support

See merge request idf/esp-idf!2812

6 years agoMerge branch 'doc/nvs_encr_doc' into 'master'
Angus Gratton [Wed, 10 Oct 2018 06:58:15 +0000 (14:58 +0800)]
Merge branch 'doc/nvs_encr_doc' into 'master'

nvs_flash: Update documentation at various places to indicate NVS encryotion is supported

See merge request idf/esp-idf!3431

6 years agoMerge branch 'feature/bss_seg_in_external_memory' into 'master'
Angus Gratton [Wed, 10 Oct 2018 06:40:21 +0000 (14:40 +0800)]
Merge branch 'feature/bss_seg_in_external_memory' into 'master'

memory:   support .bss segment can be in psram

See merge request idf/esp-idf!2236

6 years agoMerge branch 'feature/error_check_without_abort' into 'master'
Angus Gratton [Wed, 10 Oct 2018 06:31:38 +0000 (14:31 +0800)]
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

6 years agoMerge branch 'bugfix/fix_psram_eid' into 'master'
Angus Gratton [Wed, 10 Oct 2018 03:37:43 +0000 (11:37 +0800)]
Merge branch 'bugfix/fix_psram_eid' into 'master'

bugfix(psram): fix psram eid

See merge request idf/esp-idf!3392

6 years agoMerge branch 'bugfix/httpd_default_content_type' into 'master'
Angus Gratton [Wed, 10 Oct 2018 00:21:56 +0000 (08:21 +0800)]
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

6 years agoMerge branch 'bugfix/httpd_chunked_content_len' into 'master'
Angus Gratton [Wed, 10 Oct 2018 00:21:50 +0000 (08:21 +0800)]
Merge branch 'bugfix/httpd_chunked_content_len' into 'master'

Remove Content-Length from chunked encoding

See merge request idf/esp-idf!3442

6 years agoMerge branch 'feature/docs_update_mcpwm_api' into 'master'
Angus Gratton [Wed, 10 Oct 2018 00:15:23 +0000 (08:15 +0800)]
Merge branch 'feature/docs_update_mcpwm_api' into 'master'

MCPWM API doc update

See merge request idf/esp-idf!1602

6 years agoMCPWM API doc update
Krzysztof Budzynski [Wed, 10 Oct 2018 00:15:23 +0000 (08:15 +0800)]
MCPWM API doc update

6 years agoMerge branch 'bugfix/btdm_fix_connect_interval_error_in_slave_adv_params' into 'master'
Jiang Jiang Jian [Tue, 9 Oct 2018 09:01:44 +0000 (17:01 +0800)]
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

6 years agoesp32: Add macro to check a condition without abort
Roland Dobai [Mon, 24 Sep 2018 06:49:39 +0000 (08:49 +0200)]
esp32: Add macro to check a condition without abort

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

6 years agoesp32: several fixes about BA session setup
Liu Zhi Fu [Mon, 8 Oct 2018 09:44:44 +0000 (17:44 +0800)]
esp32: several fixes about BA session setup

1. Fix the bug that ESP32 will reject the retry AddBA request frame
   if AddBA response frame is failed to sent by WiFi LMAC
2. Fix the bug that AddBA request retrys too frequently
3. Forbid BA session setup for VO queue related TID

6 years agoMerge branch 'bugfix/downgrade_future' into 'master'
Angus Gratton [Tue, 9 Oct 2018 03:06:45 +0000 (11:06 +0800)]
Merge branch 'bugfix/downgrade_future' into 'master'

Change python-future to 0.15.2 (again)

See merge request idf/esp-idf!3423

6 years agoMerge branch 'bugfix/fix_close_socket_crash_bug' into 'master'
Jiang Jiang Jian [Mon, 8 Oct 2018 13:23:57 +0000 (21:23 +0800)]
Merge branch 'bugfix/fix_close_socket_crash_bug' into 'master'

lwip: fix the crash when close socket

See merge request idf/esp-idf!3384

6 years agoHTTP Server : Default content type of response should be HTTPD_TYPE_TEXT
Anurag Kar [Mon, 8 Oct 2018 10:42:19 +0000 (16:12 +0530)]
HTTP Server : Default content type of response should be HTTPD_TYPE_TEXT

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

6 years agobugfix(psram): fix psram driver
chenjianqiang [Thu, 27 Sep 2018 09:00:48 +0000 (17:00 +0800)]
bugfix(psram): fix psram driver

1. remove use EID to distinguish psram voltage
2. 1V8 64Mbit psram and 3V3 64Mbit psram use the same psram driver(standard spi interface)
3. set cs hold time register as 1

6 years agoRemove Content-Length from chunked encoding
Assaf Inbal [Sat, 22 Sep 2018 16:47:20 +0000 (19:47 +0300)]
Remove Content-Length from chunked encoding

Content-Length header should not be included when using chunked encoding.
Some browsers will close the socket after seeing the 0 sized response instead of
reading the chunks.

Merges https://github.com/espressif/esp-idf/pull/2458

6 years agoMerge branch 'test/spi_slave_psram_disable' into 'master'
Angus Gratton [Mon, 8 Oct 2018 08:28:41 +0000 (16:28 +0800)]
Merge branch 'test/spi_slave_psram_disable' into 'master'

test: disable the spi slave startup test when psram is enabled

See merge request idf/esp-idf!3373

6 years agoMerge branch 'fix/spi_master_cmd_addr_lsbfirst' into 'master'
Angus Gratton [Mon, 8 Oct 2018 08:26:27 +0000 (16:26 +0800)]
Merge branch 'fix/spi_master_cmd_addr_lsbfirst' into 'master'

spi_master: fix the command and address field when LSB_FIRST enabled

See merge request idf/esp-idf!3398

6 years agoMerge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report...
Jiang Jiang Jian [Mon, 8 Oct 2018 07:59:07 +0000 (15:59 +0800)]
Merge branch 'bugfix/no_disconnect_event_report_if_no_correct_status_code_report' into 'master'

WiFi: bugfix of no disconnect event report if no correct status code report

See merge request idf/esp-idf!3370

6 years agoMerge branch 'feature/global_ca_store' into 'master'
Angus Gratton [Mon, 8 Oct 2018 06:51:02 +0000 (14:51 +0800)]
Merge branch 'feature/global_ca_store' into 'master'

esp_tls: Support for global CA store.

See merge request idf/esp-idf!3432

6 years agoMerge branch 'feature/ethernet_example_iperf' into 'master'
Angus Gratton [Mon, 8 Oct 2018 04:27:05 +0000 (12:27 +0800)]
Merge branch 'feature/ethernet_example_iperf' into 'master'

ethernet: add iperf example to test real bandwidth

See merge request idf/esp-idf!3332

6 years agoethernet: add iperf example to test real bandwidth
morris [Thu, 20 Sep 2018 11:26:14 +0000 (19:26 +0800)]
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]

6 years agoMerge branch 'doc/rmt_readme_typo_fix' into 'master'
Angus Gratton [Sun, 7 Oct 2018 23:25:10 +0000 (07:25 +0800)]
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

6 years agoFeature: Support for global CA store.
Chirag Atal [Thu, 4 Oct 2018 10:35:02 +0000 (16:05 +0530)]
Feature: Support for global CA store.

Added a new API esp_tls_set_global_ca_store(esp_tls_cfg_t *cfg) which creates a global_cacert which can be used by multiple connections by setting the use_global_ca_store variable to true in their respective structure of esp_tls_cfg_t. Also changed the cacert in the structure of esp_tls_t to a pointer.

6 years agonvs_flash: Update documentation at different places to indicate NVS encryotion is...
Sagar Bijwe [Thu, 4 Oct 2018 07:36:23 +0000 (13:06 +0530)]
nvs_flash: Update documentation at different places to indicate NVS encryotion is supported

6 years agoMerge branch 'bugfix/rom_export_functions' into 'master'
Angus Gratton [Fri, 5 Oct 2018 04:40:05 +0000 (12:40 +0800)]
Merge branch 'bugfix/rom_export_functions' into 'master'

esp32, bootloader: fix issues related to linking order

See merge request idf/esp-idf!3375

6 years agoMerge branch 'feature_add_path_tools_pr2410' into 'master'
Angus Gratton [Fri, 5 Oct 2018 04:34:10 +0000 (12:34 +0800)]
Merge branch 'feature_add_path_tools_pr2410' into 'master'

add_path.sh: cmake: add tools folder to the path

See merge request idf/esp-idf!3344

6 years agoMerge branch 'test/enhanced_unit_test_config_dependency' into 'master'
Angus Gratton [Fri, 5 Oct 2018 01:21:30 +0000 (09:21 +0800)]
Merge branch 'test/enhanced_unit_test_config_dependency' into 'master'

test: enhanced config dependency support for CI

See merge request idf/esp-idf!3383

6 years agoMerge branch 'bugfix/windows_msys2_updates' into 'master'
Angus Gratton [Fri, 5 Oct 2018 00:06:47 +0000 (08:06 +0800)]
Merge branch 'bugfix/windows_msys2_updates' into 'master'

Windows: Update MSYS2 environment, catch some MSYS2 Python quirks

See merge request idf/esp-idf!3417

6 years agotest: modify the command/address test a bit to test the LSBFIRST feature
michael [Wed, 3 Oct 2018 16:16:21 +0000 (00:16 +0800)]
test: modify the command/address test a bit to test the LSBFIRST feature

6 years agospi: move gpio direction config to common func for coinsistence
michael [Tue, 2 Oct 2018 09:09:02 +0000 (17:09 +0800)]
spi: move gpio direction config to common func for coinsistence

(MINOR CHANGE)

6 years agospi_master: fix the command and address field when LSB_FIRST enabled
Michael (XIAO Xufeng) [Fri, 28 Sep 2018 03:36:14 +0000 (11:36 +0800)]
spi_master: fix the command and address field when LSB_FIRST enabled

Resolves https://github.com/espressif/esp-idf/issues/2444.

6 years agoMerge branch 'feature/transpost_methods_renamed_no_collision' into 'master'
Angus Gratton [Thu, 4 Oct 2018 05:11:49 +0000 (13:11 +0800)]
Merge branch 'feature/transpost_methods_renamed_no_collision' into 'master'

Renamed transport header files to esp_ prefixed

See merge request idf/esp-idf!3359

6 years agoMerge branch 'bugfix/esp_error_check_silent' into 'master'
Angus Gratton [Wed, 3 Oct 2018 06:33:09 +0000 (14:33 +0800)]
Merge branch 'bugfix/esp_error_check_silent' into 'master'

esp_err: Don't compile in error message strings in "silent assertions" mode

See merge request idf/esp-idf!3418

6 years agoMerge branch 'feature/sigmadelta-example-update-readme' into 'master'
Angus Gratton [Wed, 3 Oct 2018 01:50:27 +0000 (09:50 +0800)]
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

6 years agoDocs : Added Provisioning and Protocomm related docs
Anurag Kar [Sun, 23 Sep 2018 14:44:46 +0000 (20:14 +0530)]
Docs : Added Provisioning and Protocomm related docs

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
6 years agoExamples : Added provisioning examples, tests and client tool.
Anurag Kar [Mon, 30 Jul 2018 16:10:10 +0000 (21:40 +0530)]
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>
6 years agoWiFi Provisioning : Added component providing framework for configuring WiFi credenti...
Amey Inamdar [Mon, 30 Jul 2018 16:09:00 +0000 (21:39 +0530)]
WiFi Provisioning : Added component providing framework for configuring WiFi credentials during provisioning

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
6 years agoProtocomm : Added support for choice of transport - WiFi (SoftAP+HTTPD), BLE, Console...
Amey Inamdar [Mon, 30 Jul 2018 16:06:48 +0000 (21:36 +0530)]
Protocomm : Added support for choice of transport - WiFi (SoftAP+HTTPD), BLE, Console (development friendly transport)

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
6 years agoProtocomm : Added unit tests and protobuf-c generated files
Amey Inamdar [Mon, 30 Jul 2018 16:05:03 +0000 (21:35 +0530)]
Protocomm : Added unit tests and protobuf-c generated files

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
6 years agoProtocomm : Added component core for protocol communication
Amey Inamdar [Mon, 30 Jul 2018 16:03:10 +0000 (21:33 +0530)]
Protocomm : Added component core for protocol communication

* This manages secure sessions and provides framework for multiple transports.
* The application can use protocomm layer directly to have application specific extensions for provisioning (or non-provisioning) use cases.
* Following features are available for provisioning :

  * Security - Security0 (no security), Security1 (curve25519 key exchange + AES-CTR encryption)
  * Proof-of-possession support for Security1

* Protocomm requires specific protocol buffer modules for compilation which can be generated from the `.proto` files in the `proto` directory using make.

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
6 years agoprotobuf-c : Added Google's protocol buffer C library as sub-module
Amey Inamdar [Fri, 20 Jul 2018 12:35:31 +0000 (18:05 +0530)]
protobuf-c : Added Google's protocol buffer C library as sub-module
Source https://github.com/protobuf-c/protobuf-c

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
6 years agotcp_transport: transport set handle refactoring, web socket client name updated
David Cermak [Tue, 2 Oct 2018 13:19:46 +0000 (15:19 +0200)]
tcp_transport: transport set handle refactoring, web socket client name updated

6 years agotcp_transport: renamed possibly generic function names to be esp_ prefixed and not...
David Cermak [Wed, 26 Sep 2018 09:56:47 +0000 (11:56 +0200)]
tcp_transport: renamed possibly generic function names to be esp_ prefixed and not to colide with user namespace

6 years agotcp_transport: Use getrandom() instead of rand() in the entire esp-mqtt
Anton Maklakov [Wed, 19 Sep 2018 11:52:11 +0000 (19:52 +0800)]
tcp_transport: Use getrandom() instead of rand() in the entire esp-mqtt

Signed-off-by: David Cermak <cermak@espressif.com>
6 years agotcp_transport: Fix warning, put in order the nearest code, replace sprintf with snprintf
Anton Maklakov [Tue, 18 Sep 2018 06:02:14 +0000 (14:02 +0800)]
tcp_transport: Fix warning, put in order the nearest code, replace sprintf with snprintf

Signed-off-by: David Cermak <cermak@espressif.com>
6 years agotcp_transport: renamed transport related header files to esp_ prefixed to avoid colli...
David Cermak [Tue, 25 Sep 2018 08:34:04 +0000 (10:34 +0200)]
tcp_transport: renamed transport related header files to esp_ prefixed to avoid collisions

tcp_transport component used public header files such as 'transport.h', etc. which are too generic and might collide with user or user libraries headers
This change closes #2417

6 years agoesp_err: Don't compile in error message strings in "silent assertions" mode
Angus Gratton [Mon, 1 Oct 2018 06:22:33 +0000 (16:22 +1000)]
esp_err: Don't compile in error message strings in "silent assertions" mode

Reported on forum https://esp32.com/viewtopic.php?f=13&t=7396&p=31419#p31419

6 years agoMerge branch 'bugfix/bootloader_gen_secure_boot_digest' into 'master'
Angus Gratton [Tue, 2 Oct 2018 06:55:21 +0000 (14:55 +0800)]
Merge branch 'bugfix/bootloader_gen_secure_boot_digest' into 'master'

bootloader: Fix secure boot digest generation for image length where (len%128 < 32)

See merge request idf/esp-idf!3410

6 years agoChange python-future to 0.15.2 (again)
Deomid Ryabkov [Sat, 29 Sep 2018 10:00:12 +0000 (13:00 +0300)]
Change python-future to 0.15.2 (again)

Merges https://github.com/espressif/esp-idf/pull/2492

6 years agobootloader: Fix secure boot digest generation for image length where (len%128 < 32)
Angus Gratton [Sat, 29 Sep 2018 14:31:58 +0000 (00:31 +1000)]
bootloader: Fix secure boot digest generation for image length where (len%128 < 32)

6 years agoesp32: remove ROM functions redefined in IDF from LD script
Ivan Grokhotkov [Wed, 26 Sep 2018 12:46:15 +0000 (20:46 +0800)]
esp32: remove ROM functions redefined in IDF from LD script

In some cases, linker could choose to use ROM functions instead of the
ones defined in IDF.
For functions used in ROM stub table, this would lead to infinite
recursion when the corresponding function was called from ROM.
For crypto functions, some of these were modified in IDF, and
incompatible with ROM counterparts.

6 years agobootloader_support: exclude bootloader_init.c when building app
Ivan Grokhotkov [Sun, 30 Sep 2018 04:27:06 +0000 (12:27 +0800)]
bootloader_support: exclude bootloader_init.c when building app

Depending on link order of libraries, bootloader implementation of
__assert_func could be linked instead of the one provided by newlib.

6 years agoMerge branch 'bugfix/disable_coding_scheme_security_features' into 'master'
Angus Gratton [Mon, 1 Oct 2018 23:54:11 +0000 (07:54 +0800)]
Merge branch 'bugfix/disable_coding_scheme_security_features' into 'master'

bootloader: Don't enable secure boot or flash encryption for 3/4 Coding Scheme

See merge request idf/esp-idf!3369

6 years agoMerge branch 'bugfix/rtc_fastmem_data_init' into 'master'
Ivan Grokhotkov [Mon, 1 Oct 2018 10:13:43 +0000 (18:13 +0800)]
Merge branch 'bugfix/rtc_fastmem_data_init' into 'master'

esp32: fixes related to CONFIG_ESP32_RTCDATA_IN_FAST_MEM

See merge request idf/esp-idf!3403