]> granicus.if.org Git - esp-idf/log
esp-idf
7 years agocomponent/bt : change gap btc args to union
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

7 years agocomponent/bt : clean up the demos
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

7 years agocomponent/bt : Config for choose printf
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

7 years agocomponent/bt : gatt client fix search service bug
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

7 years agocomponent/bt : fix advertising data and refer bug
Tian Hao [Mon, 21 Nov 2016 14:38:00 +0000 (22:38 +0800)]
component/bt : fix advertising data and refer bug

7 years agocomponent/bt : fix hci reassemble bug as cf2d19
Yulong [Sat, 12 Nov 2016 10:59:07 +0000 (05:59 -0500)]
component/bt : fix hci reassemble bug as cf2d19

7 years agocomponent/bt : open privacy support
Tian Hao [Mon, 21 Nov 2016 07:06:12 +0000 (15:06 +0800)]
component/bt : open privacy support

7 years agoMerge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature...
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

7 years agocomponent/bt : fix rsp convert
Tian Hao [Mon, 21 Nov 2016 04:11:47 +0000 (12:11 +0800)]
component/bt : fix rsp convert

7 years agocomponent bt:Add stop scan API to the esp_gap_ble API module
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

7 years agocompnent bt:debug the btc_gattc received data error issues.
Yulong [Sat, 19 Nov 2016 13:00:08 +0000 (08:00 -0500)]
compnent bt:debug the btc_gattc received data error issues.

7 years agocomponent/bt : gatts fix
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

7 years agocompoent bt:debug the btc_gap_ble module, fix the adv len not long fix
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

7 years agocomponent bt:debug the scan result and add the resove adv data method to the gapapi
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

7 years agocomponent/bt : gatt server
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

7 years agoMerge remote-tracking branch 'origin/feature/btdm_arch' into feature/btdm_arch_debug1
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

7 years agocomponent bt: Added the client demo to the bt project
Yulong [Thu, 17 Nov 2016 11:37:56 +0000 (06:37 -0500)]
component bt: Added the client demo to the bt project

7 years agoMerge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature...
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

7 years agocomponent/bt : fix component.mk
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

7 years agocomponent/bt : move blufi to new architecture btc task
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

7 years agocomponent bt:change the scan rsp callback & scan param setup
Yulong [Wed, 16 Nov 2016 11:50:44 +0000 (06:50 -0500)]
component bt:change the scan rsp callback & scan param setup

7 years agocomponent/bt : init api
Tian Hao [Wed, 16 Nov 2016 08:26:02 +0000 (16:26 +0800)]
component/bt : init api

1. use future to redefine init api

7 years agocomponent/bt : main 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

7 years agocomponent/bt : mv some define to btc
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)

7 years agocomponent/bt : cleanup id/uuid define
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

7 years agocomponent/bt : new architectecture
Tian Hao [Tue, 15 Nov 2016 12:56:15 +0000 (20:56 +0800)]
component/bt : new architectecture

1st compile ok

7 years agocomponent/bt : blufi use api
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

7 years agocomponent:bt : change adv api
Tian Hao [Sun, 6 Nov 2016 15:31:50 +0000 (23:31 +0800)]
component:bt : change adv api

7 years agocomponent/bt : api category
Tian Hao [Sat, 5 Nov 2016 12:40:07 +0000 (20:40 +0800)]
component/bt : api category

7 years agocomponent/bt : cleanup task evt
Tian Hao [Sat, 5 Nov 2016 11:57:53 +0000 (19:57 +0800)]
component/bt : cleanup task evt

7 years agocomponent/bt : demo compile fix
Tian Hao [Fri, 4 Nov 2016 18:50:51 +0000 (02:50 +0800)]
component/bt : demo compile fix

7 years agocomponent/bt : cleanup the liscence header
Tian Hao [Fri, 4 Nov 2016 18:48:16 +0000 (02:48 +0800)]
component/bt : cleanup the liscence header

7 years agoMerge branch 'feature/btdm_prf_task' into feature/btdm_bluedroid
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

7 years agocomponent:bt delete old demo trash
Tian Hao [Fri, 4 Nov 2016 09:50:40 +0000 (17:50 +0800)]
component:bt delete old demo trash

7 years agocommpnent bt:Added the stop advertising to the bt project
Yulong [Fri, 4 Nov 2016 09:36:32 +0000 (05:36 -0400)]
commpnent bt:Added the stop advertising to the bt project

7 years agocomponet bt:debug the advertising issues,it can works in this version
Yulong [Fri, 4 Nov 2016 08:52:23 +0000 (04:52 -0400)]
componet bt:debug the advertising issues,it can works in this version

7 years agocomponent bt:debug the profile task can work
Yulong [Fri, 4 Nov 2016 06:34:52 +0000 (02:34 -0400)]
component bt:debug the profile task can work

