]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agotiny-test-fw: support save performance to junit report:
He Yin Ling [Thu, 7 Mar 2019 12:17:43 +0000 (20:17 +0800)]
tiny-test-fw: support save performance to junit report:

1. support get performance from DUT
2. update performance to `testcase.stdout` in JunitReport

5 years agoMerge branch 'feature/freemodbus_master_support_upd_arch' into 'master'
Angus Gratton [Thu, 18 Apr 2019 04:42:05 +0000 (12:42 +0800)]
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

5 years agoMerge branch 'test/modify_mesh_ci_master' into 'master'
He Yin Ling [Thu, 18 Apr 2019 03:28:50 +0000 (11:28 +0800)]
Merge branch 'test/modify_mesh_ci_master' into 'master'

test: update mesh test cases for ci test

See merge request idf/esp-idf!4647

5 years agoMerge branch 'bugfix/pm_isr_exit_lock' into 'master'
Ivan Grokhotkov [Thu, 18 Apr 2019 03:16:26 +0000 (11:16 +0800)]
Merge branch 'bugfix/pm_isr_exit_lock' into 'master'

pm: prevent interrupt nesting during esp_pm_impl_isr_hook

See merge request idf/esp-idf!4775

5 years agoMerge branch 'feature/remove_dependency_to_soc' into 'master'
Angus Gratton [Thu, 18 Apr 2019 00:08:41 +0000 (08:08 +0800)]
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

5 years agoMerge branch 'bugfix/fix_signal_test_bug' into 'master'
Jiang Jiang Jian [Wed, 17 Apr 2019 14:06:43 +0000 (22:06 +0800)]
Merge branch 'bugfix/fix_signal_test_bug' into 'master'

esp_wifi: fix a bug caused by signal test code

See merge request idf/esp-idf!4810

5 years agoMerge branch 'feature/add_cloud_frameworks_doc' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 12:24:55 +0000 (20:24 +0800)]
Merge branch 'feature/add_cloud_frameworks_doc' into 'master'

Add documentation for Cloud Frameworks

See merge request idf/esp-idf!4547

5 years agodocs: Add cloud frameworks doc
Jitin George [Tue, 19 Mar 2019 08:15:55 +0000 (13:45 +0530)]
docs: Add cloud frameworks doc

5 years agotest: update mesh test cases for ci
chenyudong [Mon, 17 Dec 2018 11:31:19 +0000 (19:31 +0800)]
test: update mesh test cases for ci

add mesh cases in files:
TC_IT_MESH_EST.yml, TC_IT_MESH_COMM.yml and TC_IT_MESH_MISC.yml

5 years agoesp_wifi: fix a bug caused by signal test code
liu zhifu [Wed, 17 Apr 2019 08:32:15 +0000 (16:32 +0800)]
esp_wifi: fix a bug caused by signal test code

Fix a bug caused by signal test code.

5 years agoMerge branch 'bugfix/use_libc_gnu_extensions' into 'master'
Anton Maklakov [Wed, 17 Apr 2019 08:22:37 +0000 (16:22 +0800)]
Merge branch 'bugfix/use_libc_gnu_extensions' into 'master'

build: Add a standard way to use GNU extensions from libc

See merge request idf/esp-idf!4769

5 years agoMerge branch 'bugfix/adjtime_ut' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 07:15:31 +0000 (15:15 +0800)]
Merge branch 'bugfix/adjtime_ut' into 'master'

newlib: Fix adjtime

See merge request idf/esp-idf!4676

5 years agopm: prevent interrupt nesting during esp_pm_impl_isr_hook
Ivan Grokhotkov [Tue, 9 Apr 2019 05:25:24 +0000 (13:25 +0800)]
pm: prevent interrupt nesting during esp_pm_impl_isr_hook

Follows the approach proposed in https://github.com/espressif/esp-idf/pull/3110,
but masks the interrupts during the entire ISR hook, not only during
leave_idle. Interrupt nesting during update_ccompare may also cause
issues.

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

