Commit Graph

342 Commits

Author SHA1 Message Date
yinshengkai
cd1bc19bf9 quickjs: fix compile warning
optind is a global variable in getopt.h (a macro defined in stdlib.h in nuttx).
Here it is used as a variable, not a variable of getopt
2022-03-29 22:47:11 +08:00
Michael Mogenson
4043522daf interpreters: lua: replace awk command with shell script 2022-03-24 00:18:28 +08:00
Michael Mogenson
87df63d367 interpreters: add Lua support 2022-03-21 13:49:42 +08:00
zhouliang3
1e7a2bc009 apps/wamr: Add wamr memory Kconfig
Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
2022-03-14 20:52:39 +08:00
Xiang Xiao
4cc0c755bf Remove CONFIG_CLOCK_MONOTONIC special code
since this opion doesn't exist anymore

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-23 01:21:44 +08:00
Xiang Xiao
45af16099b interpreters/duktape: Remove v from tar command
to avoid the verbose unzip message

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 15:53:27 +01:00
Fotis Panagiotopoulos
bc5d8034f1 Typo fixes. 2022-01-06 10:30:41 +08:00
Petro Karashchenko
5ac15130db apps: remove space befone newline in logs
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2021-12-27 20:52:08 -06:00
Cocoacrumbs
a846e55a0e Fixes BAS list 'Error: Break at: end of program' error. 2021-11-04 13:48:57 -05:00
Alin Jerpelea
94f9dfa4df interpreters: fix relative path CI error
error: Path relative to repository other than nuttx must begin with the root directory
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-16 09:03:06 -05:00
Alin Jerpelea
80773f59c3 interpreters: bas: update licenses to Apache
Gregory Nutt is has submitted the SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-09 10:31:54 -03:00
Alin Jerpelea
c4ed352263 interpreters: bas: revert to original license
Rever the license to the original one and add the license to LICENSE file

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-09 10:31:54 -03:00
Alin Jerpelea
ec339bc49a Makefiles: Gregory Nutt: update licenses to Apache
Gregory Nutt is the copyright holder for those files and he has submitted the
SGA as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-06-07 21:35:33 -05:00
Xiang Xiao
ebb4ade95e interpreters/bas: Fix the nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-31 08:51:22 +02:00
Xiang Xiao
213e60232f Include assert.h in necessary place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-05-31 08:51:22 +02:00
Masayuki Ishikawa
f6f4de1ca2 interpreters: wamr: Add touch in Makefile to avoid unnecessary mv
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-27 08:20:43 +02:00
Masayuki Ishikawa
a077598b6d interpreters: wamr: Change the default version to "04-15-2021"
Summary:
- This commit changes the default version to "04-15-2021"
  to fix a compile error for Cortex-M target

Impact:
- WASM micro runtime (WAMR)
- NOTE: There are still compile warnings in the WAMR which
  should be fixed later