7 years agocomponent/esp32 component/bt : seperate phy init
Tian Hao [Thu, 3 Nov 2016 08:28:04 +0000 (16:28 +0800)]
component/esp32 component/bt : seperate phy init

7 years agocomponent bt:Added the profile task to the bt project
Yulong [Thu, 3 Nov 2016 08:27:44 +0000 (04:27 -0400)]
component bt:Added the profile task to the bt project

7 years agocomponent bt:Change the battery client profile to the new API
Yulong [Wed, 2 Nov 2016 11:04:11 +0000 (07:04 -0400)]
component bt:Change the battery client profile to the new API

7 years agocomponent bt:Change the wx_airsync_prf to the new API function
Yulong [Wed, 2 Nov 2016 10:48:17 +0000 (06:48 -0400)]
component bt:Change the wx_airsync_prf to the new API function

7 years agocomponent bt: Change the battery function 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

7 years agocomponent bt:Change the HIDD profile 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

7 years agocomponent bt:Added the app_button event process function to the bt project
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

7 years agocomponent bt:Change the button profile function to the new API function
yulong [Wed, 2 Nov 2016 06:05:30 +0000 (02:05 -0400)]
component bt:Change the button profile function to the new API function

7 years agoMerge remote-tracking branch 'origin/feature/btdm_api' into feature/btdm_wechat_prf
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

7 years agoMerge branch 'master' into feature/btdm_bluedroid
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

7 years agoMerge branch 'feature/btdm_gap' into feature/btdm_bluedroid
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

7 years agoMerge branch 'feature/btdm_blufi' into feature/btdm_bluedroid
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

7 years agocomponent bt:Add the CLASSIC_BT_INCLUDED Macro to the project
yulong [Tue, 1 Nov 2016 04:07:34 +0000 (00:07 -0400)]
component bt:Add the CLASSIC_BT_INCLUDED Macro to the project

7 years agocomponent/bt: merge SDP client and SDP server example to a single demo
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

7 years agocomponent/bt: legacy bt API provide
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

7 years agoMerge branch 'bugfix/tw8242_fix_tcp_rx_abnormal_issue' into 'master'
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

7 years agoturn on per socket tcp window by default
Liu Zhi Fu [Mon, 31 Oct 2016 11:43:18 +0000 (19:43 +0800)]
turn on per socket tcp window by default

7 years agomake build pass when disable per soc tcp window
Liu Zhi Fu [Mon, 31 Oct 2016 11:38:47 +0000 (19:38 +0800)]
make build pass when disable per soc tcp window

7 years agocomponent bt:Modified the API method to the bt project
yulong [Mon, 31 Oct 2016 11:24:03 +0000 (07:24 -0400)]
component bt:Modified the API method to the bt project

7 years agocomponent bt:modified the API format to the standard format
yulong [Mon, 31 Oct 2016 10:55:54 +0000 (06:55 -0400)]
component bt:modified the API format to the standard format

7 years agoMerge branch 'feature/tw8221_softap_supports_max_10_stations' into 'master'
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

7 years agolwip: fix tcp rx abnormal issue(tw8242)
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.

7 years agoMerge branch 'bugfix/nvs_leaks' into 'master'
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

7 years agoMerge branch 'test/clean_ci_fails' into 'master'
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

7 years agocomponent/bt: add new demo for Bluetooth SDP client
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

7 years agomodify comments according to review
Liu Zhi Fu [Mon, 31 Oct 2016 03:17:33 +0000 (11:17 +0800)]
modify comments according to review

7 years agoMerge branch 'feature/crosscore_int' into 'master'
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

7 years agoRemove redundant volatile keyword
Jeroen Domburg [Mon, 31 Oct 2016 03:00:27 +0000 (11:00 +0800)]
Remove redundant volatile keyword

7 years agoesp32/tcpip_adapter: softap supports max 10 stations
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

7 years agoMerge branch 'bugfix/int-wdt-fix' into 'master'
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

7 years agoset default interrupt watchdog timeout to 300ms
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.

7 years agovfs: fix adding CR
Ivan Grokhotkov [Fri, 28 Oct 2016 08:16:12 +0000 (16:16 +0800)]
vfs: fix adding CR

7 years agocomponent/bt: add new demo for bluetooth SDP server
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

7 years agoMerge branch 'feature/support_max_16_sockets' into 'master'
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

7 years agoAlso call tick hook on app cpu when scheduler is suspended
Jeroen Domburg [Fri, 28 Oct 2016 06:37:36 +0000 (14:37 +0800)]
Also call tick hook on app cpu when scheduler is suspended

7 years agoRe-add panic.o to IRAM/DRAM.
Jeroen Domburg [Fri, 28 Oct 2016 06:32:11 +0000 (14:32 +0800)]
Re-add panic.o to IRAM/DRAM.

7 years agocomponent bt:Change the profile function method to new API
yulong [Fri, 28 Oct 2016 05:54:42 +0000 (01:54 -0400)]
component bt:Change the profile function method to new API

