wangmengyang
c94e0177c2
component/bt: Merge branch 'master' into feature/btdm_a2dp
2016-12-26 20:35:28 +08:00
wangmengyang
0ad3017df7
component/bt: A2DP code original in example project moved to component/bt directory;
...
1. move btif and A2DP source code from project directory to bluetooth directory;
2. some updates of audio source code;
2016-12-26 17:40:28 +08:00
wangmengyang
6163d214b3
component/bt: API clean up for the A2DP example
2016-12-26 17:26:54 +08:00
shangke
5ddf6daa98
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.
2016-12-26 14:50:49 +08:00
Wangjialin
9dbdab5c9a
driver: uart
...
1. add uart rx buffer data length API
2. add uart pattern detect event
3. add uart example code
4. modify uart_isr_register
5. modify uart.rst
6. fix parity err event and frame err event.
2016-12-21 11:55:53 +08:00
Jeroen Domburg
99849ca2cc
Fix timer example; it had too little stack resulting in a stack overflow
2016-12-19 18:48:08 +08:00
Wangjialin
b00b75db7e
driver: sigma-delta
...
1. add sigma-delta code and example.
2. add gpio output signal in io matrix.
Squashed commits:
[a25e7d4] minor changes for doc
[6a03a1e] minor changes on comments and doc.
[97dd9e4] Add doc.
update index.rst
change example index
2016-12-18 17:20:17 +08:00
Ivan Grokhotkov
88ddf5aefa
deep sleep: rename header file
2016-12-16 14:30:27 +08:00
Tian Hao
5a2033c4e3
Merge branch 'master' into bugfix/btdm_bluedroid
2016-12-15 14:40:29 +08:00
Tian Hao
1be09039e3
component/bt : cleanup the un-necessary include in api.h
...
1. cleanup the un-necessary include in api.h for "extern c"
2. add UUID define
2016-12-09 14:38:21 +08:00
Jeroen Domburg
bf57594ebe
Merge branch 'feature/intr_alloc' into 'master'
...
Add dynamic interrupt allocation mechanism
This adds:
- Dynamic allocation of interrupts. Pass it the features of the interrupt you want, it'll set you up with an int.
- Shared interrupts. Enables multiple peripheral drivers to use the same interrupt.
- Marking what interrupts are fully executable from IRAM; if an int isn't marked like that it will get disabled once flash cache gets disabled.
Also:
- Modifies driver to be in line with these changes
See merge request !254
2016-12-09 14:00:39 +08:00
Angus Gratton
f68e1c22ab
Merge branch 'bugfix/ci_fail_warnings' into 'master'
...
Fail CI build on warnings
This allows developers to add CFLAGS for -Wno-error=XXX while developing, but before code passes the CI build then it must be warning-free.
See merge request !279
2016-12-09 13:25:51 +08:00
Liu Han
d6ec6d1ae5
example/09_openssl_client: change default port to be 443
2016-12-08 20:28:45 +08:00
Liu Han
19a2ee3740
example/https_request: add header file declare platform.h of mbedtls
2016-12-08 15:03:38 +08:00
Jeroen Domburg
baa6a477c5
Fix example code, add chapter to docs about interrupts and multicore issues
2016-12-08 14:42:00 +08:00
Jeroen Domburg
2c34ab3374
Mark some interrupts that are now allocated dynamically as free, add int handle param documentation, add local ints test
2016-12-08 12:39:33 +08:00
Jeroen Domburg
655fd2986a
Add interrupt allocation scheme / interrupt sharing. Also modifies drivers and examples. Also allows interrupts
...
to be marked specifically as having a handler that's all in IRAM.
2016-12-08 12:39:33 +08:00
Angus Gratton
cbc7d1814c
pcnt example: Remove unused debugging tag
2016-12-07 14:16:05 -08:00
Tian Hao
c277735e6e
component/bt : cleanup demo warnings
2016-12-07 13:49:53 -08:00
Tian Hao
5933ebc6b6
component/bt : cleanup all the "-W-no-xx" and all the warnings
...
1. cleanup the warnings.
2. fix the some function called in gap
3. fix some code in btc_main
2016-12-07 13:49:53 -08:00
wangmengyang
bc5bc0f026
component/bt: bug fix for incorrect copy of Bluetooth device address
2016-12-06 20:20:56 +08:00
wangmengyang
252353d1c6
component/bt: A2DP clean-up:
...
1. remove UIPC code;
2. remove SBC encoder part
2016-12-06 17:07:32 +08:00
wangmengyang
9b397f1e28
component/bt: A2DP clean-up
...
1. remove unused file audio_a2dp_hw.c
2. remove "BTIF_AV_SRC_INCLUDED" enclosed codes
2016-12-05 18:02:09 +08:00
wangmengyang
11ddfbba4e
Merge branch 'feature/btdm_bluedroid' into feature/btdm_a2dp
...
# Conflicts:
# examples/13_bt_sdp/components/bluedroid_demos/btif/btif_core.c
# examples/13_bt_sdp/components/bluedroid_demos/include/btif_util.h
2016-12-02 22:33:09 +08:00
wangmengyang
56bbc17ddc
component/bt: refactor the A2DP application task
2016-12-02 21:50:32 +08:00
Wu Jian Gang
667d0ef319
docs: fix example index
2016-12-02 16:02:20 +08:00
wangmengyang
6b4c2e8dc0
component/bt: use a callback function instead of UIPC function to write audio stream
2016-12-02 14:39:03 +08:00
Jiang Jiang Jian
bd20288b81
Merge branch 'feature/btdm_bluedroid' into 'master'
...
Feature/btdm bluedroid
This branch contain the bluedroid host code.
Currently, Only GAP/GATT SERVER/GATT CLIENT release to users.
Actually, the content of the codes is further more than GAP/GATT and etc.
In this release version, users only need to concern about the APIs which are in "api/include/".
Now, suggestions in comment have been resolved are following:
1. The APIs use callback function. Ivan , Jeroen and me have discussed it. Currently the code will not be changed.
2. The APIs use OPEN/CLOSE. I have ask Ivan, besides bluedroid do this, we will keep the name.
3. Coding style. I have run format.sh to handle the style. And some spell error have been fixed.
4. APIs doxygen. I have clean the warning by doxygen. But bt.rst is still need to be completed.
5. Other comment without resolved face to face that I have to add response in the comment and fix them in the code
6. Fix some incorrect things. See the git log for details.
This 1st version of bluedroid release still have lots of things to do. But it can be done after this merge.
1. Compelete the BLUFI(Bluetooth config wifi connection) documents, security, application protocol and other.
2. Add SPP-LIKE profile.
3. Do more examples codes to cover most of the APIs.
4. Test and fix bug.
Another thing:
1. Do the document of APIs.(xml->bt.rst->html)
(I will do this before merge as Ivan's suggestion)
This is already done. Besides, the union type in doxygen have something error. Ivan will fix it.
See merge request !239
2016-12-02 12:07:20 +08:00
wangmengyang
1d8355f54b
component/bt: modify the stack manager API not to use callbacks
2016-12-01 21:46:37 +08:00
wangmengyang
38cc22a85c
component/bt: A2DP API modification
...
1. add one API to register the A2DP callback functions
2016-12-01 21:30:05 +08:00
wangmengyang
e17519e49b
component/bt: merge the three A2DP APIs into one
2016-12-01 21:13:27 +08:00
wangmengyang
859e2d5578
component/bt: A2DP APIs refactor
...
1. change A2DP typedef and API prefixes
2. modify function audio configuration callback
2016-12-01 19:48:51 +08:00
shangke
e0040af7e5
ethernet: add first version of ethernet driver
2016-12-01 19:17:48 +08:00
wangmengyang
5b120186f1
component/bt: modify the a2dp APIs
2016-12-01 14:57:44 +08:00
Tian Hao
a8dd1dfcf2
component/bt : remove sdp demo and add default sdkconfig of bt demos
...
1. remove sdp demo.
2. add sdkconfig.default for bt demos
2016-11-30 11:26:30 +08:00
Tian Hao
5a9801aca7
Merge branch 'master' into feature/btdm_bluedroid
...
# Conflicts:
# components/esp32/cpu_freq.c
# components/esp32/lib
2016-11-29 18:38:37 +08:00
Tian Hao
f6de7ea764
component/bt : cleanup status and spell check
2016-11-28 22:40:30 +08:00
Tian Hao
9d9e758756
component/bt : add comment for doxygen
...
1. use doxygen check api comment
2016-11-28 21:59:04 +08:00
wangmengyang
50227f12fd
Merge branch 'feature/btdm_bluedroid' into feature/btdm_a2dp
...
# Conflicts:
# components/bt/bluedroid/bta/include/bta_api.h
# components/bt/bluedroid/bta/include/bta_gattc_int.h
# components/bt/bluedroid/hci/hci_hal_h4.c
# components/bt/bluedroid/hci/hci_layer.c
# components/bt/bluedroid/include/bt_target.h
# components/bt/bluedroid/stack/btu/btu_init.c
2016-11-28 18:06:24 +08:00
Tian Hao
ff8ce12787
component/bt : cleanup the spell && redundant
2016-11-28 14:58:30 +08:00
wangmengyang
2c577b1360
component/bt: reduce bt tasks' stack size
2016-11-26 16:46:52 +08:00
wangmengyang
2e8af3a8b7
component/bt: fix typos and complier errors of the merged code
...
1. format the source code of A2DP sample
2. fix some compiler errors and warnings
2016-11-26 13:09:55 +08:00
wangmengyang
73f00732cf
Merge branch 'feature/btdm_bluedroid' into feature/btdm_a2dp
...
# Conflicts:
# components/bt/bluedroid/bta/sys/bta_sys_main.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_api.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_bld_ct.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_bld_tg.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_opt.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_pars_ct.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_pars_tg.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_sdp.c
# components/bt/bluedroid/btc/profile/std/avrc/avrc_utils.c
# components/bt/bluedroid/btc/profile/std/avrc/include/avrc_int.h
# components/bt/bluedroid/btc/profile/std/include/avct_api.h
# components/bt/bluedroid/btc/profile/std/include/avdt_api.h
# components/bt/bluedroid/btc/profile/std/include/avdt_defs.h
# components/bt/bluedroid/btc/profile/std/include/avdtc_api.h
# components/bt/bluedroid/btc/profile/std/include/avrc_api.h
# components/bt/bluedroid/btc/profile/std/include/avrc_defs.h
# components/bt/bluedroid/gki/gki_buffer.c
# components/bt/bluedroid/hci/hci_hal_h4.c
# components/bt/bluedroid/hci/hci_layer.c
# components/bt/bluedroid/hci/packet_fragmenter.c
# components/bt/bluedroid/include/bt_trace.h
# components/bt/bluedroid/osi/alarm.c
# components/bt/bluedroid/profiles/std/avrc/avrc_api.c
# components/bt/bluedroid/profiles/std/avrc/avrc_bld_ct.c
# components/bt/bluedroid/profiles/std/avrc/avrc_bld_tg.c
# components/bt/bluedroid/profiles/std/avrc/avrc_opt.c
# components/bt/bluedroid/profiles/std/avrc/avrc_pars_ct.c
# components/bt/bluedroid/profiles/std/avrc/avrc_pars_tg.c
# components/bt/bluedroid/profiles/std/avrc/avrc_sdp.c
# components/bt/bluedroid/profiles/std/avrc/avrc_utils.c
# components/bt/bluedroid/profiles/std/avrc/include/avrc_int.h
# components/bt/bluedroid/profiles/std/include/avct_api.h
# components/bt/bluedroid/profiles/std/include/avdt_api.h
# components/bt/bluedroid/profiles/std/include/avdt_defs.h
# components/bt/bluedroid/profiles/std/include/avdtc_api.h
# components/bt/bluedroid/profiles/std/include/avrc_api.h
# components/bt/bluedroid/profiles/std/include/avrc_defs.h
# components/bt/bluedroid/stack/avdt/include/avdt_defs.h
# components/bt/bluedroid/stack/avrc/avrc_api.c
# components/bt/bluedroid/stack/avrc/avrc_bld_ct.c
# components/bt/bluedroid/stack/avrc/avrc_bld_tg.c
# components/bt/bluedroid/stack/avrc/avrc_opt.c
# components/bt/bluedroid/stack/avrc/avrc_pars_ct.c
# components/bt/bluedroid/stack/avrc/avrc_pars_tg.c
# components/bt/bluedroid/stack/avrc/avrc_sdp.c
# components/bt/bluedroid/stack/avrc/avrc_utils.c
# components/bt/bluedroid/stack/avrc/include/avrc_int.h
# components/bt/bluedroid/stack/btu/btu_task.c
# components/bt/bluedroid/stack/include/avct_api.h
# components/bt/bluedroid/stack/include/avdt_api.h
# components/bt/bluedroid/stack/include/avdtc_api.h
# components/bt/bluedroid/stack/include/avrc_api.h
# components/bt/bluedroid/stack/include/avrc_defs.h
# components/bt/bluedroid/stack/include/gatt_api.h
# components/bt/bluedroid/stack/l2cap/l2c_main.c
# components/bt/component.mk
# examples/06_bluedroid_demos/components/bluedroid_demos/app_core/bt_app_core.c
2016-11-25 19:45:29 +08:00
wangmengyang
8e77c39deb
component/bt: reduce the task stack size
...
1. some tasks's stack size is reduced and the previous severe audio distortion issue is eliminated
2016-11-25 11:21:29 +08:00
Tian Hao
19273c7b2d
component/bt : run astyle handle the code files
2016-11-25 02:10:15 +08:00
Tian Hao
d7eb709a9c
component/bt : add license header
2016-11-25 01:58:26 +08:00
Wangjialin
a5ad8090cf
Merge branch 'master' into driver_merge_tmp/merge_timer
...
# Conflicts:
# docs/index.rst
2016-11-25 01:07:19 +08:00
Wang Jia Lin
35ae2cd1a5
Merge branch 'driver_merge_tmp/merge_pcnt' into 'master'
...
driver: PCNT
1. add PCNT module in periph_ctrl.c/.h
2. add description of PCNT status in pcnt_struct.h
3. add PCNT driver code
4. add PCNT example code.
See merge request !229
2016-11-25 00:41:16 +08:00
Tian Hao
160e81e901
example : cleanup the order
2016-11-24 20:20:59 +08:00
Tian Hao
55e0690f69
component/bt : wifi/bt software coexist option
...
1. option of sw coexist
2. cpu set freq function modify
3. update lib
4. ld add static data address
2016-11-24 19:57:47 +08:00