5 years agoMerge branch 'bugfix/esp_tls_closing_fd0' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 07:10:20 +0000 (15:10 +0800)]
Merge branch 'bugfix/esp_tls_closing_fd0' into 'master'

esp_tls: fix incorrect closing of fd 0 on connection failure

See merge request idf/esp-idf!4726

5 years agoMerge branch 'bugfix/pr_3250' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 07:08:26 +0000 (15:08 +0800)]
Merge branch 'bugfix/pr_3250' into 'master'

Fix: Lost username when setting new URL with a path.

Closes IDFGH-904

See merge request idf/esp-idf!4755

5 years agoMerge branch 'bugfix/ut_leaks_tags' into 'master'
Ivan Grokhotkov [Wed, 17 Apr 2019 06:52:34 +0000 (14:52 +0800)]
Merge branch 'bugfix/ut_leaks_tags' into 'master'

test: clean up "leaks" tags from most unit tests

See merge request idf/esp-idf!4779

5 years agobuild: Add a standard way to use GNU extensions from libc, since we have a general...
Anton Maklakov [Mon, 15 Apr 2019 04:34:43 +0000 (11:34 +0700)]
build: Add a standard way to use GNU extensions from libc, since we have a general configured newlib in the toolchain

5 years agoMerge branch 'bugfix/gcc8_compat' into 'master'
Anton Maklakov [Wed, 17 Apr 2019 05:02:47 +0000 (13:02 +0800)]
Merge branch 'bugfix/gcc8_compat' into 'master'

Remove warning (gcc8)

See merge request idf/esp-idf!4795

5 years agomdns example: Remove a warned unused constant
Anton Maklakov [Tue, 16 Apr 2019 08:32:49 +0000 (15:32 +0700)]
mdns example: Remove a warned unused constant

5 years agoMerge branch 'bugfix/fix_set_config_bug_for_bssid_set' into 'master'
Jiang Jiang Jian [Tue, 16 Apr 2019 12:27:09 +0000 (20:27 +0800)]
Merge branch 'bugfix/fix_set_config_bug_for_bssid_set' into 'master'

wifi: fix the set config bug for bssid_set

Closes WIFI-419

See merge request idf/esp-idf!4785

5 years agotest: clean up "leaks" tags from most unit tests
Ivan Grokhotkov [Mon, 15 Apr 2019 13:07:38 +0000 (21:07 +0800)]
test: clean up "leaks" tags from most unit tests

5 years agofreemodbus: Fix bug with incorrect coils read mask
Alex Lisitsyn [Fri, 19 Oct 2018 13:51:27 +0000 (15:51 +0200)]
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

5 years agoesp_http_client: fix CI issues & return value
Roland Dobai [Fri, 12 Apr 2019 12:14:58 +0000 (14:14 +0200)]
esp_http_client: fix CI issues & return value

5 years agoFix: Lost username when setting new URL with a path.
Nguyễn Hồng Quân [Mon, 8 Apr 2019 16:15:04 +0000 (23:15 +0700)]
Fix: Lost username when setting new URL with a path.

Closes https://github.com/espressif/esp-idf/pull/3250

5 years agoglobal: move the soc component out of the common list
Michael (XIAO Xufeng) [Wed, 3 Apr 2019 05:17:38 +0000 (13:17 +0800)]
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

5 years agowifi: fix the set config bug for bssid_set
zhangyanjiao [Tue, 16 Apr 2019 02:57:00 +0000 (10:57 +0800)]
wifi: fix the set config bug for bssid_set

5 years agoMerge branch 'bugfix/esp_efuse_get_pkg_ver' into 'master'
Angus Gratton [Tue, 16 Apr 2019 00:10:53 +0000 (08:10 +0800)]
Merge branch 'bugfix/esp_efuse_get_pkg_ver' into 'master'

efuse: Fix excess data coming from uninitialized variable

Closes IDFGH-976

See merge request idf/esp-idf!4778

