]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agoMerge branch 'feature/silent_assertions' into 'master'
Angus Gratton [Thu, 13 Jul 2017 09:21:09 +0000 (17:21 +0800)]
Merge branch 'feature/silent_assertions' into 'master'

Add "silent" assertion option

See merge request !984

7 years agoMerge branch 'bugfix/mbedtls_ecp_failure_memory_leak' into 'master'
Angus Gratton [Thu, 13 Jul 2017 07:39:40 +0000 (15:39 +0800)]
Merge branch 'bugfix/mbedtls_ecp_failure_memory_leak' into 'master'

mbedtls: Fix memory leak in initial ECDH exchange if OOM/failure occurs

See merge request !987

7 years agoMerge branch 'bugfix/btdm_update_connect_params_for_gattc' into 'master'
Ivan Grokhotkov [Thu, 13 Jul 2017 06:32:20 +0000 (14:32 +0800)]
Merge branch 'bugfix/btdm_update_connect_params_for_gattc' into 'master'

component/bt: bugfix update connect params for gattc

See merge request !991

7 years agoMerge branch 'bugfix/tw13744_make_low_rate_work' into 'master'
Jiang Jiang Jian [Thu, 13 Jul 2017 06:26:02 +0000 (14:26 +0800)]
Merge branch 'bugfix/tw13744_make_low_rate_work' into 'master'

esp32: update wifi lib to make low rate work

See merge request !965

7 years agoMerge branch 'feature/enable_brownout_detector' into 'master'
Ivan Grokhotkov [Thu, 13 Jul 2017 03:40:37 +0000 (11:40 +0800)]
Merge branch 'feature/enable_brownout_detector' into 'master'

Enable brownout detector

See merge request !811

7 years agoMerge branch 'bugfix/make_size_windows' into 'master'
Angus Gratton [Wed, 12 Jul 2017 09:31:49 +0000 (17:31 +0800)]
Merge branch 'bugfix/make_size_windows' into 'master'

make size: Fix map file parsing error on Windows

See merge request !932

7 years agoMerge branch 'feature/ip_route_base_on_source_ip' into 'master'
Angus Gratton [Wed, 12 Jul 2017 09:31:24 +0000 (17:31 +0800)]
Merge branch 'feature/ip_route_base_on_source_ip' into 'master'

Broadcast IP route based on source IP address.

See merge request !942

7 years agoassertions: Add "silent" option
Angus Gratton [Wed, 12 Jul 2017 04:57:44 +0000 (12:57 +0800)]
assertions: Add "silent" option

Reduces assertion codesize overhead by approximately 35%

7 years agoMerge branch 'bugfix/gdbstub_handler_noreturn' into 'master'
Angus Gratton [Wed, 12 Jul 2017 09:23:59 +0000 (17:23 +0800)]
Merge branch 'bugfix/gdbstub_handler_noreturn' into 'master'

gdbstub: Mark the panic handler entry as noreturn

See merge request !975

7 years agombedtls: Fix memory leak in initial ECDH exchange if OOM/failure occurs
Angus Gratton [Wed, 12 Jul 2017 08:34:26 +0000 (16:34 +0800)]
mbedtls: Fix memory leak in initial ECDH exchange if OOM/failure occurs

In ecp_mul_comb(), if (!p_eq_g && grp->T == NULL) and ecp_precompute_comb() fails (which can happen due to OOM), then the new array of points T was leaked.

7 years agoMerge branch 'doc/esp_random' into 'master'
Angus Gratton [Wed, 12 Jul 2017 08:18:43 +0000 (16:18 +0800)]
Merge branch 'doc/esp_random' into 'master'

esp_random: Add some documentation about using before RF subsystem is on

See merge request !976

7 years agoMerge branch 'bugfix/freertos_malloc_regression' into 'master'
Angus Gratton [Wed, 12 Jul 2017 08:18:12 +0000 (16:18 +0800)]
Merge branch 'bugfix/freertos_malloc_regression' into 'master'

