]> granicus.if.org Git - esp-idf/log
esp-idf
8 years agocomponent bt:Finished Adding the GATTC API to the bt project
yulong [Wed, 26 Oct 2016 09:50:23 +0000 (05:50 -0400)]
component bt:Finished Adding the GATTC API to the bt project

8 years agocomponent bt: Added the Gatt client API to the bt project
yulong [Wed, 26 Oct 2016 03:56:45 +0000 (23:56 -0400)]
component bt: Added the Gatt client API to the bt project

8 years agocomponent bt: Added the param len & connect API to the bt project
yulong [Tue, 25 Oct 2016 13:12:10 +0000 (09:12 -0400)]
component bt: Added the param len & connect API to the bt project

8 years agocomponent bt:Added the BLE scan API to the bt project
yulong [Tue, 25 Oct 2016 09:07:36 +0000 (05:07 -0400)]
component bt:Added the BLE scan API to the bt project

8 years agocomponent bt:added the advertising & scanning API to the bt project
yulong [Fri, 21 Oct 2016 06:16:01 +0000 (02:16 -0400)]
component bt:added the advertising & scanning API to the bt project

8 years agocomponent bt:added the stop adverstising API to the BTA module
yulong [Wed, 19 Oct 2016 05:55:14 +0000 (01:55 -0400)]
component bt:added the stop adverstising API to the BTA module

8 years agocomponent bt:added the button profile event & process method to the project
yulong [Tue, 18 Oct 2016 09:22:36 +0000 (05:22 -0400)]
component bt:added the button profile event & process method to the project

8 years agocomponent bt:change the hid profile & bt_profile task
yulong [Mon, 17 Oct 2016 06:15:36 +0000 (02:15 -0400)]
component bt:change the hid profile & bt_profile task

8 years agocomponent bt: added the WX_AIRSYNC_CFG macro to control the wechat profile
yulong [Mon, 17 Oct 2016 03:54:22 +0000 (23:54 -0400)]
component bt: added the WX_AIRSYNC_CFG macro to control the wechat profile

8 years agocomponent bt:1.update the BLE hid to the project
yulong [Sat, 15 Oct 2016 10:28:54 +0000 (06:28 -0400)]
component bt:1.update the BLE hid to the project
     2.update the app adverting method

8 years agocomponent bt: 1.modified the btu buffer size from 15 to 60;
yulong [Sat, 15 Oct 2016 09:46:10 +0000 (05:46 -0400)]
component bt: 1.modified the btu buffer size from 15 to 60;
      2.change the smp method

8 years agocommponent bt: update the components/bt/lib & components/esptool_py/esptool
yulong [Sat, 15 Oct 2016 08:42:33 +0000 (04:42 -0400)]
commponent bt: update the components/bt/lib & components/esptool_py/esptool

8 years agocommponant bt:change bt_app_main to app_main
yulong [Fri, 14 Oct 2016 08:44:56 +0000 (04:44 -0400)]
commponant bt:change bt_app_main to app_main

8 years agocommponent bt:1.added the bt_prf_sys_main.c file which has been process the profile...
yulong [Thu, 13 Oct 2016 13:13:21 +0000 (09:13 -0400)]
commponent bt:1.added the bt_prf_sys_main.c file which has been process the profile task event method;
      2.modified the thread.h file==> added the profile task event in it
      3.modified bt_prf_task.c==>added the ready function in it
      4.added the bt_prf_sys.h file
      5.remove the profile_sys.h file

8 years agocommponent bt:1.add bt_prf_act.c file for the state machine
yulong [Thu, 13 Oct 2016 08:02:30 +0000 (04:02 -0400)]
commponent bt:1.add bt_prf_act.c file for the state machine
      2.add the bt_app_api.h file
      3.modified the bt_prf_task.c==>added the free & start task function

8 years agocommponent bt: 1.added the bt_app_sec.c file used for the security of the bt module;
yulong [Thu, 13 Oct 2016 03:41:30 +0000 (23:41 -0400)]
commponent bt: 1.added the bt_app_sec.c file used for the security of the bt module;
       2.added the bt_app_sec.h file which defined the sturct used for the bt security

