Ivan Grokhotkov
7abd9bc023
ULP: remove deprecated cycle_sel field from ADC instruction
...
Cycle_sel field was never used in binutils and was always set to zero.
This change removes it from documentation and examples.
Needs ULP binutils with this change:
https://github.com/espressif/binutils-esp32ulp/commit/af79434
2017-05-31 18:22:48 +08:00
Ivan Grokhotkov
06accaf851
add C++ include guards to header files which are missing them
...
Fixes https://github.com/espressif/esp-idf/issues/628
2017-05-31 17:20:17 +08:00
fuzhibo
d1fb51afd2
feat: add smartconfig example
2017-05-31 15:32:15 +08:00
Ivan Grokhotkov
a25a4a0a7c
nvs: check value size before writing, document limitations
...
Writing values longer than half of the page size (with header taken into
account) causes fragmentation issues. Previously it was suggested on the
forum that using long values may cause issues, but this wasn’t checked
in the library itself, and wasn’t documented. This change adds necessary
checks and introduces the new error code.
Documentation is also fixed to reflect the fact that the maximum length
of the key is 15 characters, not 16.
2017-05-31 12:59:24 +08:00
Angus Gratton
3b5cb5ad67
CI: Add another unit test runner
2017-05-30 09:07:08 +10:00
Angus Gratton
4947c953d3
freertos: Mark uxTaskPriorityGet() as tested
...
Also adds some SMP-aware dynamic task priority unit tests
2017-05-29 16:19:00 +10:00
Angus Gratton
d718cbd873
Merge branch 'bugfix/deep_sleep_example_stub_delay' into 'master'
...
sdkconfig: set CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 by default
See merge request !758
2017-05-29 12:11:56 +08:00
Angus Gratton
034d37b9cb
Merge branch 'bugfix/doc-small-updates' into 'master'
...
Small fixes/updates to toolchain installation procedures
See merge request !782
2017-05-29 07:09:47 +08:00
Angus Gratton
2b1365a51b
Merge branch 'feature/docs_gen-dxd' into 'master'
...
docs: Automatically generate API reference list / Doxygen directives
See merge request !723
2017-05-29 07:08:53 +08:00
Jiang Jiang Jian
636d2b384e
Merge branch 'bugfix/ble_comfirm_reply_not_work_#12881' into 'master'
...
component/bt: Added the esp_ble_passkey_reply BTC_GAP_BLE_PASSKEY_REPLY_EVT &BTC…
See merge request !793
2017-05-27 14:40:26 +08:00
Jiang Jiang Jian
28cec08450
Merge branch 'bugfix/btdm_set_invalid_rand_addr_error_12303' into 'master'
...
component/bt: Added the set static random address callback to the bt project.
See merge request !773
2017-05-27 14:38:08 +08:00
Yulong
e9fae704e3
component/bt: Merge the new master to avoid conflict.
2017-05-26 22:47:56 -04:00
Yulong
9679c238aa
component/bt: Added the esp_ble_passkey_reply BTC_GAP_BLE_PASSKEY_REPLY_EVT &BTC_GAP_BLE_CONFIRM_REPLY_EVT
...
event.
2017-05-26 05:26:15 -04:00
Jiang Jiang Jian
826e96248d
Merge branch 'bugfix/btdm_ble_crash_read_long_char_#12338' into 'master'
...
component/bt: Change the fragement method to avoid crash when the data transmit should fragement.
See merge request !789
2017-05-26 14:40:47 +08:00
Jiang Jiang Jian
87a5bd0179
Merge branch 'bugfix/btdm_value_relate_to_internal' into 'master'
...
fix bugs of some constant value not equal internal define but quotes internal define
See merge request !787
2017-05-26 14:24:52 +08:00
Jiang Jiang Jian
adac20dc36
Merge branch 'bugfix/tw12643_board_no_response' into 'master'
...
fix close socket block issue
See merge request !781
2017-05-26 14:11:53 +08:00
Yulong
e40810adbb
compoennt/bt: change the remaining_length compare with the max_packet_size value when the data packet should fragment and dispatch.
2017-05-25 23:09:50 -04:00
Yulong
81ff34742b
component/bt: Change the fragement method to avoid crash when the data transmit should fragement.
2017-05-25 09:59:03 -04:00
Jeroen Domburg
e0ac345fd2
Add a note about handling of same-named components in different component search paths
2017-05-25 19:45:59 +08:00
Jeroen Domburg
2427809c9d
Merge branch 'feature/conditional_compile' into 'master'
...
Add cleaner way to conditionally compile files
See merge request !699
2017-05-25 16:34:29 +08:00
Tian Hao
0c6d966bff
component/bt : fix bugs of some constant value not equal internal define but quotes internal define
2017-05-25 16:12:48 +08:00
Jeroen Domburg
79ca00af49
Add cleaner way to conditionally compile files
2017-05-25 16:12:27 +08:00
Yulong
baf446e871
component/bt: merge the origin branch
...
with '#' will be ignored, and an empty message aborts
2017-05-25 02:21:01 -04:00
Yulong
66bb6a2f2b
component/bt: squash the branch of the early commit
...
component/bt: squash the branch of the early commit
component/bt: Added the set static random address callback to the bt project.
component/bt: fixed the set static random address error.
component/bt: fixed the set static random address error.
2017-05-25 02:13:27 -04:00
krzychb
d12f871be6
Small fixes/updates to toolchain installation procedures
2017-05-25 08:01:42 +02:00
Yulong
37af544c9a
Merge branch 'bugfix/btdm_set_invalid_rand_addr_error_12303' of ssh://gitlab.espressif.cn:27227/idf/esp-idf into bugfix/btdm_set_invalid_rand_addr_error_12303
2017-05-25 01:57:16 -04:00
Yulong
e30459b0de
component/bt: squash the branch of the early commit
...
component/bt: Added the set static random address callback to the bt project.
component/bt: fixed the set static random address error.
2017-05-25 01:53:26 -04:00
Jiang Jiang Jian
2aadbee43c
Merge branch 'bugfix/i2c_read_size' into 'master'
...
component/driver : fix i2c slave read size bug
See merge request !770
2017-05-25 10:55:28 +08:00
Ivan Grokhotkov
3c583a7655
sdkconfig: set CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000 by default
...
To increase the chances that the examples work out of the box, this
change is raising the default deep sleep wakeup delay to 1ms.
If GPIO15 is low at startup, ROM code takes less time to execute
(because no logging is performed), so more time may be needed to allow
flash chip to become ready.
2017-05-25 10:51:39 +08:00
Jiang Jiang Jian
9634f1815d
Merge branch 'bugfix/a2dp_media_pkt_drop' into 'master'
...
component/bt: bugfix for A2DP in dropping of media packet when buffer is filled
See merge request !785
2017-05-24 15:39:22 +08:00
wangmengyang
cdea87168c
component/bt: bugfix for A2DP in dropping of media packet when data buffer size goes beyond threshold
2017-05-24 15:08:46 +08:00
XiaXiaotian
c0fa8a0354
fix close socket block issue
...
LWIP rx task receives NULL buffer pointer only when closing socket.
So, do not need to close it again.
2017-05-23 21:08:03 +08:00
Yulong
2567696cc3
component/bt: fixed the set static random address error.
2017-05-23 07:48:45 -04:00
Wangjialin
f68c5baea6
bugfix(i2s): fix error when changing changel number in i2s_set_clk function
2017-05-23 19:32:10 +08:00
Jiang Jiang Jian
ba55461686
Merge branch 'bugfix/ble_gatt_server_example_receive_prepare_write' into 'master'
...
component/bt: gatt_server example receive prepare write
See merge request !741
2017-05-23 13:57:39 +08:00
Jiang Jiang Jian
5c9bb591d3
Merge branch 'bugfix/tw12669_ota_fails_on_dual_core' into 'master'
...
esp32: update wifi lib to fix ota fail bug
See merge request !780
2017-05-23 13:51:18 +08:00
Liu Zhi Fu
365b66b95b
esp32: update wifi lib to fix ota fail bug
...
Fix ota fails on dual core
2017-05-23 11:38:45 +08:00
Ivan Grokhotkov
55fb4c54c8
Merge branch 'bugfix/release_coproc_regs_taskdelete' into 'master'
...
Release coprocessor registers when a task is deleted.
See merge request !765
2017-05-22 11:05:47 +08:00
Ivan Grokhotkov
5413a115b7
Merge branch 'feature/ci_support_gitlab_v9' into 'master'
...
CI: replace with Gitlab v9 variable names
See merge request !777
2017-05-22 11:05:21 +08:00
zhiweijian
4ffb4911e1
gatt_server example receive prepare write
2017-05-22 10:33:36 +08:00
He Yin Ling
215ada6479
CI: replace with Gitlab v9 variable names
2017-05-22 09:47:01 +08:00
Angus Gratton
99771a255f
build system: Fix bug where component src subdirs needed listing before parent source dirs
...
Triggered on make 3.81, happens sometimes on Linux and always(?) on macOS. May depend on the order the OS' filesystem
resolves wildcards in.
Includes a revert to the LWIP component to verify this is properly fixed.
See also https://github.com/espressif/esp-idf/issues/632
2017-05-22 11:45:55 +10:00
krzychb
30edcca1fb
docs: Generate Doxygen directives for API documentation
...
This is to resolve issue reported in https://github.com/espressif/esp-idf/issues/130 .
2017-05-19 18:26:02 +02:00
Ivan Grokhotkov
a38cecefa7
Merge branch 'bugfix/fix_dport_access_in_isr' into 'master'
...
Fix Dport access in interrupts
Dport accesses would re-enable interrupts unconditionally, breaking things when called in an ISR. This saves and restores the interrupt status, fixing this.
This fixes a crash in the SPI slave driver, and possibly other things.
See merge request !772
2017-05-19 19:08:34 +08:00
Ivan Grokhotkov
b763bb7c50
Merge branch 'bugfix/hci_host_nb_cmp_pkts' into 'master'
...
component/bt: bugfix for handling HCI_Host_Number_Of_Completed_Packets in BT controller
See merge request !774
2017-05-19 18:45:12 +08:00
wangmengyang
25b07ed79a
component/bt: bugfix for handling HCI_Host_Number_Of_Completed_Packets in BT controller
2017-05-19 17:36:02 +08:00
Yulong
8ae0eb059e
component/bt: Added the set static random address callback to the bt project.
2017-05-19 05:23:00 -04:00
Jeroen Domburg
fded7b4270
Dport accesses would re-enable interrupts unconditionally, breaking things when called in an ISR. This saves and restores the interrupt status, fixing this.
2017-05-19 15:25:02 +08:00
Ivan Grokhotkov
972d1d9242
Merge branch 'feature/ci_test_config_autogen' into 'master'
...
CI: auto generate configs for test jobs
Currently CI test jobs are static configured by several pre-generated config files.
This approach have several disadvantages:
1. not flexible to select test cases to run, which is important feature of @bot
2. difficult to update test as we need to pre-generate quite a lot files
3. need to maintain extra config files in IDF
4. not flexible to support new test apps or chips, can't use some new features of test bench
Therefore we'll add assign_test stage between build and test, to generate configs for test jobs.
See merge request !738
2017-05-19 11:56:45 +08:00
Ivan Grokhotkov
67a147fc6f
Merge branch 'bugfix/bt_controller_log_clean_up' into 'master'
...
component/bt: disable information loggings from bt controller
clean-up information loggings during controller initialization
See merge request !769
2017-05-19 11:50:11 +08:00