Yulong
c71318ce88
component/bt: Fix the bug when write ccc sometimes will lead to repeatedly release the memory.
2017-11-25 05:06:14 -05:00
krzychb
2b010d4bc9
RMT transmitter and receiver overview pictures
2017-11-24 21:33:50 +01:00
Darian Leung
4c13b2f391
docs/ipc documentation
...
This commit updates doxygen comments in the IPC header files and adds an rst
docs page.
2017-11-24 15:31:28 +08:00
Kedar Sovani
e7743d090d
freertos: fix a bug for incorrect check of allow-external-stack
2017-11-24 09:53:47 +05:30
Angus Gratton
02304ad83e
Merge branch 'feature/freertos_backported_functions' into 'master'
...
freertos/backport and test v9.0.0 functions
See merge request !1515
2017-11-24 08:49:59 +08:00
Jiang Jiang Jian
e5b2c1cf4c
Merge branch 'bugfix/btdm_corret_bt_h_comment' into 'master'
...
component/bt: Correct the ESP_BLE_PWR_TYPE_CONN_HDL0-9 comment in the bt.h file t…
See merge request !1570
2017-11-24 00:14:14 +08:00
Jiang Jiang Jian
082f5716c6
Merge branch 'feature/enable_disable_ampdu_rx_tx_independently' into 'master'
...
Feature/enable disable ampdu rx tx independently
See merge request !1560
2017-11-23 22:22:43 +08:00
Yulong
177c92f15e
component/bt: Change the code format.
2017-11-23 06:42:04 -05:00
Yulong
2458d15d2d
component/bt: recovery the scan parameter to the controller before start scan.
2017-11-23 06:36:00 -05:00
panfeng
b553c925b1
bugfix: while scale equals 0 will cause crash
2017-11-23 17:56:18 +08:00
He Yin Ling
dd371289aa
CI: fix C++ unit test cases not executed by CI
2017-11-23 17:14:23 +08:00
Yulong
f14699068d
component/bt: Fixed the bug when stop scan if not set back the scan params will lead to connection request sent the empty packet to the peer device.
2017-11-23 03:54:29 -05:00
Ivan Grokhotkov
983ec73413
libstdc++: update the library built with PSRAM workaround
2017-11-23 15:34:23 +08:00
Darian Leung
c1d101dd41
freertos/backport and test v9.0.0 functions
...
This commit backports the following features from FreeRTOS v9.0.0
- uxSemaphoreGetCount()
- vTimerSetTimerId(), xTimerGetPeriod(), xTimerGetExpiryTime()
- xTimerCreateStatic()
- xEventGroupCreateStatic()
- uxSemaphoreGetCount()
Functions backported previously
- xTaskCreateStatic()
- xQueueCreateStatic()
- xSemaphoreCreateBinaryStatic(), xSemaphoreCreateCountingStatic()
- xSemaphoreCreateMutexStatic(), xSemaphoreCreateRecursiveMutexStatic()
- pcQueueGetName()
- vTaskSetThreadLocalStoragePointer()
- pvTaskGetThreadLocalStoragePointer()
Unit tests were also written for the functions above (except for pcQueueGetName
which is tested in a separate Queue Registry MR). The original tlsp and del cb test case
was deleted and integrated into the test cases of this MR.
2017-11-23 14:18:09 +08:00
Angus Gratton
e43ac33b7c
Merge branch 'bugfix/aws_iot_nvs_no_init' into 'master'
...
aws_iot: fix aws_iot examples without NVS initialization
See merge request !1581
2017-11-23 13:19:21 +08:00
Ivan Grokhotkov
2f62a62d28
Merge branch 'feature/toolchain_update' into 'master'
...
toolchain: update to 1.22.0-75-gbaf03c2
See merge request !1577
2017-11-23 13:02:57 +08:00
Ivan Grokhotkov
b669b415e6
Merge branch 'feature/cxx_exceptions_emg_pool' into 'master'
...
esp32: Adds C++ exceptions emergency pool size menuconfig option
See merge request !1561
2017-11-23 13:02:49 +08:00
Ivan Grokhotkov
2eac553062
Merge branch 'feature/pthread_key_and_cond_var_support' into 'master'
...
pthread: Added support for pthread condition variables
See merge request !1387
2017-11-23 13:02:40 +08:00
Ivan Grokhotkov
9a09292487
ci: increase number of example build jobs
2017-11-23 12:02:41 +08:00
He Yin Ling
3ad64bc099
CI: support sepcify docker image tag with bot
2017-11-23 11:31:54 +08:00
Angus Gratton
f41431022b
windows: Allow "make menuconfig" to work if ming32 gcc is also installed
...
Closes https://github.com/espressif/esp-idf/issues/1296
2017-11-23 14:31:04 +11:00
Amey Inamdar
edb2400742
pthread: Added support for pthread condition variables
...
This is required for std::condition_variable support
Signed-off-by: Amey Inamdar <amey.inamdar@gmail.com>
2017-11-23 11:26:51 +08:00
Alexey Gerenkov
7df96718a2
esp32: Adds C++ exceptions emergency pool size menuconfig option
2017-11-23 06:14:11 +03:00
Liu Zhi Fu
3f6a8f1430
esp32: add options to disable/enable TX/RX AMPDU independently
...
Make menuconfig can disable/enable TX/RX AMPDU independently
2017-11-23 09:42:31 +08:00
Angus Gratton
4d34251ff3
windows: Update precompiled env link & toolchain in setup script
2017-11-23 11:55:23 +11:00
krzychb
cdad1e8382
Implement review comments
2017-11-22 23:33:29 +01:00
Ivan Grokhotkov
597ce3b800
Merge branch 'bugfix/ringbuf_buflen_bugfix' into 'master'
...
Bugfix/ringbuf buflen bugfix
See merge request !1562
2017-11-22 22:30:11 +08:00
Ivan Grokhotkov
61ead8fb96
Merge branch 'bugfix/ota_example_http_request' into 'master'
...
ota example: Send a valid HTTP/1.0 request
See merge request !1566
2017-11-22 22:27:10 +08:00
Ivan Grokhotkov
c237c5c966
Merge branch 'bugfix/gpio_disable_api' into 'master'
...
driver: GPIO can be disabled by calling gpio_set_direction
See merge request !1575
2017-11-22 22:26:54 +08:00
Ivan Grokhotkov
cf47012111
Merge branch 'feature/prs_from_github' into 'master'
...
PRs from Github
See merge request !1578
2017-11-22 22:26:40 +08:00
Ivan Grokhotkov
5fe91ae7cd
Merge branch 'bugfix/cpp_guards' into 'master'
...
Add C++ guards to freertos/ringbuf.h, heap headers
See merge request !1552
2017-11-22 22:26:26 +08:00
kooho
ada33fe3dd
Add GPIO input and output disable option
2017-11-22 15:00:27 +08:00
Chen Wu
4b3997cfbb
aws_iot: fix aws_iot examples without NVS initialization
...
WiFi used to initialise nvs automatically, but it doesn't now.
see more info: https://github.com/espressif/esp-idf/issues/624
Closes #624
2017-11-22 13:02:55 +08:00
Ivan Grokhotkov
08be5213db
Merge branch 'bugfix/uxportcompare_check_addr_range' into 'master'
...
portmacro: add assert to check address validity in uxPortCompareSet
See merge request !1519
2017-11-22 11:44:09 +08:00
Angus Gratton
3607b404c0
Merge branch 'feature/lwip_socket_pcb_num_config' into 'master'
...
lwip: Expose number of active socket limits in menuconfig
See merge request !1433
2017-11-22 11:36:55 +08:00
Angus Gratton
4ce68f6163
lwip: Expose number of active socket limits in menuconfig
2017-11-22 14:10:08 +11:00
Frank Sautter
157371effb
Set GPIO-mode for MDC and MDIO pins
...
Merges #1127
2017-11-22 11:01:43 +08:00
Andrew Dikarev
08ba79cc2b
return old handler from esp_log_set_vprintf()
...
Merges #1286
2017-11-22 11:01:43 +08:00
Vitor Massaru Iha
cf768380b1
soc: Remove redefinition of MCU_SEL_M
...
Signed-off-by: Vitor Massaru Iha <vitor@massaru.org>
Merges #1290
2017-11-22 11:01:42 +08:00
Krzysztof Bociurko
969911b7c2
freertos: enabled use of pxTaskGetStackStart and cleaned up it's implementation
...
Merges #1298
2017-11-22 11:01:42 +08:00
Angus Gratton
4332a2c4bc
Merge branch 'bugfix/cxx-exceptions-missing-stubs' into 'master'
...
cxx_exceptions: Add missing stubs for cxx exceptions with exceptions disabled
See merge request !1574
2017-11-22 09:26:24 +08:00
Angus Gratton
a556e1c782
heap: Add C++ header guards to heap headers
...
Closes https://github.com/espressif/esp-idf/issues/1195
2017-11-22 10:08:50 +11:00
Adrián Paníček
0b48d5978e
ringbuf.h: Add anti name-mangling definition
...
When using CPP and C combination this particular file threw error on linking.
Merges https://github.com/espressif/esp-idf/pull/1249
(Amended to add INC_FREERTOS_H guard, comment on #endif)
2017-11-22 10:08:15 +11:00
krzychb
2ec35f60ca
RMT API docs update, new example
2017-11-21 22:34:23 +01:00
Ivan Grokhotkov
c03b068931
spiffs: make OBJ_META_LEN configurable, make mtime support optional
...
- SPIFFS_OBJ_META_LEN can be set in sdkconfig
- mtime support can be enabled in sdkconfig, if META_LENGTH is sufficient
- add test for mtime updates
2017-11-22 00:17:11 +08:00
luc lebosse
58f046715e
Unify the time file creation for SPIFFS and SD
2017-11-21 22:51:36 +08:00
Piyush Shah
4f33339c1d
test_ringbuf: Add tests for arbitrary length ring buffer
...
This will test the ring buffer for buffer length that is not
a multiple of 4
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-21 17:18:54 +05:30
Piyush Shah
7dd9c4f57f
ringbuf: Fixes to header files for better understanding
...
1. Usage of this module required applications to include additional
files. What files to include is not very intuitive. Instead, it is
better for the header file itself to include other files as required.
2. Even though it may seem logical, it is better to explicitly mention
that an item needs to be "Returned" after a Receive
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-21 17:16:04 +05:30
Piyush Shah
62f44e45df
ringbuf: Bugfixes for managing arbitrary sizes of ring buffer
...
It was observed that if the ring buffer size provided by application
is not a multiple of 4, some checks were failing (as read_ptr and write_ptr
could shoot beyond the ring buffer boundary), thereby causing asserts.
Simply wrapping around the pointers for such cases fixes the issue.
Moreover, because of the logic for maintaining 4-byte boundary,
it was also possible that a wrap-around occurred for some data,
even when the actual size remaining was sufficient for it.
Eg. Buffer available: 34, data size: 34, 4-byte aligned size: 36
Since the logic compares against 36, it writes 34 bytes and does a
wraparound. But since all 34 bytes are already written, there is
nothing to write after wrapping. It is better to just re-set the
write pointer to the dtart of ring buffer in such cases.
Tested send/receive for various arbitrary sizes of data and for
arbitrary sizes of ring buffer.
Alternative Solutions:
1) Allow only sizes which are multiples of 4, and return error otherwise.
Appropriate code and documentation change would be required
2) Allow arbitrary sizes, but internally add upto 3 bytes to make
the total size a multiple of 4
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-21 17:15:53 +05:30
Ivan Grokhotkov
0f503dee50
toolchain: update to 1.22.0-75-gbaf03c2
...
- enable condition variable support in gthread
- add provisions to allow emergency exception pool size to be configured
2017-11-21 19:30:52 +08:00