Testing:
- Tested with spresense (NOTE: need to add -lm)
- Tested with esp32-devkitc

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-05-27 08:20:43 +02:00
Alan C. Assis
496393a87b interpreters/ficl: Fix compilation issue
A NuttX user told that ficl wasn't working as suggested in the
README.txt, then I found that the root cause was the order of the
Make.srcs inclusion inside the Makefile. I think we can do better:
we could automate the process to download and configure ficl.
2021-04-15 08:09:48 -05:00
Huang Qi
d66bc2c107 interpreters/quickjs: Fix typo in qjsmini.c
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I3ee4a6bde0df7d158a4b5339ec3ffc027d2f42a3
2021-03-17 11:08:08 +01:00
Huang Qi
4439e0c0b5 interpreters/quickjs: Implement a minimal interpreter
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I782d509f6fcc86ade34eda5dbe5845603b819e0e
2021-03-16 20:28:04 -07:00
Huang Qi
19b49ba045 interpreters/quickjs: Bump to latest release
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I1cd96c4333442f8c3a3c58c3f8ae5bfac1734f5c
2021-03-16 20:28:04 -07: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
Huang Qi
ea5a9a08bc interpreters/wamr: Support latest snapshot for main branch
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-12-21 05:47:12 -06:00
Xiang Xiao
1402e556eb quickjs: Don't define __NuttX__ manually
since nuttx/tools/Config.mk will do it for us

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-11-05 03:38:46 -08:00
YAMAMOTO Takashi
46650ffc29 interpreters/wamr: This requires CLOCK_MONOTONIC to build 2020-10-13 08:09:36 +02:00
Huang Qi
1efc805b4e interpreters/wamr: Bump to latest release.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-09-29 08:45:31 +01:00
Huang Qi
c26d662951 interpreters/wamr: Add configs for heap pool & custom name sections
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-09-27 19:42:08 +01:00
Huang Qi
69956020b4 interpreters/wamr: Add missing options
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Id1783f42842288a8f9c6ddf6105b6718dde757a1
2020-09-17 18:28:17 +01:00
Huang Qi
0b4fa2f66a interpreters: Inroduce support for WAMR
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-09-16 20:53:31 +01:00
Huang Qi
52b28ed484 interpreters: Initial wasm3 WebAssembly runtime support
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Ib97d7d95a3a5e350e5856e1bb2462dbee7185691
2020-09-14 10:35:29 +08:00
Huang Qi
d121168fb0 interpreters/quickjs: Initial QuickJS support
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Ie6cb7a37c34ef3bd63390eed905b6fb76c31a3d9
2020-09-01 09:14:05 -03:00
Huang Qi
b989914b16 interpreters/duktape: Add duktape to global search path
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-30 01:25:25 +08:00
Huang Qi
aaa198f08c interpreters/duktape: Clean objects
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-14 16:02:25 +01:00
Huang Qi
7099bc4b02 interpreters/duktape: Add console/print/alart support
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-08-14 16:02:25 +01:00
Huang Qi
a6674b6edc interpreters/duktape: Fix build warning for sim on macOS
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: Iecfdb1dee2060d2f0f0a2dc8dce3d239af8ee273
2020-08-11 01:24:41 -05:00
Huang Qi
6bad964016 interpreters/duktape: Fix warning for sim
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I41cd1dab10fe3f98af757bc19968697f80e84fa4
2020-08-07 14:15:57 -05:00
Huang Qi
2ddcd1d186 interpreters/duktape: Fix tarball download url
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I950d5c676f0772681bd27dfefd35bfab495a2564
2020-08-06 22:46:56 -05:00
Huang Qi
06b64634bf interpreters: Add initial duktape support
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I8909551d565ce9d1ae25607367a005eee13c3860
2020-08-06 10:52:26 -03:00
SPRESENSE
63cd701958 Makefile: Unify ROOTDEPPATH into DEPPATH
DEPPATH is commonly used in nuttx repo, so it to be the same with them.
2020-07-29 15:22:20 +02: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
942f32e22a Fix nxsytle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I36099dc6c07c7ada2f9fcb06fe0267b8d213a61a
2020-07-12 13:56:00 +01: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
Xiang Xiao
6a26547dec build: Move INCDIROPT to common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:37:24 -06:00
liuhaitao
a0a2c40c79 Fix bas_program.c nxstyle complaints
Note that mixed case identifier still keep in use.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-17 17:06:01 +08:00
liuhaitao
5a29e86847 Fix bas_program.c build warning under macos
bas_program.c:234:35: error: adding 'size_t' (aka 'unsigned long') to a string does not append to the string [-Werror,-Wstring-plus-int]
      FS_putChars(chn, "        " + len);
                       ~~~~~~~~~~~^~~~~
bas_program.c:234:35: note: use array indexing to silence this warning
      FS_putChars(chn, "        " + len);
                                  ^
                       &          [    ]
1 error generated.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-17 17:06:01 +08:00
Xiang Xiao
8fd8aad5c4 Fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-13 08:32:42 -06:00
Xiang Xiao
5720d72b71 apps: Fix the nightly build warning
src/cwindowfactory.cxx: In member function 'void Twm4Nx::CWindowFactory::redrawIcons(const nxgl_rect_s*)':
src/cwindowfactory.cxx:461:38: warning: 'iconPos.nxgl_point_s::y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  461 |           iconBounds.pt2.y = iconPos.y + iconSize.h - 1;
      |                              ~~~~~~~~^
src/cwindowfactory.cxx:460:38: warning: 'iconPos.nxgl_point_s::x' may be used uninitialized in this function [-Wmaybe-uninitialized]
  460 |           iconBounds.pt2.x = iconPos.x + iconSize.w - 1;
      |                              ~~~~~~~~^

