]> granicus.if.org Git - esp-idf/log
esp-idf
6 years agoMerge branch 'feature/http_request_example_receiving_timeout' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:17:01 +0000 (18:17 +0800)]
Merge branch 'feature/http_request_example_receiving_timeout' into 'master'

Added socket receiving timeout, ref. TW#14353 / GitHub  issue #844

See merge request !1241

6 years agoMerge branch 'bugfix/warn_on_invalid_xtal_freq' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 10:15:11 +0000 (18:15 +0800)]
Merge branch 'bugfix/warn_on_invalid_xtal_freq' into 'master'

soc/rtc: warn if detected XTAL frequency does not match configured one

See merge request !1242

6 years agoMerge branch 'feature/gpio_channel_macro' into 'master'
Ivan Grokhotkov [Mon, 11 Sep 2017 04:15:08 +0000 (12:15 +0800)]
Merge branch 'feature/gpio_channel_macro' into 'master'

feat(global): add macros for GPIO->channel lookup

See merge request !1170

6 years agosoc/rtc: warn if detected XTAL frequency does not match configured one
Ivan Grokhotkov [Mon, 11 Sep 2017 03:42:26 +0000 (11:42 +0800)]
soc/rtc: warn if detected XTAL frequency does not match configured one

Since 9a8c0392, XTAL frequency is set to 40MHz by default, and users
of 26MHz boards need to select 26MHz manually. Most users are not aware
of this change, and existing getting started guides do not mention that
XTAL frequency needs to be set for some boards. So users are left with
garbage output from UART without any clue what to check.

This change adds a warning in case specific XTAL frequency was set, and
it does not match automatically detected one. This should help users
fix the issue.

6 years agoAdded socket receiving timeout, ref. TW#14353 / GitHub issue #844
krzychb [Mon, 11 Sep 2017 03:15:39 +0000 (05:15 +0200)]
Added socket receiving timeout, ref. TW#14353 / GitHub  issue #844

6 years agoMerge branch 'bugfix/docs_broken_links' into 'master'
Ivan Grokhotkov [Fri, 8 Sep 2017 04:06:43 +0000 (12:06 +0800)]
Merge branch 'bugfix/docs_broken_links' into 'master'

Fixed broken links in documentation

See merge request !1230

6 years agoMerge branch 'feature/docs_touch_pad_api' into 'master'
Ivan Grokhotkov [Fri, 8 Sep 2017 03:55:27 +0000 (11:55 +0800)]
Merge branch 'feature/docs_touch_pad_api' into 'master'

Touch Pad driver overview

See merge request !1195

6 years agoMerge branch 'bugfix/cache_err_int' into 'master'
Ivan Grokhotkov [Fri, 8 Sep 2017 03:55:01 +0000 (11:55 +0800)]
Merge branch 'bugfix/cache_err_int' into 'master'

esp32: fix cache error interrupt handler

See merge request !1231

6 years agoesp32: fix cache error interrupt handler
Ivan Grokhotkov [Thu, 7 Sep 2017 17:29:37 +0000 (01:29 +0800)]
esp32: fix cache error interrupt handler

Cache error interrupt would read DPORT registers, which caused DPORT
access protection to kick in. Disable DPORT protection before doing the
reads.

6 years agoFixed broken links in documentation
krzychb [Thu, 7 Sep 2017 16:48:15 +0000 (18:48 +0200)]
Fixed broken links in documentation

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

RMT 2 fixes: Rename one API and specify wait_time in another API

See merge request !896

6 years agoMerge branch 'feature/pthread_api' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:49:42 +0000 (17:49 +0800)]
Merge branch 'feature/pthread_api' into 'master'

esp32: pthread API

See merge request !1146

6 years agoMerge branch 'feature/multi_heap_poisoning' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:47:51 +0000 (17:47 +0800)]
Merge branch 'feature/multi_heap_poisoning' into 'master'

Heap tracing & poisoning features

See merge request !749

6 years agoMerge branch 'bugfix/tcpip_adapter_ethernet' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:47:20 +0000 (17:47 +0800)]
Merge branch 'bugfix/tcpip_adapter_ethernet' into 'master'

