Angus Gratton
e08cf27b8a
esp_err: add NDEBUG guard, comment about flash cache
...
Follow-up to 316b040
2017-03-03 14:59:15 +11:00
Neil Kolban
e14d65d704
Update to ESP_ERROR_CHECK
...
See request from ESP_Angus here:
https://esp32.com/viewtopic.php?f=18&t=1179
Merges #339 https://github.com/espressif/esp-idf/pull/339
2017-03-03 14:59:15 +11:00
Anne Jan Brouwer
ec31b39989
Added missing platform.h to mbedtls ssl.h
...
There was a missing definition of mbedtls_time_t
See for example:
https://travis-ci.org/SHA2017-badge/Firmware/jobs/202459377
Merges #348 https://github.com/espressif/esp-idf/pull/348
2017-03-03 14:59:15 +11:00
Angus Gratton
da723ca11d
lwip: Use strlcpy() instead of memcpy() to copy hostname to static buffer
2017-03-03 14:59:15 +11:00
alarruskain
3119f936ab
lwip: Fix hostname set in tcpip_adapter_lwip
...
Hostname for each interface is not correctly stored in "hostinfo" variable.
Merges #350 https://github.com/espressif/esp-idf/pull/350
2017-03-03 14:59:15 +11:00
gbcwbz
7bb4c8521a
docs: Fix typo in build-system.rst
...
Merges #355 https://github.com/espressif/esp-idf/pull/355
2017-03-03 14:59:15 +11:00
Daniel Campora
c08a2871e6
sdmmc: Add width field to the slot config.
...
Therefore if the width is set to 1, you can choose to only
configure the CLK, DAT0 and CMD pins.
Merges #361 https://github.com/espressif/esp-idf/pull/361
2017-03-03 14:59:15 +11:00
rudi ;-)
f4c4787281
examples/ethernet: Same sense of meaning SW_STRAP
...
Merges #366 #367
https://github.com/espressif/esp-idf/pull/366
https://github.com/espressif/esp-idf/pull/367
2017-03-03 14:59:15 +11:00
rudi ;-)
e335f19a4d
examples/ethernet: typo, better named
...
Merges #382 https://github.com/espressif/esp-idf/pull/382
2017-03-03 14:59:15 +11:00
Ivan Grokhotkov
ccbc6183c3
Merge branch 'bugfix/freertos_event_groups' into 'master'
...
FreeRTOS: Fix cross-core event group sync
As above
Also includes fixes which allowed removing some semi-hacky bits from the event group unit tests - specifically, higher priority tasks will always be started immediately even if they run on the opposite core.
See merge request !535
2017-03-03 11:45:59 +08:00
Ivan Grokhotkov
ea12a1de85
Merge branch 'bugfix/rsa4096' into 'master'
...
mbedtls: Use two MPI multiplications when multiply operands too large
Allows RSA4096 via hardware crypto operations.
Closes #139 https://github.com/espressif/esp-idf/issues/139
See merge request !477
2017-03-03 11:41:11 +08:00
Ivan Grokhotkov
4ecd26ce77
Merge branch 'feature/fatfs_dynamic_pdrv' into 'master'
...
FATFS enable support for multiple drives
Current implementation has drive numbers and paths hardcoded to support
only one FATFS drive. Arduino has it's own SPI driver to allow
compatibility and flexibility. With the MR it is possible to have up to
```_VOLUMES``` drives connected (SPI, SDMMC and others) at the same
time and accessed through VFS
See merge request !478
2017-03-03 11:40:37 +08:00
Ivan Grokhotkov
f280d8db13
Merge branch 'bugfix/openssl_debuging_error' into 'master'
...
components/openssl : Fix compilation error when openssl debugging is enabled
See merge request !512
2017-03-03 11:29:37 +08:00
Ivan Grokhotkov
7a186ba1b0
Merge branch 'feature/freertos_kconfig' into 'master'
...
freertos kconfig: Add max task length name, move task stack overflow watchpoint
* Allow setting task name length via kconfig
* Move task stack overflow watchpoint out of internals debugging submenu, place next to other stack overflow checks.
* Thread local pointer feature should depend on Ethernet or WiFi
See merge request !531
2017-03-03 11:29:05 +08:00
Ivan Grokhotkov
8911e666a0
Merge branch 'feature/docs_partition_ota_flash' into 'master'
...
Partition/SPI/OTA docs & OTA new functionality
* Update partition, SPI flash & OTA docs to reflect functionality changes
* Refactor OTA implementation to perform checks mentioned in API doc
* Add new functions to OTA API: esp_ota_get_running_partition() & esp_ota_get_next_update_partition() functions
* Add spi_flash_cache2phys() & spi_flash_phys2cache() functions to support esp_ota_get_running_partition()
See merge request !513
2017-03-03 11:27:01 +08:00
Ivan Grokhotkov
848494b20f
Merge branch 'feature/enable_qio_directly' into 'master'
...
Enable SPI flash Quad I/O in bootloader
Bootloader checks flash ID, enables Quad I/O mode based on flash type.
See merge request !479
2017-03-03 11:25:52 +08:00
Jiang Jiang Jian
c62ae777c2
Merge branch 'feature/tw10306_menuconfig_adds_some_wifi_options' into 'master'
...
menuconfig adds some WiFi options
menuconfig adds some WiFi options
1. Add options to enable/disable AMPDU
2. Add options to configure WiFi task stack size
3. Add options to configure WiFi RX/TX buffer number
See merge request !519
2017-03-02 19:46:29 +08:00
Liu Zhi Fu
abdd8feebb
esp32: menuconfig adds some WiFi options
...
1. Add options to enable/disable AMPDU
2. Add options to enable/disable WIFI NVS
3. Add options to configure WiFi RX/TX buffer number
2017-03-02 18:13:49 +08:00
Jiang Jiang Jian
3b8c9a407f
Merge branch 'feature/add_user_set_mac' into 'master'
...
Feature/add user set mac
1. Add menuconfig for user to set mac address of wifi, bt and ethernet.
2. Add the number of MAC address generated from efuse for user to choose.
3. Add MAC address derive method.
See merge request !542
2017-03-02 17:34:14 +08:00
Jiang Jiang Jian
6451c57e52
Merge branch 'bugfix/tw10169_dhcp_release_cause_tcp_abort' into 'master'
...
Bugfix/tw10169 dhcp release cause tcp abort
Modify the DHCP timer granularity from 1 minutes to 1 second.
See merge request !539
2017-03-02 17:28:11 +08:00
Jeroen Domburg
432b25f755
Merge branch 'feature/in_isr_context' into 'master'
...
Add xPortInIsrContext function + unit test
As title states.
See merge request !533
2017-03-02 17:17:23 +08:00
Jeroen Domburg
6739d5b99f
Add xPortInIsrContext function + unit test. This function returns true when the current CPU runs in an interrupt handler context.
2017-03-02 17:00:32 +08:00
XiaXiaotian
d3eede2110
mac address: add the number of MAC address generated from efuse for user to choose
...
1. Add the number of MAC address generated from efuse for user to choose.
2. Add MAC address derive method.
2017-03-02 15:54:35 +08:00
Ivan Grokhotkov
ecbe5a66f2
Merge branch 'bugfix/rng_disabled_wifi_stop_2' into 'master'
...
esp32: Fix hardware rng after esp_wifi_stop (second implementation)
Ensures hardware RNG remains enabled at all times.
Reworked version of !534
See merge request !536
2017-03-02 10:51:30 +08:00
Jiang Jiang Jian
4e5e154603
Merge branch 'bugfix/fix_some_default_lwip_bool_options' into 'master'
...
Bugfix/fix some default lwip bool options
menuconfig options with bool type should use 'y/n' to set the default value, instead of '1/0'
See merge request !538
2017-03-01 22:03:57 +08:00
wangmengyang
6d061ec903
component/bt: modify the bluetooth read_efuse_mac interface
2017-03-01 21:04:12 +08:00
XiaXiaotian
fabe0493c2
mac address: add user set mac address
...
add menuconfig for user to set mac address of wifi, bt and ethernet.
2017-03-01 20:51:49 +08:00
Liu Zhi Fu
66199b1efe
Check DHCP rebind timer before checking dhcp release timer in cause they have the same value.
...
lwip: modify dhcp timer granularity from 60s to 1s
Current DHCP granularity is 60 seconds, it's not accurate, it can cause DHCP release/rebind/renew timer
timeout at the same time, also it may renew/rebind/release at wrong time, thus cause problem.
2017-03-01 20:50:58 +08:00
XiaXiaotian
23f933a78d
mac address: add user set mac address
...
add menuconfig for user to set mac address of wifi, bt and ethernet.
2017-03-01 20:42:46 +08:00
Liu Zhi Fu
3b3c3210a6
lwip: fix bool options default value wrong issue
...
menuconfig options with bool type should use 'y/n' to use the default value,
instead of '1/0'
2017-03-01 13:37:36 +08:00
Liu Zhi Fu
ae09a46cb8
Merge branch 'master' of ssh://gitlab.espressif.cn:27227/idf/esp-idf
2017-03-01 13:32:04 +08:00
Angus Gratton
4d67a2ba8b
esp32 phy_init: Move DPORT Wifi clock masks to macro values
...
Amended fix for c642079
!534
2017-03-01 12:11:57 +11:00
Angus Gratton
98f8594151
esp32 dport_reg.h: Fix typo in register bit names
2017-03-01 12:01:07 +11:00
Ivan Grokhotkov
c025dfbfa7
Merge branch 'bugfix/mmap_instr' into 'master'
...
spi_flash: fix mmap not working for SPI_FLASH_MMAP_INST
Fixes https://github.com/espressif/esp-idf/issues/378
See merge request !528
2017-02-28 17:14:38 +08:00
Ivan Grokhotkov
f3687f7177
spi_flash: fix memory leak when spi_flash_mmap arguments are invalid
...
Check src_addr and size first, then allocate new_entry.
2017-02-28 15:11:54 +08:00
Wu Jian Gang
8f43567a68
Merge branch 'bugfix/esp_get_random_return_zero' into 'master'
...
Do not disable clock for generating random number.
1. Do not disable clock for generating random number.
2. And fix the bug that system crashes if call esp_wifi_stop() twice.
See merge request !534
2017-02-28 14:35:22 +08:00
Angus Gratton
2230b2c8bc
freertos tests: Enable test_freertos_task_delete
2017-02-28 15:47:15 +11:00
Angus Gratton
8de26e434c
freertos: Schedule tasks immediately when they are created on opposite core
2017-02-28 15:47:15 +11:00
Angus Gratton
20212ee823
freertos: Fix cross-core usage of event groups
...
Fixes & re-enabled broken unit tests
Adds per-event-group spinlock instead of single global lock
2017-02-28 12:06:36 +11:00
Angus Gratton
d0f8fb9b93
freertos Kconfig: Thread local storage pointer feature required for WiFi or Ethernet
2017-02-28 10:59:23 +11:00
XiaXiaotian
f36c909528
update phy and rtc lib
...
1. RTC V214: modify APLL function for the chip of ECO version.
2. Add API phy_close_rf() and use it in esp_phy_deinit() instead of pm_close_rf().
3. RTC V213: fix BT will not work when BT-init is called more than once.
2017-02-27 19:54:22 +08:00
Liu Zhi Fu
cd83bfb31c
Merge branch 'master' of ssh://gitlab.espressif.cn:27227/idf/esp-idf
2017-02-27 17:22:47 +08:00
XiaXiaotian
c6420792f2
1. Do not disable clock for generating random number.
...
2. And fix the bug that system crashes if call esp_wifi_stop() twice.
2017-02-27 16:48:04 +08:00
Ivan Grokhotkov
290c40a4ab
Merge branch 'bugfix/sdmmc_fail_no_card' into 'master'
...
vfs_fat_sdmmc: if card init fails, fail cleanly
This fixes the issue with sdmmc_host not returned to clean state after a failed attempt to mount the card, with no SD card in the slot.
See merge request !527
2017-02-27 10:00:55 +08:00
Angus Gratton
47a5851d45
freertos: Move the "set debug watchpoint as stack overflow check" out of debugging internals
...
Place it near the other stack overflow kconfig items, instead.
2017-02-27 11:49:46 +11:00
Angus Gratton
3050f06a8d
FreeRTOS: Support setting task name max length
...
Ref: https://esp32.com/viewtopic.php?f=13&t=1297&p=5762
2017-02-27 11:46:16 +11:00
Jiang Jiang Jian
13dfb5568d
Merge branch 'bugfix/set_channel_fail_before_enable_sniffer' into 'master'
...
wifi: fix issue in setting channel API
Update wifi libs to fix issue in setting channel API.
See merge request !529
2017-02-24 22:23:06 +08:00
qiyueixa
d9c649d26e
wifi: fix issue in setting channel API
2017-02-24 22:08:54 +08:00
Ivan Grokhotkov
75115e1d83
spi_flash: fix mmap not working for SPI_FLASH_MMAP_INST
2017-02-24 21:50:05 +08:00
Ivan Grokhotkov
c17e05040a
vfs_fat_sdmmc: if card init fails, fail cleanly
...
This fixes the issue with sdmmc_host not returned to clean state after
a failed attempt to mount the card, with no SD card in the slot.
2017-02-24 21:04:22 +08:00