Commit Graph

22 Commits

Author SHA1 Message Date
yinshengkai
c9b62db723 nimble: Ignore nimble compile warnings
Will cause compilation warning if NDEBUG is defined We can't modify the code of the external library, so let's ignore it

services/ans/src/ble_svc_ans.c:450:9: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
  450 |     int rc;
      |         ^~

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2024-05-13 18:05:26 +08:00
raiden00pl
0f57c32561 remove wireless/xxx/README.md. Migrated to Documentation/applications/wireless 2023-10-30 10:00:01 +08:00
simbit18
17a497492a Fix Kconfig style
Remove spaces from Kconfig files
Add TABs
Add comments
2023-09-01 01:21:54 +08:00
raiden00pl
dda21ad57e cmake: support for nimble 2023-07-20 01:44:39 +08:00
Petro Karashchenko
5dba460f5f wireless/bluetooth/nimble: increase number of ACL buffers available for controller
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-07-14 09:49:51 +08:00
Petro Karashchenko
4ac830ef1e wireless/bluetooth/nimble: add option to configure stack size of NimBLE NPL callout thread
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-07-14 09:49:51 +08:00
Petro Karashchenko
0c7788cf26 wireless/bluetooth/nimble: fix build issue with nimBLE example
The NimBLE source code is downloaded at the first pass of the
make system so some makefiles to include might be not in place
initially, but included after code is fetched

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-07-14 09:49:51 +08:00
raiden00pl
d8ea8e3d1f nimble: improve integration with NuttX
1. add Makefile.nimble that helps integrate NimBLE with custom applications
  To enable NimBLE for an custom application, user needs to include Makefile.nimble in the app's Makefile:
    include $(APPDIR)/wireless/bluetooth/nimble/Makefile.nimble

2. add NuttX specific syscfg.h
  - file based on nimble/porting/examples/nuttx/include/syscfg/syscfg.h
  - all unnecessary definitions was removed
  - definitions are configurable from Kconfig

3. add NuttX specific logcfg.h
  - bind NimBLE logging with debug.h macros
2023-06-27 22:28:32 +03:00
raiden00pl
93c8cb29ea nimble: make nimble porting example optional
Enabled by default for the moment to avoid CI errors
2023-06-27 22:28:32 +03:00
raiden00pl
832b160cb1 bluetooth/nimble: update to bc7828341226d860429c63994065f8f1b8b8d7b0
which fix https://github.com/apache/mynewt-nimble/pull/1472
2023-03-02 22:21:37 +08:00
Xiang Xiao
6a686ba93d bluetooth/nimble: Update to 17a8e61fdec48d579df3bc5af59a9cff5edee674
which contain the fix:
https://github.com/apache/mynewt-nimble/pull/1462
https://github.com/apache/mynewt-nimble/pull/1459
https://github.com/apache/mynewt-nimble/pull/1457
https://github.com/apache/mynewt-nimble/pull/1161

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-02-21 23:39:51 +02:00
Nathan Hartman
8e77b79f78 Kconfig: Make indent consistent with TABS 2023-02-10 14:11:48 +08:00
Huang Qi
2e2630e838 Don't download tarballs if a local git repo found
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-08-28 17:20:47 +08:00
raiden00pl
2db90a8be5 wireless/bluetooth/nimble: make stacksize configurable 2021-12-18 20:24:02 -06:00
Xiang Xiao
34a042aa49 nimble: Update version to cd8ab38c3da91b71dd428979153a408f38d3b02e
which contain the following fix:
commit cd8ab38c3da91b71dd428979153a408f38d3b02e
Author: Xiang Xiao <xiaoxiang@xiaomi.com>
Date:   Thu May 20 15:43:50 2021 +0800

nuttx: fix error: use of undeclared identifier 'ENOMEM'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Idd832450d98306750ece8307ec7eef5c0c367a48
2021-05-22 12:02:58 -03:00
Brennan Ashton
75690bc31e Pin Nible release to working commit until stable tag is ready 2021-02-16 09:08:37 +00:00
Huang Qi
3040c59ae9 Replace all wget with curl
wget is missing from some system (like macOS and Windows native),
it's better to use curl to simplify build environment.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 22:45:46 -06:00
Matias N
ca64cefc91 nimble: fix wrong git ref name to use 2020-12-18 08:56:27 -06:00
Matias N
b97395dee1 nimble: point to upstream, improve Makefile 2020-12-17 20:42:48 -06:00
chao.an
fe915679b1 style/Document: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:10 +01:00
chao.an
b5692d8034 style/code: remove unnecessary trailing whitespace
N/A

Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:10 +01:00
Matias N
fcc485cc7a nimBLE integration application/library 2020-10-31 13:04:57 -07:00