]>
granicus.if.org Git - esp-idf/log
Tian Hao [Thu, 24 Nov 2016 02:50:16 +0000 (10:50 +0800)]
component/bt : change gatt client callback param
1. change the array to point to decrease the memory occupy
2. change the sendindconfirm position
3. fix union lost
Tian Hao [Wed, 23 Nov 2016 13:27:05 +0000 (21:27 +0800)]
component/bt : change gatt client arg to union
1. decrease the args memory occupy
2. change some macro name
Tian Hao [Wed, 23 Nov 2016 07:34:21 +0000 (15:34 +0800)]
component/bt : decrease callback cb param size
1. decrease callback cb param size
2. add write in gatt server demo
Tian Hao [Wed, 23 Nov 2016 05:45:21 +0000 (13:45 +0800)]
component/bt : gatt arg use union
1. union is 28 bytes for each btc task msg arg
2. as gap, individual arg(not use union) is the best mem occupy.
Tian Hao [Tue, 22 Nov 2016 13:50:26 +0000 (21:50 +0800)]
component/bt : change gap btc args to union
1. change gap btc args to union to decrease the dram occupied by btc args
2. actually use individual args for every action is the best way(decrease the dram occupy), but for writing code easily and the style, use union
3. gatt server/client should do the same work
Tian Hao [Tue, 22 Nov 2016 12:32:45 +0000 (20:32 +0800)]
component/bt : clean up the demos
1. cleanup gatt client demo
2. cleanup gatt server demo
3. cleanup blufi demo
4. use correct log level
Tian Hao [Tue, 22 Nov 2016 10:19:55 +0000 (18:19 +0800)]
component/bt : Config for choose printf
1. add print or ets_print
2. as print format error, add -Wno-error=format
Tian Hao [Tue, 22 Nov 2016 09:26:30 +0000 (17:26 +0800)]
component/bt : gatt client fix search service bug
1. fix search service bug
2. delete some print
Tian Hao [Mon, 21 Nov 2016 14:38:00 +0000 (22:38 +0800)]
component/bt : fix advertising data and refer bug
Yulong [Sat, 12 Nov 2016 10:59:07 +0000 (05:59 -0500)]
component/bt : fix hci reassemble bug as cf2d19
Tian Hao [Mon, 21 Nov 2016 07:06:12 +0000 (15:06 +0800)]
component/bt : open privacy support
Tian Hao [Mon, 21 Nov 2016 06:50:51 +0000 (14:50 +0800)]
Merge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature/btdm_arch
# Conflicts:
# components/bt/bluedroid/api/include/esp_gatt_defs.h
# components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c
Tian Hao [Mon, 21 Nov 2016 04:11:47 +0000 (12:11 +0800)]
component/bt : fix rsp convert
Yulong [Sat, 19 Nov 2016 14:56:36 +0000 (09:56 -0500)]
component bt:Add stop scan API to the esp_gap_ble API module
Yulong [Sat, 19 Nov 2016 13:00:08 +0000 (08:00 -0500)]
compnent bt:debug the btc_gattc received data error issues.
Tian Hao [Fri, 18 Nov 2016 14:10:35 +0000 (22:10 +0800)]
component/bt : gatts fix
1. gatt server demo
2. gatt server fix bug(bta btc covert bug)
3. fix print lost
Yulong [Fri, 18 Nov 2016 10:00:47 +0000 (05:00 -0500)]
compoent bt:debug the btc_gap_ble module, fix the adv len not long fix
Yulong [Fri, 18 Nov 2016 08:43:51 +0000 (03:43 -0500)]
component bt:debug the scan result and add the resove adv data method to the gapapi
Tian Hao [Thu, 17 Nov 2016 16:30:35 +0000 (00:30 +0800)]
component/bt : gatt server
1.add gatt server demo for user
2. some function didn't be tested
Yulong [Thu, 17 Nov 2016 13:08:19 +0000 (08:08 -0500)]
Merge remote-tracking branch 'origin/feature/btdm_arch' into feature/btdm_arch_debug1
Yulong [Thu, 17 Nov 2016 11:37:56 +0000 (06:37 -0500)]
component bt: Added the client demo to the bt project
Tian Hao [Thu, 17 Nov 2016 03:28:10 +0000 (11:28 +0800)]
Merge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature/btdm_arch
1. merge to fix gap modify
Tian Hao [Wed, 16 Nov 2016 14:15:00 +0000 (22:15 +0800)]
component/bt : fix component.mk
delete coexist in lib, because the lib is in esp32/lib
Tian Hao [Wed, 16 Nov 2016 14:11:59 +0000 (22:11 +0800)]
component/bt : move blufi to new architecture btc task
1. move blufi to new architecture
2. delete some log trace
Yulong [Wed, 16 Nov 2016 11:50:44 +0000 (06:50 -0500)]
component bt:change the scan rsp callback & scan param setup
Tian Hao [Wed, 16 Nov 2016 08:26:02 +0000 (16:26 +0800)]
component/bt : init api
1. use future to redefine init api
Tian Hao [Wed, 16 Nov 2016 03:28:41 +0000 (11:28 +0800)]
component/bt : main api
1. use blufi check main api ok
Tian Hao [Tue, 15 Nov 2016 18:10:37 +0000 (02:10 +0800)]
component/bt : mv some define to btc
1. Actually, btc & api are the same module thing. So the type defined in api header file can be included by btc c/h files.
Besides, why btc & api should be separated, because that user may be aware of api and api refer defines/types, rather than other non-refer things.
All defines/types that user won't use should be put in btc directory (and define with prefix "btc_"), and which will be used by user should be defined with prefix "esp_" .
2. rename attribute value(all is value, not data)
Tian Hao [Tue, 15 Nov 2016 16:34:48 +0000 (00:34 +0800)]
component/bt : cleanup id/uuid define
1. which named uuid is esp_bt_uuid_t type
2. which named id is xxx_id_t type, such as service_id_t char_id_t, include inst & uuid
3. share include directory
Tian Hao [Tue, 15 Nov 2016 12:56:15 +0000 (20:56 +0800)]
component/bt : new architectecture
1st compile ok
Tian Hao [Sun, 6 Nov 2016 18:16:00 +0000 (02:16 +0800)]
component/bt : blufi use api
1. use api
2. bluetooth init/deinit/enable/disable wrap api(1st version)
3. bluetooth deinit(free resource) still some problem
Tian Hao [Sun, 6 Nov 2016 15:31:50 +0000 (23:31 +0800)]
component:bt : change adv api
Tian Hao [Sat, 5 Nov 2016 12:40:07 +0000 (20:40 +0800)]
component/bt : api category
Tian Hao [Sat, 5 Nov 2016 11:57:53 +0000 (19:57 +0800)]
component/bt : cleanup task evt
Tian Hao [Fri, 4 Nov 2016 18:50:51 +0000 (02:50 +0800)]
component/bt : demo compile fix
Tian Hao [Fri, 4 Nov 2016 18:48:16 +0000 (02:48 +0800)]
component/bt : cleanup the liscence header
Tian Hao [Fri, 4 Nov 2016 11:32:47 +0000 (19:32 +0800)]
Merge branch 'feature/btdm_prf_task' into feature/btdm_bluedroid
# Conflicts:
# components/bt/bluedroid/profiles/core/bt_prf_sys_main.c
# components/bt/bluedroid/profiles/core/bt_prf_task.c
# components/bt/bluedroid/profiles/core/include/bt_prf_sys.h
# components/bt/bluedroid/profiles/core/include/bt_prf_task.h
# components/bt/bluedroid/profiles/esp/include/wx_airsync_prf.h
# components/bt/bluedroid/profiles/esp/wechat_AirSync/wx_airsync_prf.c
# components/bt/bluedroid/stack/btm/btm_sec.c
Tian Hao [Fri, 4 Nov 2016 09:50:40 +0000 (17:50 +0800)]
component:bt delete old demo trash
Yulong [Fri, 4 Nov 2016 09:36:32 +0000 (05:36 -0400)]
commpnent bt:Added the stop advertising to the bt project
Yulong [Fri, 4 Nov 2016 08:52:23 +0000 (04:52 -0400)]
componet bt:debug the advertising issues,it can works in this version
Yulong [Fri, 4 Nov 2016 06:34:52 +0000 (02:34 -0400)]
component bt:debug the profile task can work
Tian Hao [Thu, 3 Nov 2016 08:28:04 +0000 (16:28 +0800)]
component/esp32 component/bt : seperate phy init
Yulong [Thu, 3 Nov 2016 08:27:44 +0000 (04:27 -0400)]
component bt:Added the profile task to the bt project
Yulong [Wed, 2 Nov 2016 11:04:11 +0000 (07:04 -0400)]
component bt:Change the battery client profile to the new API
Yulong [Wed, 2 Nov 2016 10:48:17 +0000 (06:48 -0400)]
component bt:Change the wx_airsync_prf to the new API function
Yulong [Wed, 2 Nov 2016 10:14:02 +0000 (06:14 -0400)]
component bt: Change the battery function to the new API function
Yulong [Wed, 2 Nov 2016 07:45:00 +0000 (03:45 -0400)]
component bt:Change the HIDD profile function to the new api function
Yulong [Wed, 2 Nov 2016 06:21:31 +0000 (02:21 -0400)]
component bt:Added the app_button event process function to the bt project
yulong [Wed, 2 Nov 2016 06:05:30 +0000 (02:05 -0400)]
component bt:Change the button profile function to the new API function
yulong [Tue, 1 Nov 2016 11:16:54 +0000 (07:16 -0400)]
Merge remote-tracking branch 'origin/feature/btdm_api' into feature/btdm_wechat_prf
Tian Hao [Tue, 1 Nov 2016 09:53:59 +0000 (17:53 +0800)]
Merge branch 'master' into feature/btdm_bluedroid
1.update esptool submodule
2.new esp32 lib and new phy lib
3.new bt lib
4.soc.h add comment
Tian Hao [Tue, 1 Nov 2016 06:19:38 +0000 (14:19 +0800)]
Merge branch 'feature/btdm_gap' into feature/btdm_bluedroid
# Conflicts:
# examples/07_blufi/components/bluedroid_demos/app_project/SampleClientProject.c
# examples/07_blufi/components/bluedroid_demos/app_project/SampleServerProject.c
# examples/07_blufi/components/bluedroid_demos/include/bt_app_common.h
Tian Hao [Tue, 1 Nov 2016 06:01:49 +0000 (14:01 +0800)]
Merge branch 'feature/btdm_blufi' into feature/btdm_bluedroid
# Conflicts:
# components/bt/bluedroid/bta/dm/bta_dm_pm.c
# components/bt/component.mk
# examples/07_blufi/components/bluedroid_demos/app_core/bt_app_core.c
# examples/07_blufi/components/bluedroid_demos/app_project/SampleServerProject.c
yulong [Tue, 1 Nov 2016 04:07:34 +0000 (00:07 -0400)]
component bt:Add the CLASSIC_BT_INCLUDED Macro to the project
wangmengyang [Tue, 1 Nov 2016 03:54:01 +0000 (11:54 +0800)]
component/bt: merge SDP client and SDP server example to a single demo
wangmengyang [Mon, 31 Oct 2016 13:40:01 +0000 (21:40 +0800)]
component/bt: legacy bt API provide
1. move btif module out of bluetooth stack
2. provide new APIs in bluedroid/stack_api
Wu Jian Gang [Mon, 31 Oct 2016 12:28:11 +0000 (20:28 +0800)]
Merge branch 'bugfix/tw8242_fix_tcp_rx_abnormal_issue' into 'master'
lwip: fix tcp rx abnormal issue(tw8242)
In tcp_alloc(), initialize per_soc_tcp_wnd before initializing recv_wnd because recv_wnd depends on per_soc_tcp_wnd.
See merge request !160
Liu Zhi Fu [Mon, 31 Oct 2016 11:43:18 +0000 (19:43 +0800)]
turn on per socket tcp window by default
Liu Zhi Fu [Mon, 31 Oct 2016 11:38:47 +0000 (19:38 +0800)]
make build pass when disable per soc tcp window
yulong [Mon, 31 Oct 2016 11:24:03 +0000 (07:24 -0400)]
component bt:Modified the API method to the bt project
yulong [Mon, 31 Oct 2016 10:55:54 +0000 (06:55 -0400)]
component bt:modified the API format to the standard format
Wu Jian Gang [Mon, 31 Oct 2016 10:09:03 +0000 (18:09 +0800)]
Merge branch 'feature/tw8221_softap_supports_max_10_stations' into 'master'
esp32/tcpip_adapter: softap supports max 10 stations
The max number of stations softap supports is modified from 8 to 10
See merge request !158
Liu Zhi Fu [Mon, 31 Oct 2016 09:50:09 +0000 (17:50 +0800)]
lwip: fix tcp rx abnormal issue(tw8242)
In tcp_alloc(), initialize per_soc_tcp_wnd before initializing recv_wnd because recv_wnd depends on per_soc_tcp_wnd.
Ivan Grokhotkov [Mon, 31 Oct 2016 09:30:00 +0000 (17:30 +0800)]
Merge branch 'bugfix/nvs_leaks' into 'master'
nvs: fix memory leaks in HashList and nvs_close
Fixes TW8162.
Associated test case is run under Instruments on macOS, until I set up valgrind to test this automatically on Linux.
See merge request !150
He Yin Ling [Mon, 31 Oct 2016 08:37:36 +0000 (16:37 +0800)]
Merge branch 'test/clean_ci_fails' into 'master'
Test/clean ci fails
See merge request !159
wangmengyang [Mon, 31 Oct 2016 04:34:11 +0000 (12:34 +0800)]
component/bt: add new demo for Bluetooth SDP client
1. add Bluetooth SDP client demo;
2. some minor typo fixes
Liu Zhi Fu [Mon, 31 Oct 2016 03:17:33 +0000 (11:17 +0800)]
modify comments according to review
Jeroen Domburg [Mon, 31 Oct 2016 03:04:28 +0000 (11:04 +0800)]
Merge branch 'feature/crosscore_int' into 'master'
Add cross-core int to accelerate task being awoken from another CPU.
This adds a per-CPU interrupt that can be used to poke the CPU to go do something. In this case all that is implemented is a request to yield the current task, used in case a CPU unblocks a task that runs on another CPU. This gets rid of the limitation that inter-CPU communication using queues, muxes etc can take up to a FreeRTOS tick to happen.
Specs!
Sending an in in a queue of length 1 (essentially a semaphore) as quickly as possible (just a small delay in the sender, to make sure the receiver task gets swapped out) for 10 seconds. Number indicates the amount of ints transferred
Old code:
CPU0->CPU0: 42986
CPU0->CPU1,: 2999
New code:
CPU0->CPU0: 42868
CPU0->CPU1: 62073
See merge request !155
Jeroen Domburg [Mon, 31 Oct 2016 03:00:27 +0000 (11:00 +0800)]
Remove redundant volatile keyword
Liu Zhi Fu [Fri, 28 Oct 2016 08:53:49 +0000 (16:53 +0800)]
esp32/tcpip_adapter: softap supports max 10 stations
The max number of stations softap supports is modified from 8 to 10
Ivan Grokhotkov [Fri, 28 Oct 2016 08:21:34 +0000 (16:21 +0800)]
Merge branch 'bugfix/int-wdt-fix' into 'master'
Fix the things that broke when adding the new WDTs
Seemingly, I broke a bunch of things when adding the interrupt WDTs and moved the panic handler to the esp32 directory. This fixes that, as well as the issue where flashing would trigger the int wdt. It also bodges in a fix for a merge artifact breaking the halt-on-first-thread-when-openocd-is-connected; that fix should be refined later.
See merge request !157
Ivan Grokhotkov [Fri, 28 Oct 2016 08:17:41 +0000 (16:17 +0800)]
set default interrupt watchdog timeout to 300ms
10ms is too low for openocd/gdb to work, so it's not a very useful default value.
Ivan Grokhotkov [Fri, 28 Oct 2016 08:16:12 +0000 (16:16 +0800)]
vfs: fix adding CR
wangmengyang [Fri, 28 Oct 2016 07:48:27 +0000 (15:48 +0800)]
component/bt: add new demo for bluetooth SDP server
1. add bluetooth SDP server demo
2. some minor typo fixes
Wu Jian Gang [Fri, 28 Oct 2016 07:38:57 +0000 (15:38 +0800)]
Merge branch 'feature/support_max_16_sockets' into 'master'
lwip: support max 16 sockets
Since the customers need more sockets in their application, support max 16 sockets,
in other words, the total socket number of UDP/TCP/RAW sockets should not exceed 16.
See merge request !156
Jeroen Domburg [Fri, 28 Oct 2016 06:37:36 +0000 (14:37 +0800)]
Also call tick hook on app cpu when scheduler is suspended
Jeroen Domburg [Fri, 28 Oct 2016 06:32:11 +0000 (14:32 +0800)]
Re-add panic.o to IRAM/DRAM.
yulong [Fri, 28 Oct 2016 05:54:42 +0000 (01:54 -0400)]
component bt:Change the profile function method to new API
Ivan Grokhotkov [Fri, 28 Oct 2016 05:41:07 +0000 (13:41 +0800)]
freertos: fix calling first task hook
Liu Zhi Fu [Fri, 28 Oct 2016 05:35:06 +0000 (13:35 +0800)]
lwip: rework comments according to review
Liu Zhi Fu [Fri, 28 Oct 2016 04:29:26 +0000 (12:29 +0800)]
lwip: add prompt when configure max sockets number in menuconfig
Jeroen Domburg [Fri, 28 Oct 2016 04:05:42 +0000 (12:05 +0800)]
Fix int wdt iram, fix some fallout of moving panic stuff to esp32
Liu Zhi Fu [Fri, 28 Oct 2016 04:03:51 +0000 (12:03 +0800)]
lwip: support max 16 sockets
Since the customers need more sockets in their application, support max 16 sockets,
in other words, the total socket number of UDP/TCP/RAW sockets should not exceed 16.
Ivan Grokhotkov [Thu, 27 Oct 2016 10:12:03 +0000 (18:12 +0800)]
Merge branch 'feature/partition_api' into 'master'
high level partition api
This MR adds API for other components and application to access partition information, read, write, erase, and mmap them.
ref. TW6701
See merge request !67
Ivan Grokhotkov [Thu, 27 Oct 2016 02:16:42 +0000 (10:16 +0800)]
spi_flash: update comment blocks
Ivan Grokhotkov [Wed, 26 Oct 2016 16:48:10 +0000 (00:48 +0800)]
partition API: separate type and subtype into two enums
Ivan Grokhotkov [Wed, 26 Oct 2016 16:46:33 +0000 (00:46 +0800)]
spi_flash: change pointer type to void*
Ivan Grokhotkov [Tue, 25 Oct 2016 03:43:00 +0000 (11:43 +0800)]
spi_flash: improve documentation
Ivan Grokhotkov [Fri, 21 Oct 2016 11:33:42 +0000 (19:33 +0800)]
spi_flash: check physical address in mmap against flash chip size
Ivan Grokhotkov [Fri, 21 Oct 2016 10:44:57 +0000 (18:44 +0800)]
spi_flash: implement partition API, drop trivial wrappers
This implements esp_partition_read, esp_partition_write, esp_partition_erase_range, esp_partition_mmap.
Also removed getters which didn't add much sugar after all.
Ivan Grokhotkov [Fri, 21 Oct 2016 09:28:50 +0000 (17:28 +0800)]
spi_flash: change argument types
spi_flash_read and spi_flash_write currently have a limitation that source and destination must be word-aligned.
This can be fixed by adding code paths for various unaligned scenarios, but function signatures also need to be adjusted.
As a first step (since we are pre-1.0 and can still change function signatures) alignment checks are added, and pointer types are relaxed to uint8_t.
Later we will add handling of unaligned operations.
This change also introduces spi_flash_erase_range and spi_flash_get_chip_size functions.
We probably need something like spi_flash_chip_size_detect which will detect actual chip size.
This is to allow single application binary to be used on a variety of boards and modules.
Ivan Grokhotkov [Wed, 19 Oct 2016 10:04:25 +0000 (18:04 +0800)]
spi_flash: implement partition API
Ivan Grokhotkov [Wed, 19 Oct 2016 09:19:02 +0000 (17:19 +0800)]
freertos: move panic handler data to DRAM
Fixes https://ezredmine.espressif.com/issues/7817
Ivan Grokhotkov [Wed, 19 Oct 2016 09:17:24 +0000 (17:17 +0800)]
spi_flash: implement mmap/munmap
Ivan Grokhotkov [Wed, 19 Oct 2016 09:08:05 +0000 (17:08 +0800)]
spi_flash: move cache operations into separate file
Ivan Grokhotkov [Wed, 19 Oct 2016 09:05:37 +0000 (17:05 +0800)]
bootloader: move useful structures to esp32 component
Ivan Grokhotkov [Thu, 8 Sep 2016 11:18:03 +0000 (19:18 +0800)]
components/spi_flash: add high level partition api header
TW6701
Ivan Grokhotkov [Thu, 27 Oct 2016 09:47:45 +0000 (17:47 +0800)]
Merge branch 'feature/vfs' into 'master'
Virtual filesystem APIs
This changeset adds virtual filesystem APIs. As an example, UART devices are mapped to `/dev/uart/x`.
Also fixes an issue with per-task FILE descriptors.
See merge request !149
Ivan Grokhotkov [Thu, 27 Oct 2016 03:47:41 +0000 (11:47 +0800)]
vfs: code review fixes
- fix typo in readme
- remove unneeded extern declaration
- fix header guard macro
- tabs->spaces in syscalls.c
- spaces->tabs in tasks.c
Ivan Grokhotkov [Wed, 26 Oct 2016 08:47:26 +0000 (16:47 +0800)]
vfs: add readme file