tcpip_adapter: Fix bug which prevents setting a static IP address for Ethernet interface (github #657)

See merge request !1178

6 years agoMerge branch 'feature/spi_lcd_autodetect' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:47:00 +0000 (17:47 +0800)]
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

6 years agoMerge branch 'feature/mbedtls2_6_0' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:45:45 +0000 (17:45 +0800)]
Merge branch 'feature/mbedtls2_6_0' into 'master'

Update mbedTLS to version 2.6.0

See merge request !1224

6 years agoMerge branch 'bugfix/intr_free' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 09:45:18 +0000 (17:45 +0800)]
Merge branch 'bugfix/intr_free' into 'master'

fix(intr): fix the logic for allocating and freeing interrupts.

See merge request !1124

6 years agombedtls: Rename net to net_sockets (in line with 2.4.0 API change)
Angus Gratton [Wed, 6 Sep 2017 05:45:56 +0000 (15:45 +1000)]
mbedtls: Rename net to net_sockets (in line with 2.4.0 API change)

6 years agombedtls: Re-apply: MBEDTLS_SHA512_ALT also replaces mbedtls_sha512_process()
Angus Gratton [Wed, 6 Sep 2017 05:31:52 +0000 (15:31 +1000)]
mbedtls: Re-apply: MBEDTLS_SHA512_ALT also replaces mbedtls_sha512_process()

IDF-specific patch.

6 years agombedtls: Re-apply ECP memory leak fix
Angus Gratton [Wed, 6 Sep 2017 05:07:17 +0000 (15:07 +1000)]
mbedtls: Re-apply ECP memory leak fix

Fix not yet submitted upstream.

(Previously applied in ffefeef5ea271735884d656afac7a4155a57c87f)

6 years agombedtls: Re-apply MBEDTLS_BIGNUM_ALT & related macros for custom bignum functions
Angus Gratton [Wed, 6 Sep 2017 05:06:57 +0000 (15:06 +1000)]
mbedtls: Re-apply MBEDTLS_BIGNUM_ALT & related macros for custom bignum functions

(IDF-specific patch.)

6 years agombedtls: Update to 2.6.0 release (without IDF-specific patches)
Angus Gratton [Wed, 6 Sep 2017 05:05:55 +0000 (15:05 +1000)]
mbedtls: Update to 2.6.0 release (without IDF-specific patches)

6 years agonewlib: Avoid deprecation warning calling system_get_time() from system_relative_time()
Angus Gratton [Thu, 20 Jul 2017 00:14:07 +0000 (10:14 +1000)]
newlib: Avoid deprecation warning calling system_get_time() from system_relative_time()

6 years agolwip: Use hardware RNG for LWIP_RAND(), use LWIP_RAND() for random port assignment
Angus Gratton [Thu, 20 Jul 2017 00:04:20 +0000 (10:04 +1000)]
lwip: Use hardware RNG for LWIP_RAND(), use LWIP_RAND() for random port assignment

6 years agodoc: Add docs for heap trace & poisoning
Angus Gratton [Tue, 18 Jul 2017 23:07:17 +0000 (09:07 +1000)]
doc: Add docs for heap trace & poisoning

6 years agolibgcc: Place assembly functions (including __xtensa_libgcc_window_spill) in IRAM
Angus Gratton [Tue, 16 May 2017 06:53:45 +0000 (16:53 +1000)]
libgcc: Place assembly functions (including __xtensa_libgcc_window_spill) in IRAM

6 years agoHeap tracing support
Angus Gratton [Thu, 11 May 2017 07:56:17 +0000 (17:56 +1000)]
Heap tracing support

6 years agoUnit tests: enable comprehensive heap poisoning checks
Angus Gratton [Thu, 11 May 2017 00:55:40 +0000 (10:55 +1000)]
Unit tests: enable comprehensive heap poisoning checks

6 years agomulti_heap: Add heap poisoning features
Angus Gratton [Mon, 8 May 2017 05:25:30 +0000 (15:25 +1000)]
multi_heap: Add heap poisoning features

6 years agounit tests: Check heap integrity after each test, check for obvious leaks
Angus Gratton [Wed, 10 May 2017 07:19:00 +0000 (17:19 +1000)]
unit tests: Check heap integrity after each test, check for obvious leaks