pvPortMalloc: Fix regression when changing to new heap implementation

See merge request !982

7 years agopvPortMalloc: Fix regression when changing to new heap implementation
Angus Gratton [Wed, 12 Jul 2017 03:10:11 +0000 (11:10 +0800)]
pvPortMalloc: Fix regression when changing to new heap implementation

7 years agoMerge branch 'feature/multi_heap' into 'master'
Angus Gratton [Wed, 12 Jul 2017 02:53:37 +0000 (10:53 +0800)]
Merge branch 'feature/multi_heap' into 'master'

Separate the heap implementation from FreeRTOS

See merge request !731

7 years agoMerge branch 'bugfix/minimal_stack_size' into 'master'
Angus Gratton [Tue, 11 Jul 2017 13:08:52 +0000 (21:08 +0800)]
Merge branch 'bugfix/minimal_stack_size' into 'master'

freertos: Bump idle stack size to 1KB, min stack to 768 bytes, make configurable

See merge request !979

7 years agofreertos: Bump idle stack size to 1KB, min stack to 768 bytes, make configurable
Angus Gratton [Tue, 11 Jul 2017 04:02:09 +0000 (12:02 +0800)]
freertos: Bump idle stack size to 1KB, min stack to 768 bytes, make configurable

Reverts regression mentioned at
https://github.com/espressif/esp-idf/commit/3fe0022efafb4c11dd6e3dc24b92ff9976e59a77#commitcomment-23013504

7 years agoesp_random: Add some documentation about using before RF subsystem is on
Angus Gratton [Tue, 11 Jul 2017 03:23:33 +0000 (11:23 +0800)]
esp_random: Add some documentation about using before RF subsystem is on

7 years agoComponent/bt: bugfix update connect params for gattc
zhiweijian [Tue, 11 Jul 2017 03:27:36 +0000 (11:27 +0800)]
Component/bt: bugfix update connect params for gattc

7 years agogdbstub: Mark the panic handler entry as noreturn
Angus Gratton [Tue, 11 Jul 2017 02:18:08 +0000 (10:18 +0800)]
gdbstub: Mark the panic handler entry as noreturn

Fixes a warning in panic.c when this panic mode is enabled.

7 years agoheap: Rename memory "tags" to "types" to avoid confusion w/ old tag allocator API
Angus Gratton [Tue, 4 Jul 2017 04:46:39 +0000 (12:46 +0800)]
heap: Rename memory "tags" to "types" to avoid confusion w/ old tag allocator API

7 years agogitignore: Add gcov files
Angus Gratton [Thu, 4 May 2017 03:31:28 +0000 (13:31 +1000)]
gitignore: Add gcov files

7 years agosoc: Move esp_ptr_dma_capable() function to soc_memory_layout.h
Angus Gratton [Fri, 5 May 2017 04:16:02 +0000 (14:16 +1000)]
soc: Move esp_ptr_dma_capable() function to soc_memory_layout.h

7 years agoheap: Refactor heap regions/capabilities out of FreeRTOS
Angus Gratton [Wed, 3 May 2017 08:03:28 +0000 (18:03 +1000)]
heap: Refactor heap regions/capabilities out of FreeRTOS

Remove tagged heap API, rename caps_xxx to heap_caps_xxx

Also includes additional heap_caps_xxx inspection functions.

7 years agoheap: Add new multi_heap heap implementation to replace FreeRTOS-based tagged heaps
Angus Gratton [Fri, 28 Apr 2017 04:08:58 +0000 (14:08 +1000)]
heap: Add new multi_heap heap implementation to replace FreeRTOS-based tagged heaps

7 years agobrownout detector: enable by default
Ivan Grokhotkov [Fri, 2 Jun 2017 09:50:19 +0000 (17:50 +0800)]
brownout detector: enable by default

Because of errata related to BOD reset function, brownout is handled as follows:

