428764c187
SD diag utility moved to tools. Makefile for Retro 1 kernel modified to get rid of file drivers.mk.
Serge Vakulenko2015-06-01 21:43:57 -07:00
c4e86a1a12
Sources of kernel config utility imported from LiteBSD.
Serge Vakulenko2015-06-01 17:19:20 -07:00
5f4ecde705
Fixed bug in cdevname().
Sergey2015-05-30 19:26:12 -07:00
f3ee6644b2
Create /var/cron directory at build time.
Sergey2015-05-30 19:07:40 -07:00
6b3455956a
Create all devices at build time. Don't call devupdate from /etc/rc before fs check - it can ruin the filesysem.
Sergey2015-05-30 18:54:50 -07:00
e08e51f1b9
Use permanent allocation of major indexes for character devices.
Sergey2015-05-30 18:28:22 -07:00
a234dfc7dc
Uart driver: on close, wait for output queue to drain.
Sergey2015-05-30 16:56:03 -07:00
7590783d92
Added demos for LED cube 8x8x8.
Sergey2015-05-17 22:39:30 -07:00
6144631bc5
Smaller C: Support structure passing/returning by value on MIPS
Alexey Frunze2015-05-17 15:28:37 -07:00
4ea521eabf
Smaller C improvements - type specifiers may occur in any order (e.g. "unsigned short int" and "int short unsigned")
Alexey Frunze2015-05-16 05:57:39 -07:00
a4bdbd4662
Bugfixes - properly sign-/zero-extend returned values, e.g. the following function must return 255 and not -1:
alex2015-04-25 17:50:56 -07:00
301d069a1a
Bugfixes - properly sign-/zero-extend returned values, e.g. the following function must return 255 and not -1:
alex2015-04-25 17:50:56 -07:00
9bbe938e48
At startup, set peripheral clock PBCLK as defined by busdiv option in kernel configuration file.
Sergey2015-02-14 20:20:19 -08:00
d5c97a9b19
Added bit definitions for OSCCON register. File machdep.c reindented.
Sergey2015-02-14 17:57:48 -08:00
0005e7d7bf
Fixed bug in fsck: using bcopy() instead of structure assignment. File exception.c converted to indent4 format.
Sergey2015-02-13 21:05:03 -08:00
42665ba3b3
SPI bus driver simplified.
Sergey2015-02-13 19:48:32 -08:00
942bdda5ed
Diskspeed: added extra sync and timeout before each test.
Sergey2015-02-13 19:41:32 -08:00
7f5ad5d3f8
Using Max32 board with Arduino SD card shield as a default configuration.
Serge Vakulenko2015-02-04 14:28:03 -08:00
df8f8eaf71
Directory sys/pic32/max32 removed: nobody is using this configuration, as it required a nonstandard SD card connection.
Serge Vakulenko2015-02-04 14:18:42 -08:00
f62f70c718
Max32-eth configuration: SD card speed reduced to 10MHz. Now it works stable with MakerStudio SD card shield.
Serge Vakulenko2015-02-02 22:26:19 -08:00
1916f8c9da
New kernel configuration: chipKIT WF32 board with microSD card on 2.4" LCD TFT display shield.
Serge Vakulenko2015-01-28 19:14:41 -08:00
d8269d1996
No more pause on tty output in case of clist overflow.
Serge Vakulenko2015-01-20 18:09:13 -08:00
8e228dde62
Fixed bug in fsutil: incorrect positioning of partition superblock.
Serge Vakulenko2015-01-06 19:47:31 -08:00
b1f67fbca0
SmallerC: generate smaller & faster code; bugfixes Improvements: - use registers more efficiently - eliminate some register copies and stack manipulations - promote left operands to right immediate operands - improve simple assignments to auto/static vars - use bltz, blez, bgtz, bgez - change mul/divu (by powers of 2) to sll/srl/and - use seb, seh for sign extension instead of sll/sra - overall generate a bit tighter, faster and more readable asm code
alex2014-12-29 16:28:56 -08:00
00269e9387
Smaller C fixes and improvements: - move va_list type detection under #ifdef as it's rarely needed anyway - allow up to 254 characters in a string literal - generate a warning when an integer is passed instead of a pointer (and vice versa) as a function parameter (pass -Wall for this) - when printing an unexpected token, print identifier tokens instead of '<tokIdent>' - fix: allow most control characters inside '' and "" - fix handling of -I<path> and -SI<path> - switch() now supports Duff's device - for() now supports declarations in its first clause as in C99/C++
alex2014-12-06 16:18:17 -08:00