]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agoMerge branch 'feature/lwip-rcvbuf-option' into 'master'
Ivan Grokhotkov [Sat, 7 Jan 2017 10:45:37 +0000 (18:45 +0800)]
Merge branch 'feature/lwip-rcvbuf-option' into 'master'

add menuconfig option to enable SO_RCVBUF

This option is required by Arduino and enables netconn connection to be queried for amount of data available in the rx buffer.

See merge request !372

7 years agoMerge branch 'bugfix/ets_delay_on_app_cpu' into 'master'
Ivan Grokhotkov [Sat, 7 Jan 2017 10:45:14 +0000 (18:45 +0800)]
Merge branch 'bugfix/ets_delay_on_app_cpu' into 'master'

esp32: ets_update_cpu_frequency should set tick scale for both CPUs

ets_update_cpu_frequency ROM function updates g_ticks_per_us, which is has two copies, one for each CPU.
The APP CPU copy of g_ticks_per_us never got updated, resulting in shorter delays produced by ets_delay_us on the APP CPU.

This MR replaces ROM ets_update_cpu_frequency with a copy in IRAM which updates scaling factors on both of the CPUs.

So now we get expected delays (in microseconds):
```
ets_delay_us core=0 expected=50000 actual=50014
ets_delay_us core=1 expected=50000 actual=50015
vTaskDelay core=0 expected=50000 actual=49428
vTaskDelay core=1 expected=50000 actual=50000
```

Reported on the forum: http://esp32.com/viewtopic.php?f=2&t=713#p3722

See merge request !373

7 years agoMerge branch 'bugfix/fix_a_crash_issue' into 'master'
Ivan Grokhotkov [Sat, 7 Jan 2017 10:26:20 +0000 (18:26 +0800)]
Merge branch 'bugfix/fix_a_crash_issue' into 'master'

esp32: modify ld file to fix a crash issue

This MR is to fix a crash issue in latest idf

See merge request !379

7 years agoesp32: modify ld file to fix a crash issue
Liu Zhi Fu [Fri, 6 Jan 2017 11:35:22 +0000 (19:35 +0800)]
esp32: modify ld file to fix a crash issue

7 years agoMerge branch 'bugfix/fix_ci_error' into 'master'
Wu Jian Gang [Sat, 7 Jan 2017 07:59:29 +0000 (15:59 +0800)]
Merge branch 'bugfix/fix_ci_error' into 'master'

Fix CI error of some examples

Include coap_client/coap_server/ota.

See merge request !381

7 years agoexample: Reindex ota demo
Wu Jian Gang [Fri, 6 Jan 2017 13:39:32 +0000 (21:39 +0800)]
example: Reindex ota demo

7 years agoexample: fix CI error of ota demo
Wu Jian Gang [Fri, 6 Jan 2017 10:52:58 +0000 (18:52 +0800)]
example: fix CI error of ota demo

7 years agoexample: fix CI error of coap server demo
Wu Jian Gang [Fri, 6 Jan 2017 10:42:46 +0000 (18:42 +0800)]
example: fix CI error of coap server demo

7 years agoexample: fix CI error of coap client demo
Wu Jian Gang [Fri, 6 Jan 2017 10:36:11 +0000 (18:36 +0800)]
example: fix CI error of coap client demo

7 years agoMerge branch 'feature/btdm_blufi_version' into 'master'
Jiang Jiang Jian [Fri, 6 Jan 2017 10:55:05 +0000 (18:55 +0800)]
Merge branch 'feature/btdm_blufi_version' into 'master'

component/bt : blufi add version

blufi add version and the android APK add version check, too.

See merge request !378

7 years agocomponent/bt : blufi add version
Tian Hao [Fri, 6 Jan 2017 09:40:46 +0000 (17:40 +0800)]
component/bt : blufi add version

7 years agoMerge branch 'driver/spi' into 'master'
Jeroen Domburg [Fri, 6 Jan 2017 08:28:52 +0000 (16:28 +0800)]
Merge branch 'driver/spi' into 'master'

SPI master driver