- attach an ISR to brownout interrupt
- when ISR happens, print a message and do a software restart
- esp_restart_nonos enables RTC watchdog, so if restart fails,
  there will be  one more attempt to restart (using the RTC
  watchdog)

7 years agoesp32: fix RTC watchdog configuration in esp_restart
Ivan Grokhotkov [Mon, 10 Jul 2017 08:36:56 +0000 (16:36 +0800)]
esp32: fix RTC watchdog configuration in esp_restart

RTC watchdog didn’t have any actions configured for any of the stages.
This change configures it to use SW_SYSTEM_RESET at stage 0 and a
full reset at stage 1. The timeout is now calculated based on
RTC_SLOW_CLK frequency.

7 years agodriver/rtc: add support for attaching handlers to RTC_CNTL interrupts
Ivan Grokhotkov [Fri, 2 Jun 2017 09:47:23 +0000 (17:47 +0800)]
driver/rtc: add support for attaching handlers to RTC_CNTL interrupts

7 years agoMerge branch 'bugfix/reg_op' into 'master'
Jiang Jiang Jian [Sat, 8 Jul 2017 04:59:12 +0000 (12:59 +0800)]
Merge branch 'bugfix/reg_op' into 'master'

fix reg operation missing

See merge request !963

7 years agoesp32: update wifi lib to make low rate work
Liu Zhi Fu [Fri, 7 Jul 2017 14:05:54 +0000 (22:05 +0800)]
esp32: update wifi lib to make low rate work

Make low rate work

7 years agofix reg operation missing
Tian Hao [Fri, 7 Jul 2017 11:10:02 +0000 (19:10 +0800)]
fix reg operation missing

7 years agoMerge branch 'feature/update_wrover_v3' into 'master'
Jeroen Domburg [Fri, 7 Jul 2017 06:16:36 +0000 (14:16 +0800)]
Merge branch 'feature/update_wrover_v3' into 'master'

docs: layout of esp-wrover-kit updated to v3

See merge request !929

7 years agoMerge branch 'bugfix/build_fix_tests_and_warnings' into 'master'
Anton Maklakov [Fri, 7 Jul 2017 03:16:44 +0000 (11:16 +0800)]
Merge branch 'bugfix/build_fix_tests_and_warnings' into 'master'

Minor fix of some tests and warnings

Now, the build_examples have the correct diagnostics

See merge request !944

7 years agobuild: Fix the warnings that break the tests
Anton Maklakov [Fri, 30 Jun 2017 07:46:31 +0000 (15:46 +0800)]
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

