]>
granicus.if.org Git - esp-idf/log
Ivan Grokhotkov [Mon, 9 Oct 2017 07:34:31 +0000 (15:34 +0800)]
bt: lock APB frequency while BT controller is enabled
Ivan Grokhotkov [Sun, 24 Sep 2017 07:46:59 +0000 (15:46 +0800)]
freertos: fix error when including xtensa-timer.h from other components
Ivan Grokhotkov [Sun, 24 Sep 2017 07:18:37 +0000 (15:18 +0800)]
ethernet: lock APB frequency while ethernet is enabled
Ivan Grokhotkov [Sun, 24 Sep 2017 07:05:35 +0000 (15:05 +0800)]
spi slave: lock APB frequency while driver is in use
Ivan Grokhotkov [Sun, 24 Sep 2017 06:59:15 +0000 (14:59 +0800)]
spi master: lock APB frequency while in transaction
Ivan Grokhotkov [Sun, 24 Sep 2017 06:37:37 +0000 (14:37 +0800)]
sdmmc: lock APB frequency while in transaction
Ivan Grokhotkov [Tue, 29 Aug 2017 10:34:43 +0000 (18:34 +0800)]
sysview: always use TG as timestamp source
Ivan Grokhotkov [Mon, 21 Aug 2017 14:30:23 +0000 (22:30 +0800)]
uart: add support for REF_TICK
Ivan Grokhotkov [Fri, 22 Sep 2017 15:09:16 +0000 (23:09 +0800)]
freertos: deprecate XT_CLOCK_FREQ
- freertos: add deprecated definition for XT_CLOCK_FREQ
- flash_ops: don't use XT_CLOCK_FREQ
- unity: don't use XT_CLOCK_FREQ
- hw_random: don't use XT_CLOCK_FREQ
- core_dump: don't use XT_CLOCK_FREQ
- app_trace: don't use XT_CLOCK_FREQ
- xtensa_init: init xt_tick_divisor
Ivan Grokhotkov [Fri, 22 Sep 2017 15:34:52 +0000 (23:34 +0800)]
esp32: add power management hooks for WiFi library
Ivan Grokhotkov [Mon, 9 Oct 2017 07:24:51 +0000 (15:24 +0800)]
esp_timer: add support for frequency scaling
Ivan Grokhotkov [Fri, 22 Sep 2017 15:26:09 +0000 (23:26 +0800)]
pm: support for tracing using GPIOs
Ivan Grokhotkov [Fri, 22 Sep 2017 15:06:52 +0000 (23:06 +0800)]
freertos: add frequency switching hooks to ISR and idle task
Ivan Grokhotkov [Fri, 22 Sep 2017 15:02:58 +0000 (23:02 +0800)]
esp32: initialize PM at startup, add Kconfig options
Ivan Grokhotkov [Fri, 22 Sep 2017 15:30:13 +0000 (23:30 +0800)]
pm: initial implementation for ESP32
Ivan Grokhotkov [Fri, 22 Sep 2017 15:29:33 +0000 (23:29 +0800)]
pm: initial version of power management APIs
Ivan Grokhotkov [Fri, 22 Sep 2017 15:16:52 +0000 (23:16 +0800)]
unit tests: add test to dump esp_timer stats
Ivan Grokhotkov [Thu, 7 Sep 2017 17:32:18 +0000 (01:32 +0800)]
unit tests: more robust esp_timer test
Ivan Grokhotkov [Thu, 7 Sep 2017 17:33:20 +0000 (01:33 +0800)]
unit tests: fix ref_clock value obtained due to overflow
Ivan Grokhotkov [Fri, 13 Oct 2017 16:27:56 +0000 (00:27 +0800)]
soc/rtc: add function to convert CPU frequency in MHz to rtc_cpu_freq_t
Ivan Grokhotkov [Mon, 21 Aug 2017 14:34:42 +0000 (22:34 +0800)]
soc/rtc: add fast paths for switching between PLL and XTAL
Ivan Grokhotkov [Fri, 22 Sep 2017 15:04:16 +0000 (23:04 +0800)]
esp_clk.h: make public, add getters for RTC time, CPU/APB freq
Ivan Grokhotkov [Sun, 15 Oct 2017 16:37:00 +0000 (00:37 +0800)]
make esp_timer.h public
Ivan Grokhotkov [Mon, 21 Aug 2017 14:29:08 +0000 (22:29 +0800)]
crosscore_int: add support for FREQ_SWITCH event
Ivan Grokhotkov [Tue, 17 Oct 2017 23:17:56 +0000 (07:17 +0800)]
Merge branch 'feature/fsync' into 'master'
vfs,fat: add fsync to VFS interface, implement it for fatfs
See merge request !1412
Ivan Grokhotkov [Tue, 17 Oct 2017 10:20:25 +0000 (18:20 +0800)]
Merge branch 'feature/update_phy362_rtc230' into 'master'
component/esp32 : update phy & rtc
See merge request !1411
Tian Hao [Tue, 17 Oct 2017 03:22:46 +0000 (11:22 +0800)]
component/esp32 : update phy & rtc
RTC V230
add BT AGC saturation protection, replace RTC V229.
PHY V362
Power up print: "phy_version: 362.0,
61e8d92 , Sep 8 2017, 18:48:13"
1. esp_init_data_v3.bin
modify TX target power
modify WIFI & BT RX gain table
2. modify phy_close_rf()
3. add phy_set_most_tpw()
4. 26M crystal work OK
5. noise_check_loop ok
Ivan Grokhotkov [Tue, 17 Oct 2017 09:41:39 +0000 (17:41 +0800)]
Merge branch 'bugfix/slave_dma_claim' into 'master'
fix(spi_slave): enable DMA clock when initialization.
See merge request !1385
Ivan Grokhotkov [Tue, 17 Oct 2017 09:40:14 +0000 (17:40 +0800)]
Merge branch 'feature/reduce_min_num_of_wifi_static_tx_buffer' into 'master'
Reduce minimum number of WiFi static tx buffer
See merge request !1398
Ivan Grokhotkov [Tue, 17 Oct 2017 06:00:01 +0000 (14:00 +0800)]
vfs,fat: add fsync to VFS interface, implement it for fatfs
Angus Gratton [Tue, 17 Oct 2017 06:17:09 +0000 (14:17 +0800)]
Merge branch 'feature/sockets_files_shared_fd_space' into 'master'
lwip & vfs: POSIX I/O functions operate on sockets and files (first stage, no select() yet)
See merge request !1352
Ivan Grokhotkov [Tue, 17 Oct 2017 06:15:09 +0000 (14:15 +0800)]
Merge branch 'bugfix/add_mutex_for_dual_core_hooks' into 'master'
freertos/Add mutex for dual core hooks
See merge request !1406
Ivan Grokhotkov [Tue, 17 Oct 2017 06:12:43 +0000 (14:12 +0800)]
Merge branch 'bugfix/ets_timer_iram' into 'master'
wifi/bt coexistence: Fix disabled cache access race when writing to flash
See merge request !1409
Gabriel Carstoiu [Fri, 22 Sep 2017 09:47:06 +0000 (17:47 +0800)]
fix(spi_slave): enable DMA clock when initialization.
merging in the code updates to the SPI master code done in commit
b834fcf78aa4cc16d4c3f5349286df3580d24edb .
TW#15670, Closes #1027
michael [Tue, 17 Oct 2017 03:52:50 +0000 (11:52 +0800)]
fix(periph_ctrl): fix reset function in `periph_ctrl.c`
michael [Sat, 30 Sep 2017 11:59:05 +0000 (19:59 +0800)]
feat(spi_slave): append trans_len field in trans_desc to show length actually transferred.
Ivan Grokhotkov [Mon, 16 Oct 2017 20:56:35 +0000 (04:56 +0800)]
Merge branch 'feature/spiram_init_in_app' into 'master'
spiram: expose function to initialize SPI RAM cache
See merge request !1281
Ivan Grokhotkov [Mon, 16 Oct 2017 20:54:43 +0000 (04:54 +0800)]
Merge branch 'bugfix/soc_component_rodata' into 'master'
soc: place constant data from rtc_clk.c into DRAM
See merge request !1321
Ivan Grokhotkov [Mon, 16 Oct 2017 20:45:24 +0000 (04:45 +0800)]
Merge branch 'bugfix/sd_card_fixes' into 'master'
SD card fixes
See merge request !1393
Ivan Grokhotkov [Mon, 16 Oct 2017 20:44:19 +0000 (04:44 +0800)]
Merge branch 'bugfix/console_empty_command' into 'master'
console: handle empty input to esp_console_run correctly
See merge request !1390
Ivan Grokhotkov [Mon, 16 Oct 2017 20:44:04 +0000 (04:44 +0800)]
Merge branch 'bugfix/freertos_portmux_debug' into 'master'
freertos: fix compilation errors with portMUX debugging enabled
See merge request !1392
Ivan Grokhotkov [Mon, 16 Oct 2017 20:43:54 +0000 (04:43 +0800)]
Merge branch 'bugfix/nvs_init_partition' into 'master'
nvs: fix nvs_flash_init_partition initializing default partition
See merge request !1391
Angus Gratton [Mon, 16 Oct 2017 11:16:20 +0000 (19:16 +0800)]
wifi/bt coexistence: Fix disabled cache access race when writing to flash
Moves the ets_timer_arm() / ets_timer_disarm() code paths to RAM
Overhead is 740 bytes of IRAM, 0 bytes DRAM
(For comparison: If all of esp_timer.c is moved to RAM, overhead is 1068 bytes IRAM and 480 bytes DRAM.)
Jiang Jiang Jian [Mon, 16 Oct 2017 09:30:14 +0000 (17:30 +0800)]
Merge branch 'bugfix/tw15595_eth_got_ip_log_error' into 'master'
esp32/tcpipadapter: correct eth ip got event info
See merge request !1388
Jiang Jiang Jian [Mon, 16 Oct 2017 09:30:00 +0000 (17:30 +0800)]
Merge branch 'feature/some_refactor_for_esp_ping' into 'master'
lwip: refactor to socket ping
See merge request !875
Darian Leung [Mon, 16 Oct 2017 03:47:38 +0000 (11:47 +0800)]
esp32/Add mutex for dual core hooks
This commit adds critical sections for the dual core hooks
Angus Gratton [Tue, 10 Oct 2017 05:11:12 +0000 (16:11 +1100)]
vfs: Remove fd_offset member
This was intended for integrating LWIP, but a different approach was used.
Angus Gratton [Tue, 3 Oct 2017 23:55:54 +0000 (10:55 +1100)]
vfs: Add C++ guards to esp_vfs_dev.h
Closes https://github.com/espressif/esp-idf/issues/1069
Angus Gratton [Tue, 3 Oct 2017 23:41:09 +0000 (10:41 +1100)]
lwip: Check for underflow in FD_SET()/FD_GET()
select() only works with LWIP sockets which have a high LWIP_SOCKET_OFFSET,
so chance of accidental underflow is high.
Angus Gratton [Tue, 3 Oct 2017 23:18:10 +0000 (10:18 +1100)]
lwip: Fix bug with LWIP_SOCKET_OFFSET & IGMP group support
Angus Gratton [Tue, 3 Oct 2017 22:53:06 +0000 (09:53 +1100)]
newlib: Remove fcntl() implementation from libc
Allows fcntl() implementation in vfs to be used.
Closes https://github.com/espressif/esp-idf/issues/1070
Note this is different to the other libc file-related syscalls, as there is no
reent structure involved.
Angus Gratton [Tue, 3 Oct 2017 05:56:55 +0000 (16:56 +1100)]
lwip: Route LWIP socket POSIX I/O functions via IDF VFS layer
No more conflicts between LWIP & newlib read(), write(), fcntl(), etc.
select() still only works if all of the fds are sockets.
Closes https://github.com/espressif/esp-idf/issues/273
Angus Gratton [Tue, 3 Oct 2017 22:24:40 +0000 (09:24 +1100)]
vfs: Add ioctl() to filesystem set
Angus Gratton [Mon, 16 Oct 2017 01:43:04 +0000 (09:43 +0800)]
Merge branch 'bugfix/freertos_resume_scheduler_pending_tasks' into 'master'
freertos: Fix bug with xTaskResumeAll() not resuming all tasks
See merge request !1330
Ivan Grokhotkov [Mon, 18 Sep 2017 15:02:33 +0000 (23:02 +0800)]
spiram: expose function to initialize SPI RAM cache
Some frameworks based on ESP-IDF need to be able to decide whether to
initialize SPI RAM after the application has started. This change splits
out part of esp_spiram_init which manipulate cache MMU into a separate
function. Applications can disable cache, call esp_spiram_init_cache,
re-enable cache, and then call esp_spiram_init.
Disabling and re-enabling the cache can be achieved using functions
provided in esp_spi_flash.h.
He Yin Ling [Sat, 14 Oct 2017 01:41:03 +0000 (09:41 +0800)]
Merge branch 'bugfix/freertos_dual_core_hooks' into 'master'
bugfix/freertos_dual_core_hooks
See merge request !1399
Jiang Jiang Jian [Fri, 13 Oct 2017 11:15:44 +0000 (19:15 +0800)]
Merge branch 'bugfix/tw15538_ipv6_socket_close_error' into 'master'
lwip: init lwip error code
See merge request !1379
Darian Leung [Fri, 13 Oct 2017 10:27:53 +0000 (18:27 +0800)]
bugfix/freertos_dual_core_hooks
This commit fixes bugs with the dual core changes to freeRTOS tick and idle hooks.
Interrupt watchdog now registers tick hooks to both cores.
API for cross core tick and idle hook registration were also added
XiaXiaotian [Thu, 12 Oct 2017 12:56:13 +0000 (20:56 +0800)]
Reduce minimum number of WiFi static tx buffer
Calibrate tx power after sending five packets
Jiang Jiang Jian [Fri, 13 Oct 2017 09:08:29 +0000 (17:08 +0800)]
Merge branch 'feature/add_const_for_wifi_api' into 'master'
esp32: add const for some WiFi api
See merge request !1394
Liu Zhi Fu [Thu, 15 Jun 2017 03:37:23 +0000 (11:37 +0800)]
lwip: refactor to socket ping
Do some refactor to socket ping:
1. Add ping_deinit to kill ping thread
2. Apply configuration set by esp_ping_set_target to socket ping
3. Limit only one ping thread
Jiang Jiang Jian [Fri, 13 Oct 2017 08:00:15 +0000 (16:00 +0800)]
Merge branch 'bugfix/btdm_fix_set_attr_value_crash_when_length_is_0' into 'master'
component/bt: fix crash when the length of attr value set zero
See merge request !1397
Liu Zhi Fu [Wed, 11 Oct 2017 10:31:10 +0000 (18:31 +0800)]
lwip: init lwip error code
Init the error code to ERR_OK when call tcpip_apimsg
Jiang Jiang Jian [Fri, 13 Oct 2017 07:57:00 +0000 (15:57 +0800)]
Merge branch 'bugfix/btdm_fix_register_app_id_failed_when_more_than_3' into 'master'
component/bt: fix register more than three app_ids failed
See merge request !1389
Liu Zhi Fu [Thu, 12 Oct 2017 12:24:02 +0000 (20:24 +0800)]
esp32/tcpipadapter: correct eth ip got event info
1. Raise SYSTEM_EVENT_ETH_GOT_IP when eth got ip
2. Add default handler for SYSTEM_EVENT_ETH_GOT_IP
3. Minor change about ethernet kconfig
Jiang Jiang Jian [Fri, 13 Oct 2017 07:47:27 +0000 (15:47 +0800)]
Merge branch 'feature/alloc_memories_of_wifi_and_lwip_in_spiram_first' into 'master'
Allocate some memories in SPIRAM first.
See merge request !1367
Jiang Jiang Jian [Fri, 13 Oct 2017 07:44:58 +0000 (15:44 +0800)]
Merge branch 'bugfix/btdm_controller_deinit' into 'master'
component/bt : allow init after de-init
See merge request !1371
Liu Zhi Fu [Fri, 13 Oct 2017 01:47:19 +0000 (09:47 +0800)]
esp32: add const for some WiFi api
Add const if the pointer parameter is const
zhiweijian [Fri, 13 Oct 2017 07:06:08 +0000 (15:06 +0800)]
Component/bt: fix crash when set attr value 0
XiaXiaotian [Sat, 30 Sep 2017 07:28:41 +0000 (15:28 +0800)]
Allocate some memories in SPIRAM first.
Try to allocate some WiFi and LWIP memories in SPIRAM first. If
failed, try to allocate in internal RAM then.
Angus Gratton [Fri, 13 Oct 2017 00:51:36 +0000 (08:51 +0800)]
Merge branch 'bugfix/spi_reset_race' into 'master'
periph_ctrl: Refactor to add periph_module_reset(), avoid potential race in SPI DMA workaround
See merge request !1349
Angus Gratton [Fri, 13 Oct 2017 00:50:24 +0000 (08:50 +0800)]
Merge branch 'bugfix/libsodium_mbedtls_sha' into 'master'
libsodium: Fix mbedTLS SHA256 & SHA512 implementation, make optional
See merge request !1329
Angus Gratton [Fri, 13 Oct 2017 00:50:09 +0000 (08:50 +0800)]
Merge branch 'feature/windows_build_check_msys2' into 'master'
build system: Detect wrong Windows MSYSTEM version and warn
See merge request !1356
Angus Gratton [Fri, 13 Oct 2017 00:40:39 +0000 (08:40 +0800)]
Merge branch 'bugfix/freertos_halt_on_startup' into 'master'
freertos: Remove "stop program on scheduler start when JTAG/OCD is detected" option
See merge request !1354
Ivan Grokhotkov [Fri, 13 Oct 2017 00:33:57 +0000 (08:33 +0800)]
freertos: fix compilation errors with portMUX debugging enabled
Fixes https://github.com/espressif/esp-idf/issues/1057
Ref TW15702.
Ivan Grokhotkov [Fri, 13 Oct 2017 00:21:06 +0000 (08:21 +0800)]
examples/sdmmc: enable internal pull-ups in SD mode
Some development boards do not have sufficient external pull-ups on
SD card pins. Most notably, if high level on GPIO13 is not registered
by the card when GO_IDLE_STATE command is received, the card will enter
SPI mode and further communication will not be possible, until power to
the card is toggled.
This change enables internal pull-ups on SD card pins in an attempt to
make this initialization process more reliable.
Ivan Grokhotkov [Fri, 13 Oct 2017 00:16:07 +0000 (08:16 +0800)]
sdmmc: allow command timeouts to be configured
Previously the timeout was set to the same value (1000ms) for all kinds
of commands. In some cases, such as with slow cards, write commands
failed to complete in time.
This change makes command timeouts configurable via sdmmc_host_t
structure, and also makes default timeouts different for ordinary
commands and write commands.
Closes https://github.com/espressif/esp-idf/issues/1093
Ref TW15774.
Angus Gratton [Thu, 5 Oct 2017 05:57:59 +0000 (16:57 +1100)]
freertos: Remove "stop program on scheduler start when JTAG/OCD is detected" option
No longer used with new dual core target & JTAG instructions.
Ivan Grokhotkov [Thu, 12 Oct 2017 23:19:16 +0000 (07:19 +0800)]
nvs: fix nvs_flash_init_partition initializing default partition
Fixes https://github.com/espressif/esp-idf/issues/1052.
Ref TW15698.
Ivan Grokhotkov [Thu, 12 Oct 2017 23:12:08 +0000 (07:12 +0800)]
console: handle empty input to esp_console_run correctly
Fixes https://github.com/espressif/esp-idf/issues/1067
Ref. TW15752
zhiweijian [Thu, 12 Oct 2017 13:07:40 +0000 (21:07 +0800)]
Component/bt: fix register more than 3 app_id failed
Jiang Jiang Jian [Thu, 12 Oct 2017 11:06:50 +0000 (19:06 +0800)]
Merge branch 'feature/i2s_apll' into 'master'
driver/i2s: add support apll clock
See merge request !1115
Jiang Jiang Jian [Thu, 12 Oct 2017 11:01:01 +0000 (19:01 +0800)]
Merge branch 'bugfix/btdm_fix_add_whitelist_failed' into 'master'
Component/bt: fix add whitelist failed
See merge request !1326
Jiang Jiang Jian [Thu, 12 Oct 2017 11:00:10 +0000 (19:00 +0800)]
Merge branch 'bugfix/phy_init_remove_descriptions' into 'master'
phy init: remove descriptions of PHY init parameters
See merge request !1363
Jiang Jiang Jian [Thu, 12 Oct 2017 10:59:09 +0000 (18:59 +0800)]
Merge branch 'bugfix/btdm_remove_bond_device_not_return_error' into 'master'
component/bt: Fixed the bug when remove the bonded device with not exist address…
See merge request !1370
Jiang Jiang Jian [Thu, 12 Oct 2017 10:57:36 +0000 (18:57 +0800)]
Merge branch 'bugfix/btdm_fix_set_scan_params_not_work' into 'master'
component/bt: fix scan params not work when start scan
See merge request !1307
Jiang Jiang Jian [Thu, 12 Oct 2017 10:21:25 +0000 (18:21 +0800)]
Merge branch 'bugfix/i2s_set_pin_valid_gpio' into 'master'
change to GPIO_IS_VALID_OUTPUT_GPIO for data out pin
See merge request !764
Jiang Jiang Jian [Thu, 12 Oct 2017 10:18:33 +0000 (18:18 +0800)]
Merge branch 'bugfix/ledc_duty_type_change' into 'master'
ledc_get_duty return type changed from int to uint32_t, target_duty changed from int to uint32_t
See merge request !752
Jiang Jiang Jian [Thu, 12 Oct 2017 10:11:49 +0000 (18:11 +0800)]
Merge branch 'feature/btdm_ibeacon' into 'master'
component/bt: add ibeacon demo
See merge request !1028
Jiang Jiang Jian [Thu, 12 Oct 2017 09:56:05 +0000 (17:56 +0800)]
Merge branch 'feature/btdm_eddystone' into 'master'
component/bt: Add eddystone demo
See merge request !1076
Jiang Jiang Jian [Thu, 12 Oct 2017 09:51:58 +0000 (17:51 +0800)]
Merge branch 'bugfix/tw15438_mem_leak_on_wifi_start_stop_loop' into 'master'
Release DHCP structure memory when netif is down.
See merge request !1386
Jiang Jiang Jian [Thu, 12 Oct 2017 09:45:32 +0000 (17:45 +0800)]
Merge branch 'bugfix/btdm_set_sec_properity_error' into 'master'
component/bt: Fix bug of set sec properity error
See merge request !1336
Jiang Jiang Jian [Thu, 12 Oct 2017 09:39:29 +0000 (17:39 +0800)]
Merge branch 'bugfix/fail_to_connect_in_wps' into 'master'
WiFi :bug fix of fail to connect in wps
See merge request !1384
XiaXiaotian [Thu, 12 Oct 2017 09:03:44 +0000 (17:03 +0800)]
Release DHCP structure memory when netif is down.
Angus Gratton [Thu, 12 Oct 2017 05:20:28 +0000 (13:20 +0800)]
Merge branch 'bugfix/wifi_tx_buffer_doc' into 'master'
wifi docs: Clarify WIFI_DYNAMIC_TX_BUFFER_NUM config item limit
See merge request !1375
Angus Gratton [Thu, 12 Oct 2017 05:19:07 +0000 (13:19 +0800)]
Merge branch 'feature/esp32_pico_kit_getting_started_guide' into 'master'
ESP32-PICO-KIT Getting Started Guide
See merge request !1348
Angus Gratton [Wed, 11 Oct 2017 04:38:26 +0000 (15:38 +1100)]
wifi docs: Clarify WIFI_DYNAMIC_TX_BUFFER_NUM config item limit
Setting WIFI_DYNAMIC_TX_BUFFER_NUM to zero is not possible.
Also edit some of the related config docs a little.
Deng Xin [Thu, 12 Oct 2017 04:01:11 +0000 (12:01 +0800)]
bug fix of fail to connect in wps
Jiang Jiang Jian [Wed, 11 Oct 2017 10:44:18 +0000 (18:44 +0800)]
Merge branch 'bugfix/fail_to_reconnect_after_reboot' into 'master'
Wifi: bugfix of fail to reconnect after reboot
See merge request !1378
Deng Xin [Wed, 11 Oct 2017 09:58:36 +0000 (17:58 +0800)]
Wifi: bugfix of fail to reconnect after reboot
fix the issue fail to reconnect after reboot