This merge requests adds an SPI Master driver. This driver is (of course) multithread capable, has device abstraction, has command queueing, DMA support and all other sorts of nice things you'd expect from a SPI driver.

See merge request !332

7 years agoMerge branch 'bugfix/ethernet_init' into 'master'
Wu Jian Gang [Fri, 6 Jan 2017 08:26:40 +0000 (16:26 +0800)]
Merge branch 'bugfix/ethernet_init' into 'master'

ethernet : fix sometimes ethernet init fail bug

See merge request !376

7 years agoMerge branch 'feature/Add_OTA_Demo' into 'master'
Wu Jian Gang [Fri, 6 Jan 2017 08:15:14 +0000 (16:15 +0800)]
Merge branch 'feature/Add_OTA_Demo' into 'master'

esp32 examples: Add OTA Demo

this demo would show you an OTA workflow and how to make it run.

See merge request !324

7 years agoMerge branch 'bugfix/tw9540_workaround_appdata_overwrite_bootdata' into 'master'
Ivan Grokhotkov [Fri, 6 Jan 2017 07:59:22 +0000 (15:59 +0800)]
Merge branch 'bugfix/tw9540_workaround_appdata_overwrite_bootdata' into 'master'

modify bootloader dram start address, swap app bss and data segments

Modify bootloader dram_seg from address 0x3ffc0000 to 0x3fff0000, len from 0x20000 to 0x10000.
Also put app .data before .bss, to reduce the chance .data collides with ROM bootloader stack.

See merge request !375

7 years agoMerge branch 'feature/CoAP' into 'master'
Wu Jian Gang [Fri, 6 Jan 2017 07:37:09 +0000 (15:37 +0800)]
Merge branch 'feature/CoAP' into 'master'

Add CoAP feature

Add CoAP protocol, support client and server test demo.

See merge request !303

7 years agoesp32: ets_update_cpu_frequency should set tick scale for both CPUs
Ivan Grokhotkov [Thu, 5 Jan 2017 14:55:38 +0000 (22:55 +0800)]
esp32: ets_update_cpu_frequency should set tick scale for both CPUs

7 years agoAdd SPI Master driver, example, test and docs
Jeroen Domburg [Fri, 6 Jan 2017 06:20:32 +0000 (14:20 +0800)]
Add SPI Master driver, example, test and docs

7 years agoethernet: update docs
shangke [Fri, 6 Jan 2017 06:16:34 +0000 (14:16 +0800)]
ethernet: update docs

7 years agoethernet : fix sometimes ethernet init fail bug
shangke [Fri, 6 Jan 2017 05:49:42 +0000 (13:49 +0800)]
ethernet : fix sometimes ethernet init fail bug

7 years agobootloader: update ld script comment
Ivan Grokhotkov [Fri, 6 Jan 2017 05:47:53 +0000 (13:47 +0800)]
bootloader: update ld script comment

7 years agoesp32: put .data before .bss
Ivan Grokhotkov [Fri, 6 Jan 2017 05:03:07 +0000 (13:03 +0800)]
esp32: put .data before .bss

This change reduces chances that a large .bss segment will push .data all the way into
0x3ffe1320 — 0x3ffe5320 range where the bootloader stack is, creating a problem when
bootloader will be loading application into memory.
With this change, .data would need to be at least 200k big to cause problems.

7 years agobootloader: modify bootloader dram start address to 0x3fff0000
Liu Zhi Fu [Fri, 6 Jan 2017 04:23:11 +0000 (12:23 +0800)]
bootloader: modify bootloader dram start address to 0x3fff0000

Modify bootloader dram_seg from address 0x3ffc0000 to 0x3fff0000, len from
0x20000 to 0x10000. Please be notified that this is just a workaround for
fixing app data overwrite bootloader data issue!

7 years agoMerge branch 'feature/wifi_deinit' into 'master'
Wu Jian Gang [Fri, 6 Jan 2017 05:32:25 +0000 (13:32 +0800)]
Merge branch 'feature/wifi_deinit' into 'master'

wifi: add wifi rx buffer number config in menuconfig

See merge request !370