6 years agoheap_caps: Add heap_caps_check_integrity() function
Angus Gratton [Wed, 10 May 2017 07:17:52 +0000 (17:17 +1000)]
heap_caps: Add heap_caps_check_integrity() function

6 years agoMerge branch 'test/modify_mtu_cases' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 06:27:41 +0000 (14:27 +0800)]
Merge branch 'test/modify_mtu_cases' into 'master'

test: update BLE GATT MTU cases

See merge request !1223

6 years agotest:update BLE GATT MTU cases
chensheng [Wed, 6 Sep 2017 03:19:10 +0000 (11:19 +0800)]
test:update BLE GATT MTU cases

6 years agoMerge branch 'feature/update_wifi_lib_for_some_feature_and_bugfix' into 'master'
Jiang Jiang Jian [Thu, 7 Sep 2017 05:24:24 +0000 (13:24 +0800)]
Merge branch 'feature/update_wifi_lib_for_some_feature_and_bugfix' into 'master'

esp32: update wifi lib for a bunch of small feature and bugfix

See merge request !1222

6 years agoMerge branch 'bugfix/spi_cache_disable_adjustments_iram' into 'master'
Ivan Grokhotkov [Thu, 7 Sep 2017 03:02:21 +0000 (11:02 +0800)]
Merge branch 'bugfix/spi_cache_disable_adjustments_iram' into 'master'

Make sure cache is disabled/enabled when *both* CPUs are running inside the iram guard code

See merge request !1208

6 years agoesp32: update wifi lib for a bunch of small feature and bugfix
Liu Zhi Fu [Wed, 6 Sep 2017 03:24:42 +0000 (11:24 +0800)]
esp32: update wifi lib for a bunch of small feature and bugfix

1. Update RTC V229: add BT AGC saturation protection
2. Update PHY V359: (1). esp_init_data_v2.bin -- modify WIFI and BT RX gain table Setting
                    (2). modify phy_close_rf()
                    (3). noisefloor add limit and no print
3. WiFi supports modem sleep dynamic frequency switch
4. Fix disabling AMPDU cause esp_wifi_init fail issue
5. Fix sniffer mode cause WiFi can't connect issue
6. Optimize an internal rx buffer full issue
7. Rollback the internal wifi init flag when wifi init fail

6 years agofeat(global): add macros for GPIO->channel lookup
michael [Tue, 29 Aug 2017 07:52:04 +0000 (15:52 +0800)]
feat(global): add macros for GPIO->channel lookup

including: macros for dac, adc, touch, rtc_gpio, uart and clk_out.

TW#13970

6 years agoMerge branch 'feature/register_heaps_runtime' into 'master'
Angus Gratton [Thu, 7 Sep 2017 02:18:21 +0000 (10:18 +0800)]
Merge branch 'feature/register_heaps_runtime' into 'master'

heap: Support adding new heap regions at runtime

See merge request !1159

6 years agoMerge branch 'bugfix/http_to_https_url_changes' into 'master'
Angus Gratton [Thu, 7 Sep 2017 02:16:43 +0000 (10:16 +0800)]
Merge branch 'bugfix/http_to_https_url_changes' into 'master'

Mass replacement of http with https urls, fixed broken urls

See merge request !1221

6 years agoMerge branch 'bugfix/btdm_unloaded_memory' into 'master'
Angus Gratton [Thu, 7 Sep 2017 02:12:44 +0000 (10:12 +0800)]
Merge branch 'bugfix/btdm_unloaded_memory' into 'master'

component/bt : fix unloaded memory(0x3fff0000 overwrite) bug

See merge request !1227

6 years agocomponent/bt : fix unloaded memory(0x3fff0000 overwrite) bug
Tian Hao [Wed, 6 Sep 2017 13:45:18 +0000 (21:45 +0800)]
component/bt : fix unloaded memory(0x3fff0000 overwrite) bug

6 years agoMake sure cache is disabled/enabled when *both* CPUs are running inside the iram...
Jeroen Domburg [Mon, 4 Sep 2017 12:11:15 +0000 (20:11 +0800)]
Make sure cache is disabled/enabled when *both* CPUs are running inside the iram guard code

