Commit Graph

136 Commits

Author SHA1 Message Date
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
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
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
e82a54bf18 Reserver the name 'err' for other purposes 2016-06-11 14:49:55 -06:00
Gregory Nutt
29eb3f00f0 Add a blank line 2016-06-06 12:52:33 -06: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
Gregory Nutt
aacfce081e Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -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
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
Gregory Nutt
25d3c0aaae Fix backspace logic which was accidentally removed; Add some VT100 support 2014-11-07 09:06:00 -06:00
Gregory Nutt
ba4bb1c71b BAS: Add logic to handle serial consoles that end lines with CR, LF, CR&LF, or CR|LF 2014-11-06 17:04:40 -06:00
Gregory Nutt
9301ed8991 BAS: Support configurable stacksize and priority. Default stacksize boosted to 4096 2014-11-06 16:57:17 -06:00
Gregory Nutt
ce1b820bc5 BAS: Fix a GCC specific error. Type of enums converted to int when passed to ... as variable argument 2014-11-06 14:39:07 -06:00
Gregory Nutt
1e36d824e3 Fix yet-another-typo in previous set of changes 2014-11-06 14:38:13 -06:00
Gregory Nutt
e0a59497d3 Fix typo in BAS Kconfig 2014-11-06 14:11:58 -06:00
Gregory Nutt
95213afeb5 Recovering from GIT chaos 2014-11-06 13:35:15 -06:00
Gregory Nutt
77871b3d32 BAS: Conditional compile out use of ftruncate() 2014-11-06 13:22:21 -06:00
Gregory Nutt
811128b275 BAS: Experimenta change -- ignore carriage returns in CRLF sequence 2014-11-06 13:19:41 -06:00
Gregory Nutt
36dbd756ba BAS: Conditional compile out use of ftruncate() 2014-11-06 13:16:22 -06:00
Gregory Nutt
ba51398214 BAS: Use waitpid() instead of wait() which is not supprted by NuttX 2014-11-06 10:06:25 -06:00
Gregory Nutt
a2a4f3b2cd BAS: Now uses tmpnam() instead of mytmpnam() 2014-11-05 10:51:37 -06:00
Gregory Nutt
86ae8eda84 A naming kludge that I 'fixed' is actually reuired 2014-11-04 15:58:13 -06:00
Gregory Nutt
f7a7c696d0 BAS: ALL files are not close to the NuttX coding style.. except in variable and function naming 2014-11-04 15:51:19 -06:00
Gregory Nutt
e68498d04f BAS: Another file is close to the NuttX C coding style 2014-11-04 15:17:05 -06:00
Gregory Nutt
e693c31c06 BAS: Another file is closer to the NuttX coding standard 2014-11-04 14:00:01 -06:00
Gregory Nutt
fc7d564ec3 BAS: Another file is closer to the NuttX coding style 2014-11-04 13:35:56 -06:00
Gregory Nutt
96e050ce7c BAS: Combine all text files (READEME, LICENSE, and NEWS) into a single README.txt file 2014-11-04 12:07:18 -06:00
Gregory Nutt
ac331fc76f BAS: Another function is closer to the NuttX coding style 2014-11-03 11:27:00 -06:00
Gregory Nutt
15d7d85c19 BAS: Remove some code that I removed too aggressively 2014-11-03 09:52:31 -06:00
Gregory Nutt
d7eaa25129 BAS: Remove config.h and INSTALL files. Add config options to Kconfig 2014-11-03 09:11:25 -06:00
Gregory Nutt
3b4976559e Remove dependencies on environ, fstat, GETTEXt, TERMCAP, ncurse, syscfg 2014-11-03 08:33:39 -06:00
Gregory Nutt
abf3770bb2 Remove dependencies on TGETENT, SIGINT, SIGKILL, and most terminal configuration logic. 2014-11-03 08:19:14 -06:00
Gregory Nutt
d748a6dc92 BAS: Back up the last change... it was right the way it was before 2014-11-02 14:09:59 -06:00
Gregory Nutt
1c3e09f704 BAS: Minor fix .. end file position is file size - 1 2014-11-02 13:58:52 -06:00
Gregory Nutt
1f28e8c4ba BAS: Workaround for missing fstat 2014-11-02 13:54:12 -06:00
Gregory Nutt
d18e4bb3ff BAS: Another file is closer to the NuttX coding style 2014-11-02 13:32:30 -06:00
Gregory Nutt
1655c81df0 BAS: Another file is closer to the coding style 2014-11-02 12:58:30 -06:00
Gregory Nutt
87c692df0b BAS: Conditionally compile out logic that depends on vfork if architecture does not support it 2014-11-02 11:44:08 -06:00
Gregory Nutt
943e32c634 BAS: Remove long arguments from help text 2014-11-02 09:27:17 -06:00
Gregory Nutt
5490e1afed trivial, cosmetic 2014-11-02 08:51:00 -06:00
Gregory Nutt
2a0ed1c17b BAS: Another file closer to the coding standard 2014-11-02 08:49:20 -06:00
Gregory Nutt
011dde0387 Can't use isatty, tcsetattr, or tcgettr is CONFIG_SERIAL_CONSOLE is not defined 2014-11-02 07:59:56 -06:00
Gregory Nutt
00e6bc749d BAS: More modifications for closer comliance to the NuttX coding standard 2014-11-02 07:16:26 -06:00
Gregory Nutt
860ae2ea73 BAS: Add file header 2014-11-02 06:51:21 -06:00
Gregory Nutt
9970c2943f BAS: More modifications for closer comliance to the NuttX coding standard 2014-11-02 06:49:06 -06:00
Gregory Nutt
179474b3ab BAS: Another file is closer to the NuttX coding standard 2014-11-01 19:27:54 -06:00
Gregory Nutt
1714c2b7da Another BAS file is closer to the NuttX coding standard 2014-11-01 19:01:20 -06:00
Gregory Nutt
30e633be25 Remove another unused file 2014-11-01 18:31:03 -06:00
Gregory Nutt
693293cc59 Another file is close to the NuttX coding standard 2014-11-01 18:18:06 -06:00
Gregory Nutt
02b974859c A few baby steps toward getting closer to the coding standard 2014-11-01 18:06:28 -06:00
Gregory Nutt
aecac67593 Remove more files that are unnecessary for NuttX 2014-11-01 17:38:09 -06:00
Gregory Nutt
5f84e59abc Remove some autoconfig files, include nuttx/clock.h in global.c, main.c need to use the NuttX getopt not the system getopt_long 2014-11-01 17:35:27 -06:00
Gregory Nutt
810ea45656 Remove duplicate getopt() in BAS 2014-11-01 17:16:15 -06:00
Gregory Nutt
b753a775d7 Add suppport to build BAS as a NSH builtin 2014-11-01 16:23:30 -06:00
Gregory Nutt
c91be4299c BAS 2.4: Add autogenerated token.c file. From Alan Carvalho de Assis 2014-10-29 09:43:19 -06:00
Gregory Nutt
113ea27255 Add BAS 2.4 .gitignore 2014-10-29 09:38:40 -06:00
Gregory Nutt
81722acb62 Fix BAS 2.4 Makefile 2014-10-29 06:48:41 -06:00
Gregory Nutt
94c5d707fc Remove locale support because it is not supported on
NuttX

Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2014-10-28 17:22:38 -06:00
Gregory Nutt
e064a9578b Remove times() function because it doesn't exist on NuttX
Signed-off-by: Alan Carvalho de Assis <acassis@gmail.com>
2014-10-28 17:21:07 -06:00
Gregory Nutt
cbc722503e Fix some configuration dependencies, warnings, back up some previous changes that weren't really necessary 2014-10-27 18:41:09 -06:00
Gregory Nutt
3e41db8de9 More compile fixes 2014-10-27 18:11:56 -06:00
Gregory Nutt
10d93102c3 More BAS 2.4 fixes 2014-10-27 15:37:19 -06:00
Gregory Nutt
845d074f05 Add commits to BAS 2.4 Kconfig file 2014-10-27 09:24:04 -06:00
Gregory Nutt
e8fcc92609 Include unistd.h for execl() 2014-10-27 08:52:21 -06:00
Gregory Nutt
5167631d29 Port of BAS 2.4 to NuttX by Alan Carvalho de Assis 2014-10-27 07:53:12 -06:00