7 years agoMerge branch 'bugfix/btdm_blufi' into 'master'
Jiang Jiang Jian [Fri, 6 Jan 2017 05:18:08 +0000 (13:18 +0800)]
Merge branch 'bugfix/btdm_blufi' into 'master'

component/bt : blufi fix security init bug

fix a memset bug.

See merge request !374

7 years agocomponent/bt : blufi fix security init bug
Tian Hao [Fri, 6 Jan 2017 04:24:37 +0000 (12:24 +0800)]
component/bt : blufi fix security init bug

7 years agowifi: add wifi rx buffer number config in menuconfig
XiaXiaotian [Thu, 5 Jan 2017 09:57:41 +0000 (17:57 +0800)]
wifi: add wifi rx buffer number config in menuconfig

7 years agoMerge branch 'feature/btdm_blufi' into 'master'
Ivan Grokhotkov [Thu, 5 Jan 2017 13:54:45 +0000 (21:54 +0800)]
Merge branch 'feature/btdm_blufi' into 'master'

Feature/btdm blufi

This is new BLUFI for config wifi connection through bluetooth.

See merge request !359

7 years agocomponent/bt : use new lib, optimize BT power
Tian Hao [Thu, 5 Jan 2017 12:41:15 +0000 (20:41 +0800)]
component/bt : use new lib, optimize BT power

7 years agoMerge branch 'feature/low_rate' into 'master'
Wu Jian Gang [Thu, 5 Jan 2017 12:34:50 +0000 (20:34 +0800)]
Merge branch 'feature/low_rate' into 'master'

add WiFi low rate feature

See merge request !358

7 years agocomponent/bt : new blufi
Tian Hao [Wed, 28 Dec 2016 04:02:43 +0000 (12:02 +0800)]
component/bt : new blufi

1. new blufi protocol
2. new blufi demo
3. support security
4. support sta/ap/sta_ap
5. support wpa-enterprise

7 years agoMerge branch 'feature/ledc' into 'master'
Wang Jia Lin [Thu, 5 Jan 2017 12:05:13 +0000 (20:05 +0800)]
Merge branch 'feature/ledc' into 'master'

driver: ledc update

1. add fading functions.
2. clear up ledc.h
3. update api doc.
4. add ledc example

See merge request !347

7 years agocomponent/bt: modify bluetooth API
wangmengyang [Tue, 3 Jan 2017 07:53:06 +0000 (15:53 +0800)]
component/bt: modify bluetooth API

1. VHCI api and doxygen
2. Controller api and doxygen
3. bluedroid init/enable api and doxygen
4. cleanup demo codes

7 years agoadd menuconfig option to enable SO_RCVBUF
me-no-dev [Thu, 5 Jan 2017 11:17:52 +0000 (13:17 +0200)]
add menuconfig option to enable SO_RCVBUF

7 years agoesp32: update wifi libs
qiyueixa [Thu, 5 Jan 2017 10:43:09 +0000 (18:43 +0800)]
esp32: update wifi libs

1. add wifi low rate feature

7 years agoesp32: add wifi low rate feature
qiyueixa [Fri, 30 Dec 2016 13:22:06 +0000 (21:22 +0800)]
esp32: add wifi low rate feature

1. add low_rate_enable flag to scan results to identify if AP low rate is enabled.
2. add WIFI_PROTOCOL_LR for users to enable low rate feature.

7 years agodriver: ledc - update fading functions, add example and doc
Wangjialin [Sun, 25 Dec 2016 15:11:24 +0000 (23:11 +0800)]
driver: ledc - update fading functions, add example and doc

1. add fading functions.
2. clear up ledc.c and ledc.h
3. update api doc.
4. add ledc example
5. edit ledc.rst and add readme for example code.
6. add s_ prefix for static global values.
7. add mutex for fade functions
8. minor changes according to the comments.

7 years agocomponent/bt : add macro for adv_data_flag
Tian Hao [Thu, 5 Jan 2017 07:24:09 +0000 (15:24 +0800)]
component/bt : add macro for adv_data_flag

1. add macro for adv data flag
2. add docs for doxygen