8 years agocommponent bt:added the bt_prf_evt.h file defined the API event used for the profile...
yulong [Wed, 12 Oct 2016 09:28:01 +0000 (05:28 -0400)]
commponent bt:added the bt_prf_evt.h file defined the API event used for the profile task

8 years agocommponent bt:add bt_prf_task.c file for proceess the profile task event
yulong [Wed, 12 Oct 2016 07:38:26 +0000 (03:38 -0400)]
commponent bt:add bt_prf_task.c file for proceess the profile task event
add bt_prf_task.h for defined the data & struct used for the profile task
add prodile_sys.h defined the profile system data used for profile task
modified component.mk

8 years agocommponent bt:modified the cpu_start.c app_main function to bt_app_main funciton
yulong [Tue, 11 Oct 2016 12:05:58 +0000 (08:05 -0400)]
commponent bt:modified the cpu_start.c app_main function to bt_app_main funciton

8 years agocommponent bt:add the wechat airsync profile to the project
yulong [Tue, 11 Oct 2016 09:43:36 +0000 (05:43 -0400)]
commponent bt:add the wechat airsync profile to the project
1. add the wx_airsync_prf.h which have been define the sturcter data has been
used for the wechat airsync profile database
2. add the wx_airsync_prf.c file
3. add the app_airsync_md5.c file
4. add the app_airsync_prf.c
5. add epb.c file
6. add epb_mmbp.c
7. add mpbledemo2.c
8. add wechar_crc.c
9  add wechat_aes.c
10. add app_airsync_md5.h
11. add app_airsync_prf.h
12. add app_wechat_util.h
13. add epb.h
14. add epb_mmbp.h
15 add mpbledemo2.h
16 add wechar_crc.h
17 add wechat_aes.h

8 years ago1. Recover "future_t" model implementation using semaphore to allow for blocking...
wangmengyang [Mon, 10 Oct 2016 13:34:21 +0000 (21:34 +0800)]
1. Recover "future_t" model implementation using semaphore to allow for blocking function
2. Recover BTU task start-up/shut-down procedure according to original bluedroid implementation

8 years agorecover semaphore in fixed_queue to control the queue capacity
wangmengyang [Mon, 10 Oct 2016 12:37:26 +0000 (20:37 +0800)]
recover semaphore in fixed_queue to control the queue capacity

8 years agominor bug fixes for releasing bluedroid task events and deleting message queue
wangmengyang [Mon, 10 Oct 2016 12:16:30 +0000 (20:16 +0800)]
minor bug fixes for releasing bluedroid task events and deleting message queue

8 years agocomponent/bt : modify some files adapt to new master
Tian Hao [Fri, 7 Oct 2016 02:47:25 +0000 (10:47 +0800)]
component/bt : modify some files adapt to new master

1. fix some header files include
2. modify demo

8 years agoMerge branch 'master' into feature/btdm_bluedroid
Tian Hao [Fri, 7 Oct 2016 02:31:37 +0000 (10:31 +0800)]
Merge branch 'master' into feature/btdm_bluedroid

feature/btdm_bluedroid use newest master

# Conflicts:
# components/bt/component.mk

8 years agoMerge branch 'bugfix/syscall_write' into 'master'
Angus Gratton [Thu, 6 Oct 2016 07:58:34 +0000 (15:58 +0800)]
Merge branch 'bugfix/syscall_write' into 'master'

syscall write: Should return number of bytes written

Fixes bug where sometimes output truncates after a newline, or large
chunks of large output buffers are lost.

Closes #44

See merge request !133

8 years agosyscall write: Should return number of bytes written
Angus Gratton [Wed, 5 Oct 2016 22:51:51 +0000 (09:51 +1100)]
syscall write: Should return number of bytes written

Fixes bug where sometimes output truncates after a newline, or large
chunks of large output buffers are lost.

8 years agoAlso push relevant tags over
Jeroen Domburg [Fri, 30 Sep 2016 10:06:41 +0000 (18:06 +0800)]
Also push relevant tags over

