zhiweijian
b06ea40f66
Component/bt: modify set mtu call handler
2018-01-31 11:28:05 +08:00
Ivan Grokhotkov
7b32aaa151
spiffs: reformat Kconfig to 80 character wide lines
...
Some help strings looked odd in mconf.
2018-01-31 11:14:56 +08:00
Ivan Grokhotkov
594d5c1436
spiffs: check if OBJ_NAME_LEN + OBJ_META_LEN is within limits
...
The limit was mentioned in spiffs_config.h but was not checked.
Fixes https://github.com/espressif/esp-idf/issues/1546
2018-01-31 11:14:56 +08:00
Ivan Grokhotkov
507a3a6391
spiffs: add Kconfig option for logical page size
2018-01-31 11:14:56 +08:00
Angus Gratton
d8c80509bc
Merge branch 'feature/io_mux_register_names' into 'master'
...
soc/esp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM
See merge request idf/esp-idf!1875
2018-01-31 10:50:41 +08:00
Angus Gratton
2e33dbf766
Merge branch 'bugfix/esp_log_level_set_strcmp' into 'master'
...
Fix esp_log_level_set string matching (github PR 1557)
See merge request idf/esp-idf!1872
2018-01-31 09:58:21 +08:00
Angus Gratton
4297c337f9
esp32: Add IO_MUX_GPIOxx register names to match iomux names used in TRM
...
The TRM describes IOMUX registers are IO_MUX_x_REG for x in GPIO0-39.
Until now ESP-IDF describes them as PERIPHS_IO_MUX_(pinname)_U
This commit adds additional IOMUX register names which match the ones used in the TRM.
2018-01-30 17:09:37 +08:00
Liu Zhi Fu
2242bf9b37
lwip/esp32/examples: wifi throughput optimizations
...
1. Put some lwip udp rx/tx relating functions to IRAM
2. Put some wifi rx/tx relating functions to IRAMa
3. Reduce wifi dynamic malloc from 4 to 1 for each ebuf
4. Update iperf example accordingly
5. Update libphy.a to v383
2018-01-30 16:27:49 +08:00
wangmengyang
00db39ee1b
component/bt: make A2DP source and sink task size configurable through menuconfig
...
1. use different set of parameters for A2DP source/sink tasks
2. make the task stack size configurable through menuconfig
2018-01-30 14:26:53 +08:00
michael
be96e1db95
fix(spi): fix typo of LSBFIRST macro.
...
Closes https://github.com/espressif/esp-idf/issues/1480 , Closes https://github.com/espressif/esp-idf/issues/1464
2018-01-29 17:44:37 +08:00
michael
8900200147
fix(spi_master): fix the variable command and address flag issue.
...
Closes https://github.com/espressif/esp-idf/issues/1549
2018-01-29 17:44:36 +08:00
michael
60469c500a
fix(spi): fix pin issue with GPIO0 (other pins than CS).
2018-01-29 17:44:36 +08:00
Ivan Grokhotkov
0f22a53fc2
Merge branch 'bugfix/sysview_timer_1core' into 'master'
...
sysview: fix compilation in 1 core mode, refactor timer choices
See merge request idf/esp-idf!1822
2018-01-29 17:28:59 +08:00
Ivan Grokhotkov
d3d2c077f9
Merge branch 'bugfix/log_invalid_comparison' into 'master'
...
log: fix preprocessor comparison against an enum value
See merge request idf/esp-idf!1865
2018-01-29 17:26:43 +08:00
yulong
06dcca0fcd
component/bt: Fixed the bug of ble multi connection not stable issue.
2018-01-29 14:27:03 +08:00
Ivan Grokhotkov
00da9c1cab
Merge branch 'bugfix/esp_console_header_guards' into 'master'
...
console: Add C++ guards to header
See merge request idf/esp-idf!1867
2018-01-29 14:15:12 +08:00
Angus Gratton
1249659931
Merge branch 'bugfix/system_restore_duplicate' into 'master'
...
esp32: remove duplicate definition of system_restore
See merge request idf/esp-idf!1864
2018-01-29 14:02:02 +08:00
Angus Gratton
2536d50d2e
console: Add C++ guards to header
...
As reported on forum https://esp32.com/viewtopic.php?f=2&t=4478&p=19659
2018-01-29 09:22:04 +08:00
David Ashley
750c8c00c8
This is a fix for the esp_log_level_set function. The problem is when this
...
function is called but NOT withe the same 'c' string constant that the LOG*
calls used in each module, the cache check doesn't match, so the cached
entry won't get updated. There's no point in optimizing this function
anyway because it is only called rarely.
2018-01-28 16:47:07 -06:00
Ivan Grokhotkov
527be440f8
log: fix preprocessor comparison against an enum value
...
Fix `#if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO)` which is always false and
produces a warning with -Wundef.
Use same pattern to compare LOG_LOCAL_LEVEL with ESP_LOG_INFO as is used
in definition of `ESP_LOG_BUFFER_HEX_LEVEL` and
`ESP_LOG_BUFFER_CHAR_LEVEL`.
Also reformat existing definitions for better readability.
Closes https://github.com/espressif/esp-idf/issues/1526
2018-01-28 19:45:25 +08:00
Ivan Grokhotkov
1979235df2
esp32: remove duplicate definition of system_restore
...
Fixes https://github.com/espressif/esp-idf/issues/1520 .
2018-01-28 19:26:37 +08:00
wangmengyang
90c9ffa975
component/bt: free timer resources after using them
...
Bluedroid use a set of timer function pairs such as btu_start_timer/btu_stop_timer, btu_sys_start_timer/btu_sys_stop_timer for use, in a lack of timer release functions. Thus the timers may be exhausted after some event sequence such as repetition of connection/reconnection with different devices. The maximum timer number used in bluedroid is given by ALARM_CBS_NUM which is 30 for now. This bugfix borrowed some update from bluedroid in Andoroid 7.0, which add timer release functions which promote the recycle of timer resources.
2018-01-27 19:03:06 +08:00
Jiang Jiang Jian
daa8cfa800
Merge branch 'bugfix/btdm_fix_stop_adv_no_callback_when_adv_has_been_stoped' into 'master'
...
Component/bt: fix stop adv no callback when adv has already stoped
See merge request !1838
2018-01-26 20:37:12 +08:00
Jiang Jiang Jian
4cbc0198a0
Merge branch 'bugfix/btdm_fix_BT_load_boned_in_smp' into 'master'
...
Component/bt: fix bt load boned in smp
See merge request !1854
2018-01-26 20:34:24 +08:00
wangmengyang
95af1c22b5
components/phy: add IRAM_ATTR attribute to the two APIs used in phy calibration
...
1. the two APIs used in phy calibration are called in bluetooth baseband ISR, so locate the them in IRAM
2018-01-26 17:12:59 +08:00
zhiweijian
41f338d23c
Component/bt: fix bt load boned in smp
2018-01-26 14:38:54 +08:00
Jiang Jiang Jian
5b1f869880
Merge branch 'feature/btdm_bluedroid_env_dynomic_malloc_enable' into 'master'
...
This MR added the bluedroid env variable can dynamic malloc and BT variable use psram malloc supported
See merge request !1698
2018-01-26 10:06:43 +08:00
XiaXiaotian
1bc87e972b
Added two functions in PHY API for disable interrupts and add rfcal data checking to PHY
2018-01-25 17:58:14 +08:00
zhiweijian
d54e188e61
Component/bt: fix stop adv no callback when adv has been stoped
2018-01-25 15:31:17 +08:00
Jiang Jiang Jian
c73ea7a804
Merge branch 'bugfix/wifi_fix_sniffer_rx_misc_data_assert' into 'master'
...
Fix the bug that in sniffer mode it asserts when receive misc data at first
See merge request !1837
2018-01-25 14:09:46 +08:00
Jiang Jiang Jian
b98da5da97
Merge branch 'bugfix/btdm_classicbt_pscan_assert' into 'master'
...
component/bt : fix the bug of pscan when interrupt react slowly
See merge request !1816
2018-01-25 13:52:00 +08:00
Jiang Jiang Jian
62fade9970
Merge branch 'bugfix/btdm_fix_bonded_device_list_error_after_reboot' into 'master'
...
component/bt: fix bonded device list error after reboot
See merge request !1750
2018-01-25 12:05:58 +08:00
XiaXiaotian
cdd7a87674
Fix the bug that in sniffer mode it asserts when receive misc data at first
...
close github issue#1037 WiFi Promiscuous filter breaks w/
WIFI_PROMIS_FILTER_MASK_ALL and issue#1404
esp_wifi_set_promiscuous_filter set WIFI_PROMIS_FILTER_MASK_ALL error
2018-01-24 16:06:53 +08:00
Yulong
63e5cbbd66
component/bt: Added the bluedroid environment variable dynomic malloc support & support to malloc the memory to the psram.
...
component/bt: Added the Macro for the classic BT support.
component/bt: added the bluedroid deinit method.
component/bt: allow more classic BT global variables to use dynamic allocation scheme
1. allocate memory for AVDT, AVCT control blocks when dynamic memory is used
2. allow SBC decoder buffer to use dynamic allocation scheme
component/bt: Remove the wrong changes in bt/Kconfig & Added the GATTS_INCLUDED in the gatt_free function when gatt service close.
component/bt: Shorten the abbreviation BT_ALLOCATION_FROM_SPIRAM_FIRST and BT_BLE_DYNAMIC_ENV_MEMORY two macros.
2018-01-24 15:18:02 +08:00
Angus Gratton
6736908eaf
esptool: Update to v2.2.1
...
Fixes a bug with >230400bps flashing on macOS, possibly other platforms.
Full release notes: https://github.com/espressif/esptool/releases/tag/v2.2.1
2018-01-24 17:45:49 +11:00
Angus Gratton
2a10ffce5f
Merge branch 'feature/dma_attr' into 'master'
...
feat(attr): add new macro `DMA_ATTR` and `STATIC_DMA_ATTR` to help dma buffer declaration.
See merge request !1550
2018-01-24 12:04:03 +08:00
michael
fcfcab7678
feat(attr): add new macro DMA_ATTR
and WORD_ALIGNED_ATTR
to help dma buffer declaration.
2018-01-24 11:28:14 +08:00
Angus Gratton
d89542eb2b
Merge branch 'bugfix/uart_pattern_detect' into 'master'
...
bugfix(uart): patten detect function
See merge request !1235
2018-01-24 06:12:48 +08:00
Jiang Jiang Jian
ce2e4cbc4f
Merge branch 'bugfix/log_hex_buffer_pr1519' into 'master'
...
Fix hexdump comment and array size. See issue #1518 .
See merge request !1832
2018-01-23 22:45:41 +08:00
Ivan Grokhotkov
90ad7b423c
unit tests: make static init guard test single core compatible
2018-01-23 07:56:13 +00:00
Ivan Grokhotkov
ffaf145056
Merge branch 'bugfix/xtal_freq_estimation' into 'master'
...
soc/rtc_clk: fix loss of precision in estimation of XTAL frequency
See merge request !1763
2018-01-23 15:37:47 +08:00
Ivan Grokhotkov
02821571dd
Merge branch 'bugfix/xRingbufferSend_timeout_bug' into 'master'
...
bugfix(ringbuffer): Fix ringbuffer_send timeout bug
See merge request !1823
2018-01-23 15:37:13 +08:00
Angus Gratton
ffd4187883
Merge branch 'feature/esptool_v2_2' into 'master'
...
esptool: Update to v2.2
See merge request !1755
2018-01-23 08:36:52 +08:00
Angus Gratton
84741e85e7
Merge branch 'feature/aws-iot-sdk-v2.2.1' into 'master'
...
AWS IoT SDK: Update version from v2.1.1 to v2.2.1
See merge request !1732
2018-01-23 08:33:38 +08:00
me-no-dev
4fa130ae4f
mdns: Fix case where service is NULL and that will cause exception
2018-01-22 13:56:53 +01:00
me-no-dev
51dde19a76
mdns: Fix issue with some mDNS parsers
...
Some mDNS parser have issue with zero terminated TXT lists. This fix targets to overcome this issue. Found and tested with jmdns.
2018-01-22 13:56:34 +01:00
Jiang Jiang Jian
8af04997f3
Merge branch 'bugfix/dump_other_core_when_int_wdt_happens' into 'master'
...
Dump the frame of the other core when interrupt watchdog happens
See merge request !1787
2018-01-22 19:52:05 +08:00
Jiang Jiang Jian
84b92a4ead
Merge branch 'feature/btdm_add_get_error_enent_for_blufi' into 'master'
...
component/bt: add error report event for blufi
See merge request !1702
2018-01-22 19:48:29 +08:00
kooho
a0a2422541
bugfix(ringbuffer): Fix ringbuffer_send timeout bug
2018-01-22 14:17:58 +08:00
Wangjialin
870efdb9d4
bugfix(uart): patten detect function
...
requirement from github(https://github.com/espressif/esp-idf/issues/805 ): to provide the position in the buffer of the pattern detected.
requirement from AT application: in AT app, when no hardware flow control is enabled, in some situation the rx buffer might be full, and the terminator “+++” might be lost, we can use pattern detect interrupt to avoid missing the terminator. When pattern detect interrupt happens, it will not send a data event at the same time.
1. Add API to get position of detected pattern in rx buffer
2. Modify UART event example
3. Add comments for uart_flush, add alias API uart_flush_input to clear the rx buffer
4. Modify the way rx_buffered_len is calculated
2018-01-22 13:33:51 +08:00
David Antliff
19f10c4960
Fix hexdump comment and array size. See issue #1518 .
...
Closes https://github.com/espressif/esp-idf/pull/1518
Merges https://github.com/espressif/esp-idf/pull/1519
2018-01-22 16:25:09 +11:00
Jack
624828ce83
Dump the frame of the other core when interrupt watchdog happens
2018-01-18 23:10:29 +00:00
zhiweijian
1861d6e137
Component/bt: fix bonded device list error after reboot
2018-01-17 19:54:49 +08:00
Piyush Shah
b66d80ed95
ringbuf: Fix warnings seen when CONFIG_FREERTOS_ASSERT_DISABLE=y
...
Signed-off-by: Piyush Shah <piyush@espressif.com>
2018-01-17 16:30:05 +08:00
Ivan Grokhotkov
c3d8215728
sysview: fix compilation in 1 core mode, refactor timer choices
...
Changes related to DFS have broken compilation of sysview code in 1 core
mode. This change fixes this, and moves choice of the timer used for
timestamp into Kconfig. CCOUNT timer is only available as an option if
1 core mode is used. esp_timer is added as a new option, and is the
only available option if DFS is enabled.
2018-01-17 12:23:28 +08:00
Tian Hao
b617118df3
component/bt : fix the bug of pscan when interrupt react slowly
2018-01-17 11:48:23 +08:00
Ivan Grokhotkov
429371c182
Merge branch 'feature/mdns_again' into 'master'
...
New mDNS implementation
See merge request !1683
2018-01-16 18:38:42 +08:00
Jiang Jiang Jian
f0ed404448
Merge branch 'bugfix/btdm_pair_fail_with_random_address' into 'master'
...
component/bt: Fix bug when pair with random address
See merge request !1784
2018-01-16 18:17:45 +08:00
zhiweijian
cf91ad32dc
Component/bt: add get error event for blufi
2018-01-16 17:29:48 +08:00
me-no-dev
4bddbc031c
Import mDNS changes
2018-01-16 10:58:34 +02:00
Jiang Jiang Jian
f2e51bc08a
Merge branch 'bugfix/btdm_discon_when_upd_conn_params_in_smp' into 'master'
...
component/bt: fix disconnect after connection params update in smp
See merge request !1804
2018-01-16 16:41:18 +08:00
Jiang Jiang Jian
ee0af80843
Merge branch 'bugfix/btdm_fix_conn_params_update_failed_in_SMP' into 'master'
...
component/bt: fix conn params update failed in smp
See merge request !1796
2018-01-16 16:38:22 +08:00
baohongde
088dc40e48
component/bt: Fix bug when pair with random address
2018-01-16 08:35:26 +00:00
Jiang Jiang Jian
0ef0db08d5
Merge branch 'feature/btdm_add_get_wifi_list_for_blufi' into 'master'
...
component/bt: add get wifi list cmd for blufi
See merge request !1708
2018-01-16 16:31:55 +08:00
Angus Gratton
f620a3c4f3
Merge branch 'bugfix/int_wdt_in_ocd_mode' into 'master'
...
panic: prevent INT WDT from re-triggering in OCD mode
See merge request !1764
2018-01-16 15:07:26 +08:00
chensheng
c9607e9753
test: fix BLE update conn param test case errors
2018-01-16 13:39:12 +08:00
Wu Jian Gang
c25be19ebf
Merge branch 'bugfix/multi_ping_crash' into 'master'
...
fix(ping): fix crash when multi-ping
See merge request !1768
2018-01-16 09:05:32 +08:00
zhiweijian
4d2c3edc07
Component/bt: add get wifi list cmd for blufi
2018-01-15 12:16:19 +00:00
Jiang Jiang Jian
cd54a95a7f
Merge branch 'feature/btdm_a2dp_src' into 'master'
...
Feature/btdm a2dp src
See merge request !1190
2018-01-15 18:55:01 +08:00
zhiweijian
0891ec35c7
component/bt: fix disconnect after connection params update in smp
2018-01-15 17:03:56 +08:00
zhiweijian
f165927272
Component/bt: fix update connection params error in smp
2018-01-15 15:38:08 +08:00
Chen Wu
ffc2db0a35
fix(ping): fix crash when multi-ping
...
1. "lwip_socket" should close by "lwip_close_r" other than "lwip_close"
2. for generally compatible, fix all lwip interface to normally socket interface
3. call vTaskDelete when new socket failed in case of task crash
close #https://github.com/espressif/esp32-at/issues/58
2018-01-12 15:54:07 +08:00
kooho
492db0591d
Fix uart fifo overflow bug
2018-01-12 14:42:54 +08:00
Ivan Grokhotkov
2ddee72996
Merge branch 'feature/toolchain-80-g6c4433a' into 'master'
...
Toolchain: Update to version 1.22.0-80-g6c4433a
See merge request !1771
2018-01-11 21:44:42 +08:00
Ivan Grokhotkov
914ab07567
Merge branch 'feature/ulp_i2c_reg' into 'master'
...
soc,ulp: add register definitions of RTC_I2C peripheral
See merge request !1762
2018-01-11 12:08:25 +08:00
Angus Gratton
38e15e6241
build: Remove explict -lstdc++-psram-workaround
...
This is now handled internally to the toolchain.
2018-01-11 10:32:02 +11:00
Jiang Jiang Jian
16391c2748
Merge branch 'bugfix/full_calibration_will_not_use_init_data' into 'master'
...
Fix bug that when we do full calibration init data bin is not used
See merge request !1746
2018-01-10 17:01:53 +08:00
Jiang Jiang Jian
675844c4bb
Merge branch 'bugfix/assert_in_PSRAM_WIFI' into 'master'
...
bug fix of assert happen in PSRAM
See merge request !1745
2018-01-10 16:47:40 +08:00
Angus Gratton
e9ca1dc9b0
Merge branch 'feature/rmt_end_transmission_callback' into 'master'
...
rmt: Adds a simple handler that can be called when transmission ends.
See merge request !1726
2018-01-10 04:59:26 +08:00
wangmengyang
f360fe5b3e
component/bt: implement A2DP source
...
1. Modified symbol names of A2DP sink APIs include:
- esp_a2d_data_cb_t --> esp_a2d_sink_data_cb_t
- esp_a2d_register_data_callback --> esp_a2d_sink_register_data_callback
2018-01-09 20:20:52 +08:00
Deng Xin
337f790fd3
bug fix of assert happen in PSRAM
2018-01-09 20:01:06 +08:00
Jiang Jiang Jian
3452845063
Merge branch 'bugfix/btdm_avrc_connect_state_evt' into 'master'
...
Bugfix/btdm avrc connect state evt
See merge request !1717
2018-01-09 19:33:06 +08:00
Jiang Jiang Jian
6daa52d2ca
Merge branch 'bugfix/update_bt_lib_with_updated_toolchain_for_master' into 'master'
...
component/bt: build libbtdm_app.a with updated toolchain
See merge request !1728
2018-01-09 16:55:45 +08:00
wangmengyang
e07b43e924
component/bt: add AVRC event for remote features indication
...
1. remove the feature mask parameter from AVRC connection state event, as the AVCTP connection can be initiated by remote device before service discovery to remote device is performed. \
In this case, AVRCP connection state event may not be reported after connection initated by remote device is established.
2. remove ESP_AVRC_CT_MAX_EVT
3. add more documentations to AVRC APIs
2018-01-09 16:33:48 +08:00
Jack
11c0daef62
Fix bug that when we do full calibration init data bin is not used
2018-01-09 15:31:34 +08:00
Jiang Jiang Jian
ff726b4c79
Merge branch 'bugfix/btdm_fix_cant_remove_boned_device_if_its_connected' into 'master'
...
Component/bt: fix can not remove boned device if it is connected
See merge request !1758
2018-01-09 11:42:45 +08:00
Jiang Jiang Jian
c147d7b03e
Merge branch 'feature/btdm_bt_spp' into 'master'
...
component/bt: Add bt spp profile
See merge request !1593
2018-01-09 10:44:46 +08:00
Ivan Grokhotkov
8e8cb1a139
panic: prevent INT WDT from re-triggering in OCD mode
...
When INT WDT fires, panicHandler is invoked. In OCD mode, panicHandler
sets a breakpoint on the PC from the exception frame and returns.
However in case of INT WDT, interrupt flag is still set in TIMERG1
peripheral, which causes INT WDT to trigger again. This causes an
endless stream of "Core 0 panic'ed (Interrupt wdt timeout on CPU1)"
messages. OpenOCD also gets terribly confused at this point.
Disable watchdogs when exiting panic handler in OCD mode.
Clear TIMERG1 WDT interrupt flag to prevent re-entry into panic handler.
2018-01-09 01:46:24 +08:00
Ivan Grokhotkov
7c584e80b0
soc/rtc_clk: fix loss of precision in estimation of XTAL frequency
...
RTC_FAST_CLK_FREQ_APPROX is defined as 8500000, so 0.5MHz part was lost
when dividing by MHZ. Since cal_val is 64-bit the parens can be removed.
With 40MHz XTAL for a nominal ESP32 chip, this fixes estimated XTAL
frequency from 38 to 40MHz.
2018-01-08 23:31:21 +08:00
Ivan Grokhotkov
dba291416f
soc,ulp: add register definitions of RTC_I2C peripheral
2018-01-08 21:28:14 +08:00
Jiang Jiang Jian
0cd97cecb2
Merge branch 'bugfix/btdm_error_when_add_device_to_whitelist_twice' into 'master'
...
component/bt: Fix bug when add device to whitelist twice
See merge request !1700
2018-01-08 19:16:34 +08:00
zhiweijian
831b2c0441
Component/bt: fix can not remove boned device if it is connected
2018-01-08 17:55:00 +08:00
Ivan Grokhotkov
f61dcf4d1a
Merge branch 'bugfix/freertos_eventgroup_isr_test' into 'master'
...
freertos/Fix Event Group ISR test case
See merge request !1733
2018-01-08 16:51:27 +08:00
Ivan Grokhotkov
ddf3d92a25
Merge branch 'bugfix/esp_log_local_level' into 'master'
...
Log: fix definition of LOG_LOCAL_LEVEL, fix typos
See merge request !1747
2018-01-08 16:41:42 +08:00
Angus Gratton
da1bf60904
esptool: Update to v2.2
2018-01-08 11:45:09 +11:00
Angus Gratton
f9ad17eee4
Merge branch 'bugfix/BLE_SM_Security_Flags_pr1320' into 'master'
...
bt: Fix ble sm security flags (Github PR 1320)
See merge request !1740
2018-01-08 07:35:19 +08:00
Jiang Jiang Jian
a1b59679f9
Merge branch 'bugfix/btdm_standardize_code' into 'master'
...
component/bt: Standardize code
See merge request !1696
2018-01-05 18:56:08 +08:00
baohongde
d2663c866e
component/bt: Add SPP profile
2018-01-05 16:48:29 +08:00
Jiang Jiang Jian
4d4c055a1a
Merge branch 'bugfix/recompile_with_new_psram_toolchain' into 'master'
...
recompile wifi lib with new toolchain 1.22.0-78-g4b87650
See merge request !1730
2018-01-05 16:40:30 +08:00
Ivan Grokhotkov
3a6962b8ec
log: fix typos in header files
2018-01-05 16:10:58 +08:00
Ivan Grokhotkov
6a5c105753
log: define LOG_LOCAL_LEVEL before using it, don't use type cast
...
LOG_LOCAL_LEVEL is now used in a construct like:
#if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO)
Make sure that LOG_LOCAL_LEVEL is defined, and don't use a type cast in
its definition, because preprocessor can not parse that.
2018-01-05 16:10:58 +08:00
Angus Gratton
2227c44254
rmt: Add void * argument for end-of-transmission callback
...
Ref https://github.com/espressif/esp-idf/pull/1174
2018-01-05 17:31:59 +11:00
Krzysztof Bociurko
1066c74b74
rmt: Adds a simple handler that can be called when transmission ends.
...
Merges https://github.com/espressif/esp-idf/pull/1174
2018-01-05 17:14:02 +11:00
Ivan Grokhotkov
30aacb79d5
Merge branch 'bugfix/uart_semaphore_pr1387' into 'master'
...
uart driver: Remove unnecessary xSemaphoreGive()
See merge request !1739
2018-01-05 11:05:05 +08:00
Angus Gratton
eb659e401d
Merge branch 'feature/esp_intr_set_in_iram' into 'master'
...
Add esp_intr_set_in_iram (Github PR)
See merge request !1629
2018-01-04 06:04:05 +08:00
Angus Gratton
6e23ee704b
Merge branch 'refactor/spi_clk_pre_cal' into 'master'
...
bugfix(spi_master): improve spi time cost for each transfer.
See merge request !1670
2018-01-04 06:03:12 +08:00
Tim Cook
2b24177d2b
n btm_sec_save_le_key() set BTM_SEC_LE_LINK_KEY_KNOWN (and BTM_SEC_LE_LINK_KEY_AUTHED if MITM was used) when process a local Long Term Key (key type BTM_LE_KEY_LENC). This is because these flags share bits with the BTM_SEC_FLAG_LKEY_KNOWN (and BTM_SEC_FLAG_LKEY_AUTHED) flag in btm_api.h. Without this code a link that is encrypted via SM pairing where only the local device exchanges the LTK (peer does not send its LTK) will not allow GATT operations that require encryption (request will be incorrectly rejected with insufficient authentication reason, regardless of if MITM is required).
...
Merges https://github.com/espressif/esp-idf/pull/1320
2018-01-03 14:14:24 +11:00
Tim Cook
5b87177831
set ble_rsp_key member of structure bte_appl_cfg in function bta_dm_co_ble_set_rsp_key_req (function incorrectly uses ble_init_key member).
...
Merges https://github.com/espressif/esp-idf/pull/1320
2018-01-03 14:14:24 +11:00
Alexey Morozov
25b8642835
uart driver: Remove unnecessary xSemaphoreGive()
...
avoid unnecessary call of xSemaphoreGive(p_uart_obj[uart_num]->tx_mux);
Merges https://github.com/espressif/esp-idf/pull/1387
2018-01-03 13:44:19 +11:00
baohongde
2530e0aeb9
component/bt: Standardize code
...
Reported from github:
https://github.com/espressif/esp-idf/issues/1402
https://github.com/espressif/esp-idf/issues/1403
2018-01-03 10:31:30 +08:00
JoveToo
6746d31620
fix typo
...
Merges https://github.com/espressif/esp-idf/pull/1430
2018-01-03 10:50:50 +11:00
Per Malmberg
f7f52414ec
Removed logging in RMT driver which skews the timing. Issue #1345
...
Merges https://github.com/espressif/esp-idf/pull/1450
2018-01-03 10:50:03 +11:00
Darian Leung
9df9e2363e
freertos/Fix Event Group ISR test case
...
This commit fixes and reimplements the Event Group ISR test case. The test
case tests xEventGroupSetBitsFromISR() and xEventGroupClearBitsFromISR()
2018-01-02 18:57:28 +08:00
baohongde
e55b5433aa
component/bt: Fix bug when add device to whitelist twice
2018-01-02 17:20:34 +08:00
Jiang Jiang Jian
c401a74bfb
Merge branch 'bugfix/btdm_aes_encrypt_workaround' into 'master'
...
component/bt: disable Secure Connections to workaround AES encryption issue
See merge request !1719
2018-01-02 16:15:39 +08:00
XiaXiaotian
3fd421ab01
recompile wifi lib with new toolchain 1.22.0-78-g4b87650
2018-01-02 14:23:37 +08:00
Angus Gratton
b16e1d84d0
AWS IoT SDK: Update version from v2.1.1 to v2.2.1
...
Closes https://github.com/espressif/esp-idf/issues/1355
2018-01-02 13:46:58 +11:00
Angus Gratton
e798957d16
Merge branch 'bugfix/ci_log_examples' into 'master'
...
Fix a sporadic bug in building of the examples
See merge request !1723
2018-01-02 07:55:26 +08:00
wangmengyang
ba06683834
component/bt: build libbtdm_app.a with updated toolchain
2017-12-29 15:31:11 +08:00
Ivan Grokhotkov
f82048018b
Merge branch 'bugfix/i2c_regression' into 'master'
...
Bugfix/i2c regression (Github PR 1443)
See merge request !1725
2017-12-29 15:19:38 +08:00
Per Malmberg
f2370b2830
Removed logging from pthread conditional variable which completely drowned out any other logging and also had negative effects on the RMT due to sharing the same log system. Related to #1345 / TW#16842
2017-12-28 15:21:00 +01:00
Per Malmberg
5fb16d9b2b
Fix regression in i2c_master_read() which rejected all data lenths.
2017-12-28 14:54:15 +01:00
Anton Maklakov
301751ede0
build system: Fix undefined variables
...
make/project.mk:315: warning: undefined variable `CC'
make/project.mk:316: warning: undefined variable `LD'
make/project.mk:317: warning: undefined variable `AR'
make/project.mk:62: warning: undefined variable `MAKECMDGOALS'
components/partition_table/Makefile.projbuild:24: warning: undefined variable `quote'
components/bootloader/Makefile.projbuild:123: warning: undefined variable 'BOOTLOADER_DIGEST_BIN'
components/bootloader/Makefile.projbuild:123: warning: undefined variable 'SECURE_BOOTLOADER_KEY'
2017-12-28 19:21:34 +08:00
Ivan Grokhotkov
98dff491c8
Merge branch 'bugfix/static_mem_workaround' into 'master'
...
esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround
See merge request !1704
2017-12-28 18:52:47 +08:00
wangmengyang
1bbd67f7d7
component/bt: disable Secure Connections(Host Supported) of classic Bluetooth to workaround AES encryption issue in controller
...
1. ESP32 is found to suffer from AES encryption start/resume failure with specific device. Therefore temporarily disable BR/EDR Secure Connections for a workaround
2. BR/EDR Secure Connections is a feature for BT Classic introduced in Bluetooth 4.1. This change disables the setting of Secure Connections(Host Supported), and will result in the use of legacy authentication instead of secure authentication, and E0 encryption(legacy) instead of AES-CCM encryption. BLE security procedures are not affected.
2017-12-28 14:51:19 +08:00
michael
2552fdccd1
chore(spi): add log to show native pins or not when configure pins.
2017-12-28 12:03:29 +08:00
michael
f4be6ac84d
fix(spi_master): fix the logic in the ISR to prevent re-config registers when device is not changed.
2017-12-28 12:03:29 +08:00
michael
7a7b8fc182
refactor(spi_master): move the clock calculation from ISR to initialization.
2017-12-28 12:03:28 +08:00
Jiang Jiang Jian
7d0d2854d3
Merge branch 'bugfix/btdm_error_when_white_list_is_full' into 'master'
...
component/bt: Fix bug of adding device to white list has no callback when while list is full
See merge request !1689
2017-12-27 18:03:38 +08:00
Jiang Jiang Jian
566fab02df
Merge branch 'bugfix/btdm_disconnect_fail_during_pairing' into 'master'
...
component/bt: Fix bug of disconnected fail during pairing
See merge request !1672
2017-12-27 18:03:13 +08:00
Ivan Grokhotkov
cbfd162ea8
Merge branch 'bugfix/idle_task_deletes_currently_running_task' into 'master'
...
freertos: prvCheckTasksWaitingTermination bugfix
See merge request !1686
2017-12-27 16:44:06 +08:00
Jiang Jiang Jian
8051ac469a
Merge branch 'cherry-pick-4837f939-2' into 'master'
...
esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct
See merge request !1695
2017-12-27 11:43:52 +08:00
Jiang Jiang Jian
d31b654f3f
Merge branch 'bugfix/btdm_fix_memory_leak_for_SMP' into 'master'
...
component/bt: fix memory leak in SMP
See merge request !1690
2017-12-27 11:43:18 +08:00
Angus Gratton
ec7cac5fe8
Merge branch 'feature/docs_update_rmt_api' into 'master'
...
RMT API docs update, new example
See merge request !1564
2017-12-27 09:23:47 +08:00
Angus Gratton
f8580ea98f
esp32: Change 192KB runtime static limit workaround to a 176KB link time workaround
...
Turns out some app memory around 0x3ffdc000 is also used by APP CPU.
This is a workaround until code to remove the 176KB limit is committed.
2017-12-27 11:59:54 +11:00
kooho
d78be97154
add NACK for the last byte to read
2017-12-26 21:50:18 +08:00
Darian Leung
c41c02872f
freertos: prvCheckTasksWaitingTermination bugfix
...
Bugfix to prevent a self deleting no affinity task's memory from being freed by the
idle task of the other core before the self deleting no affinity task is able to context
switch out. prvCheckTasksWaitingTermination now checks if the task is still on
pxCurrentTCB before freeing task memory.
2017-12-26 19:03:49 +08:00
baohongde
1de63e9d90
component/bt: Fix bug of disconnected fail during pairing
2017-12-25 19:24:06 +08:00
baohongde
f5f8dda8a2
component/bt: Fix bug of adding device to white list has no callback when while list is full
2017-12-25 17:45:12 +08:00
Ivan Grokhotkov
6c2562ceb4
Merge branch 'bugfix/spiram_fails_after_esp_restart' into 'master'
...
Make psram function after an esp_restart as well.
See merge request !1694
2017-12-21 13:40:10 +08:00
Jiang Jiang Jian
a567de1576
Merge branch 'feature/btdm_classic_discovery' into 'master'
...
component/bt: implement Classic Bluetooth GAP APIs for device and service discovery
See merge request !1576
2017-12-20 13:30:31 +08:00
zhiweijian
763406b4cc
Component/bt: fix memory leak in SMP
2017-12-20 10:30:31 +08:00
Jiang Jiang Jian
04e1195f41
Merge branch 'bugfix/btdm_send_data_length_req_after_read_feature_complete' into 'master'
...
component/bt: send data length request by host after read feature complete
See merge request !1639
2017-12-19 20:18:50 +08:00
Jack
0a1f81dc01
esp_timer:fix three bugs about timer get and timer alarm where overflow is not correct
2017-12-19 20:05:55 +08:00
Jeroen Domburg
569bfad2e3
Fix the clock subsystem so it doesn't undo the weird condition spiram_psram.c jams the enable/reset bits of SPI3 in when 80MHz mode is selected anymore
2017-12-19 19:12:58 +08:00
Jiang Jiang Jian
709d19f99e
Merge branch 'feature/eth_set_mac_addr' into 'master'
...
emac:add set_eth_mac api
See merge request !1604
2017-12-19 17:40:36 +08:00
Jiang Jiang Jian
9c2db2ea7a
Merge branch 'bugfix/btdm_optimiz_adv_cb_func' into 'master'
...
Bugfix/btdm optimiz adv cb func
See merge request !1619
2017-12-19 17:35:00 +08:00
Jiang Jiang Jian
956133387d
Merge branch 'bugfix/fix_some_wifi_bug' into 'master'
...
Fix some wifi bugs
See merge request !1680
2017-12-19 17:31:44 +08:00
Jiang Jiang Jian
9c5435c14a
Merge branch 'bugfix/btdm_mem_release' into 'master'
...
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
See merge request !1660
2017-12-19 17:31:09 +08:00
XiaXiaotian
32c0d74cc5
Close socket request will abort tcp write/connect
...
When tcp write/connect is running, close socket request will abort
it and continue to delete netconn and close tcp. Do not immediately
return after aborting tcp write/connect. Otherwise, tcp close
requeset will block and tcp write/connect will crash.
2017-12-19 15:20:50 +08:00
Ivan Grokhotkov
f8bda324ec
Merge branch 'bugfix/bootloader_v10_backwards_compat' into 'master'
...
esp32: Fix backwards compatibility for pre-v2.1 bootloaders
See merge request !1673
2017-12-18 17:20:08 +08:00
Jeroen Domburg
361bdcf78c
Merge branch 'feature/ringbuf_improvement' into 'master'
...
Feature/ringbuf improvement
See merge request !1571
2017-12-18 16:52:40 +08:00
Angus Gratton
c69af42b96
esp32: Fix backwards compatibility for pre-v2.1 bootloaders
...
Older bootloaders don't set RTC_XTAL_FREQ_REG or call rtc_clk_init(),
app needs to pick this up.
Reported at
https://esp32.com/viewtopic.php?f=2&t=3939&p=17836
2017-12-18 13:45:57 +11:00
Angus Gratton
496f6d2744
Merge branch 'bugfix/log_tag_variables_static' into 'master'
...
log: Remove non-static TAG variables
See merge request !1674
2017-12-18 07:06:36 +08:00
Angus Gratton
661d584ae7
Merge branch 'bugfix/i2c_fixes_pr1180' into 'master'
...
i2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects
See merge request !1551
2017-12-18 06:44:33 +08:00
XiaXiaotian
1e1db75aaa
Fix some wifi bugs
...
1. change first scanning channel to adjust different country code.
2. fix a bug that system crashes when station disconnects from AP.
2017-12-15 18:17:17 +08:00
Yulong
967ff895e7
component/bt: Optimized broadcast callback function, send the callback function to the application after the controller confirms receipt of the broadcast start.
...
1. optimiz the ble stop adv callback function.
2. added the osi_mutex_unlock in the bta_gattc_wait4_service_change_ccc_cback function when the p_timer_param == NULL || p_conn == NULL.
2017-12-15 18:16:23 +08:00
shangke
710e69feca
emac:add set_eth_mac api
2017-12-15 17:15:53 +08:00
Angus Gratton
8f874aaa0f
Merge branch 'bugfix/i2c_use_queue_instead_of_eventbit' into 'master'
...
bugfix(i2c): use queue instead of event group for internal commands
See merge request !1616
2017-12-15 13:54:03 +08:00
Angus Gratton
ea2afa83a8
log: Remove non-static TAG variables
2017-12-15 10:59:48 +11:00
Angus Gratton
17f3230305
Merge branch 'bugfix/heap_alloc_typo' into 'master'
...
fix typo for heap cap free size
See merge request !1669
2017-12-15 06:26:14 +08:00
Ivan Grokhotkov
1b619c0ec8
Merge branch 'bugfix/uart1_console' into 'master'
...
Fixes for console output on UART1
See merge request !1649
2017-12-14 13:36:34 +08:00
Ivan Grokhotkov
68bba96911
Merge branch 'bugfix/sdmmc_vfs_deinit' into 'master'
...
SDSPI bug fixes
See merge request !1647
2017-12-14 13:36:20 +08:00
Kewal
ae8a0bbf56
fix typo for heap cap free size
2017-12-14 10:39:26 +05:30
Ivan Grokhotkov
d2bd9cccd8
Merge branch 'feature/ulp_docs_update' into 'master'
...
ULP docs update
See merge request !1640
2017-12-13 15:36:36 +08:00
Tian Hao
65bdb2d7ff
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
...
1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()
2017-12-13 11:38:39 +08:00
Ivan Grokhotkov
1c314b34fc
Merge branch 'bugfix/rtc_time' into 'master'
...
Fix compilation issue when using RTC time only, update Kconfig help and source code
See merge request !1650
2017-12-13 11:10:45 +08:00
Ivan Grokhotkov
4839da4d98
Merge branch 'bugfix/fatfs_stat' into 'master'
...
Fix stat behavior for FATFS mount point
See merge request !1652
2017-12-13 11:10:27 +08:00
zhiweijian
6b6e0410f8
Component/bt: send data length request by host after read feature complete
2017-12-12 18:28:59 +08:00
Angus Gratton
ab6b7b4013
Merge branch 'feature/spiffs_mtime' into 'master'
...
Add optional mtime support in SPIFFS
See merge request !1579
2017-12-12 14:43:03 +08:00
Ivan Grokhotkov
a99483a727
docs: add information about execution time of ULP instructions
2017-12-11 14:05:41 +08:00
Angus Gratton
dcf94f2189
Merge branch 'bugfix/minor_fixes_github' into 'master'
...
Minor fixes from github
See merge request !1638
2017-12-11 12:51:41 +08:00
Ivan Grokhotkov
bee1afaf6d
time: rename time source option from FRC to "high-resolution timer"
...
libc time function now rely on esp_timer_get_time as the source of
high-resolution time, rather than FRC1 timer. Internally, on the ESP32
esp_timer implementation uses FRC2 timer.
- Change help text and labels in Kconfig to use "high-resolution timer"
instead of FRC1. Keep existing Kconfig option name to be backwards
compatible.
- Change references to "FRC1" in the source code to "FRC".
2017-12-11 12:37:08 +08:00
Ivan Grokhotkov
ca751648fa
ulp: document the need to wait for RTC to be ready for wakeup
2017-12-11 12:11:46 +08:00
Ivan Grokhotkov
b6a6973b44
ulp: mention that instructions array must be declared in local scope
...
Closes https://github.com/espressif/esp-idf/issues/1327
2017-12-11 12:11:46 +08:00
Angus Gratton
5fe1b2e365
Merge branch 'bugfix/openssl_alpn' into 'master'
...
openssl: add feature check for MBEDTLS_SSL_ALPN
See merge request !1648
2017-12-11 12:03:11 +08:00
Ivan Grokhotkov
dfee6e825a
vfs/fatfs: use structures with bit fields for FAT date/time
...
Replace explicit masks and shifts with bit fields when working with FATFS date and time representations. Also zero-initialize remaining members of struct tm.
Fixes https://github.com/espressif/esp-idf/issues/1369 .
2017-12-11 11:11:48 +08:00
Chuck Todd
d913fff6d7
i2c: rx <-> tx typo's, NULLing free'd variable, consistent CRITICAL sects
...
A couple of typos referencing tx_ring_buf when rx_ring_buf, slv_tx_mux
instead of slv_rx_mux.
Also, I2C_ENTER_CRITICAL()/I2C_EXIT_CRITICAL() usage was not consistent.
Only some of the _set_ functions had them. Most of the _get_ function
had them? It is my understanding that they should be wrapped around
writes, not reads? (I think we still need the lock for reading pairs of consistent values)
Also, the ticks_to_wait timeout handling in i2c_master_cmd_begin() would
not handle integer rollover correctly.
Merges https://github.com/espressif/esp-idf/pull/1180
2017-12-11 11:08:39 +08:00
Ivan Grokhotkov
ed1e6e7224
fatfs: fix double free in bailout path of esp_vfs_fat_sdmmc_mount
...
Fixes https://github.com/espressif/esp-idf/issues/1370
2017-12-11 11:07:08 +08:00
Ivan Grokhotkov
269486ca4d
sdspi: use response timeout passed from upper layer
...
Previously SDSPI host driver would rely on retry count when waiting for
the card to read or write data. This caused different timeout times
depending on CPU frequency and card clock frequency. In practice, card
performance does not depend on these two factors.
This change uses timeout_ms field of sdmmc_command_t introduced
previously for SDMMC host.
Fixes https://esp32.com/viewtopic.php?f=2&t=3440&p=16037 and similar
issues related to SDSPI timeouts.
2017-12-11 11:07:08 +08:00
Ivan Grokhotkov
4170904224
fatfs: fix deinit not called for SDSPI host
...
Closes https://github.com/espressif/esp-idf/issues/1362
2017-12-11 11:07:08 +08:00
Ivan Grokhotkov
a63ace15bd
vfs/fatfs: fix stat call failing when called for mount point
...
FATFS does not support f_stat call for drive root. When handling stat
for drive root, don't call f_stat and just return struct st with S_IFDIR
flag set.
Closes #984
2017-12-08 20:04:27 +08:00
Ivan Grokhotkov
df74211fc3
newlib/time: fix compilation error when only RTC is used as clock source
...
Fixes https://github.com/espressif/esp-idf/issues/1245
2017-12-08 16:17:47 +08:00
Fabiano Kovalski
9075b507b5
driver(i2c): corrected timeout range for i2c_set_timeout.
...
Merges https://github.com/espressif/esp-idf/pull/1353
2017-12-08 14:26:35 +08:00
Ivan Grokhotkov
bd6ee752fc
Merge branch 'feature/btdm_modify_header_file_name' into 'master'
...
component/btdm : change bt.h name to esp_bt.h to form the name prefix
See merge request !1644
2017-12-08 14:03:15 +08:00
Ivan Grokhotkov
bad8d3ce57
bootloader: don't log anything before uart_console_configure is called
2017-12-08 13:15:40 +08:00
Ivan Grokhotkov
a705221492
esp32: fix incorrect clock enable bit name for UART0
...
Closes https://github.com/espressif/esp-idf/issues/1301
2017-12-08 13:14:36 +08:00
Ivan Grokhotkov
022b4f3251
openssl: add feature check for MBEDTLS_SSL_ALPN
...
Fixes https://github.com/espressif/esp-idf/issues/1342
2017-12-08 13:00:11 +08:00
Deomid Ryabkov
e3282a0cac
Add esp_intr_set_in_iram
...
A function to change "in IRAM" status for an existing interrupt handle, without going through free/allocate of the interrupt.
mOS HW timer implementation requires this to make HW timers safe to re-set from an IRAM ISR.
2017-12-08 05:46:34 +03:00
Tian Hao
583dceb69b
component/btdm : change bt.h name to esp_bt.h to form the name prefix
2017-12-08 10:33:50 +08:00
Mahavir Jain
18553c451a
heap_trace: fix bug in realloc for copying trace record
...
Closes https://github.com/espressif/esp-idf/issues/1354
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2017-12-07 18:20:23 +05:30
Piyush Shah
91968ef464
freertos/ringbuf: Added an API xRingbufferCreateNoSplit()
...
This is a wrapper API for creating a Ring Buffer, which ensures that
the ringbuffer can hold the given number of items, each item being of the
same given length.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-12-07 17:04:23 +05:30
Piyush Shah
3c199b0de6
freertos/ringbuf: Add an API xRingbufferIsNextItemWrapped()
...
Useful to check if the next item to receive is wrapped or not.
This is valid only if the ring buffer is initialised with type
RINGBUF_TYPE_ALLOWSPLIT.
This is as per the feature request here:
https://github.com/espressif/esp-idf/issues/806
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-12-07 17:04:18 +05:30
Piyush Shah
cd5fb054c7
freertos/ringbuf: Add an API xRingbufferGetCurFreeSize() to fetch current free size available
...
The earlier available API (xRingbufferGetMaxItemSize())just gives
a static max entry value possible for given ring buffer.
There was a feature request for an API which could provide
a real time available buffer size. See below:
https://github.com/espressif/esp-idf/issues/806
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-12-07 17:04:12 +05:30
Ivan Grokhotkov
7e3ac34704
Merge branch 'bugfix/fix_i2s_doc' into 'master'
...
docs: fix i2s code snippet for interrupt flags setting
See merge request !1637
2017-12-07 13:50:49 +08:00
Ivan Grokhotkov
cda22d9aaf
docs: add FreeRTOS API docs
...
- Use `code` tags instead of a mix of `<pre></pre>` and
`@verbatim .. @endverbatim`
- Remove manually added function prototypes from comment blocks
- Remove of grouping (`\defgroup`) — some extra work is needed
to make groups compatible with the way we auto-generate API
reference from Doxygen XML files. It's pretty easy to add the
grouping directives back if/when we implement support for
Doxygen groups in the later stages of documentation build
process.
- Hide private APIs under `@cond .. @endcond`
- Convert some comments into Doxygen-compatible ones
- Fix various documentation issues: missing documentation for
some parameters, mismatch between parameter names in comment
block and in function prototype.
- Add doxygen comments for functions which didn't have them
(thread local storage).
- Add [out] param tags where necessary
- Redefine `xTaskCreate` and `xTaskCreateStatic` as inline
functions instead of macros.
2017-12-07 12:01:14 +08:00
Ivan Grokhotkov
2b92119840
Merge branch 'bugfix/freertos_check_task_waiting_termination' into 'master'
...
Freertos Task Deletion backport and FPU documentation
See merge request !1591
2017-12-07 11:55:10 +08:00
Angus Gratton
240f2ce7be
Merge branch 'bugfix/gcc7_compilation' into 'master'
...
Fixes for gcc 7 compilation (Github PR)
See merge request !1628
2017-12-07 07:32:49 +08:00
Paul Reimer
8a47679d04
Add #include guards and __cplusplus guards to esp_debug.h
...
Merges https://github.com/espressif/esp-idf/pull/1358
2017-12-07 10:25:57 +11:00
robotrovsky
6a51a13b70
Bugfix I_DELAY macro
...
When compiling
> const ulp_insn_t program[] = {
> I_DELAY(1)
> };
with the xtensa-esp32-elf-g++ compiler i always got the error:
> sorry, unimplemented: non-trivial designated initializers not supported
>
> };
This was due to the different order in the macro and the struct. The struct has another order of the fields (opcode, unused, cycles) vs (cycles, unused, opcode):
> struct {
> uint32_t cycles : 16; /*!< Number of cycles to sleep */
> uint32_t unused : 12; /*!< Unused */
> uint32_t opcode : 4; /*!< Opcode (OPCODE_DELAY) */
> } delay; /*!< Format of DELAY instruction */
After updating the order in the macro it is possible to compile with the g++ compiler.
Merges https://github.com/espressif/esp-idf/pull/1310
2017-12-07 10:02:45 +11:00