7 years agocomponent/bt : fix advertising bug
Tian Hao [Fri, 23 Dec 2016 07:57:44 +0000 (15:57 +0800)]
component/bt : fix advertising bug

1. adv data flag
2. default adv data not BR/EDR in demo

7 years agoMerge branch 'feature/btdm_gatt_api' into 'master'
Ivan Grokhotkov [Thu, 5 Jan 2017 08:43:01 +0000 (16:43 +0800)]
Merge branch 'feature/btdm_gatt_api' into 'master'

Feature/btdm gatt api

GATT upstream api changed.
Actually, feature/btdm_blufi based on this branch.

See merge request !366

7 years agoexamples: Add CoAP client demo
Liu Han [Sat, 10 Dec 2016 06:34:50 +0000 (14:34 +0800)]
examples: Add CoAP client demo

Test CoAP protocol client

7 years agoexamples: Add CoAP server demo
Liu Han [Sat, 10 Dec 2016 05:48:38 +0000 (13:48 +0800)]
examples: Add CoAP server demo

Test CoAP protocol server

7 years agoMerge branch 'master' into feature/btdm_gatt_api
Tian Hao [Thu, 5 Jan 2017 07:25:03 +0000 (15:25 +0800)]
Merge branch 'master' into feature/btdm_gatt_api

7 years agocomponent/bt : update bluetooth api doxygen ref
Tian Hao [Thu, 5 Jan 2017 06:56:16 +0000 (14:56 +0800)]
component/bt : update bluetooth api doxygen ref

7 years agoMerge branch 'feature/throughput_optimization_phrase_1' into 'master'
Wu Jian Gang [Thu, 5 Jan 2017 06:09:23 +0000 (14:09 +0800)]
Merge branch 'feature/throughput_optimization_phrase_1' into 'master'

lwip/freertos/esp32: add throughput optimization related code

1. Update wifi lib which contains ampdu and other optimizations
2. Add throughput code debug code
3. Add code to support sending multiple packet per socket call for udp
4. Other misc modification about throughput optimization

See merge request !361

7 years agolwip: rework according review comments
Liu Zhi Fu [Thu, 5 Jan 2017 04:22:49 +0000 (12:22 +0800)]
lwip: rework according review comments

7 years agoMerge branch 'master' of ssh://gitlab.espressif.cn:27227/idf/esp-idf into feature...
Liu Zhi Fu [Thu, 5 Jan 2017 03:37:56 +0000 (11:37 +0800)]
Merge branch 'master' of ssh://gitlab.espressif.cn:27227/idf/esp-idf into feature/throughput_optimization_phrase_1

7 years agolwip/freertos/esp32: add throughput optimization related code
Liu Zhi Fu [Mon, 2 Jan 2017 12:03:10 +0000 (20:03 +0800)]
lwip/freertos/esp32: add throughput optimization related code

1. Update wifi lib which contains ampdu and other optimizations
2. Add throughput code debug code
3. Other misc modification about throughput optimization

7 years agoexamples: Rename 18_ota to 26_ota
Chen Wu [Wed, 4 Jan 2017 09:39:08 +0000 (17:39 +0800)]
examples: Rename 18_ota to 26_ota

example numbers should accord with our internal definition.

7 years agoMerge branch 'bugfix/ci_build_example_failures' into 'master'
Ivan Grokhotkov [Wed, 4 Jan 2017 16:48:27 +0000 (00:48 +0800)]
Merge branch 'bugfix/ci_build_example_failures' into 'master'

Fix CI build example not failing on errors

See merge request !357

7 years agoMerge branch 'driver_merge_tmp/merge_i2c' into 'master'
Wang Jia Lin [Tue, 3 Jan 2017 08:44:08 +0000 (16:44 +0800)]
Merge branch 'driver_merge_tmp/merge_i2c' into 'master'

driver: i2c code

1. add i2c master code
2. add i2c slave code
3. add i2c example code

See merge request !318

7 years agoMerge branch 'feature/print_halt_abort' into 'master'
Angus Gratton [Tue, 3 Jan 2017 05:44:34 +0000 (13:44 +0800)]
Merge branch 'feature/print_halt_abort' into 'master'