5 years agoMerge branch 'feature/sntp_cb_function' into 'master'
Angus Gratton [Mon, 15 Apr 2019 23:28:04 +0000 (07:28 +0800)]
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

5 years agoefuse: Fix excess data coming from uninitialized variable
GOPTIONS\pfrost [Mon, 15 Apr 2019 10:31:01 +0000 (11:31 +0100)]
efuse: Fix excess data coming from uninitialized variable

Fixed esp_efuse_get_pkg_ver() function

Closes: https://github.com/espressif/esp-idf/pull/3309
Closes: IDFGH-976
5 years agoMerge branch 'bugfix/freemodbus_fix_incorrect_read_coil_event' into 'master'
Ivan Grokhotkov [Mon, 15 Apr 2019 11:41:49 +0000 (19:41 +0800)]
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

5 years agoMerge branch 'feature/btdm_AVRCP_TG' into 'master'
Jiang Jiang Jian [Mon, 15 Apr 2019 10:53:51 +0000 (18:53 +0800)]
Merge branch 'feature/btdm_AVRCP_TG' into 'master'

component/bt: implement AVRCP Target APIs

See merge request idf/esp-idf!3899

5 years agosntp/lwip: Add some modes for time synchronization
Konstantin Kondrashov [Fri, 1 Mar 2019 18:12:11 +0000 (02:12 +0800)]
sntp/lwip: Add some modes for time synchronization

Closes: IDF-236
Closes: https://github.com/espressif/esp-idf/pull/1668
5 years agoMerge branch 'feature/add_support_for_signal_test' into 'master'
Jiang Jiang Jian [Mon, 15 Apr 2019 09:45:01 +0000 (17:45 +0800)]
Merge branch 'feature/add_support_for_signal_test' into 'master'

esp_wifi:  add support for signal test

Closes WIFI-324

See merge request idf/esp-idf!4717

5 years agoMerge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config' into 'master'
Ivan Grokhotkov [Mon, 15 Apr 2019 07:57:49 +0000 (15:57 +0800)]
Merge branch 'bugfix/fix_deprecated_warning_with_dfs_init_auto_config' into 'master'

cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option

See merge request idf/esp-idf!4761

5 years agoMerge branch 'feature/esp_event_loop_examples_protocols' into 'master'
Ivan Grokhotkov [Mon, 15 Apr 2019 07:54:22 +0000 (15:54 +0800)]
Merge branch 'feature/esp_event_loop_examples_protocols' into 'master'

examples/protocols: move Wi-Fi connection code into helper component, support Ethernet

See merge request idf/esp-idf!3766

5 years agoesp_tls: fix incorrect closing of fd 0 on connection failure
Jitin George [Mon, 8 Apr 2019 10:49:16 +0000 (16:19 +0530)]
esp_tls: fix incorrect closing of fd 0 on connection failure

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

5 years agoMerge branch 'doc/move_WiFi_Kconfig' into 'master'
Ivan Grokhotkov [Mon, 15 Apr 2019 04:00:59 +0000 (12:00 +0800)]
Merge branch 'doc/move_WiFi_Kconfig' into 'master'

move WiFi-specific Kconfig to esp-wifi component

See merge request idf/esp-idf!4736

5 years agoexamples/protocols/mdns: use common network component
Ivan Grokhotkov [Wed, 21 Nov 2018 05:52:08 +0000 (13:52 +0800)]
examples/protocols/mdns: use common network component

5 years agoexamples/protocols/asio: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:44:31 +0000 (00:44 +0800)]
examples/protocols/asio: use common network component

5 years agoexamples/protocols/coap: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:43:52 +0000 (00:43 +0800)]
examples/protocols/coap: use common network component

5 years agoexamples/protocols/esp_http_client: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:43:40 +0000 (00:43 +0800)]
examples/protocols/esp_http_client: use common network component

5 years agoexamples/protocols/http(s,2)_request: use common network component
Ivan Grokhotkov [Thu, 11 Apr 2019 10:54:26 +0000 (18:54 +0800)]
examples/protocols/http(s,2)_request: use common network component

