717ab59efd
Switch to kconfig completely. All configsys stuff moved to tools/configsys/ directory, not used anymore.
Serge Vakulenko
2015-09-07 22:22:35 -07:00
94c02410e4
Kconfig: rename machine to architecture, ident to board. Make timezone and maxusers parameters optional.
Serge Vakulenko
2015-09-03 12:51:56 -07:00
fc9d89eff2
Kconfig: use PARAM for all options.
Serge Vakulenko
2015-09-03 12:08:32 -07:00
635d8ff2f7
GCC configuration script unified for both kconfig and configsys. Ling scripts modified for compatibility with CodeScape toolchain. Fixed gcc warnings in kernel and kconfig.
Serge Vakulenko
2015-09-01 19:46:57 -07:00
585773955b
Fix include paths in the kernel sources. Max32 kernel successfully compiled with kconfig utility.
Serge Vakulenko
2015-08-31 00:21:41 -07:00
5f2b01ddda
Smaller C: improve prologue on MIPS Functions defined as 'type f()' now don't store A0-A3 on the stack just as functions defined as 'type f(void)'.
Alexey Frunze
2015-08-30 23:52:26 -07:00
ae75f1cecc
Smaller C: improvements All architectures: - "return" statement at function's end doesn't jump to immediately following epilog anymore - zero and non-zero constants are recognized in conditional expressions of "if", "do/while" and "for" statements, no code generated to evaluate these constant conditions and related unnecessary jumps aren't generated anymore either - in "for (clause-1; expr-2; expr-3) body", "expr-3" and "body" are now reordered to the more natural code flow "body expr-3", thereby getting rid of unnecessary jumps MIPS code generator: - function prologue/epilogue shortened further - RA is not explicitly saved/restored in leaf functions - assignment of 0 (e.g. "int a = 0;") is done from register 0 directly, avoiding a load of a constant
Alexey Frunze
2015-08-29 02:27:19 -07:00
c44239cb64
Bootloader moved to a separate GitHub repository.
Serge Vakulenko
2015-08-28 19:32:43 -07:00
531a56ed51
Smaller C: Recover ~7.5KB of data memory (room for improvements) by splitting SyntaxStack[][] into two arrays and reducing the size of the element of the first
Alexey Frunze
2015-08-22 17:53:42 -07:00
0a1960c864
Makefiles updated to properly build and install pdc and libreadline.
vak
2015-07-18 21:44:58 -07:00
e8cb02f3f7
Added a tiny implementation of readline library, based on linenoise sources. See https://github.com/antirez/linenoise for details.
Serge Vakulenko
2015-07-18 18:41:46 -07:00
0c3fffb6f6
Merge pull request #56: Fix build for gcc >= 5.0. gcc 5.0 defaults to -std=gnu11 meaning code which relies on implicit ints will no longer compile. Passing -std=gnu89 restores the default but causes problems because the system headers are written in gnu11. Using -idirafter instead of -nostdinc resolves all problems and should be compatible with old GCC versions (and clang).
vak
2015-07-04 19:59:43 -07:00
66cadb02a1
Fix uudecode.0 path in manifest.
Sergey
2015-07-04 19:21:33 -07:00
219e2c3071
Fixed bug in rogue: incorrect use of NL for cursor positioning.
Serge Vakulenko
2015-06-24 22:45:33 -07:00
9d39282ae9
All paths moved to path.h. Cleanup in curses.h: removed reg definition. All include files reformatted for 4-space indent.
Serge Vakulenko
2015-06-24 20:57:08 -07:00
81a8a8379d
Deleted unused include files dbm.h and pcc.h. Deleted library functions stty() and gtty(). PicoC built in mips16 mode, without floating point support.
Serge Vakulenko
2015-06-24 19:19:46 -07:00
ea7c1415d7
Fixed declarations in include/time.h file. Deleted unused file include/stab.h and reloc utility.
Serge Vakulenko
2015-06-24 17:45:47 -07:00
d1f1e614f0
Kernel sources reformated with 4 space indent, no tabs. Unused file include/trace.h deleted.
Serge Vakulenko
2015-06-23 19:00:24 -07:00
d9b3b93176
Fixed stack overflow in fsck.
Sergey
2015-06-23 00:29:20 -07:00
880e6639ac
All manual pages added to manifest file.
Serge Vakulenko
2015-06-22 22:44:18 -07:00
664cc16008
Use devcfg.c files local per target directory.
Serge Vakulenko
2015-06-22 18:02:18 -07:00
84445ee1f7
Fixed bug in fsutil, occasionally resulted in unexpected fsck errors. It was caused by garbage at end of file names.
Sergey
2015-06-21 20:00:36 -07:00
bca590d42b
Fixed issue #44. Removed unnesessary include <sys/types.h> from stdio.h, stdlib.h, string.h, strings.h and time.h.
Sergey
2015-06-21 18:59:02 -07:00