nsh_netcmds.c:424:20: warning: 'nsh_addrconv' defined but not used [-Wunused-function]
 static inline bool nsh_addrconv(FAR const char *hwstr,
                    ^
nsh_netcmds.c:446:20: warning: 'nsh_sethwaddr' defined but not used [-Wunused-function]
 static inline void nsh_sethwaddr(FAR const char *ifname,
                    ^

nsh_envcmds.c:94:21: warning: 'nsh_getdirpath' defined but not used [-Wunused-function]
 static inline char *nsh_getdirpath(FAR struct nsh_vtbl_s *vtbl,
                     ^

In file included from bas.c:84:0:
bas.c: In function 'bas_interpreter':
bas_error.h:110:37: warning: left-hand operand of comma expression has no effect [-Wunused-value]
 #define NOSUCHLINE         STATIC+40, _("No such line")
                                     ^
bas.c:2425:52: note: in expansion of macro 'NOSUCHLINE'
                           FS_putChars(STDCHANNEL, (NOSUCHLINE));
                                                    ^~~~~~~~~~
bas_fs.c:107:22: warning: 'g_vt100_colormap' defined but not used [-Wunused-const-variable=]
 static const uint8_t g_vt100_colormap[8] =
                      ^~~~~~~~~~~~~~~~
<stdout>:4048:16: warning: 'input' defined but not used [-Wunused-function]

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I62610b4c90e67637250cbd0107c2935c8abc542f
2020-04-13 08:32:42 -06: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
Gregory Nutt
1a9444a68b Remove support for CONFIG_FS_WRITABLE and CONFIG_FS_READABLE 2020-03-22 08:23:28 -05:00
Xiang Xiao
41d88f06e7 Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
Xiang Xiao
d660492289 Run codespell -w against all files
and fix the wrong correction
2020-02-22 14:41:36 -06:00
chao.an
f28eca9dbc Make.defs: Use complete include path 2020-02-19 12:56:10 -06:00
Xiang Xiao
1154735ca6 Refine the preprocess conditional guard style 2020-01-31 11:04: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
857158451b Unify the void cast usage
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro

Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Gregory Nutt
3ebf71095e Remove all support for the ancient Pascal compiler and pcode interpreter. 2019-11-21 07:04:34 -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
e73ca15c99 Makefiles: Change ${shell pwd} to $(CURDIR) since pwd doesn't exist on Windows 2019-10-02 07:06:50 -06:00
Manuel Stühn
88d47e469f Merged in manuelstuehn/nuttx-apps/feature/bsd-portable (pull request #190)
change all occurences of /bin/(ba)sh to /usr/bin/env bash which appears more portable

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2019-08-10 17:16:33 +00: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
a89f0e3a07 Add missing function names in function headers. 2018-08-13 15:52:59 -06:00
Gregory Nutt
a57610c2c4 Remove trailing spaces at the end of lines. 2018-08-13 07:47:26 -06:00
Gregory Nutt
abcb66cb20 Remove apps/interpreters/micropthon. There are several reasons for this. (1) the current version 1.3.8 is very old and no one is supporting it. (2) the port only includes the core micropython logic and none of the Python libraries. As such it is useless in any real application. (3) There have recently been compile failures reported. It looks like this is due to changes in newlib based toolchains that now bring in incompatible newlib header files. See issue 104 at https://bitbucket.org/nuttx/nuttx/issues/104/build-micropython-138-error. With no one dedicated to the support of micropython, it can no longer be carried in the NuttX apps/ repository. 2018-06-18 08:10:09 -06:00
Gregory Nutt
e02f9d40c3 Remove all references to the Yahoo group. 2018-04-15 17:17:20 -06:00
Gregory Nutt
139b008fc9 apps/system and wireless: Applications should use the standard clock() interface, not the internal NuttX clock_systimer() interface. 2018-03-14 07:59:44 -06:00
Gregory Nutt
7a8561728c The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree. 2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18 All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted. 2017-08-13 09:35:14 -06:00
Jeff
4143c8a985 Windows build fixes: tools/mkkconfig.bat - switch APPSDIR path to use forward slashes for kconfig-frontends. interpreters/ficl - Reorder some targets that causes GNUwin32 make to behave badly. 2017-07-06 14:07:17 -06:00
Gregory Nutt
13911d9b17 Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:40:03 -06:00
Gregory Nutt
81645fe18f strcasecmp, strncasecmp, bzero, bcmp, and bcopy should be defined in strings.h, not string.h. bzero, bcmp, and bcopy are legacy functions; the contemporary counterparts should be used instead. 2017-02-16 15:58:15 -06:00
Gregory Nutt
add52b0503 Cosmetic. Add a blank line. 2016-08-11 18:21:57 -06:00
Gregory Nutt
6e80d39c91 apps/interpreters/minibasic: Add an option to enable/disable the test script 2016-08-11 12:52:11 -06:00
Gregory Nutt
37b6303751 apps/interpreters/minibasic: Use strtod() instead of fscanf() 2016-08-11 12:25:43 -06:00
Gregory Nutt
c17c7f8afe Add some comments 2016-08-11 12:02:09 -06:00
Gregory Nutt
1c613745ed apps/interpreters/minibasic: Move 1K I/O buffer off the stack and into a static. 2016-08-11 11:50:25 -06:00
Gregory Nutt
fb3fa286d5 Mini Basic: some cosmetic changes 2016-08-11 10:34:32 -06:00
Gregory Nutt
47daad13fa Fix to get Mini-Basic to build 2016-08-11 10:01:42 -06:00
Gregory Nutt
a1c0580034 apps/interpreters/minibasic: Add a port of Mini Basic, version 1.0, written by Malcom McLean and released under the Creative Commons Attirbution license. 2016-08-11 09:40:45 -06:00
Gregory Nutt
3e83aa7388 Add apps/include to include path in top-level Make.defs file. Remove multiple definitions of INCDIR opt. 2016-07-11 10:45:17 -06:00
Gregory Nutt
c7c5039519 add apps/interpreters/pcode/.gitignore 2016-06-30 11:29:13 -06:00
Gregory Nutt
e82a54bf18 Reserver the name 'err' for other purposes 2016-06-11 14:49:55 -06:00
Sebastien Lorquet
7ca5478da3 Rearrange to eliminate Kmenu files 2016-06-09 08:59:16 -06:00
Gregory Nutt
29eb3f00f0 Add a blank line 2016-06-06 12:52:33 -06:00
Sebastien Lorquet
80ae4683fe Add kconfig files for pcode and tiff 2016-06-02 16:34:22 +02:00
Sebastien Lorquet
a9aa753fa4 Recursive Kconfig autogeneration 2016-06-02 16:34:00 +02:00
Sebastien Lorquet
b354a41fd4 Use directory.mk for recursive dir makefiles 2016-06-02 16:25:51 +02:00
Sebastien Lorquet
bfff5e7179 Add empty preconfig rules to 'leaf' makefiles 2016-06-02 16:24:30 +02:00
Sebastien Lorquet
9a406515d7 make the full tree use wildcards make.defs 2016-06-02 16:21:21 +02:00
Sebastien Lorquet
bfff7dc4ca add kmenu files 2016-06-02 15:23:50 +02:00
Gregory Nutt
c663c11764 Merged in paulpatience/nuttx-apps/makefiles (pull request #35)
Simplify some Makefiles
2016-05-12 12:52:26 -06:00
Paul A. Patience
6fded1a8e1 Simplify some Makefiles 2016-05-12 14:17:40 -04:00
Gregory Nutt
29e8b8e059 Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness; Add default definitions for some commonly used things when 'make clean' is used without .config or Make.defs files installed. 2016-05-10 15:40:20 -06:00
Gregory Nutt
aacfce081e Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
Gregory Nutt
74801cf38e apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced 2015-08-11 17:49:10 -06:00
Gregory Nutt
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Gregory Nutt
862d452d9b Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis 2015-05-23 17:08:35 -06:00
Gregory Nutt
8105aa541d Add math library defines for nan functions. From Brennan Ashton. 2015-01-26 19:03:38 -06:00
Gregory Nutt
8e79323694 Add math library support for trunc functions. From Brennan Ashton. 2015-01-26 19:00:35 -06:00
Gregory Nutt
1987004b72 Add math library support for copysign. From Brennan Ashton 2015-01-26 18:52:28 -06:00
Gregory Nutt
5f44b2d6f7 Networking: IPv4 and IPv6 work together. This fixes a bug necessary to accomplish that as well as cleaning up a couple of other issues 2015-01-23 16:40:18 -06:00
Gregory Nutt
5ef7594ebe Update README file 2015-01-23 15:58:33 -06:00
Gregory Nutt
d6c8d11909 Remove the px4-v2_upstream configuration. Moved to misc/Obsoleted/configs.
This is not the official configuration for the PX4 board and has led to confusion by NuttX users.  The board configuration also requires some ongoing maintenance and customization to support ongoing PX4 testing and evaluation.  It is best retained the PX4 repositories where it can be properly maintained and not in the upstream NuttX repository.
2015-01-14 09:54:51 -06:00
Gregory Nutt
f91ba24cc3 Add comments to Micro Python Makefile 2015-01-14 09:17:51 -06:00
Gregory Nutt
04fce5face Update README 2015-01-14 09:10:26 -06:00
Gregory Nutt
20301df84b Update README 2015-01-13 16:24:56 -06:00
Gregory Nutt
917e94231c Micro python: Remove typedef of wint_t 2015-01-13 16:19:35 -06:00
Gregory Nutt
a9eedb0054 Update README 2015-01-13 14:56:17 -06:00
Gregory Nutt
442099897c Micro Python uses CROSS_COMPILE, not CROSSDEV 2015-01-13 14:11:58 -06:00
Gregory Nutt
dad81600ce Micro Python: Fix a typo in the port configuration file 2015-01-12 08:27:25 -06:00
Gregory Nutt
f92a061ced Fix typo in makefile 2015-01-12 08:02:45 -06:00
Gregory Nutt
333fb04cef Micro Python: Flesh out make clean target; mp_int_t and mp_uint_t should be pointer size 2015-01-12 07:38:30 -06:00
Gregory Nutt
77f0020844 Update README 2015-01-12 07:15:24 -06:00
Gregory Nutt
445195afeb Update README 2015-01-11 14:07:51 -06:00
Gregory Nutt
6d606d5ffa Micro Python: Now compiles without errors (but lots of warnings) 2015-01-11 13:12:36 -06:00
Gregory Nutt
94d571fea6 Micro Python: Changes to pyexec.c to get it to compile. Still other compilation issues 2015-01-11 13:06:06 -06:00
Gregory Nutt
dd59fb775d Fix a typo in a comment 2015-01-11 12:46:18 -06:00
Gregory Nutt
2297a7e36b A fiew Micro Python build fixes. There are still issues 2015-01-11 12:33:14 -06:00
Gregory Nutt
c07914fa3c Update .gitignore 2015-01-11 11:45:52 -06:00
Gregory Nutt
096f51ded0 Micro Python: Add logic to automatically download the Micro Python tarball at download 2015-01-11 10:49:20 -06:00
Gregory Nutt
63b265b640 Port of Micro Python to NuttX. From Dave Marples 2015-01-11 09:34:51 -06:00
Gregory Nutt
e825afe3eb Fix a typo introduced with the cppcheck fixes 2014-11-25 15:43:38 -06:00
Gregory Nutt
846dd0e45d Fixes for more cppcheck complaints. Mostly cosmetic 2014-11-25 15:14:28 -06:00
Gregory Nutt
6a756df3ed Fix BAS configuration from last change; refresh STM32 F4 NSH configuration 2014-11-24 09:12:56 -06:00
Gregory Nutt
053162a7c5 BAS: Editor and shell commands are now configurable 2014-11-24 08:41:04 -06:00
Gregory Nutt
4db4ea2bbd Rename all C files in apps/interpreters/bas to begin with bas_ in order to avoid future name collisions in libapps.a 2014-11-11 12:34:00 -06:00
Gregory Nutt
a76f057bc6 BAS: Home cursor after clearing screen 2014-11-11 09:07:16 -06:00
Gregory Nutt
2d8f159dd5 BAS: Add support for color command 2014-11-10 15:14:25 -06:00
Gregory Nutt
894c32d306 BAS: output a new line when terminating to separate the last BAS output from the NSH prompt 2014-11-09 17:14:15 -06:00
Gregory Nutt
58878c6ec9 BAS: Accept either BS or DEL as the backspace charactger 2014-11-09 08:21:39 -06:00
Gregory Nutt
799de0c6b5 BAS: More name compatibility changes 2014-11-08 11:47:35 -06:00
Gregory Nutt
6e013e76fc More global variable name changes for NuttX coding standards compatibility. Make sure that g_bas_end is initially false 2014-11-08 11:23:13 -06:00
Gregory Nutt
021de85bfe BAS: Fix another case were allocated pointer not being nullified and, hence, crashing the next time referenced after restarting BAS. Also bring even more global varialbles and type names into NuttX coding standard 2014-11-08 09:08:20 -06:00
Gregory Nutt
0b955aeb3c Need to nullify a pointer when BAS exits so that it is in the right state on restart. Also bring a few global variables into the NuttX naming convention 2014-11-08 08:40:12 -06:00
Gregory Nutt
f9a3267f56 Should include termios.h 2014-11-08 07:20:30 -06:00
Gregory Nutt
31d52eecda Cosmetic 2014-11-08 07:19:29 -06:00
Gregory Nutt
9a93775b5f token.l should use nuttx/config.h not config.h 2014-11-07 16:55:08 -06:00
Gregory Nutt
e0b6137de7 BAS: Rename examples/bas to examples/bastest. Hook into build and configuration system. Finish ROMFS logic 2014-11-07 15:03:03 -06:00
Gregory Nutt
d6155e75fb BAS: Move test files from apps/interpreter/bas to apps/examples/bas 2014-11-07 14:02:53 -06:00
Gregory Nutt
eb5b5f6fbd apps/interpreters/bas: Remove runbas.in 2014-11-07 13:01:35 -06:00
Gregory Nutt
d7ada043d4 BAS: Needs CONFIG_LIBC_FLOATINGPOINT 2014-11-07 11:16:14 -06:00