5 years agoexamples/protocols/http(s)_server: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:42:37 +0000 (00:42 +0800)]
examples/protocols/http(s)_server: use common network component

5 years agoexamples/protocols/mqtt: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:42:03 +0000 (00:42 +0800)]
examples/protocols/mqtt: use common network component

5 years agoexamples/protocols/openssl: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:41:45 +0000 (00:41 +0800)]
examples/protocols/openssl: use common network component

5 years agoexamples/protocols/sntp: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:41:31 +0000 (00:41 +0800)]
examples/protocols/sntp: use common network component

5 years agoexamples/protocols/sockets: use common network component
Ivan Grokhotkov [Tue, 20 Nov 2018 16:41:08 +0000 (00:41 +0800)]
examples/protocols/sockets: use common network component

5 years agoci: don’t look for project CMakeLists in common_components
Ivan Grokhotkov [Wed, 21 Nov 2018 05:54:09 +0000 (13:54 +0800)]
ci: don’t look for project CMakeLists in common_components

5 years agoexamples: add component for protocol examples network functionality
Ivan Grokhotkov [Tue, 20 Nov 2018 16:40:26 +0000 (00:40 +0800)]
examples: add component for protocol examples network functionality

5 years agofreemodbus: fix incorrectly set coils read event
aleks [Wed, 10 Apr 2019 15:45:22 +0000 (17:45 +0200)]
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

5 years agocpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option
Mahavir Jain [Fri, 12 Apr 2019 10:03:33 +0000 (15:33 +0530)]
cpu_start: fix warnings with CONFIG_PM_DFS_INIT_AUTO option

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

5 years agoesp_wifi: add support for signal test
liu zhifu [Sat, 13 Apr 2019 04:38:33 +0000 (12:38 +0800)]
esp_wifi: add support for signal test

Add support for WiFi signal test

5 years agoMerge branch 'feat/spi_hal_support' into 'master'
Angus Gratton [Sun, 14 Apr 2019 23:57:11 +0000 (07:57 +0800)]
Merge branch 'feat/spi_hal_support' into 'master'

spi_master: refactor and add HAL support

See merge request idf/esp-idf!4159

5 years agoMerge branch 'bugfix/rename_ldgen_common_module' into 'master'
Jiang Jiang Jian [Sun, 14 Apr 2019 03:20:22 +0000 (11:20 +0800)]
Merge branch 'bugfix/rename_ldgen_common_module' into 'master'

ldgen: rename common module

See merge request idf/esp-idf!4758

5 years agoldgen: rename common module
Renz Christian Bagaporo [Sat, 13 Apr 2019 00:59:32 +0000 (08:59 +0800)]
ldgen: rename common module

5 years agoMerge branch 'feature/wifi_refactor_softap_power_save' into 'master'
Jiang Jiang Jian [Fri, 12 Apr 2019 15:48:11 +0000 (23:48 +0800)]
Merge branch 'feature/wifi_refactor_softap_power_save' into 'master'

refactor softap power save

Closes WIFI-415 and IDF-81

See merge request idf/esp-idf!1905

5 years agoMerge branch 'bugfix/nvs_fix_erase_any' into 'master'
Jiang Jiang Jian [Fri, 12 Apr 2019 15:04:10 +0000 (23:04 +0800)]
Merge branch 'bugfix/nvs_fix_erase_any' into 'master'

nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly

See merge request idf/esp-idf!4634

5 years agoMerge branch 'bugfix/btdm_fix_memory_leak_when_set_txpwr' into 'master'
Jiang Jiang Jian [Fri, 12 Apr 2019 15:00:44 +0000 (23:00 +0800)]
Merge branch 'bugfix/btdm_fix_memory_leak_when_set_txpwr' into 'master'

component/bt: fix memory leak when settig tx power

See merge request idf/esp-idf!4712

5 years agoMerge branch 'bugfix/improve_spi_timing_for_psram_and_flash' into 'master'
Jiang Jiang Jian [Fri, 12 Apr 2019 14:57:04 +0000 (22:57 +0800)]
Merge branch 'bugfix/improve_spi_timing_for_psram_and_flash' into 'master'