6 years agorefactor(intr): remove useless tags in the debug log.
michael [Thu, 24 Aug 2017 03:46:19 +0000 (11:46 +0800)]
refactor(intr): remove useless tags in the debug log.

6 years agofix(intr): always assign the same intr to a same source, disable the source only...
michael [Fri, 18 Aug 2017 07:15:47 +0000 (15:15 +0800)]
fix(intr): always assign the same intr to a same source, disable the source only when all the handlers disabled.

also document handlers sharing a same source.

TW#13454, https://github.com/nodemcu/nodemcu-firmware/issues/1874

Breaking change: handles assigned to a same source should have the same flag now.

6 years agoMass replacement of http with https urls, fixed broken urls
krzychb [Tue, 5 Sep 2017 19:58:31 +0000 (21:58 +0200)]
Mass replacement of http with https urls, fixed broken urls

6 years agoexample(spi_master): add menuconfig to enable the auto detect of LCD type.
michael [Thu, 31 Aug 2017 07:03:19 +0000 (15:03 +0800)]
example(spi_master): add menuconfig to enable the auto detect of LCD type.

6 years agoesp_pthread_init constructor attr was removed
Alexey Gerenkov [Tue, 5 Sep 2017 17:37:31 +0000 (20:37 +0300)]
esp_pthread_init constructor attr was removed

6 years agoAccording to comments
Alexey Gerenkov [Mon, 4 Sep 2017 18:46:16 +0000 (21:46 +0300)]
According to comments

6 years agopthread: handle statically initialized mutexes
Ivan Grokhotkov [Fri, 1 Sep 2017 04:31:04 +0000 (12:31 +0800)]
pthread: handle statically initialized mutexes

6 years agoAccording to review comments
Alexey Gerenkov [Thu, 31 Aug 2017 23:18:14 +0000 (02:18 +0300)]
According to review comments

6 years agoCleanup
Alexey Gerenkov [Mon, 28 Aug 2017 15:41:32 +0000 (18:41 +0300)]
Cleanup

6 years ago1) Thread detach functionality added
Alexey Gerenkov [Fri, 25 Aug 2017 18:24:17 +0000 (21:24 +0300)]
1) Thread detach functionality added
2) Recursive mutexes support
3) C++ test updated

6 years ago1) Mux API was added
Alexey Gerenkov [Thu, 24 Aug 2017 19:52:49 +0000 (22:52 +0300)]
1) Mux API was added
2) C++ test for threading and mux functions

6 years agopthread: Initial version of thread API
Alexey Gerenkov [Wed, 23 Aug 2017 23:53:20 +0000 (02:53 +0300)]
pthread: Initial version of thread API

6 years agoMerge branch 'bugfix/unit_test_build' into 'master'
Ivan Grokhotkov [Wed, 6 Sep 2017 00:48:44 +0000 (08:48 +0800)]
Merge branch 'bugfix/unit_test_build' into 'master'

build system: fix building tests specified via TEST_COMPONENTS

See merge request !1219

6 years agoSeparate section on touch detection
krzychb [Tue, 5 Sep 2017 18:22:21 +0000 (20:22 +0200)]
Separate section on touch detection

6 years agobuild system: fix building tests specified via TEST_COMPONENTS
Ivan Grokhotkov [Tue, 5 Sep 2017 10:07:00 +0000 (18:07 +0800)]
build system: fix building tests specified via TEST_COMPONENTS

6 years agoMerge branch 'bugfix/soft_reboot_psram' into 'master'
Jeroen Domburg [Tue, 5 Sep 2017 07:43:30 +0000 (15:43 +0800)]
Merge branch 'bugfix/soft_reboot_psram' into 'master'

Fix rebooting when external RAM is active

See merge request !1207

6 years agoMerge branch 'feature/build_warn_undefined_vars' into 'master'
Angus Gratton [Tue, 5 Sep 2017 07:39:48 +0000 (15:39 +0800)]
Merge branch 'feature/build_warn_undefined_vars' into 'master'