panic handlers: Print the PC address where abort() was called, don't dump registers

See merge request !338

7 years agoMerge branch 'feature/make_monitor' into 'master'
Angus Gratton [Tue, 3 Jan 2017 00:43:49 +0000 (08:43 +0800)]
Merge branch 'feature/make_monitor' into 'master'

Add 'make monitor' target as used in arduino-esp32

See merge request !355

7 years agoMerge branch 'bugfix/remove_keep_ram_sections' into 'master'
Angus Gratton [Tue, 3 Jan 2017 00:38:56 +0000 (08:38 +0800)]
Merge branch 'bugfix/remove_keep_ram_sections' into 'master'

linker script: Remove KEEP from RAM-resident sections

Reduce RAM usage when not all data/bss sections in source files were used.

See merge request !354

7 years agolinker script: Remove KEEP from RAM-resident sections
Angus Gratton [Thu, 29 Dec 2016 23:38:21 +0000 (10:38 +1100)]
linker script: Remove KEEP from RAM-resident sections

Reduce RAM usage when not all data/bss sections in source files were used.

7 years agoREADME: Add a note about parallel builds
Angus Gratton [Fri, 30 Dec 2016 01:19:39 +0000 (12:19 +1100)]
README: Add a note about parallel builds

7 years agobuild system: Add 'make monitor' target from arduino-esp32
Angus Gratton [Fri, 30 Dec 2016 01:19:02 +0000 (12:19 +1100)]
build system: Add 'make monitor' target from arduino-esp32

Originally added to arduino-esp32 by @me-no-dev. It's so useful, we
want it in esp-idf as well! :)

7 years agoMerge branch 'feature/esptool_reset_options' into 'master'
Angus Gratton [Mon, 2 Jan 2017 23:48:10 +0000 (07:48 +0800)]
Merge branch 'feature/esptool_reset_options' into 'master'

esptool: Add new options to reset before/after, detect flash size

Also fixes bugs with reading MAC, chip id.

See merge request !331

7 years ago1. modify i2c_set_pin function
Wangjialin [Fri, 16 Dec 2016 15:41:04 +0000 (23:41 +0800)]
1. modify i2c_set_pin function
2. update example comments and other minor changes
3. rename API:  i2c_cmd_link_create/i2c_cmd_link_delete (+4 squashed commits)

Squashed commits:
[2e0ac3e] 1. coding style: add one space after condition key words.
2. modify i2c.h, use gpio_num_t instead of int, improve comments of return values
3. add i2c index in index.rst
4. add readme for i2c example
[4991d92] update i2c.doc
[88b672e] driver: i2c

1. add mux and spin lock to run in a thread-safe way.
2. modify example code
[4eb15fe] driver: i2c code

1. add i2c master code
2. add i2c slave code
3. add i2c example code
4. add DRAM_ATTR for I2C array

7 years agocomponents/coap: Add libcoap port for ESP32 platform
liuhan [Sat, 24 Dec 2016 06:43:53 +0000 (14:43 +0800)]
components/coap: Add libcoap port for ESP32 platform

7 years agocomponents/coap: Add libcoap library as submodule
liuhan [Sat, 24 Dec 2016 04:58:37 +0000 (12:58 +0800)]
components/coap: Add libcoap library as submodule

7 years agoCI build_examples: Don't stop on first failed example, print failure summary
Angus Gratton [Fri, 30 Dec 2016 05:13:07 +0000 (16:13 +1100)]
CI build_examples: Don't stop on first failed example, print failure summary

7 years agoexamples: Fix build errors that weren't being caught by CI
Angus Gratton [Fri, 30 Dec 2016 05:12:48 +0000 (16:12 +1100)]
examples: Fix build errors that weren't being caught by CI

7 years agoCI build_examples: Correctly detect example build failures
Angus Gratton [Fri, 30 Dec 2016 04:20:49 +0000 (15:20 +1100)]
CI build_examples: Correctly detect example build failures

"pipefail" regression when fail-on-warnings was added...