bugfix(psram): improve spi cs timing settings for psram

See merge request idf/esp-idf!4641

5 years agoMerge branch 'feat/example_sdio_over_spi' into 'master'
Ivan Grokhotkov [Fri, 12 Apr 2019 08:12:57 +0000 (16:12 +0800)]
Merge branch 'feat/example_sdio_over_spi' into 'master'

sdio: support SDIO over spi

See merge request idf/esp-idf!3069

5 years agoMerge branch 'feature/move_aws_iot_to_independent_repository' into 'master'
Angus Gratton [Fri, 12 Apr 2019 08:06:38 +0000 (16:06 +0800)]
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

5 years agoMerge branch 'feature/esp_event_loop_examples_wifi' into 'master'
Ivan Grokhotkov [Fri, 12 Apr 2019 05:55:15 +0000 (13:55 +0800)]
Merge branch 'feature/esp_event_loop_examples_wifi' into 'master'

examples/wifi,ethernet,system: use esp_event library for event handling

See merge request idf/esp-idf!3765

5 years agoMerge branch 'feature/esp_event_loop_library_compat_base' into 'master'
Ivan Grokhotkov [Fri, 12 Apr 2019 05:54:18 +0000 (13:54 +0800)]
Merge branch 'feature/esp_event_loop_library_compat_base' into 'master'

Implement Wi-Fi, Ethernet, IP event handling based on esp_event library

Closes IDF-37 and IDF-267

See merge request idf/esp-idf!3635

5 years agoaws_iot: moving AWS IoT to independent repository
Mahavir Jain [Mon, 25 Mar 2019 16:00:26 +0000 (21:30 +0530)]
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

5 years agoMerge branch 'bugfix/enb_secboot_post_flash_enc' into 'master'
Angus Gratton [Fri, 12 Apr 2019 05:33:50 +0000 (13:33 +0800)]
Merge branch 'bugfix/enb_secboot_post_flash_enc' into 'master'

Enable secure boot only after encrypting flash

Closes IDF-234

See merge request idf/esp-idf!4709

5 years agoMerge branch 'feature/unit_test_tag_leaks' into 'master'
Angus Gratton [Fri, 12 Apr 2019 01:31:23 +0000 (09:31 +0800)]
Merge branch 'feature/unit_test_tag_leaks' into 'master'

Add support a [leaks] tag for UT

Closes IDF-143

See merge request idf/esp-idf!4333

5 years agoAdd support a [leaks] tag for UT
Konstantin Kondrashov [Fri, 12 Apr 2019 01:31:23 +0000 (09:31 +0800)]
Add support a [leaks] tag for UT

5 years agosdio: support SDIO over spi in the example
Michael (XIAO Xufeng) [Thu, 23 Aug 2018 12:43:07 +0000 (20:43 +0800)]
sdio: support SDIO over spi in the example

5 years agosdmmc: support SDIO over SPI
michael [Fri, 28 Dec 2018 18:04:37 +0000 (02:04 +0800)]
sdmmc: support SDIO over SPI

5 years agorefactor softap power save
XiaXiaotian [Mon, 5 Feb 2018 04:16:59 +0000 (12:16 +0800)]
refactor softap power save

    1. Softap support multicast and broadcast saving and flushing
    when the associated stations enable IEEE80211 legacy power
    save(which is called modem sleep in ESP32).
    2. Improve the frame saving and flushing mechanism of softap power
    save.

5 years agoMerge branch 'doc/review_system_log-index' into 'master'
Krzysztof Budzynski [Thu, 11 Apr 2019 07:33:39 +0000 (15:33 +0800)]
Merge branch 'doc/review_system_log-index' into 'master'

Review log.rst and index.rst files in api-reference/system

See merge request idf/esp-idf!4738

5 years agoReview log.rst and index.rst files in api-reference/system
Kirill Chalov [Thu, 11 Apr 2019 07:33:38 +0000 (15:33 +0800)]
Review log.rst and index.rst files in api-reference/system