Add --warn-undefined-variables to MAKEFLAGS (github #138)

See merge request !1214

6 years agoImplemented 2 of 3 review comments
krzychb [Tue, 5 Sep 2017 06:27:32 +0000 (08:27 +0200)]
Implemented 2 of 3 review comments

6 years agoTouch Pad driver overview
krzychb [Fri, 1 Sep 2017 21:39:27 +0000 (23:39 +0200)]
Touch Pad driver overview

6 years agobuild system: Remove obsolete GenerateBuildDirTarget macro eval
Angus Gratton [Tue, 5 Sep 2017 06:28:42 +0000 (16:28 +1000)]
build system: Remove obsolete GenerateBuildDirTarget macro eval

6 years agoMerge branch 'feature/tcp_msl_menuconfig' into 'master'
Angus Gratton [Tue, 5 Sep 2017 06:18:36 +0000 (14:18 +0800)]
Merge branch 'feature/tcp_msl_menuconfig' into 'master'

components/lwip: Expose TCP_MSL in menuconfig. (github #783)

See merge request !1175

6 years agobuild system: Document --warn-undefined-variables and add a config item for it
Angus Gratton [Tue, 5 Sep 2017 06:10:00 +0000 (16:10 +1000)]
build system: Document --warn-undefined-variables and add a config item for it

6 years agobuild system: Restore ifdef/ifndef in Makefiles, clean up examples build
Angus Gratton [Tue, 5 Sep 2017 05:50:31 +0000 (15:50 +1000)]
build system: Restore ifdef/ifndef in Makefiles, clean up examples build

6 years agoAdd --warn-undefined-variables to MAKEFLAGS
Deomid Ryabkov [Sat, 3 Dec 2016 22:11:22 +0000 (22:11 +0000)]
Add --warn-undefined-variables to MAKEFLAGS

Fix warnings where undefined vars are used.

Make Kconfig emit "FOO=" for unset bool options
To ensure make variables are always defined, even if empty.

When writing auto.conf, include symbols disabled by dependency to make sure all make variables are always defined.

Fixes espressif/esp-idf#137

Cherry-picked from https://github.com/espressif/esp-idf/pull/138

6 years agoMerge branch 'bugfix/nvs_item_crc_check' into 'master'
Angus Gratton [Tue, 5 Sep 2017 04:09:40 +0000 (12:09 +0800)]
Merge branch 'bugfix/nvs_item_crc_check' into 'master'

nvs: check CRC of items on full pages

See merge request !1200

6 years agoheap: Support adding new heap regions at runtime
Angus Gratton [Mon, 28 Aug 2017 07:12:29 +0000 (17:12 +1000)]
heap: Support adding new heap regions at runtime

To facilitate this, the list of registered heap regions is now a linked list
(allowing entries to be appended at runtime.)

6 years agoMerge branch 'bugfix/core_dump_loop' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:40:31 +0000 (11:40 +0800)]
Merge branch 'bugfix/core_dump_loop' into 'master'

esp32: Fixes infinite loop caused by exception during core dumping

See merge request !1210

6 years agoMerge branch 'bugfix/mbedtls_net_failures' into 'master'
Angus Gratton [Tue, 5 Sep 2017 03:28:43 +0000 (11:28 +0800)]
Merge branch 'bugfix/mbedtls_net_failures' into 'master'

mbedtls: Don't assign ctx->fd until connect() or bind() has succeeded

See merge request !1211

6 years agoMerge branch 'feature/adc_calibration' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:23:05 +0000 (11:23 +0800)]
Merge branch 'feature/adc_calibration' into 'master'

Bugfix/ added esp_adc_cal include guards

See merge request !1192

6 years agoMerge branch 'bugfix/deep_sleep_wakeup_stub' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:22:52 +0000 (11:22 +0800)]
Merge branch 'bugfix/deep_sleep_wakeup_stub' into 'master'

deep sleep: don't use protected DPORT access in wake stub

See merge request !1194

6 years agoMerge branch 'bugfix/openssl_client_example' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 03:15:55 +0000 (11:15 +0800)]
Merge branch 'bugfix/openssl_client_example' into 'master'

example/openssl_client: Fix http string "printf" error without end character '\0'

See merge request !1201

6 years agoesp32: Fixes infinite loop caused by exception during core dumping
Alexey Gerenkov [Mon, 4 Sep 2017 17:05:36 +0000 (20:05 +0300)]
esp32: Fixes infinite loop caused by exception during core dumping