7 years agoCI: Work around problem with running the initial 'make clean' in parallel (#18)
Anton Maklakov [Fri, 30 Jun 2017 07:14:02 +0000 (15:14 +0800)]
CI: Work around problem with running the initial 'make clean' in parallel  (#18)

    Just don't pass '-j' to the 'make clean' command

7 years agobuild: Fix test for the first time 'make clean' and error handling in build_examples
Anton Maklakov [Wed, 28 Jun 2017 03:40:54 +0000 (11:40 +0800)]
build: Fix test for the first time 'make clean' and error handling in build_examples

    Now the tests do not pass

    Before we had incorrect code of the error code checking
    in build_examples.sh for that case and did nothing in test_build_system.sh.

7 years agoMerge branch 'bugfix/ci_bound_some_vars' into 'master'
Anton Maklakov [Thu, 6 Jul 2017 11:35:10 +0000 (19:35 +0800)]
Merge branch 'bugfix/ci_bound_some_vars' into 'master'

Fix the unbound variables in scripts

See merge request !962

7 years agoCI: Fix the unbound variables in scripts
Anton Maklakov [Thu, 6 Jul 2017 10:52:08 +0000 (18:52 +0800)]
CI: Fix the unbound variables in scripts

7 years agoMerge branch 'bugfix/partition_mmap_size' into 'master'
Jeroen Domburg [Thu, 6 Jul 2017 10:44:59 +0000 (18:44 +0800)]
Merge branch 'bugfix/partition_mmap_size' into 'master'

esp_partition_mmap size calculation fix

See merge request !947

7 years agoMerge branch 'bugfix/ci_wrong_getting_sources' into 'master'
Anton Maklakov [Thu, 6 Jul 2017 10:43:53 +0000 (18:43 +0800)]
Merge branch 'bugfix/ci_wrong_getting_sources' into 'master'

Fix the getting sources

See merge request !953

7 years agoAdd test for partition mmap straddling 64K page issue
Jeroen Domburg [Thu, 6 Jul 2017 10:22:43 +0000 (18:22 +0800)]
Add test for partition mmap straddling 64K page issue

7 years agoMerge branch 'bugfix/mbedtls_unit_tests' into 'master'
Ivan Grokhotkov [Thu, 6 Jul 2017 10:08:53 +0000 (18:08 +0800)]
Merge branch 'bugfix/mbedtls_unit_tests' into 'master'

mbedtls unit tests: Allow for longer timeout using software SHA

See merge request !961

7 years agoCI: Fix the getting sources
Anton Maklakov [Mon, 3 Jul 2017 08:28:58 +0000 (16:28 +0800)]
CI: Fix the getting sources

    Fix the getting sources for a case if the required commit is missed
    in the remote submodule repository.

    Also add more diagnostic.

7 years agombedtls unit tests: Allow for longer timeout using software SHA
Angus Gratton [Thu, 6 Jul 2017 07:52:47 +0000 (15:52 +0800)]
mbedtls unit tests: Allow for longer timeout using software SHA

Hardware SHA runs SHA operations faster than software...

7 years agoMerge branch 'bugfix/btdm_error_length_unit' into 'master'
Jiang Jiang Jian [Thu, 6 Jul 2017 06:48:29 +0000 (14:48 +0800)]
Merge branch 'bugfix/btdm_error_length_unit' into 'master'

Component/bt: fix bug for  error length unit

See merge request !950

7 years agoMerge branch 'bugfix/small_typos' into 'master'
Ivan Grokhotkov [Thu, 6 Jul 2017 06:27:22 +0000 (14:27 +0800)]
Merge branch 'bugfix/small_typos' into 'master'

Fix a few minor typos in docs

See merge request !954

7 years agoMerge branch 'bugfix/disable_crypto_acceleration' into 'master'
Ivan Grokhotkov [Thu, 6 Jul 2017 06:26:41 +0000 (14:26 +0800)]
Merge branch 'bugfix/disable_crypto_acceleration' into 'master'

mbedtls: Temporarily disable hardware acceleration in dual-core mode

See merge request !956

7 years agosoc: fix typo in register name
Ivan Grokhotkov [Thu, 6 Jul 2017 04:36:06 +0000 (12:36 +0800)]
soc: fix typo in register name

7 years agoMerge branch 'bugfix/i2s_return_err_code' into 'master'
Ivan Grokhotkov [Thu, 6 Jul 2017 03:25:40 +0000 (11:25 +0800)]
Merge branch 'bugfix/i2s_return_err_code' into 'master'

i2s driver: return error code if register isr error

See merge request !829

7 years agoesp_chip_info: populate ‘model’ field
Ivan Grokhotkov [Thu, 6 Jul 2017 03:01:40 +0000 (11:01 +0800)]
esp_chip_info: populate ‘model’ field

7 years agodocs: update general notes section on IRAM/ISRs
Ivan Grokhotkov [Wed, 5 Jul 2017 03:47:02 +0000 (11:47 +0800)]
docs: update general notes section on IRAM/ISRs

- Remove outdated note that all ISRs should be in IRAM
- Replace “ISR handler” with “ISR” or “interrupt handler”

7 years agodocs: fix flash encryption key storage block, use same names as in TRM
Ivan Grokhotkov [Wed, 5 Jul 2017 03:35:01 +0000 (11:35 +0800)]
docs: fix flash encryption key storage block, use same names as in TRM

7 years agoMerge branch 'feature/split_compiler_optimisations' into 'master'
Angus Gratton [Thu, 6 Jul 2017 02:47:07 +0000 (10:47 +0800)]
Merge branch 'feature/split_compiler_optimisations' into 'master'

build system: Split setting of compiler optimisation level from assertions on/off

See merge request !886

7 years agoLayout of esp-wrover-kit updated to v3
krzychb [Tue, 27 Jun 2017 22:04:24 +0000 (00:04 +0200)]
Layout of esp-wrover-kit updated to v3

7 years agombedtls: Temporarily disable hardware acceleration in dual-core mode
Angus Gratton [Wed, 5 Jul 2017 04:03:00 +0000 (12:03 +0800)]
mbedtls: Temporarily disable hardware acceleration in dual-core mode

Temporary fix, until DPORT bugs in crypto accelerators are completely fixed.

7 years agophy_init: fix log level for "PHY data partition validated" message
Ivan Grokhotkov [Wed, 5 Jul 2017 03:29:53 +0000 (11:29 +0800)]
phy_init: fix log level for "PHY data partition validated" message

7 years agoMerge branch 'bugfix/ci_push_master_to_github_err' into 'master'
Ivan Grokhotkov [Wed, 5 Jul 2017 02:41:24 +0000 (10:41 +0800)]
Merge branch 'bugfix/ci_push_master_to_github_err' into 'master'

Fix error in the push_master_to_github job when using the fetch strategy

See merge request !951

7 years agoCI: Fix error in the push_master_to_github job when using the fetch strategy
Anton Maklakov [Tue, 4 Jul 2017 03:52:57 +0000 (11:52 +0800)]
CI: Fix error in the push_master_to_github job when using the fetch strategy

7 years agoComponent/bt: fix bug for error length unit
zhiweijian [Tue, 4 Jul 2017 02:57:36 +0000 (10:57 +0800)]
Component/bt: fix bug for  error length unit

7 years agoMerge branch 'docs/romconsole_docs' into 'master'
Jeroen Domburg [Mon, 3 Jul 2017 12:05:50 +0000 (20:05 +0800)]
Merge branch 'docs/romconsole_docs' into 'master'

Some documentation for the undocumented ROM console.

See merge request !936

7 years agoMerge branch 'bugfix/btdm_cherry-pick_ble_smp_bonding_issues' into 'master'
Jiang Jiang Jian [Mon, 3 Jul 2017 11:41:56 +0000 (19:41 +0800)]
Merge branch 'bugfix/btdm_cherry-pick_ble_smp_bonding_issues' into 'master'

component/bt: Fixed the bug crash of disconnet BLE when close the SMP module in the menuconfig.

See merge request !941

7 years agoMerge branch 'bugfix/bt_avdt_state_machine' into 'master'
Jiang Jiang Jian [Mon, 3 Jul 2017 11:41:46 +0000 (19:41 +0800)]
Merge branch 'bugfix/bt_avdt_state_machine' into 'master'

component/bt: bugfix for AVDTP state machine function on disconnection to handle NULL pointer condition

See merge request !946

7 years agoesp_partition_mmap could map a page less than needed because it did not take the...
Jeroen Domburg [Mon, 3 Jul 2017 10:00:25 +0000 (18:00 +0800)]
esp_partition_mmap could map a page less than needed because it did not take the region offset into account.

7 years agocomponent/bt: bugfix for AVDTP state machine during disconnection in failure to handl...
wangmengyang [Mon, 3 Jul 2017 09:25:44 +0000 (17:25 +0800)]
component/bt: bugfix for AVDTP state machine during disconnection in failure to handle NULL parameter

7 years agoMerge branch 'bugfix/update_wpa2_certificate' into 'master'
Jiang Jiang Jian [Mon, 3 Jul 2017 07:35:36 +0000 (15:35 +0800)]
Merge branch 'bugfix/update_wpa2_certificate' into 'master'

update expiration date of wpa2 enterprise certificates to 2027/06/05.

See merge request !830

7 years agocomponent/bt: squech the commit
Yulong [Fri, 30 Jun 2017 08:27:11 +0000 (04:27 -0400)]
component/bt: squech the commit

component/bt: Fixed the bug crash of disconnet BLE when close the SMP module in the menuconfig.

component/bt: Removed the Excess #endid ///SMP_INCLUDED == TRUE in the l2cu_no_dynamic_ccbs function.

7 years agoMerge branch 'doc/wifi_set_vendor_ie' into 'master'
Ivan Grokhotkov [Fri, 30 Jun 2017 08:37:18 +0000 (16:37 +0800)]
Merge branch 'doc/wifi_set_vendor_ie' into 'master'

Document the WiFi Vendor-Specific Information Element API

See merge request !933

7 years agoMerge branch 'bugfix/newlib_lock_init' into 'master'
Ivan Grokhotkov [Fri, 30 Jun 2017 08:36:47 +0000 (16:36 +0800)]
Merge branch 'bugfix/newlib_lock_init' into 'master'

newlib locks: Fix _lock_init() & _lock_init_recursive() failing to initialise a lock

See merge request !937

7 years agoMerge branch 'bugfix/ipc_task_stack_size' into 'master'
Ivan Grokhotkov [Fri, 30 Jun 2017 08:36:18 +0000 (16:36 +0800)]
Merge branch 'bugfix/ipc_task_stack_size' into 'master'

Bugfix IPC task stack size

See merge request !938

7 years agoBroadcast IP route based on source IP address.
XiaXiaotian [Fri, 30 Jun 2017 08:18:29 +0000 (16:18 +0800)]
Broadcast IP route based on source IP address.

    If destination IP address of the packet is broadcast address, firstly compare
    source IP address with the that of each network interface. If it matches,
    packet is forwarded from the interface.

7 years agoipc task: Allow configuration of IPC task stack size
Angus Gratton [Thu, 29 Jun 2017 23:39:54 +0000 (09:39 +1000)]
ipc task: Allow configuration of IPC task stack size

Fixes regression in 3fe0022ef

7 years agoMerge branch 'bugfix/uart_tx_buffer_length' into 'master'
Ivan Grokhotkov [Fri, 30 Jun 2017 04:30:25 +0000 (12:30 +0800)]
Merge branch 'bugfix/uart_tx_buffer_length' into 'master'

bugfix(uart): fix bugs reported from github

See merge request !927

7 years agoMerge branch 'feature/ci_mirror_for_submodules' into 'master'
Anton Maklakov [Fri, 30 Jun 2017 04:23:42 +0000 (12:23 +0800)]
Merge branch 'feature/ci_mirror_for_submodules' into 'master'

Use custom fetch strategy. Use local mirrors for submodules

See merge request !890

7 years agoCI: Use anchors to get rid of code dublication in the 'before_script' clauses
Anton Maklakov [Mon, 26 Jun 2017 10:42:28 +0000 (18:42 +0800)]
CI: Use anchors to get rid of code dublication in the 'before_script' clauses

7 years agoCI: Add script for synchronization of the local mirrors for submodules
Anton Maklakov [Tue, 20 Jun 2017 04:26:59 +0000 (12:26 +0800)]
CI: Add script for synchronization of the local mirrors for submodules

    You should use it manually when any submodule in the esp-idf has changed

    You can mark to exclude some of them in mirror-list.txt

7 years agoCI: Use local mirrors for submodules
Anton Maklakov [Mon, 19 Jun 2017 01:59:18 +0000 (09:59 +0800)]
CI: Use local mirrors for submodules

    The CI uses the mirror-submodule-update.sh for non-permanent reassignment
    of 3rdparty sub-modules to local mirrors (only for 'non-master' branches).
    List of the mirrors in mirror-list.txt

    You can use the script locally to speed up data retrieval on network problems

    check_submodule_sync job uses 'GIT_STRATEGY: clone' to check the availability of public sources

7 years agoCI: Use custom get_full_sources.sh script instead of gitlab-ci's strategies
Angus Gratton [Wed, 14 Jun 2017 07:52:33 +0000 (17:52 +1000)]
CI: Use custom get_full_sources.sh script instead of gitlab-ci's strategies

    Work around problems caused by failed submodule clones corrupting
    the working directory on the build runner.

    Add 10 retries for cloning submodules.

7 years agoCI: Move the ci-related staff to a separate directory
Anton Maklakov [Fri, 16 Jun 2017 04:38:32 +0000 (12:38 +0800)]
CI: Move the ci-related staff to a separate directory

7 years agoci check_commit_msg: Use CI_COMMIT_SHA to avoid ambiguity
Anton Maklakov [Fri, 16 Jun 2017 04:36:34 +0000 (12:36 +0800)]
ci check_commit_msg: Use CI_COMMIT_SHA to avoid ambiguity

7 years agobuild system: Split setting of compiler optimisation level from assertions on/off
Angus Gratton [Mon, 19 Jun 2017 01:25:45 +0000 (11:25 +1000)]
build system: Split setting of compiler optimisation level from assertions on/off

7 years agoMerge branch 'bugfix/dport_access_unicore' into 'master'
Angus Gratton [Thu, 29 Jun 2017 22:59:04 +0000 (06:59 +0800)]
Merge branch 'bugfix/dport_access_unicore' into 'master'

dport_access: Fix spurious warning in unicore mode, refactor

See merge request !931

7 years agonewlib locks: Fix _lock_init() & _lock_init_recursive() failing to initialise a lock
Angus Gratton [Thu, 29 Jun 2017 11:30:28 +0000 (21:30 +1000)]
newlib locks: Fix _lock_init() & _lock_init_recursive() failing to initialise a lock

If scheduler was running, and lock was an automatic variable (ie stack-allocated) to be initialised by _lock_init*,
initialisation could be skipped if the lock variable was non-zero (and lock would be left invalid).

In other cases the lock is statically initialised to zero by __LOCK_INIT*

7 years agoSome documentation for the undocumented ROM console.
Jeroen Domburg [Thu, 29 Jun 2017 11:01:50 +0000 (19:01 +0800)]
Some documentation for the undocumented ROM console.

7 years agoesp_wifi.h: Document the Vendor-Specific Information Element functions
Angus Gratton [Thu, 29 Jun 2017 07:20:45 +0000 (17:20 +1000)]
esp_wifi.h: Document the Vendor-Specific Information Element functions

7 years agoesp_wifi header: Fix typo
Angus Gratton [Thu, 29 Jun 2017 07:19:17 +0000 (17:19 +1000)]
esp_wifi header: Fix typo

7 years agostack sizes: Revert stack size increases added in 8d43859
Angus Gratton [Thu, 29 Jun 2017 04:02:54 +0000 (14:02 +1000)]
stack sizes: Revert stack size increases added in 8d43859

Set min stack size to 2048 if AppTrace support is enabled, 512 bytes otherwise.

7 years agodport_access: Fix spurious warning in unicore mode, refactor
Angus Gratton [Wed, 28 Jun 2017 23:55:47 +0000 (09:55 +1000)]
dport_access: Fix spurious warning in unicore mode, refactor

7 years agomake size: Fix map file parsing error on Windows
Angus Gratton [Thu, 29 Jun 2017 02:54:13 +0000 (12:54 +1000)]
make size: Fix map file parsing error on Windows

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

7 years agoMerge branch 'feature/sysview_via_apptrace' into 'master'
Ivan Grokhotkov [Thu, 29 Jun 2017 00:40:13 +0000 (08:40 +0800)]
Merge branch 'feature/sysview_via_apptrace' into 'master'

sysview via apptrace

See merge request !708

7 years agoMerge branch 'feature/better_make_size' into 'master'
Angus Gratton [Tue, 27 Jun 2017 22:11:56 +0000 (06:11 +0800)]
Merge branch 'feature/better_make_size' into 'master'

build system: Add idf_size.py tool for better "make size" output

See merge request !874

7 years agoMerge branch 'bugfix/lwip_assert' into 'master'
Angus Gratton [Tue, 27 Jun 2017 22:09:04 +0000 (06:09 +0800)]
Merge branch 'bugfix/lwip_assert' into 'master'

lwip: Remove port-specific sys_arch_assert(), use libc __assert_func() instead

See merge request !926

7 years agoesp32: SEGGER SystemView Tracing Support
Alexey Gerenkov [Wed, 22 Mar 2017 03:07:37 +0000 (06:07 +0300)]
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

7 years agoMerge branch 'test/ci_add_ble_cases' into 'master'
Ivan Grokhotkov [Tue, 27 Jun 2017 15:49:17 +0000 (23:49 +0800)]
Merge branch 'test/ci_add_ble_cases' into 'master'

CI: add ble cases to CI

See merge request !917

7 years agoMerge branch 'bugfix/btdm_ble_smp_bonding_issues' into 'master'
Ivan Grokhotkov [Tue, 27 Jun 2017 15:49:00 +0000 (23:49 +0800)]
Merge branch 'bugfix/btdm_ble_smp_bonding_issues' into 'master'

component/bt: Fix bugs of the SMP security module

See merge request !923

7 years agobugfix(uart): fix bugs reported from github
Wangjialin [Tue, 27 Jun 2017 08:41:59 +0000 (16:41 +0800)]
bugfix(uart): fix bugs reported from github

1. uart_set_line_inverse API issue, https://github.com/espressif/esp-idf/issues/673
2. tx buffer length issue, https://github.com/espressif/esp-idf/issues/710

7 years agolwip: Make LWIP_ERROR behave as if assertions were off, even if they are on
Angus Gratton [Tue, 27 Jun 2017 08:36:54 +0000 (18:36 +1000)]
lwip: Make LWIP_ERROR behave as if assertions were off, even if they are on

7 years agolwip: Remove port-specific sys_arch_assert(), use libc __assert_func() instead
Angus Gratton [Tue, 27 Jun 2017 07:29:13 +0000 (17:29 +1000)]
lwip: Remove port-specific sys_arch_assert(), use libc __assert_func() instead

7 years agoMerge branch 'doc/get_started_serialports' into 'master'
Ivan Grokhotkov [Tue, 27 Jun 2017 06:34:22 +0000 (14:34 +0800)]
Merge branch 'doc/get_started_serialports' into 'master'

docs: Add note about Windows COM ports to Getting Started guide

See merge request !922

7 years agoMerge branch 'bugfix/nvs_err_code' into 'master'
Ivan Grokhotkov [Tue, 27 Jun 2017 06:33:12 +0000 (14:33 +0800)]
Merge branch 'bugfix/nvs_err_code' into 'master'

ESP_ERR_NVS_VALUE_TOO_LONG had conflicting value.

See merge request !924

7 years agoMerge branch 'feature/test_runner_print_names' into 'master'
Ivan Grokhotkov [Tue, 27 Jun 2017 04:58:57 +0000 (12:58 +0800)]
Merge branch 'feature/test_runner_print_names' into 'master'

test runner: Print test name when starting, print filter description

See merge request !921

7 years agoMerge branch 'feature/lwip_expose_more_config' into 'master' v3.0-dev
Ivan Grokhotkov [Tue, 27 Jun 2017 04:53:42 +0000 (12:53 +0800)]
Merge branch 'feature/lwip_expose_more_config' into 'master'

lwip: Expose more config in IDF menuconfig

See merge request !909