5 years agomake esp_wifi component depend on CONFIG_NO_BLOBS
suda-morris [Thu, 11 Apr 2019 04:47:44 +0000 (12:47 +0800)]
make esp_wifi component depend on CONFIG_NO_BLOBS

If CONFIG_NO_BLOBS is enabled, esp_wifi won't link wifi library.

5 years agomove WiFi-specific Kconfig to esp-wifi component
suda-morris [Tue, 9 Apr 2019 06:12:47 +0000 (14:12 +0800)]
move WiFi-specific Kconfig to esp-wifi component

1. separate Kconfig from esp32 component
2. modify component.mk for esp_wifi a little bit to make it depend on IDF_TARGET

5 years agoexamples/wifi: use esp_event library to handle events
Ivan Grokhotkov [Tue, 20 Nov 2018 10:26:53 +0000 (18:26 +0800)]
examples/wifi: use esp_event library to handle events

5 years agoexamples/system: use esp_event library to handle events
Ivan Grokhotkov [Tue, 20 Nov 2018 10:25:25 +0000 (18:25 +0800)]
examples/system: use esp_event library to handle events

5 years agoexamples/ethernet: use esp_event library to handle events
Ivan Grokhotkov [Tue, 20 Nov 2018 10:24:49 +0000 (18:24 +0800)]
examples/ethernet: use esp_event library to handle events

5 years agoMerge branch 'feature/gcc8_use_bundled_newlib' into 'master'
Ivan Grokhotkov [Thu, 11 Apr 2019 04:19:29 +0000 (12:19 +0800)]
Merge branch 'feature/gcc8_use_bundled_newlib' into 'master'

Use newlib headers and libraries from toolchain when compiling with GCC 8.2

See merge request idf/esp-idf!4450

5 years agowifi: don’t disable event handling for SoftAP
Ivan Grokhotkov [Tue, 9 Apr 2019 04:09:56 +0000 (12:09 +0800)]
wifi: don’t disable event handling for SoftAP

Events are needed to initialise the tcpip_adapter and start the DHCP server

5 years agoesp_event: don’t warn if no handlers are present for specific event
Ivan Grokhotkov [Mon, 8 Apr 2019 11:31:37 +0000 (19:31 +0800)]
esp_event: don’t warn if no handlers are present for specific event

5 years agotcpip_adapter: unregister shutdown handlers, don’t fail on repeated registration
Ivan Grokhotkov [Mon, 8 Apr 2019 11:30:32 +0000 (19:30 +0800)]
tcpip_adapter: unregister shutdown handlers, don’t fail on repeated registration

5 years agosystem_api: return error on repeated registration of shutdown handler
Ivan Grokhotkov [Mon, 8 Apr 2019 11:30:07 +0000 (19:30 +0800)]
system_api: return error on repeated registration of shutdown handler

5 years agosystem_api: add esp_unregister_shutdown_handler
Ivan Grokhotkov [Mon, 8 Apr 2019 11:29:44 +0000 (19:29 +0800)]
system_api: add esp_unregister_shutdown_handler

5 years agoevent: re-add wifi disconnect reason logging (e621e0af)
Ivan Grokhotkov [Tue, 25 Dec 2018 07:44:14 +0000 (15:44 +0800)]
event: re-add wifi disconnect reason logging (e621e0af)

5 years agodocs: add event handling API guide
Ivan Grokhotkov [Wed, 21 Nov 2018 07:56:06 +0000 (15:56 +0800)]
docs: add event handling API guide

5 years agomdns: use esp_event library to handle events
Ivan Grokhotkov [Wed, 21 Nov 2018 05:46:45 +0000 (13:46 +0800)]
mdns: use esp_event library to handle events

5 years agoevent loop: re-implement based on esp_event library
Ivan Grokhotkov [Tue, 6 Nov 2018 03:09:32 +0000 (11:09 +0800)]
event loop: re-implement based on esp_event library