7 years agofreertos: fix calling first task hook
Ivan Grokhotkov [Fri, 28 Oct 2016 05:41:07 +0000 (13:41 +0800)]
freertos: fix calling first task hook

7 years agolwip: rework comments according to review
Liu Zhi Fu [Fri, 28 Oct 2016 05:35:06 +0000 (13:35 +0800)]
lwip: rework comments according to review

7 years agolwip: add prompt when configure max sockets number in menuconfig
Liu Zhi Fu [Fri, 28 Oct 2016 04:29:26 +0000 (12:29 +0800)]
lwip: add prompt when configure max sockets number in menuconfig

7 years agoFix int wdt iram, fix some fallout of moving panic stuff to esp32
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

7 years agolwip: support max 16 sockets
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.

7 years agoMerge branch 'feature/partition_api' into 'master'
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

7 years agospi_flash: update comment blocks
Ivan Grokhotkov [Thu, 27 Oct 2016 02:16:42 +0000 (10:16 +0800)]
spi_flash: update comment blocks

7 years agopartition API: separate type and subtype into two enums
Ivan Grokhotkov [Wed, 26 Oct 2016 16:48:10 +0000 (00:48 +0800)]
partition API: separate type and subtype into two enums

7 years agospi_flash: change pointer type to void*
Ivan Grokhotkov [Wed, 26 Oct 2016 16:46:33 +0000 (00:46 +0800)]
spi_flash: change pointer type to void*

7 years agospi_flash: improve documentation
Ivan Grokhotkov [Tue, 25 Oct 2016 03:43:00 +0000 (11:43 +0800)]
spi_flash: improve documentation

7 years agospi_flash: check physical address in mmap against flash chip size
Ivan Grokhotkov [Fri, 21 Oct 2016 11:33:42 +0000 (19:33 +0800)]
spi_flash: check physical address in mmap against flash chip size

7 years agospi_flash: implement partition API, drop trivial wrappers
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.

7 years agospi_flash: change argument types
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.

7 years agospi_flash: implement partition API
Ivan Grokhotkov [Wed, 19 Oct 2016 10:04:25 +0000 (18:04 +0800)]
spi_flash: implement partition API

7 years agofreertos: move panic handler data to DRAM
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

7 years agospi_flash: implement mmap/munmap
Ivan Grokhotkov [Wed, 19 Oct 2016 09:17:24 +0000 (17:17 +0800)]
spi_flash: implement mmap/munmap

7 years agospi_flash: move cache operations into separate file
Ivan Grokhotkov [Wed, 19 Oct 2016 09:08:05 +0000 (17:08 +0800)]
spi_flash: move cache operations into separate file

7 years agobootloader: move useful structures to esp32 component
Ivan Grokhotkov [Wed, 19 Oct 2016 09:05:37 +0000 (17:05 +0800)]
bootloader: move useful structures to esp32 component

7 years agocomponents/spi_flash: add high level partition api header
Ivan Grokhotkov [Thu, 8 Sep 2016 11:18:03 +0000 (19:18 +0800)]
components/spi_flash: add high level partition api header

TW6701

7 years agoMerge branch 'feature/vfs' into 'master'
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

7 years agovfs: code review fixes
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

7 years agovfs: add readme file
Ivan Grokhotkov [Wed, 26 Oct 2016 08:47:26 +0000 (16:47 +0800)]
vfs: add readme file

7 years agovfs and newlib: small fixes
Ivan Grokhotkov [Wed, 26 Oct 2016 06:05:56 +0000 (14:05 +0800)]
vfs and newlib: small fixes

- spaces->tabs in tasks.c
- update vfs_uart.c to use per-UART locks
- add license to vfs_uart.c
- allocate separate streams for stdout, stdin, stderr, so that they can be independently reassigned
- fix build system test failure
- use posix off_t instead of newlib internal _off_t

7 years agovfs: code review fixes
Ivan Grokhotkov [Tue, 25 Oct 2016 14:16:08 +0000 (22:16 +0800)]
vfs: code review fixes

- fix typo in readme
- remove unneeded extern declaration
- fix header guard macro
- tabs->spaces in syscalls.c (+1 squashed commit)
- fix minor typos

7 years agovfs and newlib: small fixes
Ivan Grokhotkov [Tue, 25 Oct 2016 14:12:07 +0000 (22:12 +0800)]
vfs and newlib: small fixes

- spaces->tabs in tasks.c
- update vfs_uart.c to use per-UART locks
- add license to vfs_uart.c
- allocate separate streams for stdout, stdin, stderr, so that they can be independently reassigned
- fix build system test failure

7 years agovfs: add UART device
Ivan Grokhotkov [Tue, 25 Oct 2016 14:01:50 +0000 (22:01 +0800)]
vfs: add UART device

This should be integrated with UART driver once everything is merged