7 years agoMerge branch 'driver/i2s' into 'master'
Ivan Grokhotkov [Fri, 30 Dec 2016 03:39:49 +0000 (11:39 +0800)]
Merge branch 'driver/i2s' into 'master'

Add i2s driver

Lasted version of I2S driver

See merge request !351

7 years agobootloader: Check all partitions fit inside configured flash size
Angus Gratton [Fri, 30 Dec 2016 02:16:22 +0000 (13:16 +1100)]
bootloader: Check all partitions fit inside configured flash size

7 years agobootloader: Call esp_partition_table_basic_verify() as part of standard boot
Angus Gratton [Fri, 30 Dec 2016 02:15:01 +0000 (13:15 +1100)]
bootloader: Call esp_partition_table_basic_verify() as part of standard boot

Was previously only verified during flash encryption.

7 years agoesptool: Add new options to reset before/after, detect flash size
Angus Gratton [Tue, 20 Dec 2016 07:02:47 +0000 (18:02 +1100)]
esptool: Add new options to reset before/after, detect flash size

7 years agoexamples: Move sdkconfig.defaults support into build system
Angus Gratton [Wed, 21 Dec 2016 01:46:24 +0000 (12:46 +1100)]
examples: Move sdkconfig.defaults support into build system

Is used fairly widely, and a little bit buggy in the form
where it was in each Makefile (didn't always get copied in place).

7 years agoexamples: Add OTA demo
Chen Wu [Mon, 19 Dec 2016 07:40:21 +0000 (15:40 +0800)]
examples: Add OTA demo

7 years agoAdd i2s driver
Tuan PM [Thu, 29 Dec 2016 09:29:14 +0000 (17:29 +0800)]
Add i2s driver

7 years agoMerge branch 'buffix/uart_frm_err_parity_err_mismatch' into 'master'
Wang Jia Lin [Thu, 29 Dec 2016 05:15:48 +0000 (13:15 +0800)]
Merge branch 'buffix/uart_frm_err_parity_err_mismatch' into 'master'

bugfix: uart event mismatch

Fix bug of uart frame error and parity error interrupt mismatch in driver code, which will cause the corresponding interrupt can not be cleared correctly, and will finally cause a interrupt watch dog.

See merge request !335

7 years agoMerge branch 'feature/osx_brew_reqs' into 'master'
Ivan Grokhotkov [Thu, 29 Dec 2016 04:36:30 +0000 (12:36 +0800)]
Merge branch 'feature/osx_brew_reqs' into 'master'

docs: provide list of packages for homebrew

Github PR #20: https://github.com/espressif/esp-idf/pull/20

See merge request !340

7 years agoMerge branch 'feature/gpio_intr_function' into 'master'
Ivan Grokhotkov [Thu, 29 Dec 2016 04:36:04 +0000 (12:36 +0800)]
Merge branch 'feature/gpio_intr_function' into 'master'

GPIO driver: add per-pin interrupt handlers

1. add ISR handler apis so that users of different layers can hook their own isr handler on different GPIO.
    Audio project has different software layers, they need different gpio isr handler for layer instead of processing all GPIO interrupts in one handler.
    If this kind of calling a handler from isr is not proper, please kindly point out.
2. add gpio example code.
3. update gpio doc.

See merge request !345

7 years agoMerge branch 'bugfix/doc_template' into 'master'
Ivan Grokhotkov [Thu, 29 Dec 2016 04:33:51 +0000 (12:33 +0800)]
Merge branch 'bugfix/doc_template' into 'master'

Clarification on documenting examples

Improve documentation of examples with two basic actions:
- include README.md in each example project
- add a link with synopsis in API documentation

This was not clear reading original API documentation template.

See merge request !349

7 years agoMerge branch 'feature/add_ip_frag_option' into 'master'
Wu Jian Gang [Thu, 29 Dec 2016 03:26:06 +0000 (11:26 +0800)]
Merge branch 'feature/add_ip_frag_option' into 'master'

lwip: add ip frag and reassembly option in menuconfig

add ip frag and reassembly option in menuconfig

See merge request !348

7 years agogpio_driver: add per-pin interrupt handlers
Wangjialin [Sat, 24 Dec 2016 12:45:57 +0000 (20:45 +0800)]
gpio_driver: add per-pin interrupt handlers

1. add ISR handler apis so that users of different layers can hook their own isr handler on different GPIO.
    Audio project has different software layers, they need different gpio isr handler for layer instead of processing all GPIO interrupts in one handler.
    If this kind of calling a handler from isr is not proper, please kindly point out.
2. add gpio example code.
3. improve gpio.rst
4. add readme for gpio example

Squashed commits:
[278e50f] update: GPIO
1. coding style, add a space between conditional or loop keyword and an opening paren.
2. modify some return value and doc
3. use printf in example code
Squashed commits:
[efb23bb] minor change of comment

7 years agoMerge branch 'bugfix/uart_intr_config' into 'master'
Angus Gratton [Wed, 28 Dec 2016 21:36:26 +0000 (05:36 +0800)]
Merge branch 'bugfix/uart_intr_config' into 'master'

uart_intr_config should return ESP_OK on success

Github PR #170 https://github.com/espressif/esp-idf/pull/170

See merge request !339

7 years agoMerge branch 'bugfix/minor_issues' into 'master'
Angus Gratton [Wed, 28 Dec 2016 05:18:34 +0000 (13:18 +0800)]
Merge branch 'bugfix/minor_issues' into 'master'

Bugfixes from Github

Many small fixes for open github issues.

See merge request !334

7 years agoMerge branch 'bugfix/freertos_tick_period' into 'master'
Angus Gratton [Wed, 28 Dec 2016 00:28:04 +0000 (08:28 +0800)]
Merge branch 'bugfix/freertos_tick_period' into 'master'

Replace backwards-compatible portTICK_RATE_MS with FreeRTOS v8+ portTICK_PERIOD_MS

Closes github #51 https://github.com/espressif/esp-idf/issues/51

See merge request !336

7 years agoReplace backwards-compatible portTICK_RATE_MS with FreeRTOS v8+ portTICK_PERIOD_MS
Angus Gratton [Thu, 22 Dec 2016 01:42:21 +0000 (12:42 +1100)]
Replace backwards-compatible portTICK_RATE_MS with FreeRTOS v8+ portTICK_PERIOD_MS

Closes github #51 https://github.com/espressif/esp-idf/issues/51

7 years agoFreeRTOS: Default to canary byte stack overflow checking
Angus Gratton [Thu, 22 Dec 2016 03:47:14 +0000 (14:47 +1100)]
FreeRTOS: Default to canary byte stack overflow checking

Was mistakenly "none" due to name change not being propagated.

Closes github issue #181: https://github.com/espressif/esp-idf/issues/181

7 years agolinux docs: Add note about precompiled gdb on Arch
Angus Gratton [Thu, 22 Dec 2016 03:20:00 +0000 (14:20 +1100)]
linux docs: Add note about precompiled gdb on Arch

Closes github #150: https://github.com/espressif/esp-idf/issues/150

7 years agoRMT driver: Rename rmt_set_evt_intr_en to rmt_set_tx_thr_intr_en
Angus Gratton [Thu, 22 Dec 2016 02:54:42 +0000 (13:54 +1100)]
RMT driver: Rename rmt_set_evt_intr_en to rmt_set_tx_thr_intr_en

Closes github #115: https://github.com/espressif/esp-idf/issues/115

7 years agouart driver: Remove invalid UART_BITRATE_115200 enum from example
Angus Gratton [Thu, 22 Dec 2016 02:44:50 +0000 (13:44 +1100)]
uart driver: Remove invalid UART_BITRATE_115200 enum from example

Closes github #92 https://github.com/espressif/esp-idf/issues/92

7 years agouart driver: Set type of uart_driver_install queue param
Angus Gratton [Thu, 22 Dec 2016 02:43:42 +0000 (13:43 +1100)]
uart driver: Set type of uart_driver_install queue param

Closes github #91 https://github.com/espressif/esp-idf/issues/91

7 years agoLEDC driver: Use ledc_channel_t for all channel arguments
Angus Gratton [Thu, 22 Dec 2016 02:30:24 +0000 (13:30 +1100)]
LEDC driver: Use ledc_channel_t for all channel arguments

Closes github #54: https://github.com/espressif/esp-idf/issues/54

7 years agoRMT: Don't require carrier_freq_hz to be non-zero if carrier_en unset
Angus Gratton [Thu, 22 Dec 2016 02:21:11 +0000 (13:21 +1100)]
RMT: Don't require carrier_freq_hz to be non-zero if carrier_en unset

Closes github #123 https://github.com/espressif/esp-idf/issues/123

7 years agogpio driver: Fix gpio_set_level validation of gpio_num argument
Angus Gratton [Thu, 22 Dec 2016 02:05:19 +0000 (13:05 +1100)]
gpio driver: Fix gpio_set_level validation of gpio_num argument

Closes #125 https://github.com/espressif/esp-idf/issues/125

7 years agoesp_wifi_init: Update comment about init event_q
Angus Gratton [Thu, 22 Dec 2016 01:37:03 +0000 (12:37 +1100)]
esp_wifi_init: Update comment about init event_q

Closes github #28 https://github.com/espressif/esp-idf/issues/28

7 years agoWiFi interface: SSID and password fields should be uint8_t in all cases
Angus Gratton [Thu, 22 Dec 2016 01:34:11 +0000 (12:34 +1100)]
WiFi interface: SSID and password fields should be uint8_t in all cases

Closes github #40 https://github.com/espressif/esp-idf/issues/40

7 years agopanic handlers: Print the PC address where abort() was called, don't dump registers
Angus Gratton [Wed, 7 Dec 2016 00:33:24 +0000 (16:33 -0800)]
panic handlers: Print the PC address where abort() was called, don't dump registers

7 years agoMerge branch 'bugfix/tw9313_dual_core_issue' into 'master'
Jiang Jiang Jian [Tue, 27 Dec 2016 14:06:55 +0000 (22:06 +0800)]
Merge branch 'bugfix/tw9313_dual_core_issue' into 'master'

freertos: fix dual core issue

This commit try to fix dual issue tw9313 raised by QA
1. Put per-core data into critical session or interrupt disabled/enabled session
2. Idle task may have problem when it terminate the task in both core

See merge request !333

7 years agoClarification on documenting examples
Krzysztof [Tue, 27 Dec 2016 11:32:40 +0000 (12:32 +0100)]
Clarification on documenting examples

7 years agoMerge branch 'feature/save_and_commit_CI_test_result' into 'master'
Ivan Grokhotkov [Tue, 27 Dec 2016 04:23:38 +0000 (12:23 +0800)]
Merge branch 'feature/save_and_commit_CI_test_result' into 'master'

Feature/save and commit ci test result

See merge request !255

7 years agofreertos: rework code based on review
Liu Zhi Fu [Tue, 27 Dec 2016 04:11:07 +0000 (12:11 +0800)]
freertos: rework code based on review

7 years agoadd more protection for per-core data
Liu Zhi Fu [Mon, 26 Dec 2016 11:04:41 +0000 (19:04 +0800)]
add more protection for per-core data

7 years agoMerge branch 'feature/ethernet_driver' into 'master'
Wu Jian Gang [Mon, 26 Dec 2016 07:50:21 +0000 (15:50 +0800)]
Merge branch 'feature/ethernet_driver' into 'master'

feature/ethernet_driver: update ethernet driver

See merge request !319

7 years agolwip: add ip frag and reassembly option in menuconfig
XiaXiaotian [Mon, 26 Dec 2016 07:47:20 +0000 (15:47 +0800)]
lwip: add ip frag and reassembly option in menuconfig

7 years agofeature/ethernet_driver: update ethernet driver
shangke [Sun, 18 Dec 2016 13:18:37 +0000 (21:18 +0800)]
feature/ethernet_driver: update ethernet driver

1. The transmitting mode of the packets from LWIP to MAC is changed from synchronous to asynchronous.
2. The receive buf mode : support pointer mode and copy mode.
3. Add get phy status func used to config mac register.