Includes ds2ds unit test fix, iperf example test fix

5 years agotcpip_adapter: add event declarations
Ivan Grokhotkov [Tue, 25 Dec 2018 07:28:56 +0000 (15:28 +0800)]
tcpip_adapter: add event declarations

5 years agoethernet: add event declarations
Ivan Grokhotkov [Thu, 23 Aug 2018 09:50:29 +0000 (17:50 +0800)]
ethernet: add event declarations

5 years agowifi: add event declarations
Ivan Grokhotkov [Thu, 23 Aug 2018 09:50:16 +0000 (17:50 +0800)]
wifi: add event declarations

5 years agoesp_event: move trailing semicolons out of defines
Ivan Grokhotkov [Mon, 19 Nov 2018 08:54:57 +0000 (16:54 +0800)]
esp_event: move trailing semicolons out of defines

5 years agoMerge branch 'bugfix/wifi_spike_power' into 'master'
Jiang Jiang Jian [Thu, 11 Apr 2019 03:49:26 +0000 (11:49 +0800)]
Merge branch 'bugfix/wifi_spike_power' into 'master'

esp32: fix the issue that the spike transmit power of WiFi is higher than configured when WiFi and Bluetooth coexist

See merge request idf/esp-idf!4611

5 years agoMerge branch 'feature/post_events_from_isr' into 'master'
Angus Gratton [Thu, 11 Apr 2019 01:15:13 +0000 (09:15 +0800)]
Merge branch 'feature/post_events_from_isr' into 'master'

Support posting events from ISR

See merge request idf/esp-idf!4283

5 years agopthread: Use a definition only if we have the old toolchain
Anton Maklakov [Wed, 10 Apr 2019 14:05:10 +0000 (21:05 +0700)]
pthread: Use a definition only if we have the old toolchain

5 years agoEnable secure boot only after encrypting flash
Anurag Kar [Thu, 4 Apr 2019 09:55:22 +0000 (15:25 +0530)]
Enable secure boot only after encrypting flash

This prevents a device from being bricked in case when both secure boot & flash encryption are enabled and encryption gets interrupted during first boot. After interruption, all partitions on the device need to be reflashed (including the bootloader).

List of changes:
* Secure boot key generation and bootloader digest generation logic, implemented inside function esp_secure_boot_permanently_enable(), has been pulled out into new API esp_secure_boot_generate_digest(). The enabling of R/W protection of secure boot key on EFUSE still happens inside esp_secure_boot_permanently_enable()
* Now esp_secure_boot_permanently_enable() is called only after flash encryption process completes
* esp_secure_boot_generate_digest() is called before flash encryption process starts

5 years agonvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly
negativekelvin [Wed, 27 Mar 2019 14:44:56 +0000 (20:14 +0530)]
nvs_flash: Multi-page blob erased using nvs_erase_key should be cleaned properly

Earlier eraseItem function in Storage class would do lazy cleanup of
multi-page blobs if called using type "ANY" instead of "BLOB". It used to
just delete BLOB data and index would remain as is. Any subsequent read
would delete index entry as well. This however would return a valid
length without error if nvs_get_blob API was just used for finding
length and not reading the complete blob. This change fixes this issue.

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

5 years agoesp_event: test posting from interrupt handler
Renz Christian Bagaporo [Tue, 12 Mar 2019 13:53:39 +0000 (21:53 +0800)]
esp_event: test posting from interrupt handler

5 years agoesp_event: allow posting events from ISRs
Renz Christian Bagaporo [Fri, 15 Feb 2019 13:28:24 +0000 (21:28 +0800)]
esp_event: allow posting events from ISRs

5 years agoci: add unit test job
Renz Christian Bagaporo [Wed, 10 Apr 2019 01:00:35 +0000 (09:00 +0800)]
ci: add unit test job

5 years agocomponents/bt: Fix errors caused by rebase
baohongde [Wed, 10 Apr 2019 09:59:23 +0000 (17:59 +0800)]
components/bt: Fix errors caused by rebase