6 years agoMerge branch 'bugfix/cpu_clk_disable_spi' into 'master'
Ivan Grokhotkov [Tue, 5 Sep 2017 02:41:51 +0000 (10:41 +0800)]
Merge branch 'bugfix/cpu_clk_disable_spi' into 'master'

spi_master, sdmmc: fix regressions due to peripherals being disabled by default

See merge request !1193

6 years agoMerge branch 'bugfix/spinlock_performance' into 'master'
Angus Gratton [Tue, 5 Sep 2017 01:16:10 +0000 (09:16 +0800)]
Merge branch 'bugfix/spinlock_performance' into 'master'

freertos: Reduce CPU spinlock (portmux) overhead

See merge request !497

6 years agombedtls: Don't assign ctx->fd until connect() or bind() has succeeded
Angus Gratton [Tue, 5 Sep 2017 00:37:58 +0000 (10:37 +1000)]
mbedtls: Don't assign ctx->fd until connect() or bind() has succeeded

Avoid leaking closed file descriptors via ctx->fd

Reported: https://esp32.com/viewtopic.php?f=13&t=2910&sid=8568b1fd93a4c8d5760628a638efc48b#p13620

6 years agoMerge branch 'bugfix/bootloader_ota_sel' into 'master'
Angus Gratton [Mon, 4 Sep 2017 23:25:08 +0000 (07:25 +0800)]
Merge branch 'bugfix/bootloader_ota_sel' into 'master'

Fix bootloader OTA regression

See merge request !1205

6 years agoethernet: enable EMAC module clock on initialization
Ivan Grokhotkov [Mon, 4 Sep 2017 14:43:25 +0000 (22:43 +0800)]
ethernet: enable EMAC module clock on initialization

6 years agosdmmc: use periph_ctrl to enable peripheral when initializing the host
Ivan Grokhotkov [Mon, 4 Sep 2017 10:12:46 +0000 (18:12 +0800)]
sdmmc: use periph_ctrl to enable peripheral when initializing the host

6 years agodriver: add periph_ctrl support for SDMMC, SDIO slave, CAN, EMAC
Ivan Grokhotkov [Mon, 4 Sep 2017 10:12:15 +0000 (18:12 +0800)]
driver: add periph_ctrl support for SDMMC, SDIO slave, CAN, EMAC

6 years agofix(spi_master): this fix the SPI MOSI output missing bug.
michael [Thu, 31 Aug 2017 11:59:30 +0000 (19:59 +0800)]
fix(spi_master): this fix the SPI MOSI output missing bug.

6 years agoMerge branch 'feature/btdm_add_set_local_MTU_API_for_gatt' into 'master'
Jiang Jiang Jian [Mon, 4 Sep 2017 13:32:23 +0000 (21:32 +0800)]
Merge branch 'feature/btdm_add_set_local_MTU_API_for_gatt' into 'master'

component/bt: add set local MTU API

See merge request !1152

6 years agoapptrace lock acquire function was re-designed to minimize waiting time with disabled...
Alexey Gerenkov [Sun, 3 Sep 2017 00:44:21 +0000 (03:44 +0300)]
apptrace lock acquire function was re-designed to minimize waiting time with disabled IRQs

6 years agoci: add extra unit test job
Ivan Grokhotkov [Mon, 4 Sep 2017 12:39:35 +0000 (20:39 +0800)]
ci: add extra unit test job

6 years agoFix rebooting when PSRAM is active
Jeroen Domburg [Mon, 4 Sep 2017 11:00:47 +0000 (19:00 +0800)]
Fix rebooting when PSRAM is active

6 years agoMerge branch 'bugfix/lwip_send_timeout' into 'master'
Ivan Grokhotkov [Mon, 4 Sep 2017 10:19:59 +0000 (18:19 +0800)]
Merge branch 'bugfix/lwip_send_timeout' into 'master'

match sys tick with lwip_send_timeout

See merge request !1203

6 years agoesp32: Update wifi lib to use new spinlock implementation
Angus Gratton [Thu, 31 Aug 2017 00:49:42 +0000 (10:49 +1000)]
esp32: Update wifi lib to use new spinlock implementation