8 years agoesp32: add libsmartconfig.a to link libs v0.9
Wu Jian Gang [Fri, 30 Sep 2016 07:40:08 +0000 (15:40 +0800)]
esp32: add libsmartconfig.a to link libs

8 years agoMerge branch 'feature/wifi_lib_update' into 'master'
Wu Jian Gang [Fri, 30 Sep 2016 06:18:40 +0000 (14:18 +0800)]
Merge branch 'feature/wifi_lib_update' into 'master'

wifi lib update

1. update smartconfig 2.6.2;
2. add watch dog;
3. remove libwpa2.a/libwps.a;

See merge request !129

8 years agoesp32: not link wps
Wu Jian Gang [Fri, 30 Sep 2016 06:04:03 +0000 (14:04 +0800)]
esp32: not link wps

8 years agoesp32/lib: update wifi lib to a1e5f8b9
Wu Jian Gang [Fri, 30 Sep 2016 05:50:11 +0000 (13:50 +0800)]
esp32/lib: update wifi lib to a1e5f8b9

1. update smartconfig 2.6.2;
2. add watch dog
3. remove libwpa2.a/libwps.a

8 years agoesp32: remove esp_wps.h
Wu Jian Gang [Fri, 30 Sep 2016 05:48:37 +0000 (13:48 +0800)]
esp32: remove esp_wps.h

not support now

8 years agoMerge branch 'driver_merge_tmp/merge_smartconfig' into 'master'
Jeroen Domburg [Fri, 30 Sep 2016 01:36:13 +0000 (09:36 +0800)]
Merge branch 'driver_merge_tmp/merge_smartconfig' into 'master'

add smartconfig header files(merge this after updating libsmartconfig.a version v2.6.2)

1. change the API names.
2. return esp_err_t
3. merge this after updating libsmartconfig.a version v2.6.2

See merge request !127

