Commit Graph

53 Commits

Author SHA1 Message Date
Brennan Ashton
d38351cfd0 nxstyle: Fixup existing long lines 2020-08-29 14:04:44 -06:00
Brennan Ashton
14c6d976fc Bluetooth: Use the new l2cap socket address type 2020-08-29 14:04:44 -06:00
Maciej Wójcik
21049ece6e Rewritten READMEs to Markdown 2020-07-25 01:01:51 -07:00
Maciej Wójcik
51e6645f71 Rename README and README.txt to README.md 2020-07-25 01:01:51 -07:00
Xiang Xiao
deaa6c5b7b build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
and move NUTTXLIB defintion to the common place

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Xiang Xiao
69f013e74e build: Remve the unnecessary .gitignore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01:00
Xiang Xiao
ead498a788 build: Remove the workaround for the inexistence of .config/Make.defs
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Gregory Nutt
fcc688e771 wireless/bluetooth/btsak/btsak_security.c: Fix long lines for nxstyle. 2020-04-29 17:50:24 +01:00
Gregory Nutt
9e5d57f492 wireless/bluetooth/btsak/btsak_security.c: Fix newline character
Inspired by Abdelatif's find, here are other cases where /n was used when \n ws intended
2020-04-29 17:50:24 +01:00
YAMAMOTO Takashi
e7156be066 Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2020-03-27 02:43:11 -05:00
Xiang Xiao
1511403fdf Revert "Don't generate .depend anymore"
This reverts commit cc5ad09caa.
2020-03-22 23:09:40 -05:00
Xiang Xiao
cc5ad09caa
Don't generate .depend anymore 2020-03-22 18:15:21 +00:00
chao.an
f28eca9dbc Make.defs: Use complete include path 2020-02-19 12:56:10 -06:00
Xiang Xiao
e0dcfa0c55 Remove extra whitespace from files (#43)
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
Xiang Xiao
7808eb62d2 apps/: In all Make.def files, append to CONFIGURED_APPS patch with the absolute path. 2019-10-17 11:33:59 -06:00
Gregory Nutt
3a23523147 Makefiles: This reverts part of commit cf0365ea9. It restores 'conditional' inclusion of TOPDIR/Make.defs. Otherwise all make targets fail if the board has not been configured. That is okay most of the time, but not for things like clean and distclean which should not depend on being configured. 2019-10-15 09:25:48 +08:00
Xiang Xiao
e806097c70 Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard. 2019-10-06 06:14:56 -06:00
Xiang Xiao
cf0365ea92 Clean up Makefile under apps folder no functional changes. 2019-10-04 08:35:46 -06:00
Xiang Xiao
f7229b24fe apps/wireless Makefiles: Utilize Directory.mk for consistency. 2019-10-01 11:56:42 -06:00
Xiang Xiao
9a27d4a697 Makefiles: Remove .PRECIOUS if Makefile doesn't touch libapps. 2019-10-01 11:48:55 -06:00
Nathan Hartman
3a75edca20 Fix minor typo/copy-paste: 'will be use when'->'will be used when' 2019-08-23 11:59:28 -06:00
Lwazi Dube
a3c8f17522 apps/wireless/bluetooth/btsak/btsak_scan.c: Fix reversed address 2018-12-17 11:20:16 -06:00
Lwazi Dube
c8a252d4ed apps/wireless/bluetooth/btsak: Remove unnecessary gatt get commands 2018-12-08 13:02:19 -06:00
Lwazi Dube
09a108b507 apps/wireless/bluetooth/btsak: Add connect and disconnect commands to btsak 2018-12-02 11:01:28 -06:00
Lwazi Dube
2b8685b63f wireless/bluetooth/btsak/btsak_main.c: Fix address parsing 2018-11-30 06:28:36 -06:00
Lwazi Dube
6af45bdee0 wireless/bluetooth/btsak: Fix some errors in btsak 2018-11-27 08:02:43 -06:00
Lwazi
d927f50e79 apps/wireless/bluetooth/btsak: 'bt bnep0 info' outputs a reversed addr. It should print BDAddr: aa:bb:cc:dd:ee:ff instead of BDAddr: ff:ee:dd:cc:bb:aa 2018-11-25 09:54:09 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
anchao
220653f21c Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
     apps/Application.mk: introduce MODULE config to simplify tristate(m)
     apps/nsh:  Change the nuttx shell module type to tristate
     apps:  Add loadable application support
     script/mksymtab:  Generate symbol table name by default
     apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9f.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f Squashed commit of the following:
apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
    apps/Application.mk: introduce MODULE config to simplify tristate(m)
    apps/nsh:  Change the nuttx shell module type to tristate
    apps:  Add loadable application support
    script/mksymtab:  Generate symbol table name by default
    apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
a57610c2c4 Remove trailing spaces at the end of lines. 2018-08-13 07:47:26 -06:00
Gregory Nutt
816311b5df apps/wireless/bluetooth/btsak: Update include to account for new location of Bluetooth header files. 2018-04-29 12:44:03 -06:00
Gregory Nutt
938a9b9125 apps/wireless/bluetooth/btsak: Add a README file. 2018-04-21 12:18:17 -06:00
Gregory Nutt
141abff299 apps/wireless/bluetooth/btsak: Add commands to get the result of GATT read and write operations. 2018-04-21 10:23:02 -06:00
Gregory Nutt
8a0e690483 apps/wireless/bluetooth/btsak: Clean-up for changes to IOCTL defintions; Add GATT read/write comments. Stell need commands to get the result of the read/write operations. 2018-04-21 09:45:50 -06:00
Gregory Nutt
99479aa8d9 wireless/bluetooth/btsak: Add commdands to support MTU exchange. 2018-04-19 15:52:26 -06:00
Gregory Nutt
b2a6a6b5d4 apps/wireless/bluetooth/btsak: Adds a command to get the results of the GATT discovery. 2018-04-19 13:21:54 -06:00
Gregory Nutt
6c14b97d70 apps/wireless/bluetooth/btsak: Implements GATT discover commands. 2018-04-19 13:02:20 -06:00
Gregory Nutt
9078b066b6 wireless/bluetooth/btsak: Correct format of help for GATT commands. 2018-04-19 09:24:19 -06:00
Gregory Nutt
f78e3dc136 wireless/bluetooth/btsak: Removed bogus name from structure. This was left over from a previous change and had me confused for awhile. 2018-04-19 09:24:19 -06:00
Gregory Nutt
c40cf98468 wireless/bluetooth/btsak: Cosmetic improvements to printf output. 2018-04-18 13:27:27 -06:00
Gregory Nutt
0be2f16e3f apps/wireless/bluetooth/btsak: Correct output of the 'features' command. 2018-04-06 17:18:53 -06:00
Gregory Nutt
c46b441d2c wires/bluetooth/btsak: Add command to get BR/EDR and LE features. 2018-04-06 16:24:05 -06:00
Gregory Nutt
8a33912d5d apps/wireless/bluetooth/btsak: Fix numerous error that crept in with the last commits. 2018-04-06 11:48:19 -06:00
Gregory Nutt
8a2fb2f66c apps/wireless/bluetooth/btsak: Add an 'info' command. 2018-04-06 10:40:35 -06:00
Gregory Nutt
ef23beca7c apps/wireless/bluetooth/btsak: Update for changes made to IOCTL commands. 2018-04-06 09:43:29 -06:00
Gregory Nutt
c1ec9ab9a6 apps/wireless/bluetooth/btsak: Plug remaining, unimplemented commands with stubs so that we can get a clean link and get on with some initial testing. We can finish the GATT queries later. Also updates Makefile to use Application.mk. 2018-04-03 08:16:34 -06:00
Gregory Nutt
bd77fae5ce apps/wireless/bluetooth/btsak: Implement command to enable Bluetooth security. 2018-04-02 17:40:41 -06:00
Gregory Nutt
e34216fe35 apps/examples/bluetooth/btsak: Remove some garbage left in clones files; Do proper initialization of IOCTL structure used to start advertising. 2018-04-02 14:43:57 -06:00