6 years agoportmux: Add vPortCPUAcquireMutexTimeout() function
Angus Gratton [Thu, 20 Jul 2017 06:34:45 +0000 (16:34 +1000)]
portmux: Add vPortCPUAcquireMutexTimeout() function

Refactor app_trace locking to use this function.

6 years agofreertos scheduler test: Free timer group interrupt handle when test finishes
Angus Gratton [Mon, 26 Jun 2017 04:09:02 +0000 (14:09 +1000)]
freertos scheduler test: Free timer group interrupt handle when test finishes

6 years agofreertos: Inline vPortCPUAcquireMutex/vPortCPUReleaseMutex into implementations
Angus Gratton [Thu, 16 Feb 2017 05:56:06 +0000 (16:56 +1100)]
freertos: Inline vPortCPUAcquireMutex/vPortCPUReleaseMutex into implementations

Further improves performance:
No contention -> 134 cycles
Recursion -> 117 cycles
Contention -> 323 cycles

6 years agofreertos: vPortCPUReleaseMutex() no longer returns a value
Angus Gratton [Thu, 16 Feb 2017 05:03:02 +0000 (16:03 +1100)]
freertos: vPortCPUReleaseMutex() no longer returns a value

Unlocking a never-locked mutex is an assertion failure in debug mode.

In release mode, this further improves performance:
No-Contention ->  153 cycles
Recursion No-Contention -> 138 cycles
Contention -> 378 cycles

6 years agofreertos spinlock/portmux: Reduce spinlocking overhead
Angus Gratton [Mon, 13 Feb 2017 03:46:37 +0000 (14:46 +1100)]
freertos spinlock/portmux: Reduce spinlocking overhead

Ref TW7117

Microbenchmarks in unit tests:

(All numbers in cycles per benchmarked operation):

Release mode
No lock contention lock/unlock -       301 -> 167 (-45%)
Recursive no contention lock/unlock -  289 -> 148 (-49%)
Lock contention two CPUs (lock/unlock) 699 -> 400 (-43%)

Debug mode
No lock contention lock/unlock -       355 -> 203 (-43%)
Recursive no contention lock/unlock -  345 -> 188 (-46%)
Lock contention two CPUs (lock/unlock) 761 -> 483 (-36%)

6 years agofreertos spinlocks/portmux: Add combination unit tests & microbenchmarks
Angus Gratton [Mon, 13 Feb 2017 05:53:33 +0000 (16:53 +1100)]
freertos spinlocks/portmux: Add combination unit tests & microbenchmarks

6 years agoMerge branch 'bugfix/ci_build_examples_more' into 'master'
Angus Gratton [Mon, 4 Sep 2017 08:02:12 +0000 (16:02 +0800)]
Merge branch 'bugfix/ci_build_examples_more' into 'master'

CI build_examples: Fix build flakiness

See merge request !1191

6 years agobuild system: Don't make menuconfig if "make clean" run with no sdkconfig
Angus Gratton [Mon, 4 Sep 2017 04:50:52 +0000 (14:50 +1000)]
build system: Don't make menuconfig if "make clean" run with no sdkconfig

6 years agobuild system: Explicitly disallow 'clean' along with non-cleaning targets
Angus Gratton [Mon, 4 Sep 2017 03:17:32 +0000 (13:17 +1000)]
build system: Explicitly disallow 'clean' along with non-cleaning targets

Too hard to stage the dependencies so that all clean steps complete before any build steps begin. Also, using and then
deleting and then regenerating SDKCONFIG_MAKEFILE in one pass is really hard to manage successfully.

6 years agobuild system tests: Run inside PWD same as build_examples.sh
Angus Gratton [Mon, 4 Sep 2017 01:15:04 +0000 (11:15 +1000)]
build system tests: Run inside PWD same as build_examples.sh

6 years agoci: Add two more example build jobs per CI pass
Angus Gratton [Fri, 1 Sep 2017 07:29:51 +0000 (17:29 +1000)]
ci: Add two more example build jobs per CI pass

6 years agobuild system: Add dependencies to component clean steps
Angus Gratton [Fri, 1 Sep 2017 07:28:13 +0000 (17:28 +1000)]
build system: Add dependencies to component clean steps

Build directory must exist, component_project_vars.mk must be generated if it is going to be.