]>
granicus.if.org Git - esp-idf/log
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
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
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
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.
krzychb [Mon, 11 Sep 2017 03:15:39 +0000 (05:15 +0200)]
Added socket receiving timeout, ref. TW#14353 / GitHub issue #844
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
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
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
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.
krzychb [Thu, 7 Sep 2017 16:48:15 +0000 (18:48 +0200)]
Fixed broken links in documentation
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
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
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
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
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
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
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
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)
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.
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 )
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.)
Angus Gratton [Wed, 6 Sep 2017 05:05:55 +0000 (15:05 +1000)]
mbedtls: Update to 2.6.0 release (without IDF-specific patches)
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()
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
Angus Gratton [Tue, 18 Jul 2017 23:07:17 +0000 (09:07 +1000)]
doc: Add docs for heap trace & poisoning
Angus Gratton [Tue, 16 May 2017 06:53:45 +0000 (16:53 +1000)]
libgcc: Place assembly functions (including __xtensa_libgcc_window_spill) in IRAM
Angus Gratton [Thu, 11 May 2017 07:56:17 +0000 (17:56 +1000)]
Heap tracing support
Angus Gratton [Thu, 11 May 2017 00:55:40 +0000 (10:55 +1000)]
Unit tests: enable comprehensive heap poisoning checks
Angus Gratton [Mon, 8 May 2017 05:25:30 +0000 (15:25 +1000)]
multi_heap: Add heap poisoning features
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
Angus Gratton [Wed, 10 May 2017 07:17:52 +0000 (17:17 +1000)]
heap_caps: Add heap_caps_check_integrity() function
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
chensheng [Wed, 6 Sep 2017 03:19:10 +0000 (11:19 +0800)]
test:update BLE GATT MTU cases
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
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
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
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
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
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
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
Tian Hao [Wed, 6 Sep 2017 13:45:18 +0000 (21:45 +0800)]
component/bt : fix unloaded memory(0x3fff0000 overwrite) bug
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
michael [Thu, 24 Aug 2017 03:46:19 +0000 (11:46 +0800)]
refactor(intr): remove useless tags in the debug log.
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.
krzychb [Tue, 5 Sep 2017 19:58:31 +0000 (21:58 +0200)]
Mass replacement of http with https urls, fixed broken urls
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.
Alexey Gerenkov [Tue, 5 Sep 2017 17:37:31 +0000 (20:37 +0300)]
esp_pthread_init constructor attr was removed
Alexey Gerenkov [Mon, 4 Sep 2017 18:46:16 +0000 (21:46 +0300)]
According to comments
Ivan Grokhotkov [Fri, 1 Sep 2017 04:31:04 +0000 (12:31 +0800)]
pthread: handle statically initialized mutexes
Alexey Gerenkov [Thu, 31 Aug 2017 23:18:14 +0000 (02:18 +0300)]
According to review comments
Alexey Gerenkov [Mon, 28 Aug 2017 15:41:32 +0000 (18:41 +0300)]
Cleanup
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
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
Alexey Gerenkov [Wed, 23 Aug 2017 23:53:20 +0000 (02:53 +0300)]
pthread: Initial version of thread API
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
krzychb [Tue, 5 Sep 2017 18:22:21 +0000 (20:22 +0200)]
Separate section on touch detection
Ivan Grokhotkov [Tue, 5 Sep 2017 10:07:00 +0000 (18:07 +0800)]
build system: fix building tests specified via TEST_COMPONENTS
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
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
krzychb [Tue, 5 Sep 2017 06:27:32 +0000 (08:27 +0200)]
Implemented 2 of 3 review comments
krzychb [Fri, 1 Sep 2017 21:39:27 +0000 (23:39 +0200)]
Touch Pad driver overview
Angus Gratton [Tue, 5 Sep 2017 06:28:42 +0000 (16:28 +1000)]
build system: Remove obsolete GenerateBuildDirTarget macro eval
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
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
Angus Gratton [Tue, 5 Sep 2017 05:50:31 +0000 (15:50 +1000)]
build system: Restore ifdef/ifndef in Makefiles, clean up examples build
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
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
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.)
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
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
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
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
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
Alexey Gerenkov [Mon, 4 Sep 2017 17:05:36 +0000 (20:05 +0300)]
esp32: Fixes infinite loop caused by exception during core dumping
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
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
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
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
Ivan Grokhotkov [Mon, 4 Sep 2017 14:43:25 +0000 (22:43 +0800)]
ethernet: enable EMAC module clock on initialization
Ivan Grokhotkov [Mon, 4 Sep 2017 10:12:46 +0000 (18:12 +0800)]
sdmmc: use periph_ctrl to enable peripheral when initializing the host
Ivan Grokhotkov [Mon, 4 Sep 2017 10:12:15 +0000 (18:12 +0800)]
driver: add periph_ctrl support for SDMMC, SDIO slave, CAN, EMAC
michael [Thu, 31 Aug 2017 11:59:30 +0000 (19:59 +0800)]
fix(spi_master): this fix the SPI MOSI output missing bug.
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
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
Ivan Grokhotkov [Mon, 4 Sep 2017 12:39:35 +0000 (20:39 +0800)]
ci: add extra unit test job
Jeroen Domburg [Mon, 4 Sep 2017 11:00:47 +0000 (19:00 +0800)]
Fix rebooting when PSRAM is active
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
Angus Gratton [Thu, 31 Aug 2017 00:49:42 +0000 (10:49 +1000)]
esp32: Update wifi lib to use new spinlock implementation
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.
Angus Gratton [Mon, 26 Jun 2017 04:09:02 +0000 (14:09 +1000)]
freertos scheduler test: Free timer group interrupt handle when test finishes
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
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
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%)
Angus Gratton [Mon, 13 Feb 2017 05:53:33 +0000 (16:53 +1100)]
freertos spinlocks/portmux: Add combination unit tests & microbenchmarks
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
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
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.
Angus Gratton [Mon, 4 Sep 2017 01:15:04 +0000 (11:15 +1000)]
build system tests: Run inside PWD same as build_examples.sh
Angus Gratton [Fri, 1 Sep 2017 07:29:51 +0000 (17:29 +1000)]
ci: Add two more example build jobs per CI pass
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.