8 years agoadd smartconfig header files(merge this after updating libsmartconfig.a version v2...
Wangjialin [Thu, 29 Sep 2016 18:31:14 +0000 (02:31 +0800)]
add smartconfig header files(merge this after updating libsmartconfig.a version v2.6.2)

1. change the original API names.
2. return esp_err_t
3. merge this after updating libsmartconfig.a version v2.6.2

8 years agoMerge branch 'bugfix/fix_rxbuf_leak_issue' into 'master'
Wu Jian Gang [Thu, 29 Sep 2016 10:37:32 +0000 (18:37 +0800)]
Merge branch 'bugfix/fix_rxbuf_leak_issue' into 'master'

component/esp32: udpate wifi lib

1. cb274d8b - add debug api for debugging rx buffer leak issue
2. f86b0510 - fix rx buffer leak issue

See merge request !126

8 years agoesp32/lib: update wifi lib to 3853d7ae
Wu Jian Gang [Thu, 29 Sep 2016 10:19:38 +0000 (18:19 +0800)]
esp32/lib: update wifi lib to 3853d7ae

1. add debug api for debugging rx buffer leak issue
2. fix rx buffer leak issue

8 years agoMerge branch 'feature/deep_sleep_wake_stub' into 'master'
Wu Jian Gang [Thu, 29 Sep 2016 10:07:16 +0000 (18:07 +0800)]
Merge branch 'feature/deep_sleep_wake_stub' into 'master'

esp32: Bootloader wake deep sleep stub

App can contain a stub program resident in RTC fast memory. Bootloader
will load the stub on initial boot. If the device wakes from deep sleep,
the stub is run immediately (before any other data is loaded, etc.)

To implement a custom wake stub, implement a function in your program:

```
void RTC_IRAM_ATTR esp_wake_deep_sleep(void)
{
  esp_default_wake_deep_sleep();
  // other wake logic
}
```

... and it will replace the default implementation.

See merge request !78

8 years agoAdd Comments
jack [Thu, 29 Sep 2016 08:29:13 +0000 (16:29 +0800)]
Add Comments

We reserve 4KB Slow RTC memory to save RF calibation result and BT NVS data.
If not all these Slow RTC momory Blocks are used, we will open the other parts.

8 years agoMerge branch 'feature/tcpip_adapter_comments' into 'master'
Wu Jian Gang [Thu, 29 Sep 2016 04:16:49 +0000 (12:16 +0800)]
Merge branch 'feature/tcpip_adapter_comments' into 'master'

add comments for tcpip_adapter

See merge request !123

8 years agoMerge branch 'driver_merge_tmp/merge_ledc' into 'master'
Jeroen Domburg [Thu, 29 Sep 2016 03:57:52 +0000 (11:57 +0800)]
Merge branch 'driver_merge_tmp/merge_ledc' into 'master'

add ledc driver code

See merge request !110

8 years agoModify spinlock error in periph_ctrl.c
Wangjialin [Thu, 29 Sep 2016 03:50:25 +0000 (11:50 +0800)]
Modify spinlock error in periph_ctrl.c

8 years agoMerge branch 'workaround/pin_noaffinity_task_to_core_when_fpu_used' into 'master'
Jeroen Domburg [Thu, 29 Sep 2016 03:16:41 +0000 (11:16 +0800)]
Merge branch 'workaround/pin_noaffinity_task_to_core_when_fpu_used' into 'master'

Workaround: Automatically pin no-cpu-affinity task to a core when FPU is used

FPU status at the moment does not migrate cleanly between cores, so tasks without affinity that happen to migrate across FPUs will run into problems. As a workaround, this modification will automatically pin the task to the current CPU when FPU activity is detected. If anything, it's better than getting all kinds of weird and wonderful FPU corruption issues...

See merge request !124

8 years agoDefine xcoreid offset, add warning in tcb struct wrt the need to also change that...
Jeroen Domburg [Thu, 29 Sep 2016 03:07:18 +0000 (11:07 +0800)]
Define xcoreid offset, add warning in tcb struct wrt the need to also change that define when struct changes

8 years agoMerge branch 'bugfix/tw6513_fix_memory_leak_issue' into 'master'
Wu Jian Gang [Thu, 29 Sep 2016 02:58:34 +0000 (10:58 +0800)]
Merge branch 'bugfix/tw6513_fix_memory_leak_issue' into 'master'

components/lib: update wifi lib

fe8baaca - tw6513 fix a memory leak issue

See merge request !125

8 years agocomponents/tcpip_adapter: add some comments
Wu Jian Gang [Thu, 29 Sep 2016 02:55:52 +0000 (10:55 +0800)]
components/tcpip_adapter: add some comments

8 years agoMerge branch 'feature/instruct_nghttp_xml' into 'master'
Jeroen Domburg [Thu, 29 Sep 2016 01:58:03 +0000 (09:58 +0800)]
Merge branch 'feature/instruct_nghttp_xml' into 'master'

Feature/instruct nghttp xml

add expat and nghttp library description, instruct the XML parse and HTTP/2 protocol.

See merge request !119

8 years agoMerge branch 'feature/freertos_untested_feature_assert' into 'master'
Jeroen Domburg [Thu, 29 Sep 2016 01:55:06 +0000 (09:55 +0800)]
Merge branch 'feature/freertos_untested_feature_assert' into 'master'

Assert on untested FreeRTOS features

When I SMP-enabled, I went through all the functions and made the necessary modifiucations. I however only managed to test the most used functions thoroughly. While we should test all FreeRTOS functions eventually, this MR will mark the ones we have not tested yet with a macro call that will, if enabled in MenuConfig (default enabled) assert() when the untested function is called.

Also removes some superfluous mux initializion code in EventGroups code.

See merge request !120

8 years agoModify LEDC driver
Wangjialin [Wed, 28 Sep 2016 15:20:34 +0000 (23:20 +0800)]
Modify LEDC driver

1. configure LEDC timer saparately
2. add peripher_crtl.c/.h
    To enable the peripheral modules, we have to set/clear the control register in dport_reg.h.
    These bits are disabled by default and they are all in a same register, so we need to add a lock on that.
3. add include esp_err.h in gpio.h

8 years agoMerge branch 'master' into feature/freertos_untested_feature_assert
Jeroen Domburg [Wed, 28 Sep 2016 14:15:05 +0000 (22:15 +0800)]
Merge branch 'master' into feature/freertos_untested_feature_assert

8 years agocomponents/lib: update wifi lib
liuzhifu [Wed, 28 Sep 2016 13:35:49 +0000 (21:35 +0800)]
components/lib: update wifi lib

fe8baaca - tw6513 fix a memory leak issue

8 years agoAutomatically pin no-cpu-affinity task to a core when FPU is used
Jeroen Domburg [Wed, 28 Sep 2016 09:02:44 +0000 (17:02 +0800)]
Automatically pin no-cpu-affinity task to a core when FPU is used

8 years agocomponents/expat: just change format of expat.rst
Wu Jian Gang [Wed, 28 Sep 2016 05:53:38 +0000 (13:53 +0800)]
components/expat: just change format of expat.rst

preview will be better.

8 years agocomponents/nghttp: just change format of nghttp.rst
Wu Jian Gang [Wed, 28 Sep 2016 05:50:34 +0000 (13:50 +0800)]
components/nghttp: just change format of nghttp.rst

preview will be better.

8 years agocomponents/nghttp: a few grammar fixes
liuhan [Wed, 28 Sep 2016 02:18:15 +0000 (10:18 +0800)]
components/nghttp: a few grammar fixes

modify a few grammar, see nghttp.rst file.

8 years agocomponents/expat: a few grammar fixes
liuhan [Wed, 28 Sep 2016 02:10:36 +0000 (10:10 +0800)]
components/expat: a few grammar fixes

modify a few grammar, see expat.rst file.

8 years agocomponents/nghttp: add nghttp library description
liuhan [Mon, 26 Sep 2016 12:49:06 +0000 (20:49 +0800)]
components/nghttp: add nghttp library description

add HTTP/2 instruction, see nghttp file.

8 years agocomponents/expat: add expat library description
liuhan [Mon, 26 Sep 2016 12:44:42 +0000 (20:44 +0800)]
components/expat: add expat library description

add XML instruction, see expat file.

8 years agocomponents/tcpip_adapter: add comments for tcpip_adapter
Wu Jian Gang [Wed, 28 Sep 2016 08:21:24 +0000 (16:21 +0800)]
components/tcpip_adapter: add comments for tcpip_adapter

8 years agoMerge branch 'master' into driver_merge_tmp/merge_ledc
Wangjialin [Wed, 28 Sep 2016 05:27:58 +0000 (13:27 +0800)]
Merge branch 'master' into driver_merge_tmp/merge_ledc

Merge master branch to pass building.

8 years agoKconfig: use 4 spaces to instead 1 tab
Wu Jian Gang [Wed, 28 Sep 2016 05:24:58 +0000 (13:24 +0800)]
Kconfig: use 4 spaces to instead 1 tab

In some Kconfig file, both 4 spaces and 1 tab are used mix, let's just
use 4 space, it will be clean in some editor.

8 years agoMerge branch 'feature/btdm_lib_update' into 'master'
Wu Jian Gang [Wed, 28 Sep 2016 05:24:07 +0000 (13:24 +0800)]
Merge branch 'feature/btdm_lib_update' into 'master'

component/bt: update libbtdm_app.a

1. update the lib to version 010102 because the branch feature/btdm_controller missed the lib

See merge request !122

8 years agoAdd ringbuf.c. This works like a FreeRTOS queue, but allows for variable-length items...
Jeroen Domburg [Wed, 28 Sep 2016 04:43:35 +0000 (12:43 +0800)]
Add ringbuf.c. This works like a FreeRTOS queue, but allows for variable-length items which in some cases is more memory efficient than a queue.

8 years agocomponent/bt: update libbtdm_app.a
wangmengyang [Wed, 28 Sep 2016 04:30:44 +0000 (12:30 +0800)]
component/bt: update libbtdm_app.a

1. update the lib to version 010102 because the branch feature/btdm_controller missed the lib

8 years agoesp32: add TRACEMEM_RESERVE_DRAM config
Wu Jian Gang [Wed, 28 Sep 2016 04:27:25 +0000 (12:27 +0800)]
esp32: add TRACEMEM_RESERVE_DRAM config

this configaration is missed when rebase

8 years agoMinor modification
Wangjialin [Wed, 28 Sep 2016 04:04:15 +0000 (12:04 +0800)]
Minor modification

1. add new line between typedefs
2. for param check functions, return bool if they are true/false

8 years ago1. Change the deep sleep stub code to fix wake bug.
xiaxiaotian [Wed, 28 Sep 2016 03:52:39 +0000 (11:52 +0800)]
1. Change the deep sleep stub code to fix wake bug.

8 years agoesp32: Allow RTC slow memory to be reserved for ULP coprocessor
Angus Gratton [Wed, 21 Sep 2016 01:24:02 +0000 (11:24 +1000)]
esp32: Allow RTC slow memory to be reserved for ULP coprocessor

8 years agoesp32: Pass memory layout linker script through C preprocessor
Angus Gratton [Wed, 21 Sep 2016 01:04:16 +0000 (11:04 +1000)]
esp32: Pass memory layout linker script through C preprocessor

C preprocessor is a bit icky, but with ULP we will have 3 possible
variables influencing the memory layout and 9 linker scripts is too
many!

8 years agoesp32: Add esp_deepsleep.h to esp_system.h to keep backwards compatibility with syste...
Angus Gratton [Wed, 14 Sep 2016 00:58:38 +0000 (10:58 +1000)]
esp32: Add esp_deepsleep.h to esp_system.h to keep backwards compatibility with system_deep_sleep()

8 years agoesp32: Bootloader wake deep sleep stub
Angus Gratton [Mon, 12 Sep 2016 07:23:15 +0000 (17:23 +1000)]
esp32: Bootloader wake deep sleep stub

App can contain a stub program resident in RTC fast memory. Bootloader
will load the stub on initial boot. If the device wakes from deep sleep,
the stub is run immediately (before any other data is loaded, etc.)

To implement a custom wake stub, implement a function in your program:

```
void RTC_IRAM_ATTR esp_wake_deep_sleep(void)
{
  esp_default_wake_deep_sleep();
  // other wake logic
}
```

... and it will replace the default implementation.

8 years agoMerge branch 'feature/btdm_controller' into 'master'
Ivan Grokhotkov [Tue, 27 Sep 2016 14:20:37 +0000 (22:20 +0800)]
Merge branch 'feature/btdm_controller' into 'master'

bluetooth controller update

1. add mutex to VHCI APIs
2. remove bss/data log print during initialization;
3. add bss/data symbols in esp32.rom.ld
4. add & modify BTDM OSI functions

See merge request !117

8 years agoMerge branch 'master' into feature/btdm_controller
Ivan Grokhotkov [Tue, 27 Sep 2016 14:08:27 +0000 (22:08 +0800)]
Merge branch 'master' into feature/btdm_controller

* master:
  app_main: Return type to void
  wifi: move type definitions into separate header file
  wifi: use default esp_event_send handler in WIFI_INIT_CONFIG_DEFAULT
  nvs: Remove flash layout arguments from nvs_init()
  Add contributor agreement, update CONTRIBUTING file
  Update http_request & https_request examples for new startup flow
  Add very simple "hello world" & "blink" examples
  Build examples out-of-tree as part of CI process
  Examples: Use event groups for waiting until WiFi is associated & ESP has IP
  BT example: Enable BT stack in config by default
  BT: Relink component on new BT library, auto-initialise submodule if missing
  Documentation: Add contributor guide, expand README & add an examples README
  Update gitignore for examples
  examples: Add https_request example
  mbedtls: Add some initial menuconfig options
  examples: HTTP request example
  component/esp32: udpate wifi lib
  component/esp32: modify bool argument name from enable to en
  component/esp32: adjust some APIs
  esptool: Bump upstream revision

8 years agocomponent/bt : adjust the bluedroid architecture
Tian Hao [Tue, 27 Sep 2016 13:38:07 +0000 (21:38 +0800)]
component/bt : adjust the bluedroid architecture

1. move the app demo code to example
2. move the header files to correct path
3. move profile to profiles directory and seperate esp&std
4. some other codes
5. needs continue to cleanup the code

8 years agoMerge branch 'feature/initial_examples' into 'master'
Ivan Grokhotkov [Tue, 27 Sep 2016 11:17:43 +0000 (19:17 +0800)]
Merge branch 'feature/initial_examples' into 'master'

Basic examples

Basic examples, contributor information & README clarifications.

See merge request !102

8 years agoMerge branch 'feature/esptool_bump' into 'master'
Angus Gratton [Tue, 27 Sep 2016 09:54:28 +0000 (17:54 +0800)]
Merge branch 'feature/esptool_bump' into 'master'

esptool: Bump upstream revision

Fixes github #14 (unexpected errors writing to DIO flash)

Also speed boost when writing compressed data (can now go via stub)

See merge request !103

8 years agoMerge remote-tracking branch 'origin/bugfix/modify_some_wifi_apis' into feature/initi...
Angus Gratton [Tue, 27 Sep 2016 09:31:49 +0000 (19:31 +1000)]
Merge remote-tracking branch 'origin/bugfix/modify_some_wifi_apis' into feature/initial_examples

8 years agoapp_main: Return type to void
Angus Gratton [Tue, 27 Sep 2016 09:30:43 +0000 (19:30 +1000)]
app_main: Return type to void

Result is not checked

8 years agoMerge branch 'master' into feature/btdm_controller
Ivan Grokhotkov [Tue, 27 Sep 2016 04:40:56 +0000 (12:40 +0800)]
Merge branch 'master' into feature/btdm_controller

* master: (32 commits)
  components/nghttp: rename Makefile to component.mk
  components/nghttp: add HTTP2.0 protocol feature
  compoenents/esp32: don't alias start_cpu1 to start_cpu0_default
  components/freertos: fix a bug with an uninitialised return value
  Change application entry point name back to app_main
  gitlab-ci: build SSC with matching branch name, if available
  components/spi_flash: remove stray level of indentation
  components/nvs: fix broken sentences in comment blocks
  components/esp32: fix renaming of esp_event_set_cb, minor clean up
  components/esp32: remove "_user" part from entry points, weaken start_cpu0/1
  Fix a spelling mistake in panic message, add carriage return to stack canary message
  components/lwip,esp32: fixes for C++
  components/bt: fix compilation, remove ./ from makefile
  components/esp32: clarify type of queue in wifi_init_config_t, add default init macro
  components/esp32: add ESP_ERROR_CHECK
  Event handling refactoring
  clean up warnings
  components/esp32,bt: fix typos in comments
  Startup flow refactoring
  Roll back submodule version
  ...

8 years agoFix UNTESTED_FUNCTION includes, remove unnecessary mux initialization in event groups
Jeroen Domburg [Tue, 27 Sep 2016 03:50:46 +0000 (11:50 +0800)]
Fix UNTESTED_FUNCTION includes, remove unnecessary mux initialization in event groups

8 years agowifi: move type definitions into separate header file
Ivan Grokhotkov [Tue, 27 Sep 2016 03:47:47 +0000 (11:47 +0800)]
wifi: move type definitions into separate header file

While this may reduce esp_wifi.h file readability for people who don't have a "go to definition" function in their editors, this is needed to decouple esp_wifi and esp_event headers, and possibly other headers which may use wifi types in the future.

8 years agoAdd UNTESTED_FUNCTION() call to untested functions, make Kconfig option to enable...
Jeroen Domburg [Tue, 27 Sep 2016 03:36:30 +0000 (11:36 +0800)]
Add UNTESTED_FUNCTION() call to untested functions, make Kconfig option to enable that to map to assert()

8 years agowifi: use default esp_event_send handler in WIFI_INIT_CONFIG_DEFAULT
Ivan Grokhotkov [Tue, 27 Sep 2016 03:33:19 +0000 (11:33 +0800)]
wifi: use default esp_event_send handler in WIFI_INIT_CONFIG_DEFAULT

8 years agonvs: Remove flash layout arguments from nvs_init()
Angus Gratton [Tue, 27 Sep 2016 02:45:06 +0000 (12:45 +1000)]
nvs: Remove flash layout arguments from nvs_init()

Add notes that current NVS layout defaults are a Work In Progress and
not yet integrated with the partition table.

8 years agoAdd contributor agreement, update CONTRIBUTING file
Angus Gratton [Tue, 27 Sep 2016 02:03:08 +0000 (12:03 +1000)]
Add contributor agreement, update CONTRIBUTING file

8 years agoUpdate http_request & https_request examples for new startup flow
Angus Gratton [Tue, 27 Sep 2016 01:16:40 +0000 (11:16 +1000)]
Update http_request & https_request examples for new startup flow

8 years agoAdd very simple "hello world" & "blink" examples
Angus Gratton [Tue, 27 Sep 2016 00:30:07 +0000 (10:30 +1000)]
Add very simple "hello world" & "blink" examples

8 years agoBuild examples out-of-tree as part of CI process
Angus Gratton [Mon, 26 Sep 2016 07:13:32 +0000 (17:13 +1000)]
Build examples out-of-tree as part of CI process

8 years agoExamples: Use event groups for waiting until WiFi is associated & ESP has IP
Angus Gratton [Mon, 26 Sep 2016 05:48:36 +0000 (15:48 +1000)]
Examples: Use event groups for waiting until WiFi is associated & ESP has IP

8 years agoBT example: Enable BT stack in config by default
Angus Gratton [Mon, 26 Sep 2016 06:00:00 +0000 (16:00 +1000)]
BT example: Enable BT stack in config by default

8 years agoBT: Relink component on new BT library, auto-initialise submodule if missing
Angus Gratton [Mon, 26 Sep 2016 05:59:39 +0000 (15:59 +1000)]
BT: Relink component on new BT library, auto-initialise submodule if missing

8 years agoDocumentation: Add contributor guide, expand README & add an examples README
Angus Gratton [Wed, 21 Sep 2016 07:25:36 +0000 (17:25 +1000)]
Documentation: Add contributor guide, expand README & add an examples README

8 years agoUpdate gitignore for examples
Angus Gratton [Wed, 21 Sep 2016 06:46:39 +0000 (16:46 +1000)]
Update gitignore for examples

8 years agoexamples: Add https_request example
Angus Gratton [Wed, 21 Sep 2016 06:44:27 +0000 (16:44 +1000)]
examples: Add https_request example

8 years agombedtls: Add some initial menuconfig options
Angus Gratton [Wed, 21 Sep 2016 06:36:30 +0000 (16:36 +1000)]
mbedtls: Add some initial menuconfig options

8 years agoexamples: HTTP request example
Angus Gratton [Wed, 21 Sep 2016 04:57:02 +0000 (14:57 +1000)]
examples: HTTP request example

8 years agocomponent/bt: add bluedroid 1st version
Tian Hao [Mon, 26 Sep 2016 13:37:39 +0000 (21:37 +0800)]
component/bt: add bluedroid 1st version

1. add bluedroid 1st version
2. alarm adapter
3. task semaphore lock
4. other bugs resolved

8 years agocomponent/esp32: udpate wifi lib
liuzhifu [Mon, 26 Sep 2016 12:43:19 +0000 (20:43 +0800)]
component/esp32: udpate wifi lib

1. 1a01e34f - adjust esp_wifi_set/get_promiscuous' arguments from uint8/uint8*
               to bool/bool*
2. 3611e699 - register event handler instead of event Q in esp_wifi_init

8 years agocomponent/esp32: modify bool argument name from enable to en
liuzhifu [Mon, 26 Sep 2016 12:15:16 +0000 (20:15 +0800)]
component/esp32: modify bool argument name from enable to en

1. Modify WIFI_INIT_CONFIG_DEFAULT
2. Modify bool argument name from enable to en

8 years agoMerge branch 'feature/nghttp' into 'master'
Wu Jian Gang [Mon, 26 Sep 2016 12:14:06 +0000 (20:14 +0800)]
Merge branch 'feature/nghttp' into 'master'

components/nghttp: add HTTP2.0 protocol feature

nghttp only support HTTP2.0 parse function, it has nothing to do with other modules. when Communicate with the server, suggest that you use it on the TLS layer.

See merge request !60