Compare commits

...

1265 Commits

Author SHA1 Message Date
patacongo
1a7c3aba48 prep for 0.4.2 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1542 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 22:12:29 +00:00
patacongo
434c6c27ca Fix errors in handling interrupt bits on context restore
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1541 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 21:58:27 +00:00
patacongo
6c0b393697 Fix errors in handling interrupt bits on context restore
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1540 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 21:52:35 +00:00
patacongo
bd0d170002 Enable signals
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1539 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 21:51:53 +00:00
patacongo
b5d1f70c77 Can't display interrupt glyph because LEDs are interrupt driven
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1538 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 21:51:23 +00:00
patacongo
3b78e0a8f3 Fix more overflow/truncation problems in timer setups
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1537 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 18:50:44 +00:00
patacongo
01a50c427d upate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1536 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 14:26:27 +00:00
patacongo
53a5ea9459 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1535 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 14:24:48 +00:00
patacongo
adf3ac8b7b Increase ostest stack size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1534 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 14:23:49 +00:00
patacongo
2bd33dbe70 Fix signal-related compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1533 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 14:23:20 +00:00
patacongo
5640825b3f Add up_puts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1532 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 14:22:57 +00:00
patacongo
144644600e Fixe ez80 serial setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1531 42af7a65-404d-4744-a932-0658087f49c3
2009-02-28 01:27:30 +00:00
patacongo
ea4e5d904f Bring all eZ80 config files to same level
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1530 42af7a65-404d-4744-a932-0658087f49c3
2009-02-26 03:56:35 +00:00
patacongo
371881444e Fix for overflow in calculation of baud divisor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1529 42af7a65-404d-4744-a932-0658087f49c3
2009-02-26 02:07:53 +00:00
patacongo
ec2e5163af cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1528 42af7a65-404d-4744-a932-0658087f49c3
2009-02-26 02:07:06 +00:00
patacongo
4a55031b2d Fix error in calculating baud rate generation value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1527 42af7a65-404d-4744-a932-0658087f49c3
2009-02-26 00:47:30 +00:00
patacongo
99c50ff0a5 Misc changes to match output from F91 project
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1526 42af7a65-404d-4744-a932-0658087f49c3
2009-02-26 00:44:12 +00:00
patacongo
428f7a08f5 Console needs to be enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1525 42af7a65-404d-4744-a932-0658087f49c3
2009-02-26 00:41:21 +00:00
patacongo
54434c99ba Fix error in calculating baud rate generation value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1524 42af7a65-404d-4744-a932-0658087f49c3
2009-02-26 00:40:44 +00:00
patacongo
710ba7a8f0 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1523 42af7a65-404d-4744-a932-0658087f49c3
2009-02-25 01:53:38 +00:00
patacongo
94d4825055 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1522 42af7a65-404d-4744-a932-0658087f49c3
2009-02-24 01:28:17 +00:00
patacongo
ef0f434bb1 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1521 42af7a65-404d-4744-a932-0658087f49c3
2009-02-21 00:49:52 +00:00
patacongo
dad4547c71 Fix some stack sizes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1520 42af7a65-404d-4744-a932-0658087f49c3
2009-02-21 00:13:23 +00:00
patacongo
1122bafccd Add support for M16C buttons and LEDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1519 42af7a65-404d-4744-a932-0658087f49c3
2009-02-20 00:59:18 +00:00
patacongo
dd080051f5 Improve console configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1518 42af7a65-404d-4744-a932-0658087f49c3
2009-02-19 02:26:04 +00:00
patacongo
6d307da147 Add basic LCD support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1517 42af7a65-404d-4744-a932-0658087f49c3
2009-02-19 02:08:36 +00:00
patacongo
35fe68c3d8 Use the lowconsole driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1516 42af7a65-404d-4744-a932-0658087f49c3
2009-02-19 00:07:46 +00:00
patacongo
f1cd38a52f Remove all references to serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1515 42af7a65-404d-4744-a932-0658087f49c3
2009-02-19 00:07:23 +00:00
patacongo
7ba1fb4daf add framework for an LCD console.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1514 42af7a65-404d-4744-a932-0658087f49c3
2009-02-19 00:06:38 +00:00
patacongo
6286423da8 cosmetic renaming
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1513 42af7a65-404d-4744-a932-0658087f49c3
2009-02-18 12:02:22 +00:00
patacongo
b1298c8c4c Add support for boards with no serial ports
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1512 42af7a65-404d-4744-a932-0658087f49c3
2009-02-18 12:00:36 +00:00
patacongo
729525f67c Hook in low-level UART init
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1511 42af7a65-404d-4744-a932-0658087f49c3
2009-02-18 03:22:17 +00:00
patacongo
39d7ac0d2b Complete coding of M16C port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1510 42af7a65-404d-4744-a932-0658087f49c3
2009-02-17 02:53:24 +00:00
patacongo
f4aceff482 Add M16C serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1509 42af7a65-404d-4744-a932-0658087f49c3
2009-02-17 02:43:47 +00:00
patacongo
32fddbe1d2 Add low level UART support for M16C
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1508 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 23:28:10 +00:00
patacongo
59f461ac30 Added support for M16C small memory model
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1507 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 19:10:29 +00:00
patacongo
4880ca3f30 Add support for nestable interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1506 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 19:09:28 +00:00
patacongo
5b7fcc12a2 Add support for M16C timer interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1505 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 18:29:40 +00:00
patacongo
a06bc37358 cosmet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1504 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 18:29:14 +00:00
patacongo
f73bfa5307 Add M16C register dump logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1503 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 01:43:01 +00:00
patacongo
87dd780ff5 Need to export symbols
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1502 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 00:27:24 +00:00
patacongo
ede5f9792e Add interrupt initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1501 42af7a65-404d-4744-a932-0658087f49c3
2009-02-15 00:27:06 +00:00
patacongo
1b8bc0682a ez80Acclaim fixes from Kevin Franzen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1500 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 23:57:26 +00:00
patacongo
4a0b4eb68c Change updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1499 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 22:12:57 +00:00
patacongo
6a31e650e8 Use MAX_INT, not 0x7fffffff. On some machines int is 16-bits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1498 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 22:11:58 +00:00
patacongo
7127caf67d Back out last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1497 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 22:11:22 +00:00
patacongo
c9cdb5b1a1 Add M16C interrupt/context switch logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1496 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 22:10:30 +00:00
patacongo
dc8f09cc34 Need separate limits.h files to support M16Climits.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1495 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 22:09:46 +00:00
patacongo
8a66212a6d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1494 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 01:56:40 +00:00
patacongo
364e4ac100 Add FAR to sigdeliver_t
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1493 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 01:11:14 +00:00
patacongo
db5679f13d Add task register intialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1492 42af7a65-404d-4744-a932-0658087f49c3
2009-02-14 01:08:39 +00:00
patacongo
bf31ea1816 Fix syntax errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1491 42af7a65-404d-4744-a932-0658087f49c3
2009-02-13 01:01:16 +00:00
patacongo
7d2247f00c Fix assembly errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1490 42af7a65-404d-4744-a932-0658087f49c3
2009-02-13 00:56:23 +00:00
patacongo
0fcb411368 Move vectors to a separate file (more needed)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1489 42af7a65-404d-4744-a932-0658087f49c3
2009-02-13 00:51:57 +00:00
patacongo
fa6eb024dc Fix some assembly errors (some still exist)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1488 42af7a65-404d-4744-a932-0658087f49c3
2009-02-12 00:30:33 +00:00
patacongo
313eedf9b5 signal deliver is specific to SoC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1487 42af7a65-404d-4744-a932-0658087f49c3
2009-02-12 00:30:04 +00:00
patacongo
97bdcb112f Adding M16C support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1486 42af7a65-404d-4744-a932-0658087f49c3
2009-02-09 00:11:22 +00:00
patacongo
24fea23151 Addng M16C logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1485 42af7a65-404d-4744-a932-0658087f49c3
2009-02-08 22:55:04 +00:00
patacongo
9d1965ba08 M16C chip support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1484 42af7a65-404d-4744-a932-0658087f49c3
2009-02-08 22:52:08 +00:00
patacongo
2bf7ee9ad8 Add M16C info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1483 42af7a65-404d-4744-a932-0658087f49c3
2009-02-08 20:30:10 +00:00
patacongo
b863621984 Improve build instructions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1482 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 22:33:24 +00:00
patacongo
2ec8813b98 Add framework for MC16C buttons
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1480 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 20:43:22 +00:00
patacongo
37328232b7 Add instructions for building toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1479 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 20:43:04 +00:00
patacongo
48ee466699 Renesas M16C support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1478 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 15:24:32 +00:00
patacongo
073914c5bc Renesas M16C support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1477 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 15:17:58 +00:00
patacongo
e0dd51f808 Renesas M16C Support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1476 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 15:16:55 +00:00
patacongo
a87b9791d1 Prep for 0.4.1 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1475 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 03:23:50 +00:00
patacongo
f5ed3ae106 X11 stuff doesn't build correctly on Cygwin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1474 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 03:10:03 +00:00
patacongo
196260a8c5 Fix compilation problems with eZ80 targets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1473 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 02:46:14 +00:00
patacongo
88bb6cca07 Fixes for z16f compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1472 42af7a65-404d-4744-a932-0658087f49c3
2009-02-07 02:07:42 +00:00
patacongo
0fc51ed9e2 nettest config
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1471 42af7a65-404d-4744-a932-0658087f49c3
2009-01-21 22:24:52 +00:00
patacongo
e4e5c620be update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1470 42af7a65-404d-4744-a932-0658087f49c3
2009-01-21 21:56:52 +00:00
patacongo
c20aaf755a update project
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1469 42af7a65-404d-4744-a932-0658087f49c3
2009-01-20 14:01:17 +00:00
patacongo
4fb8a871ab Add support for gcc 2.4.2 toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1466 42af7a65-404d-4744-a932-0658087f49c3
2009-01-06 14:34:33 +00:00
patacongo
79dc0fd773 bad hyperlink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1455 42af7a65-404d-4744-a932-0658087f49c3
2009-01-04 16:09:38 +00:00
patacongo
a6c528bcd1 More fixes for picky ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1454 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 19:02:28 +00:00
patacongo
6930fc4262 Name changes for ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1453 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 18:57:05 +00:00
patacongo
bb45db5b2e Filename changes needed by ZDS archiver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1452 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 18:33:36 +00:00
patacongo
703a3b1e88 Misc fixes for ZDS compile/build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1451 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 18:01:25 +00:00
patacongo
a51a122fb8 Add eZ80F91 EMAC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1450 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 16:57:52 +00:00
patacongo
1a3d9672fe Fix compile error only noted with ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1449 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 16:55:51 +00:00
patacongo
1d66317ea8 Eliminate warnings with ZDS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1448 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 16:55:31 +00:00
patacongo
23dbbcdcdf Add Am79c874 register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1447 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 13:56:07 +00:00
patacongo
1e94c9f7e2 Add MDC clock divisors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1446 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 02:20:03 +00:00
patacongo
88d4e7e0df MII definitions needed by ez80 EMAC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1445 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 02:19:07 +00:00
patacongo
74e239317c cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1444 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 02:18:34 +00:00
patacongo
56eac423c4 fix typo in comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1443 42af7a65-404d-4744-a932-0658087f49c3
2008-12-12 02:17:15 +00:00
patacongo
6c1cdc5213 Move EMAC definitions to a separate file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1442 42af7a65-404d-4744-a932-0658087f49c3
2008-12-11 02:30:58 +00:00
patacongo
4b88c289d7 Move some memory map definitions to a common file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1441 42af7a65-404d-4744-a932-0658087f49c3
2008-12-11 02:30:37 +00:00
patacongo
721696a066 Add more EMAC register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1440 42af7a65-404d-4744-a932-0658087f49c3
2008-12-09 01:07:11 +00:00
patacongo
c0dfcb5084 Need to use cygpath consistently for compilation in subdirectories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1439 42af7a65-404d-4744-a932-0658087f49c3
2008-12-08 21:21:46 +00:00
patacongo
0a7fb63270 fix CC case-ness
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1438 42af7a65-404d-4744-a932-0658087f49c3
2008-12-08 20:45:26 +00:00
patacongo
09de1a3a52 Remove Olimex references
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1437 42af7a65-404d-4744-a932-0658087f49c3
2008-12-08 18:54:39 +00:00
patacongo
c0f9c73868 ez80f910200zco port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1436 42af7a65-404d-4744-a932-0658087f49c3
2008-12-08 18:44:43 +00:00
patacongo
ee5fbae36e Remove extra line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1435 42af7a65-404d-4744-a932-0658087f49c3
2008-12-08 17:00:16 +00:00
patacongo
b933b1cad6 Add LED support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1434 42af7a65-404d-4744-a932-0658087f49c3
2008-12-08 16:59:46 +00:00
patacongo
2b8ff49fe0 Add button support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1433 42af7a65-404d-4744-a932-0658087f49c3
2008-12-08 16:58:18 +00:00
patacongo
922ecbf5aa Fix errors in prototypes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1432 42af7a65-404d-4744-a932-0658087f49c3
2008-12-07 18:22:36 +00:00
patacongo
b6e4104733 Several syntax errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1431 42af7a65-404d-4744-a932-0658087f49c3
2008-12-07 17:36:04 +00:00
patacongo
72c61eeef8 NX needs to be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1430 42af7a65-404d-4744-a932-0658087f49c3
2008-12-07 17:35:04 +00:00
patacongo
a652c323e7 Add ez80f910200zco board config
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1429 42af7a65-404d-4744-a932-0658087f49c3
2008-12-07 15:46:06 +00:00
patacongo
764606c852 Config for ez80f910200zco board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1428 42af7a65-404d-4744-a932-0658087f49c3
2008-12-07 15:44:56 +00:00
patacongo
db16f9ff26 Prep for 0.4.0 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1427 42af7a65-404d-4744-a932-0658087f49c3
2008-12-06 16:08:07 +00:00
patacongo
7c0e2a96f6 Add test matrix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1426 42af7a65-404d-4744-a932-0658087f49c3
2008-12-06 15:42:22 +00:00
patacongo
a6266f9ba4 Fix conditional compile syntax
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1425 42af7a65-404d-4744-a932-0658087f49c3
2008-12-06 15:42:00 +00:00
patacongo
d7c8df9376 Add default colors for all BPP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1424 42af7a65-404d-4744-a932-0658087f49c3
2008-12-06 14:41:52 +00:00
patacongo
ed32f4d267 Correct size of background window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1423 42af7a65-404d-4744-a932-0658087f49c3
2008-12-06 14:41:24 +00:00
patacongo
9a7d905289 Allocate smaller buffers for glyphs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1422 42af7a65-404d-4744-a932-0658087f49c3
2008-12-06 13:45:05 +00:00
patacongo
0f9ebcf159 Document NX Graphics Subsystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1421 42af7a65-404d-4744-a932-0658087f49c3
2008-12-05 22:57:27 +00:00
patacongo
fc099a5d34 Clean-up and document NX configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1420 42af7a65-404d-4744-a932-0658087f49c3
2008-12-05 14:04:37 +00:00
patacongo
b702a15c16 Fix tiny drawing errors in frame
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1419 42af7a65-404d-4744-a932-0658087f49c3
2008-12-05 02:36:05 +00:00
patacongo
0c09d4885a Fix nxfonts clean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1418 42af7a65-404d-4744-a932-0658087f49c3
2008-12-05 01:13:18 +00:00
patacongo
1d9cd0293b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1417 42af7a65-404d-4744-a932-0658087f49c3
2008-12-05 00:42:37 +00:00
patacongo
3ed415a835 Fonts are integated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1416 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 23:32:06 +00:00
patacongo
acaffaf715 Integrating font capabilities; debug bitmap logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1415 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 23:03:33 +00:00
patacongo
6956b4543e Remove preprocessor info from generated files so that you can use GDB
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1414 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 23:01:43 +00:00
patacongo
6d88b5b00c Add font test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1413 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 16:45:06 +00:00
patacongo
9db08181c2 Removed superfluous toolbar handle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1412 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 12:57:22 +00:00
patacongo
af233cacc6 Enable keypad input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1411 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 03:19:59 +00:00
patacongo
000ac55d04 Add logic for font rendering
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1410 42af7a65-404d-4744-a932-0658087f49c3
2008-12-04 01:11:21 +00:00
patacongo
f735008c65 Bitmap font support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1409 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 20:54:19 +00:00
patacongo
ffa067e1e9 Add support for bitmap fonts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1408 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 20:53:23 +00:00
patacongo
c5872e332f Modify examples/nx to use NXTK; fix related bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1407 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 15:27:40 +00:00
patacongo
87426f56d7 typo in comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1406 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 13:27:44 +00:00
patacongo
e16ba8a5db Fix error in re-draw clipping
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1405 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 13:27:14 +00:00
patacongo
4917690c02 Need to be consistent: rectangle endpoints are within rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1404 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 01:50:30 +00:00
patacongo
ee55367915 Positioning depends on width of border
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1403 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:33:59 +00:00
patacongo
63dfdf17b9 Using uninitialized variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1402 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:30:59 +00:00
patacongo
dd4ade3867 Fix: height, not width
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1401 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:30:09 +00:00
patacongo
18a1f48fa0 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1400 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:29:31 +00:00
patacongo
cdc766ed8e Add frame drawing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1399 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:28:53 +00:00
patacongo
60c083385f For consistency, all close function return int
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1398 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:28:08 +00:00
patacongo
3a55acb834 Providing wrong size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1397 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:25:15 +00:00
patacongo
7f8eb9eb1d Fix bad conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1396 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:24:25 +00:00
patacongo
52ca6f16a6 Need to be consistent: rectangle endpoints are within rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1395 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:23:28 +00:00
patacongo
55e089f25e Need to report the new position before re-drawing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1394 42af7a65-404d-4744-a932-0658087f49c3
2008-12-03 00:21:53 +00:00
patacongo
9414c64d0d Remove redundant origin value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1393 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 20:57:45 +00:00
patacongo
c13aa8eb4d Don't keep sizes in rectangles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1392 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 20:02:59 +00:00
patacongo
0b8d1166d4 More NXTK files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1391 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 19:08:19 +00:00
patacongo
6a27ade4af Revised/simplified toolkit concept
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1390 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 16:39:39 +00:00
patacongo
fcb0515526 filltrapezoid needs a clipping rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1389 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 16:38:35 +00:00
patacongo
981d2a73be Add support for low resolution rasterizers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1388 42af7a65-404d-4744-a932-0658087f49c3
2008-12-02 12:41:05 +00:00
patacongo
6bf0e7f97b Can't use signal handler for nx_eventhandler()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1387 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 23:40:44 +00:00
patacongo
0c3926c145 Fixed for multi-user NX mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1386 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 22:13:03 +00:00
patacongo
c7b165ddd1 Fix some parameter passing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1385 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 22:10:28 +00:00
patacongo
d1a0680f06 Integrated mouse support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1384 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:54:29 +00:00
patacongo
ff7b212533 Missing prototype for nx_filltrapezoid
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1383 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:53:59 +00:00
patacongo
553d881ee6 Fix vectsubtract name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1382 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:53:27 +00:00
patacongo
d68afa9783 Add rectinside(), vectsubtract(), visible()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1381 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:51:48 +00:00
patacongo
8dde7100b8 Add the beginning of NX toolkit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1380 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:51:08 +00:00
patacongo
1df8e024de No C++
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1379 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:50:15 +00:00
patacongo
522a84c782 Enable mouse input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1378 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:49:47 +00:00
patacongo
3ce9a202ca Add more NX name space fixups
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1377 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 18:49:33 +00:00
patacongo
eda0693e8c NX toolkit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1376 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 17:36:53 +00:00
patacongo
38c270622f Fix raise logic -- what was I thinking?
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1375 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:34:05 +00:00
patacongo
c16178c20d Only provide mouse input if mouse is in window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1374 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:33:44 +00:00
patacongo
ab44f107d3 Must redraw larger of two sizes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1373 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:33:17 +00:00
patacongo
403b6abb77 Fixed dependency problem. nutt.rel must always be rebuilt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1372 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 16:21:43 +00:00
patacongo
7322ee4547 Add vectsubtract() and rectinside()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1371 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:28:31 +00:00
patacongo
676c0e2798 Fix setposition redraw logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1370 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:13:33 +00:00
patacongo
38ea9f14b7 Fix passed window number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1369 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:13:12 +00:00
patacongo
deaa6ad5f2 Add nxgl_rectunion()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1368 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 15:12:31 +00:00
patacongo
538c321bfc Add nx_constructwindow
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1367 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 13:26:23 +00:00
patacongo
4f6ef2af8d Add argument to window callbacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1366 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 13:22:34 +00:00
patacongo
558ffa59d1 Lowered window was not being redrawn
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1365 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 03:07:36 +00:00
patacongo
cf462f739f Improperly initialized rectangle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1364 42af7a65-404d-4744-a932-0658087f49c3
2008-12-01 02:30:53 +00:00
patacongo
2dcc77a557 X reports 24 bpp depth, but wants 32 bpp size pixels
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1363 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 20:09:14 +00:00
patacongo
0b22346cac Mentioned unimplemented directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1362 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 20:05:47 +00:00
patacongo
3925baf238 There is at least some X11 output now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1361 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 18:52:14 +00:00
patacongo
2cc9c98ae7 Add CONFIG_SIM_WALLTIME option
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1360 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 18:51:40 +00:00
patacongo
edcf4fbf18 Add X11 simulated framebuffer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1359 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 16:46:21 +00:00
patacongo
743729a86a Fix typos in debug output strings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1358 42af7a65-404d-4744-a932-0658087f49c3
2008-11-30 16:37:48 +00:00
patacongo
94c66e2480 Using wrong(invalid) callback structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1357 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 20:26:18 +00:00
patacongo
a2740a9c1e No longer waits for connection
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1356 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 20:25:28 +00:00
patacongo
d2a5cc403e Use nx_eventnotify
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1355 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 20:24:47 +00:00
patacongo
549255ef6f Added notification signal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1354 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 20:17:47 +00:00
patacongo
014abe3f46 Add FAR to pointer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1353 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:15:36 +00:00
patacongo
083d790f0c Sending client message on wrong MQ
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1352 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:14:40 +00:00
patacongo
10a350ebce Fix message number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1351 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:14:06 +00:00
patacongo
c5d890f686 Add configuration check
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1350 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:12:54 +00:00
patacongo
fccb66a0be Add nx_eventnotify.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1349 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 18:12:17 +00:00
patacongo
f48db4efac Fixes to MQ open logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1348 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 16:04:20 +00:00
patacongo
83f73e5b5f cosmetic fixes to debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1347 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 16:03:22 +00:00
patacongo
58ec881679 Use configurable server configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1346 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 16:02:34 +00:00
patacongo
665cc35047 Add more configuration checking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1345 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 16:02:05 +00:00
patacongo
f69536cf6b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1344 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 15:17:47 +00:00
patacongo
d3038a7a98 Add APIs to get access to background
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1343 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 14:59:02 +00:00
patacongo
586f69da53 Add fixed precision sin() and cos()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1342 42af7a65-404d-4744-a932-0658087f49c3
2008-11-29 01:19:35 +00:00
patacongo
63101c7916 Changes from initial NX debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1341 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 23:04:54 +00:00
patacongo
ac8a252e30 Add configuration of simulated framebuffer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1340 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:48:10 +00:00
patacongo
e63ab4826d Missing initialization of background window
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1339 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:47:40 +00:00
patacongo
3bfb887033 Fix auto-generation of sources
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1338 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:27:10 +00:00
patacongo
eb0772e504 Fix bad pixel type
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1337 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:26:22 +00:00
patacongo
faac7eaf55 Fixe backward selection of BPP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1336 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:25:59 +00:00
patacongo
fada746d2d Add fill support for BPP < 8
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1335 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 18:01:10 +00:00
patacongo
d7db3259ee Fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1334 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 17:59:59 +00:00
patacongo
6506ad093c Fix variable name in prototypes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1333 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 17:59:09 +00:00
patacongo
8344205751 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1332 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 17:58:29 +00:00
patacongo
e780803ba1 NX test/example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1331 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 17:57:21 +00:00
patacongo
87e58c952e Standardize framebuffer APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1330 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 17:55:04 +00:00
patacongo
622b04229c Add NX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1329 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 16:07:54 +00:00
patacongo
98f9537265 NX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1328 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 16:06:12 +00:00
patacongo
9c618a0780 Add graphics front-end logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1327 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 14:45:15 +00:00
patacongo
ba236b0780 Single-user graphics front-end
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1326 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 14:43:22 +00:00
patacongo
43d77227a0 Multi-user graphics front-end
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1325 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 14:42:52 +00:00
patacongo
604c94dce8 Add more trapezoid support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1324 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 13:57:20 +00:00
patacongo
5638ac274f Add support for trapezoidal fills
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1323 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 13:20:36 +00:00
patacongo
7ae6a40baa minor refactoring
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1322 42af7a65-404d-4744-a932-0658087f49c3
2008-11-28 01:33:18 +00:00
patacongo
69adbecf5c More graphic support routines
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1321 42af7a65-404d-4744-a932-0658087f49c3
2008-11-27 23:31:37 +00:00
patacongo
3ba6819bb9 Graphics backend
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1320 42af7a65-404d-4744-a932-0658087f49c3
2008-11-27 22:56:45 +00:00
patacongo
f14b4b3942 Prep for 0.3.19 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1319 42af7a65-404d-4744-a932-0658087f49c3
2008-11-27 03:18:04 +00:00
patacongo
2ab40252bc Needed for ZDS compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1318 42af7a65-404d-4744-a932-0658087f49c3
2008-11-27 02:55:40 +00:00
patacongo
528ffcbed0 Make prototypes of rasterizers same at all resolutions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1317 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 23:42:51 +00:00
patacongo
076808fec7 Add more rasterizers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1316 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 22:20:00 +00:00
patacongo
9a4ef7992f Add newline at end of file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1315 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 22:17:56 +00:00
patacongo
347bc09e47 Add another rasterizer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1314 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 19:39:54 +00:00
patacongo
e77aa25163 First rasterizer builds OK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1313 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 18:59:52 +00:00
patacongo
fac43407b1 Need pre-processor support for auto-generation of source file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1312 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 18:59:14 +00:00
patacongo
cd5534f178 Adding bitblit functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1311 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 17:58:31 +00:00
patacongo
ed1cbc277f update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1310 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 17:58:02 +00:00
patacongo
0a9c6e69a3 Added nxglib.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1309 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 15:48:48 +00:00
patacongo
1979ecdbc0 graphics dir now has its own makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1308 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 15:46:12 +00:00
patacongo
401c825ddd Add multicast support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1307 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 13:39:09 +00:00
patacongo
575927d0f7 Add DM320 framebuffer driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1306 42af7a65-404d-4744-a932-0658087f49c3
2008-11-26 00:26:27 +00:00
patacongo
a9b1526a37 Beginning of a graphics library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1305 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 21:58:35 +00:00
patacongo
3bc671c081 Add fixed precision math support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1304 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 20:53:12 +00:00
patacongo
4897826eab Distinguish differenc RGB16 types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1303 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 20:52:10 +00:00
patacongo
afe7489c1b Add support for graphics add-on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1302 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 00:09:53 +00:00
patacongo
0071c4af7d Add support for graphics debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1301 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 00:09:14 +00:00
patacongo
3cf661f578 Directory for graphics addons
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1300 42af7a65-404d-4744-a932-0658087f49c3
2008-11-25 00:08:01 +00:00
patacongo
124d770ac2 minor comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1299 42af7a65-404d-4744-a932-0658087f49c3
2008-11-23 19:35:19 +00:00
patacongo
bc0eb7f31e Added framebuffer interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1298 42af7a65-404d-4744-a932-0658087f49c3
2008-11-23 15:53:51 +00:00
patacongo
55bdcc37ab Change from doubly- to singly-linked lists
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1297 42af7a65-404d-4744-a932-0658087f49c3
2008-11-21 12:47:36 +00:00
patacongo
c5a9c36751 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1296 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 21:59:36 +00:00
patacongo
9fe041fff5 Completed integration of TCP connection backlog and poll()/select() for connections
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1295 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 21:50:55 +00:00
patacongo
73a6fc026d Add support for TCP/IP connection backlog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1294 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 19:24:06 +00:00
patacongo
14d2342d9e Make sure the private data is initially NULL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1293 42af7a65-404d-4744-a932-0658087f49c3
2008-11-20 14:13:04 +00:00
patacongo
a8ddf0cfea Add description of poll configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1292 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 22:43:25 +00:00
patacongo
946993e019 examples/poll config
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1291 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 22:41:43 +00:00
patacongo
2bd86fa831 Document poll/select bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1290 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 20:06:20 +00:00
patacongo
2189a692ed Corrected a bug in the buffering of TCP data
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1289 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 20:05:55 +00:00
patacongo
cf12e1690e Move poll save area back into struct pollfd (as it was
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1288 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 18:43:50 +00:00
patacongo
b87033e705 Add entries to index
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1287 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 02:40:54 +00:00
patacongo
0985c273fa Move poll storage slot from pollfd struct to socket struct
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1286 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 02:40:09 +00:00
patacongo
0f4896d7b8 Revert part of last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1285 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 02:39:21 +00:00
patacongo
fb68f83244 Add host side helper for poll test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1284 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 00:23:38 +00:00
patacongo
240e512d67 Add configuration settings necessary to use poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1283 42af7a65-404d-4744-a932-0658087f49c3
2008-11-19 00:23:19 +00:00
patacongo
6dedcb2dfe Add poll() and select()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1282 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 23:00:29 +00:00
patacongo
004cd55833 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1281 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 23:00:05 +00:00
patacongo
ec5bf90328 Add TCP/IP server
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1280 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 22:16:10 +00:00
patacongo
f43604ca38 Add UDP poll issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1279 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 22:15:12 +00:00
patacongo
0dd623a473 Basic setup of network select
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1278 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 22:14:25 +00:00
patacongo
b2b69f173b Implement poll/select for sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1277 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 17:30:30 +00:00
patacongo
8e53b72627 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1276 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 17:24:50 +00:00
patacongo
a93d9f4cd6 Fix serial read behavior
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1275 42af7a65-404d-4744-a932-0658087f49c3
2008-11-18 14:54:43 +00:00
patacongo
f74a19b9fd Add option to use C buffered I/O in examples/serloop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1274 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:59:16 +00:00
patacongo
17edec8443 Needs conditional compilation for POLL disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1273 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:58:46 +00:00
patacongo
0b84cc9139 Note bad behavior of fgetc
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1272 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:58:17 +00:00
patacongo
d5000bfdc5 Fix improper access to table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1271 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:24:22 +00:00
patacongo
6fde1cb170 Use FAR storage class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1270 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:23:45 +00:00
patacongo
bea78a9ecd Remove garbage comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1269 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:23:07 +00:00
patacongo
c14ec89a4f Add poll method to serial drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1268 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 23:22:27 +00:00
patacongo
2ed32601fa Extend test to verify select
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1267 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 21:18:03 +00:00
patacongo
acbefdbb30 Initial integration of poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1266 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:27:26 +00:00
patacongo
e4922667b2 CAN driver doesn't support poll() method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1265 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:26:34 +00:00
patacongo
b57ad724f7 Add examples/poll
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1264 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:25:49 +00:00
patacongo
73c4fa5757 Add select()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1263 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:25:28 +00:00
patacongo
68ec2ba098 Add poll() method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1262 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 20:24:28 +00:00
patacongo
efff6fa8d2 Test for poll API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1261 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 18:36:56 +00:00
patacongo
8840defcc2 Default state is poll() disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1260 42af7a65-404d-4744-a932-0658087f49c3
2008-11-17 13:39:27 +00:00
patacongo
72d4fbf168 Poll API may be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1259 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 22:05:28 +00:00
patacongo
dbda581f26 Add infrastructure to support poll()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1258 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 18:48:29 +00:00
patacongo
57c41ff2fc Basic file structure for poll() API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1257 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 17:19:38 +00:00
patacongo
85911f6a9d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1256 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 16:36:30 +00:00
patacongo
5a10c4845a Prep for 0.3.18 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1255 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:57:10 +00:00
patacongo
972ab74f1a Add to losetup example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1254 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:55:34 +00:00
patacongo
4d24e3c482 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1253 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:54 +00:00
patacongo
e4fa1da557 Fix a possible sigsegv in getopt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1252 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:29 +00:00
patacongo
3a02c111ca Fix some lseek to zero problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1251 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 14:54:03 +00:00
patacongo
f2b7c5e6b4 Flush dirty cache on close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1250 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 01:57:16 +00:00
patacongo
c08eaaff33 Fix a FAT mount bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1249 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 01:28:01 +00:00
patacongo
2522b24e96 Fix hyperlink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1248 42af7a65-404d-4744-a932-0658087f49c3
2008-11-16 01:06:12 +00:00
patacongo
1889e9e787 Prevent sign extension when dumping bytes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1247 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 21:06:41 +00:00
patacongo
67d446be4e trivial cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1246 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 19:19:34 +00:00
patacongo
193bfbd032 semaphore not being initialized; wrong offset used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1245 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 19:18:32 +00:00
patacongo
3855baf8d9 losetup example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1244 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 19:17:55 +00:00
patacongo
c8f205d2c5 Add losetup to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1243 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 17:42:49 +00:00
patacongo
d6aa80bbd0 NSH dd command test with block devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1242 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 16:36:32 +00:00
patacongo
4a9e922943 Add dd command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1241 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 15:36:16 +00:00
patacongo
458706e249 Register /dev/zero too
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1240 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 15:35:47 +00:00
patacongo
0e2ca53487 Add str[n]casecmp
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1239 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 14:26:22 +00:00
patacongo
386b7f12cd Add loop teardown logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1238 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:20:34 +00:00
patacongo
6aeb99bc51 Add Block-to-character device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1237 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:18:23 +00:00
patacongo
f47adddbb2 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1236 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:17:53 +00:00
patacongo
9f05f24615 Block-to-character driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1235 42af7a65-404d-4744-a932-0658087f49c3
2008-11-15 00:14:05 +00:00
patacongo
c3edbc0eaf Allow each NSH command to be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1234 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 15:11:26 +00:00
patacongo
ff7c75a90d Add function headers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1233 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 15:10:31 +00:00
patacongo
c47d76bdf9 Correct comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1232 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 15:09:39 +00:00
patacongo
eb3a385f82 Add loop device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1231 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 03:07:54 +00:00
patacongo
9aebb6a97f update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1230 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 01:59:40 +00:00
patacongo
d5b291612a Add group links
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1229 42af7a65-404d-4744-a932-0658087f49c3
2008-11-14 01:42:18 +00:00
patacongo
2ada7b720b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1228 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 22:26:54 +00:00
patacongo
f3866fb556 Added CONFIG_USERMAIN_STACKSIZE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1227 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 21:13:53 +00:00
patacongo
dede5077d6 Change configuration name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1226 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 20:37:02 +00:00
patacongo
9160574c88 Update SH-1 status
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1225 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 20:16:42 +00:00
patacongo
27f2657f12 Fix some hanlding of TIE and RIE interrupt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1224 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 20:16:07 +00:00
patacongo
d55a8c56a1 Fix comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1223 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 20:15:23 +00:00
patacongo
b5a667dac6 Some structure elements should be marked volatile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1222 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 20:05:31 +00:00
patacongo
392f59af18 Typo in comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1221 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 14:46:47 +00:00
patacongo
e9b004b360 updated comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1220 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 14:46:10 +00:00
patacongo
eebd2150ef Need to clear TDRE after receiving byte
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1219 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 14:45:41 +00:00
patacongo
0397fb1ed1 Signal save fields should not be available if there are no signals
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1218 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 14:44:28 +00:00
patacongo
a14502ec90 updated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1217 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 12:59:51 +00:00
patacongo
eade3e5b45 Serial loopback test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1216 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 12:55:23 +00:00
patacongo
7c60be1954 Add comments; note potential bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1215 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 01:02:56 +00:00
patacongo
faa3ce6b97 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1214 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 00:15:41 +00:00
patacongo
394753cd92 No need to restore r8-r14 on return from int if no context switch
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1213 42af7a65-404d-4744-a932-0658087f49c3
2008-11-13 00:15:08 +00:00
patacongo
2015f47eba cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1212 42af7a65-404d-4744-a932-0658087f49c3
2008-11-12 19:17:21 +00:00
patacongo
843c29cc2c Fix several errors, mostly related to interrupt setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1211 42af7a65-404d-4744-a932-0658087f49c3
2008-11-12 19:17:02 +00:00
patacongo
006af873ff Fix error in prioritization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1210 42af7a65-404d-4744-a932-0658087f49c3
2008-11-12 19:16:18 +00:00
patacongo
e64f044581 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1208 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 23:44:38 +00:00
patacongo
7ea11d145e Fixes for clean compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1207 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 23:22:06 +00:00
patacongo
d4e4b9c2e2 Fix typos (O instead of 0)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1206 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 23:21:38 +00:00
patacongo
1c81ae36c5 NSH configuration for SH-1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1204 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 23:04:55 +00:00
patacongo
8c98fc852d Fix user context save
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1203 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 22:49:11 +00:00
patacongo
416b903ed5 Console is on SCI1 not SCI0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1202 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 22:03:04 +00:00
patacongo
8f13f401c6 Correct conditional expression
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1201 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 22:02:31 +00:00
patacongo
3789784a97 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1200 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 22:01:06 +00:00
patacongo
b05637c21b Board has 20MHz crystal, not 10
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1199 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 19:39:17 +00:00
patacongo
3d623e232a cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1198 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 19:38:37 +00:00
patacongo
5f905129a5 HAVE_CONSOLE was not being defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1197 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 19:38:09 +00:00
patacongo
0e2b4f14fc Fix showprogress macro (still ARM assembly)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1196 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 19:36:52 +00:00
patacongo
e6ee652ab3 Typos in comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1195 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 19:36:15 +00:00
patacongo
23304550c4 Don't waste vector slots if features disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1194 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 19:34:44 +00:00
patacongo
e0a1f6ef60 Fix problems when debug enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1193 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 19:34:07 +00:00
patacongo
0635285c43 Fix register dump logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1192 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 01:20:49 +00:00
patacongo
8cf158a348 Fix some bugs; add some features
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1191 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 00:44:20 +00:00
patacongo
63d61ff46f Fix bad link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1190 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 00:43:26 +00:00
patacongo
a5145fe21c Get LOOPSPERMSEC a little closer to the actual value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1189 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 00:42:52 +00:00
patacongo
a9ee2dfbbf Fix several context switching bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1187 42af7a65-404d-4744-a932-0658087f49c3
2008-11-11 00:41:22 +00:00
patacongo
ae2977a82e Eliminate warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1186 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 23:19:07 +00:00
patacongo
a6a8945767 Fix typo in path
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1185 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 15:58:46 +00:00
patacongo
d442a2e1d7 Make ostest smaller so that it fits in the tiny 64Kb memory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1184 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 15:58:33 +00:00
patacongo
18d67eb782 Syntax error when field width not supported
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1183 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 15:01:08 +00:00
patacongo
6cb7caab02 Make use of FAR consistent in stdio.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1182 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 14:40:03 +00:00
patacongo
bd856e9212 Eliminate warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1181 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 14:16:12 +00:00
patacongo
f4f8020ed3 Fix SCI selection conditional logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1180 42af7a65-404d-4744-a932-0658087f49c3
2008-11-10 13:14:52 +00:00
patacongo
f06af7ba3e Fix section name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1179 42af7a65-404d-4744-a932-0658087f49c3
2008-11-09 18:44:35 +00:00
patacongo
490a98191e Implement interrupt vectors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1178 42af7a65-404d-4744-a932-0658087f49c3
2008-11-09 18:19:41 +00:00
patacongo
4abb99bcb8 Implement interrupt priority logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1177 42af7a65-404d-4744-a932-0658087f49c3
2008-11-09 18:19:20 +00:00
patacongo
4ed3af567c Support enable/disable of devices to reduce size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1176 42af7a65-404d-4744-a932-0658087f49c3
2008-11-09 18:18:55 +00:00
patacongo
4bf1919ff2 Add SH-1 system timer setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1175 42af7a65-404d-4744-a932-0658087f49c3
2008-11-09 15:06:34 +00:00
patacongo
5d76e17638 Can't use if up_disable_irq if there is not interrupt controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1174 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 17:46:36 +00:00
patacongo
2f540a8e6e Fix bad macro names
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1173 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 17:46:10 +00:00
patacongo
215adeef29 Correct irqsave/restore logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1172 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 17:29:32 +00:00
patacongo
99f82fdc03 Fix prototype problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1171 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 17:29:14 +00:00
patacongo
f374b57c22 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1170 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 16:28:00 +00:00
patacongo
2bd702a174 Add up_saveusercontext
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1169 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 16:27:50 +00:00
patacongo
0f391aeb4a Add interrupt stack
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1168 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 16:27:21 +00:00
patacongo
5cb5ba51ae Enhanced context switch performance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1167 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 16:27:11 +00:00
patacongo
811a2d02af Initial vector handling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1166 42af7a65-404d-4744-a932-0658087f49c3
2008-11-08 15:12:56 +00:00
patacongo
03bc03af40 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1165 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:56:35 +00:00
patacongo
7d1a814404 Missing return value with some config options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1164 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:55:56 +00:00
patacongo
ccad3360b1 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1163 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:55:25 +00:00
patacongo
1ca53e706a Check for messages disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1162 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:54:27 +00:00
patacongo
aec4241258 Update for changes to common/up_internal.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1161 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:53:46 +00:00
patacongo
f053a30e05 typo in variable name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1160 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:09:12 +00:00
patacongo
875ea61fa6 Fix list empty checks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1159 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:08:41 +00:00
patacongo
3c1f0828b2 Fix broken function all
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1158 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:08:06 +00:00
patacongo
d57ef5660b cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1157 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 20:07:27 +00:00
patacongo
0fb782537a Fixes to windows path logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1156 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 19:31:35 +00:00
patacongo
a71dd2b18e Handler compiler differences
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1155 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 19:11:27 +00:00
patacongo
368ef1c0e8 Make sure z16f still builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1154 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 18:16:01 +00:00
patacongo
dcca7be53e reconcile architectures w/o interrupt controllers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1153 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 16:59:36 +00:00
patacongo
eb5a191b24 Basic SCI support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1152 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 16:28:17 +00:00
patacongo
0a8331e620 Handle no console case
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1151 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 16:27:50 +00:00
patacongo
52986226a3 Add toolchain info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1150 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 00:41:20 +00:00
patacongo
23af8dd866 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1149 42af7a65-404d-4744-a932-0658087f49c3
2008-11-07 00:28:42 +00:00
patacongo
b00f8a6968 SH703x register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1148 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 22:32:11 +00:00
patacongo
5188e4931d Use real SH-1 interrupt info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1147 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 22:31:43 +00:00
patacongo
87662693a2 Use linker defined address of vector table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1146 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 22:31:22 +00:00
patacongo
5af770c9d8 Update for buildroot 0.1.2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1145 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 22:27:40 +00:00
patacongo
a2bfaf9384 SH-1 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1142 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 18:51:14 +00:00
patacongo
bfd069ad6f Port ARM common files to SH-1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1141 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 18:50:34 +00:00
patacongo
c07fd1e011 typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1140 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 18:15:35 +00:00
patacongo
77ee432bc8 Basic SH-1 build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1139 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 17:37:16 +00:00
patacongo
e2e8d547d0 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1138 42af7a65-404d-4744-a932-0658087f49c3
2008-11-06 16:21:23 +00:00
patacongo
20f1fc0e8b Add infrastructure for Hitachi SH-1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1134 42af7a65-404d-4744-a932-0658087f49c3
2008-11-05 22:16:22 +00:00
patacongo
879de25179 Adding configuration for SH-1 US7032EVB1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1133 42af7a65-404d-4744-a932-0658087f49c3
2008-11-05 22:01:23 +00:00
patacongo
40d11eece3 Adding struture for Hitachi SH-1
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1132 42af7a65-404d-4744-a932-0658087f49c3
2008-11-05 22:00:09 +00:00
patacongo
ebc350c1f1 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1131 42af7a65-404d-4744-a932-0658087f49c3
2008-11-05 15:27:02 +00:00
patacongo
5998f42625 Need to 'init' before setting jtag speed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1130 42af7a65-404d-4744-a932-0658087f49c3
2008-11-05 15:10:07 +00:00
patacongo
04177405d6 Handle name change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1129 42af7a65-404d-4744-a932-0658087f49c3
2008-11-05 14:40:39 +00:00
patacongo
be3790c1af Fix several STR-P711 GPIO usage problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1128 42af7a65-404d-4744-a932-0658087f49c3
2008-11-04 16:40:54 +00:00
patacongo
87b6525f16 Add some GPIO usage checks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1127 42af7a65-404d-4744-a932-0658087f49c3
2008-11-04 16:39:35 +00:00
patacongo
7cd5385b12 Move LPC214X scripts to a subdirectory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1126 42af7a65-404d-4744-a932-0658087f49c3
2008-11-03 13:39:27 +00:00
patacongo
7ec337279a Fix compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1125 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 23:32:26 +00:00
patacongo
6d6ca0a50a Fix workaround logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1124 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 22:34:35 +00:00
patacongo
d5820f6056 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1123 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 22:25:58 +00:00
patacongo
1dee6ffd78 1st cut implementation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1122 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 22:24:58 +00:00
patacongo
508d758b65 Use correct header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1121 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 19:39:21 +00:00
patacongo
e0ad48f2a0 Move handle clock macros into a header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1120 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 19:37:20 +00:00
patacongo
35e4899c4a slave vs. chip select
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1119 42af7a65-404d-4744-a932-0658087f49c3
2008-11-02 16:33:20 +00:00
patacongo
74df6cdc38 Fix naming of header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1118 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 17:10:44 +00:00
patacongo
8cb93ce6ea update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1117 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 17:05:38 +00:00
patacongo
9cd76cd91e Added STR71x port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1116 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 17:02:36 +00:00
patacongo
1e2f691c97 Added ST71x system timer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1115 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 16:12:09 +00:00
patacongo
2a7f18f3e3 Clean up compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1114 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 14:01:05 +00:00
patacongo
128fca24fb Add support for LEDs and buttons
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1113 42af7a65-404d-4744-a932-0658087f49c3
2008-11-01 00:42:39 +00:00
patacongo
5219bedb73 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1112 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 23:28:58 +00:00
patacongo
fffbb2eb8b Add interrupt enable logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1111 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 23:28:12 +00:00
patacongo
64fc59aabb Add STR71x serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1110 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 22:39:11 +00:00
patacongo
ccd2d19e65 Board should specify multipliers, not bit settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1109 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 22:38:28 +00:00
patacongo
56f57b5f7a Add logic to initialize clocks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1108 42af7a65-404d-4744-a932-0658087f49c3
2008-10-31 18:35:06 +00:00
patacongo
f0fc9b13de Add board source files for Olimex-STR-P711
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1107 42af7a65-404d-4744-a932-0658087f49c3
2008-10-30 23:37:50 +00:00
patacongo
4546132f65 Add board header files for Olimex-STR-P711
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1106 42af7a65-404d-4744-a932-0658087f49c3
2008-10-30 23:37:11 +00:00
patacongo
c27cad4dd2 Adding more STR71x logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1105 42af7a65-404d-4744-a932-0658087f49c3
2008-10-30 23:35:19 +00:00
patacongo
de1c1f3dd6 clarify
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1104 42af7a65-404d-4744-a932-0658087f49c3
2008-10-30 00:26:35 +00:00
patacongo
ea8e356b06 Add configuration of Olimex-STR-P711
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1103 42af7a65-404d-4744-a932-0658087f49c3
2008-10-30 00:23:38 +00:00
patacongo
7fdabc4745 Support for STR71x
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1102 42af7a65-404d-4744-a932-0658087f49c3
2008-10-29 20:01:04 +00:00
patacongo
d72bd9b133 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1101 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 19:16:13 +00:00
patacongo
aeb3ba08fb Correct release description
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1100 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 19:16:06 +00:00
patacongo
616b45dfda Add more configuration info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1099 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 19:15:54 +00:00
patacongo
4f83709832 Prep for 0.3.17 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1098 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:40:11 +00:00
patacongo
177aa1878e update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1097 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:22:01 +00:00
patacongo
66bdf0d586 Add finer trace controls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1096 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:21:47 +00:00
patacongo
08c89cddcc Fix missing right parenthesis
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1095 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:21:18 +00:00
patacongo
d54fb01136 Fix bad trace data storage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1094 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:20:37 +00:00
patacongo
9da805f7a6 Don't send final packet if length is zero
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1093 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:20:09 +00:00
patacongo
521566b514 Need to restart write queue after stalled endpoint resumed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1092 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 17:19:13 +00:00
patacongo
eb2b208d71 Integrate USB tracing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1091 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 01:18:37 +00:00
patacongo
2098fcf3e8 Eliminate uninitialized variable warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1090 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 01:18:14 +00:00
patacongo
7117e29e2a Remove compile warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1089 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 00:41:50 +00:00
patacongo
642e2fd884 Add SCSI read format capacities command -- WinXP needs it
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1088 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 00:31:22 +00:00
patacongo
49390ac335 Correct handling of GETMAXLUN request
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1087 42af7a65-404d-4744-a932-0658087f49c3
2008-10-28 00:30:42 +00:00
patacongo
05f8581874 Fix read failures when OUT req size > maxpacket
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1086 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 22:45:55 +00:00
patacongo
bca6c1e63d Fix errors in list handling + request buffer size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1085 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 22:40:10 +00:00
patacongo
6c75ab8efe Finish missing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1084 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 16:41:12 +00:00
patacongo
d3da87125a Smaller delay still works (probably could be even smaller)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1083 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 16:39:48 +00:00
patacongo
caf959f79c Correct error in end-of-request handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1082 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 16:39:15 +00:00
patacongo
43a3c09982 Added low-level, verbose debug support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1081 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 16:37:48 +00:00
patacongo
d4c083a955 Make trace data enable-able by id
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1080 42af7a65-404d-4744-a932-0658087f49c3
2008-10-27 13:13:09 +00:00
patacongo
50017e4bfe update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1079 42af7a65-404d-4744-a932-0658087f49c3
2008-10-25 14:41:11 +00:00
patacongo
8423870bde Remove unused field
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1078 42af7a65-404d-4744-a932-0658087f49c3
2008-10-25 14:40:55 +00:00
patacongo
77c22b0d7f Fix to handler transfers larger than one request
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1077 42af7a65-404d-4744-a932-0658087f49c3
2008-10-25 14:40:37 +00:00
patacongo
032393ae43 Fix to handle requests larger than maxpacket
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1076 42af7a65-404d-4744-a932-0658087f49c3
2008-10-25 14:40:01 +00:00
patacongo
a6944dfe49 Add USB storage class driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1075 42af7a65-404d-4744-a932-0658087f49c3
2008-10-24 22:42:28 +00:00
patacongo
953a01d0f1 Fix bug: Not resuming halted endponts on SET FEATURE
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1074 42af7a65-404d-4744-a932-0658087f49c3
2008-10-24 22:38:10 +00:00
patacongo
fbf99921ff typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1073 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:55:54 +00:00
patacongo
59086543bc fix comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1072 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:54:46 +00:00
patacongo
2b9c6f0a87 Add trace codes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1071 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:53:58 +00:00
patacongo
9247dc69ac Need write-able block drivers even if no write-able FS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1070 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:53:39 +00:00
patacongo
ad93759c76 Share block driver helpers outside of fs/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1069 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:52:32 +00:00
patacongo
e8fe75b707 update USB configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1068 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 20:51:26 +00:00
patacongo
bb636242ca Add description of examples/usbstorage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1067 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 00:53:55 +00:00
patacongo
68ed6f1c7e cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1066 42af7a65-404d-4744-a932-0658087f49c3
2008-10-23 00:53:13 +00:00
patacongo
a0c4aeb7f5 Test for USB storage driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1065 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 22:05:15 +00:00
patacongo
120b66c038 USB bulk storage configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1064 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 22:03:47 +00:00
patacongo
de5c6ffcdc Allow block drivers without mountpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1063 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 22:02:44 +00:00
patacongo
e89c5c362e cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1062 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 22:02:00 +00:00
patacongo
61af3cf5a4 Building environment for USB storage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1061 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 16:20:18 +00:00
patacongo
998ec27c83 USB Storage Configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1060 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 16:02:15 +00:00
patacongo
200b11eefb Add USB storage trace definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1059 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 00:44:23 +00:00
patacongo
a9c15f4dde Add SCSI definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1058 42af7a65-404d-4744-a932-0658087f49c3
2008-10-22 00:44:08 +00:00
patacongo
21ac6d0865 Add SCSI definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1057 42af7a65-404d-4744-a932-0658087f49c3
2008-10-20 20:42:48 +00:00
patacongo
cd2ae14200 typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1056 42af7a65-404d-4744-a932-0658087f49c3
2008-10-20 20:42:27 +00:00
patacongo
7c021b542b Add support for class driver states
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1055 42af7a65-404d-4744-a932-0658087f49c3
2008-10-20 20:41:58 +00:00
patacongo
0c8c5d247d Remove some duplicate logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1054 42af7a65-404d-4744-a932-0658087f49c3
2008-10-17 23:07:39 +00:00
patacongo
430198df4c Add SCSI commands that will be needed for USB storage
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1053 42af7a65-404d-4744-a932-0658087f49c3
2008-10-17 17:55:18 +00:00
patacongo
791bba205f Add FAT test issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1052 42af7a65-404d-4744-a932-0658087f49c3
2008-10-17 17:54:22 +00:00
patacongo
995be717bf Fix uninitialized variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1051 42af7a65-404d-4744-a932-0658087f49c3
2008-10-17 17:53:46 +00:00
patacongo
8ade0e3b55 Fix nasty race condition
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1050 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 22:53:34 +00:00
patacongo
867d3c471c Need to clear mediachanged indication after it is sampled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1049 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 22:52:42 +00:00
patacongo
8acf7cecba typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1048 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 19:16:49 +00:00
patacongo
2f9e5e067d Add debug capabilities
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1047 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 19:15:53 +00:00
patacongo
a11383a93f Fix access to aligned partition table values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1046 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 19:12:33 +00:00
patacongo
e9d4e43d16 Fix integration bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1045 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 17:26:39 +00:00
patacongo
0cb383f7f8 Add NXP LPC214x-specific NSH support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1044 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 17:26:05 +00:00
patacongo
11284029df Add simple SPI-based MMC/SD block driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1043 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 14:19:46 +00:00
patacongo
a7111547c6 MMC/SD support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1042 42af7a65-404d-4744-a932-0658087f49c3
2008-10-15 14:18:17 +00:00
patacongo
bf53f031c8 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1041 42af7a65-404d-4744-a932-0658087f49c3
2008-10-13 21:03:48 +00:00
patacongo
bcdac92ea9 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1040 42af7a65-404d-4744-a932-0658087f49c3
2008-10-13 20:58:19 +00:00
patacongo
e6477ed7bb Correct last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1039 42af7a65-404d-4744-a932-0658087f49c3
2008-10-13 20:49:17 +00:00
patacongo
19762e9417 Fix LPC214X memory map
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1038 42af7a65-404d-4744-a932-0658087f49c3
2008-10-13 16:20:04 +00:00
patacongo
85563cc35c oops - won't build with USB disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1037 42af7a65-404d-4744-a932-0658087f49c3
2008-10-13 16:19:46 +00:00
patacongo
0296f42d02 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1036 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 22:33:49 +00:00
patacongo
5a4d432c6d minor interface refinements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1035 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 22:33:37 +00:00
patacongo
a73bfe774f Add 1st cut SPI driver for SPI MMC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1034 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 19:42:01 +00:00
patacongo
4f65029e69 clarify
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1033 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 19:39:46 +00:00
patacongo
5eb4cc2cdd reorder macros, reduce size of request buffer for EP0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1032 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 19:38:58 +00:00
patacongo
6eaeba8337 Add header files for PINSEL and SPI
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1031 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 19:37:25 +00:00
patacongo
75be6467e0 Added macro for LE 32-bit values
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1030 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 19:35:55 +00:00
patacongo
802fd32f91 Removed unused externs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1029 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 03:03:45 +00:00
patacongo
d3338ac34e fix comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1028 42af7a65-404d-4744-a932-0658087f49c3
2008-10-11 00:38:44 +00:00
patacongo
f31fcafe11 Prep for release 0.3.16
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1027 42af7a65-404d-4744-a932-0658087f49c3
2008-10-10 18:14:24 +00:00
patacongo
fa8618178b Remove unnecessary warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1026 42af7a65-404d-4744-a932-0658087f49c3
2008-10-10 17:41:52 +00:00
patacongo
e5327a406d Extended USB serial test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1025 42af7a65-404d-4744-a932-0658087f49c3
2008-10-10 16:45:32 +00:00
patacongo
c2b34298b9 updated comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1024 42af7a65-404d-4744-a932-0658087f49c3
2008-10-10 16:45:17 +00:00
patacongo
a4621ede1c cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1023 42af7a65-404d-4744-a932-0658087f49c3
2008-10-10 16:44:26 +00:00
patacongo
05549a14b3 Fix end-of-test comparison
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1022 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 22:53:07 +00:00
patacongo
0a3edb4702 Another place where the request size is set
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1021 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 22:52:34 +00:00
patacongo
8cb981c222 Extend USB serial test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1020 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 22:52:06 +00:00
patacongo
08b3a8917e Add option to used different request buffer sizes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1019 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 21:47:45 +00:00
patacongo
4371d7c822 Pace sends to send complete interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1018 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 21:47:13 +00:00
patacongo
ebefecd9ac Extend USB serial test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1017 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 20:25:33 +00:00
patacongo
c9d3adb0b9 Correct emulation of UART RX disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1016 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 20:24:56 +00:00
patacongo
a8f3345e5a Add RX overrun error code
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1015 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 20:23:49 +00:00
patacongo
24aff819a4 Not setting error on driver errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1014 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 20:22:21 +00:00
patacongo
fed5871039 Fixe open count error + O_NONBLOCK function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1013 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 19:20:02 +00:00
patacongo
175c69a462 Missed decoding one trace value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1012 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 19:19:33 +00:00
patacongo
79be71fa93 Last option in configure; ep address in ep struct
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1011 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 15:15:00 +00:00
patacongo
d1c08b6853 Add last option to configure method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1010 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 15:14:17 +00:00
patacongo
7e9f5e7b0c update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1009 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 15:10:37 +00:00
patacongo
233e0f254a Fix compile warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1008 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 15:02:26 +00:00
patacongo
3fee480186 Need to select endpoints actually supported by hardware
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1007 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 12:49:11 +00:00
patacongo
45f2de7a6b upate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1006 42af7a65-404d-4744-a932-0658087f49c3
2008-10-09 12:48:21 +00:00
patacongo
62fa0a4dd1 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1005 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 21:52:38 +00:00
patacongo
2709b6e43e Update comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1004 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 21:52:22 +00:00
patacongo
db720b9dbf Fix mapping of logical to physical endpoint
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1003 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 21:51:45 +00:00
patacongo
662ec46473 Add debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1002 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 20:20:36 +00:00
patacongo
2d32df87c9 Restructure so that it does not try to malloc from interrupt level
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1001 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 20:19:04 +00:00
patacongo
aa7eaeea2e Add comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1000 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 20:17:08 +00:00
patacongo
a97678e7f3 Add more trace codes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@999 42af7a65-404d-4744-a932-0658087f49c3
2008-10-08 20:16:44 +00:00
patacongo
8c9fe4533a test and integration updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@998 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:19:27 +00:00
patacongo
493677de2d Misc fixes from test and integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@997 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:09:33 +00:00
patacongo
eefb25244c Note fixed LPC214x timer freq
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@996 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:07:33 +00:00
patacongo
14072a7991 Add another trace code for class driver calls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@995 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:06:57 +00:00
patacongo
caa1423771 Fix tests for SP in interrupt stack range
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@994 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:05:56 +00:00
patacongo
9b6911e9be Add retry on open; say hello many times
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@993 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 23:04:52 +00:00
patacongo
3ade50f7e4 Need to improve error detection
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@992 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 20:44:00 +00:00
patacongo
c538e14adf Fix interrupt EP interval
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@991 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 19:05:35 +00:00
patacongo
8c1cbf933f add examples/usbserial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@990 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 19:04:20 +00:00
patacongo
934f010333 Fix network path broken in earlier checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@989 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 19:03:44 +00:00
patacongo
55b7616223 typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@988 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 19:03:03 +00:00
patacongo
f65a4a4832 Fix timer error introduced recently
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@987 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 19:02:20 +00:00
patacongo
679b959f90 Add DM320 USB device side driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@986 42af7a65-404d-4744-a932-0658087f49c3
2008-10-07 17:23:58 +00:00
patacongo
e87854bc93 Remove USB items
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@985 42af7a65-404d-4744-a932-0658087f49c3
2008-10-06 23:53:51 +00:00
patacongo
7996949c97 Add USB serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@984 42af7a65-404d-4744-a932-0658087f49c3
2008-10-06 23:12:09 +00:00
patacongo
80db9814b7 Add USB serial test/example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@983 42af7a65-404d-4744-a932-0658087f49c3
2008-10-06 23:09:23 +00:00
patacongo
7fdd4e0112 Add USB serial configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@982 42af7a65-404d-4744-a932-0658087f49c3
2008-10-06 23:07:26 +00:00
patacongo
f8e5fa6eb4 Add option for ARM interrupt stack
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@981 42af7a65-404d-4744-a932-0658087f49c3
2008-10-06 16:20:53 +00:00
patacongo
eb448e0e97 Fix SETADDRESS protocol error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@980 42af7a65-404d-4744-a932-0658087f49c3
2008-10-05 17:06:04 +00:00
patacongo
acbb64ad48 Fix some set address problems (there are more)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@979 42af7a65-404d-4744-a932-0658087f49c3
2008-10-04 17:12:12 +00:00
patacongo
c789bd8f58 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@978 42af7a65-404d-4744-a932-0658087f49c3
2008-10-04 12:13:26 +00:00
patacongo
e08604ee09 Fix 2 causes of protocol errors (there are more
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@977 42af7a65-404d-4744-a932-0658087f49c3
2008-10-04 00:12:40 +00:00
patacongo
05d4dd0f73 Don't enable interrupts until bound
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@976 42af7a65-404d-4744-a932-0658087f49c3
2008-10-03 21:54:16 +00:00
patacongo
11911ac2a3 Add an errorcode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@975 42af7a65-404d-4744-a932-0658087f49c3
2008-10-03 21:53:31 +00:00
patacongo
f6838c4e6f Fix request queue management problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@974 42af7a65-404d-4744-a932-0658087f49c3
2008-10-03 17:32:12 +00:00
patacongo
75c2fb5635 Add debug output if trace disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@973 42af7a65-404d-4744-a932-0658087f49c3
2008-10-03 17:31:39 +00:00
patacongo
8b07c901cd Integrating LPC214X USB
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@972 42af7a65-404d-4744-a932-0658087f49c3
2008-10-03 00:15:24 +00:00
patacongo
72ac3b61b8 USB config options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@971 42af7a65-404d-4744-a932-0658087f49c3
2008-10-02 00:29:05 +00:00
patacongo
a8e6e9cf3d Integrating LPC214x USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@970 42af7a65-404d-4744-a932-0658087f49c3
2008-10-01 23:34:27 +00:00
patacongo
d3b43976a9 Add register monitor debug support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@969 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 23:44:53 +00:00
patacongo
d2fd11e1f1 Add support for serial class driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@968 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 22:13:52 +00:00
patacongo
e55508240a Fixes for class driver i/f
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@967 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 20:53:58 +00:00
patacongo
1d38a19877 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@966 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 12:26:46 +00:00
patacongo
2b1c2fc483 Integrate USB into ARM initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@965 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 12:26:12 +00:00
patacongo
299a3ead2a Add USB trace logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@964 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 12:24:11 +00:00
patacongo
15485cd306 Add usb trace capability
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@963 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 00:52:03 +00:00
patacongo
1f8cc4383a USBDEV trace
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@962 42af7a65-404d-4744-a932-0658087f49c3
2008-09-30 00:50:22 +00:00
patacongo
174a043a62 Add more trace events
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@961 42af7a65-404d-4744-a932-0658087f49c3
2008-09-29 23:04:33 +00:00
patacongo
60d8905398 Added USB device controller driver for LPC214x
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@960 42af7a65-404d-4744-a932-0658087f49c3
2008-09-29 22:04:58 +00:00
patacongo
1661ab9c70 USB fixes for clean compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@959 42af7a65-404d-4744-a932-0658087f49c3
2008-09-29 17:24:31 +00:00
patacongo
12282531fa Fix compile problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@958 42af7a65-404d-4744-a932-0658087f49c3
2008-09-29 15:04:45 +00:00
patacongo
6d441cf65f Preparing USB environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@957 42af7a65-404d-4744-a932-0658087f49c3
2008-09-28 17:15:17 +00:00
patacongo
58119355f8 Add power control register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@956 42af7a65-404d-4744-a932-0658087f49c3
2008-09-27 14:21:39 +00:00
patacongo
17987c90fc Add DMA definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@955 42af7a65-404d-4744-a932-0658087f49c3
2008-09-27 12:57:42 +00:00
patacongo
2fa7da9ed8 Add more queue macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@954 42af7a65-404d-4744-a932-0658087f49c3
2008-09-25 21:36:20 +00:00
patacongo
990d63ea82 Add lpc214x USB register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@953 42af7a65-404d-4744-a932-0658087f49c3
2008-09-24 22:03:02 +00:00
patacongo
608a718ca8 Add AHB and USB register defns for DM320
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@952 42af7a65-404d-4744-a932-0658087f49c3
2008-09-24 21:06:56 +00:00
patacongo
56ec9aa133 uart_semtake was static
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@951 42af7a65-404d-4744-a932-0658087f49c3
2008-09-24 21:05:53 +00:00
patacongo
12d9e69757 Separate byte-oriented interrupt handling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@950 42af7a65-404d-4744-a932-0658087f49c3
2008-09-24 15:42:13 +00:00
patacongo
7f0a5683d9 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@949 42af7a65-404d-4744-a932-0658087f49c3
2008-09-21 19:00:10 +00:00
patacongo
abcd3febfa Prep for 0.3.15
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@948 42af7a65-404d-4744-a932-0658087f49c3
2008-09-20 16:24:43 +00:00
patacongo
fd831038f6 Fix initiali interrupt issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@947 42af7a65-404d-4744-a932-0658087f49c3
2008-09-20 16:24:14 +00:00
patacongo
130667fa1d Add up_lowputs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@946 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 20:23:12 +00:00
patacongo
00d0f46828 Fix RECV status reporting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@945 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 19:40:03 +00:00
patacongo
9d9458a18d Fix basic problems with LPC2148 uart interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@944 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 17:45:51 +00:00
patacongo
d1dff51cdf Update LPC2148 info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@943 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 15:33:44 +00:00
patacongo
ae83b38bc6 NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@942 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 15:13:14 +00:00
patacongo
106ae37184 Fixes for clean compile w/o environment variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@941 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 15:12:13 +00:00
patacongo
6a96311905 Hello, Worldvi README.txt example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@940 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 14:57:57 +00:00
patacongo
84cb2c8b8e Hello, World! example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@939 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 14:55:18 +00:00
patacongo
ba82ec9a59 read-only strings being overwritten by .data
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@938 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 14:54:31 +00:00
patacongo
22c47e5a73 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@937 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 14:53:53 +00:00
patacongo
7595ec8761 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@936 42af7a65-404d-4744-a932-0658087f49c3
2008-09-19 00:17:30 +00:00
patacongo
f1a4637bd1 Make number of threads in barrier test configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@935 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 23:42:12 +00:00
patacongo
08b2e406c2 Needs more stack space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@934 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 22:58:05 +00:00
patacongo
dccebdea85 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@933 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 22:56:32 +00:00
patacongo
6693996511 Forgot to increment pointer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@932 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 22:56:21 +00:00
patacongo
76ec842523 LPC2148 timer irq fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@931 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 22:12:52 +00:00
patacongo
aacdfb11b6 ARM architecture supports lowconsole
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@930 42af7a65-404d-4744-a932-0658087f49c3
2008-09-18 14:48:26 +00:00
patacongo
68271820db Add raw binary option
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@929 42af7a65-404d-4744-a932-0658087f49c3
2008-09-17 23:30:54 +00:00
patacongo
ac1f49ffbe build lpc2148 ostest config
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@928 42af7a65-404d-4744-a932-0658087f49c3
2008-09-17 23:14:42 +00:00
patacongo
e670f8f6b7 Move config to subdirectory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@927 42af7a65-404d-4744-a932-0658087f49c3
2008-09-17 22:37:09 +00:00
patacongo
c01e402c52 Moved config to subdirectory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@926 42af7a65-404d-4744-a932-0658087f49c3
2008-09-17 22:35:53 +00:00
patacongo
e360e806dc Fix LPC2148 PLL setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@925 42af7a65-404d-4744-a932-0658087f49c3
2008-09-17 22:12:03 +00:00
patacongo
4f5b358522 LPC2148 oots partially into NuttX
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@924 42af7a65-404d-4744-a932-0658087f49c3
2008-09-17 20:27:29 +00:00
patacongo
d45b0e1aaa Update lpc214x stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@923 42af7a65-404d-4744-a932-0658087f49c3
2008-09-17 18:44:34 +00:00
patacongo
d34ada46c0 Add support for Intel Hex format output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@922 42af7a65-404d-4744-a932-0658087f49c3
2008-09-16 21:45:41 +00:00
patacongo
f796d1dff6 Use SEC_NSECTOR macro
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@921 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 22:28:29 +00:00
patacongo
fb6d8f6ae6 Combine common sector address in one function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@920 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 22:28:11 +00:00
patacongo
d357579589 Verify NSH start-up file with DM320
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@919 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 22:25:23 +00:00
patacongo
890f1034e0 Combine hard link traversal into one common function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@918 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 20:54:14 +00:00
patacongo
031dfef23c Added mmap()/XIP test to ROMFS test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@917 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 19:17:15 +00:00
patacongo
1427e4083c Add mmap() API
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@916 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 15:54:20 +00:00
patacongo
1a286a874d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@915 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 14:52:33 +00:00
patacongo
af55abec61 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@914 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 14:46:44 +00:00
patacongo
b0d5432f8b Add ioctl's to support XIP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@913 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 14:34:06 +00:00
patacongo
9ff4834f74 Standardizing ioctls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@912 42af7a65-404d-4744-a932-0658087f49c3
2008-09-12 00:39:12 +00:00
patacongo
5a5ceac84b Add /etc via ROMFS and /tmp via FAT FS to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@911 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 22:59:45 +00:00
patacongo
f86028809f Add /etc via ROMFS and /tmp via FAT FS to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@910 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 21:54:23 +00:00
patacongo
3bdc9e50db Add BSD header
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@909 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 21:53:37 +00:00
patacongo
76420d3dc0 ROMFS fixes discovered during testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@908 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 21:51:41 +00:00
patacongo
98a5e744bc NSH config for sim target
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@907 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 21:50:20 +00:00
patacongo
c54c3b0a25 Add a test of ROMFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@906 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 05:21:36 +00:00
patacongo
1ef100a5db Test of ROMFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@905 42af7a65-404d-4744-a932-0658087f49c3
2008-09-11 05:19:32 +00:00
patacongo
6a5e4f302d ROMFS filesystem support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@903 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 19:29:24 +00:00
patacongo
5e510557e5 ROMFS filesystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@902 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 19:27:49 +00:00
patacongo
fb22c557dc cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@901 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 19:09:47 +00:00
patacongo
469948a0b6 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@900 42af7a65-404d-4744-a932-0658087f49c3
2008-09-10 13:24:31 +00:00
patacongo
a454fe6e3e Add indentation tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@899 42af7a65-404d-4744-a932-0658087f49c3
2008-09-09 14:36:18 +00:00
patacongo
770c828e4f Prep for 0.3.14 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@898 42af7a65-404d-4744-a932-0658087f49c3
2008-09-08 19:14:25 +00:00
patacongo
ab3beedeba cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@897 42af7a65-404d-4744-a932-0658087f49c3
2008-09-08 18:49:28 +00:00
patacongo
d57cb4fc90 Fix FAT seek bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@896 42af7a65-404d-4744-a932-0658087f49c3
2008-09-08 17:04:14 +00:00
patacongo
7f85f96228 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@895 42af7a65-404d-4744-a932-0658087f49c3
2008-09-08 00:00:25 +00:00
patacongo
34cfa3ead5 Fixed critical FAT bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@894 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 22:27:17 +00:00
patacongo
cd1ddef34a update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@893 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 20:18:36 +00:00
patacongo
2c0d7733b9 Add NSH xd command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@892 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 13:42:55 +00:00
patacongo
50335492dd TFTP put notes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@891 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 02:07:18 +00:00
patacongo
a9b2665c99 Fix initial block number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@890 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 02:06:49 +00:00
patacongo
5e4dfe0d21 Remove non-standard option
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@889 42af7a65-404d-4744-a932-0658087f49c3
2008-09-07 01:27:42 +00:00
patacongo
97d9b0f075 Integrating TFTP put
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@888 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 23:31:50 +00:00
patacongo
116891bfb0 fix comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@887 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 18:04:00 +00:00
patacongo
59fab4f74b Fix recvfrom port bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@886 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 16:45:28 +00:00
patacongo
a9bc69b83e TFTP Get integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@885 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 15:44:41 +00:00
patacongo
72e20b303a Add NSH command to create RAMDISK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@884 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 13:29:14 +00:00
patacongo
5d0513e1a1 Eliminate warnings in ARM build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@883 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 02:19:47 +00:00
patacongo
78eaa15541 TFTP needs larger MSS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@882 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 02:19:13 +00:00
patacongo
9448e29adc Add TFTP to OSD NSH config
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@881 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 02:18:41 +00:00
patacongo
b7d9a67870 Add get and put commands to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@880 42af7a65-404d-4744-a932-0658087f49c3
2008-09-06 00:16:09 +00:00
patacongo
ab543364bd Added basic TFTP client support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@879 42af7a65-404d-4744-a932-0658087f49c3
2008-09-05 22:47:42 +00:00
patacongo
764c4ce1e4 TFTP Client
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@878 42af7a65-404d-4744-a932-0658087f49c3
2008-09-05 22:39:10 +00:00
patacongo
e2e356752f typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@877 42af7a65-404d-4744-a932-0658087f49c3
2008-09-04 15:53:22 +00:00
patacongo
44de028e8f Bigger favicon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@876 42af7a65-404d-4744-a932-0658087f49c3
2008-09-04 15:50:30 +00:00
patacongo
8735ef10ed update NSH docs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@875 42af7a65-404d-4744-a932-0658087f49c3
2008-09-04 14:55:48 +00:00
patacongo
3cbfe96ea8 NSH Documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@874 42af7a65-404d-4744-a932-0658087f49c3
2008-09-04 00:04:52 +00:00
patacongo
c139b07655 Add NSH README file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@873 42af7a65-404d-4744-a932-0658087f49c3
2008-09-03 17:29:17 +00:00
patacongo
d57bd6fd56 ping() integrated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@872 42af7a65-404d-4744-a932-0658087f49c3
2008-09-03 16:14:00 +00:00
patacongo
9e16305afd Fix ICMP and UDP IP checksums
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@871 42af7a65-404d-4744-a932-0658087f49c3
2008-09-03 14:57:36 +00:00
patacongo
4dd12b73af Add NSH ping command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@870 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 23:04:10 +00:00
patacongo
db24d24ac2 Add uIP access to ICMP protocol
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@869 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 20:42:01 +00:00
patacongo
51a1ea2774 sendto.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@868 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 20:38:12 +00:00
patacongo
ff89809755 Fix timeout setup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@867 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 20:36:10 +00:00
patacongo
0283185973 Eliminate unused variable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@866 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 20:05:44 +00:00
patacongo
aa598de791 Add option to disable background commands
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@865 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 12:35:30 +00:00
patacongo
51ca48986f Add test and [ commands
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@864 42af7a65-404d-4744-a932-0658087f49c3
2008-09-02 00:37:18 +00:00
patacongo
0179e3a363 Fix compile error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@863 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 23:59:10 +00:00
patacongo
4f58db9c18 Fix fseek/ftell; add fsetpos/fgetpos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@862 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 20:35:41 +00:00
patacongo
7730a9d058 Prep for 0.3.13 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@861 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 17:11:34 +00:00
patacongo
029d82031f Need separate output buffers for each thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@860 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 15:56:03 +00:00
patacongo
6dad5e248b Verify UDP support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@859 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 15:22:54 +00:00
patacongo
ad1e5e145b Add uIP support more multi-threaded socket access
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@858 42af7a65-404d-4744-a932-0658087f49c3
2008-09-01 13:59:54 +00:00
patacongo
462becfbbb Fix compilation when pthreads disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@857 42af7a65-404d-4744-a932-0658087f49c3
2008-08-30 23:03:06 +00:00
patacongo
84a75fdeab Remove warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@856 42af7a65-404d-4744-a932-0658087f49c3
2008-08-30 23:02:16 +00:00
patacongo
80ccfdfd5e Use pthreads instead of tasks in BG
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@855 42af7a65-404d-4744-a932-0658087f49c3
2008-08-30 15:43:32 +00:00
patacongo
af1a31d5c6 Fix environment sharing bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@854 42af7a65-404d-4744-a932-0658087f49c3
2008-08-30 14:37:49 +00:00
patacongo
d27e2d61b2 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@853 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 23:54:41 +00:00
patacongo
895bff0617 Basic telnet NSH on ARM9
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@852 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 21:14:45 +00:00
patacongo
67814a8f49 Fixes for clean Neuros OSD NSH build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@851 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:29:42 +00:00
patacongo
ccad2235f2 Refactored OSD configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@850 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:11:24 +00:00
patacongo
5ef8388030 uIP configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@849 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:07:36 +00:00
patacongo
de9e12ea7c udp configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@848 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:07:07 +00:00
patacongo
be959127fb ostest configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@847 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:06:31 +00:00
patacongo
6c555c56e0 NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@846 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:06:05 +00:00
patacongo
1b43a324d7 nettest configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@845 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 18:05:22 +00:00
patacongo
693b648288 Fix clean target
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@844 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 17:12:43 +00:00
patacongo
b0bbd8c7c2 Add mem command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@843 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 16:15:00 +00:00
patacongo
4b57c3bad4 Fix Linux sim errors/warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@842 42af7a65-404d-4744-a932-0658087f49c3
2008-08-29 15:36:02 +00:00
patacongo
3f2dfbb298 Added ch and pwd to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@841 42af7a65-404d-4744-a932-0658087f49c3
2008-08-23 15:16:10 +00:00
patacongo
c7419e57d3 Added ch and pwd to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@840 42af7a65-404d-4744-a932-0658087f49c3
2008-08-23 15:14:46 +00:00
patacongo
3afb380432 fix error in getopt with no arguments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@839 42af7a65-404d-4744-a932-0658087f49c3
2008-08-23 15:04:50 +00:00
patacongo
e716896a18 Fix error in stat on root directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@838 42af7a65-404d-4744-a932-0658087f49c3
2008-08-23 15:04:21 +00:00
patacongo
709263b6d8 Add chdir() and getcwd()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@837 42af7a65-404d-4744-a932-0658087f49c3
2008-08-22 23:38:33 +00:00
patacongo
7ccda13225 cat accepts multiple files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@836 42af7a65-404d-4744-a932-0658087f49c3
2008-08-22 00:07:57 +00:00
patacongo
2d4f0c6f53 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@835 42af7a65-404d-4744-a932-0658087f49c3
2008-08-20 22:18:54 +00:00
patacongo
0aac853ed5 Add memory inspect modify commands to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@834 42af7a65-404d-4744-a932-0658087f49c3
2008-08-20 01:35:50 +00:00
patacongo
2fd13e9de7 exec'ed function returns a value for 0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@833 42af7a65-404d-4744-a932-0658087f49c3
2008-08-19 23:21:56 +00:00
patacongo
07c715e09c Support nested if-then[-else]-fi
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@832 42af7a65-404d-4744-a932-0658087f49c3
2008-08-19 23:16:45 +00:00
patacongo
cab9dbe225 Misc. if-then-else-fi fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@831 42af7a65-404d-4744-a932-0658087f49c3
2008-08-18 23:15:59 +00:00
patacongo
ffaed10379 NSH now supports comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@830 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 19:57:40 +00:00
patacongo
3d991a3d9f backout un-necessary main_t casts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@829 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 19:02:40 +00:00
patacongo
7615eabcf9 Added 130 and if-then-else-fi to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@828 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 18:59:50 +00:00
patacongo
6adab3df7c Fix error in FAT FS when file opened for O_APPEND
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@827 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 16:19:13 +00:00
patacongo
0ef52f153e Allow in all loctions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@826 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 16:17:44 +00:00
patacongo
2878532acb Fix bad assert in opendir
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@825 42af7a65-404d-4744-a932-0658087f49c3
2008-08-17 16:17:08 +00:00
patacongo
161898863a Concurrent telnet+serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@824 42af7a65-404d-4744-a932-0658087f49c3
2008-08-16 20:52:06 +00:00
patacongo
266c90f8b1 NSH redirected output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@823 42af7a65-404d-4744-a932-0658087f49c3
2008-08-16 18:39:46 +00:00
patacongo
62d29ea215 Remove duplicate strtok() implementatin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@822 42af7a65-404d-4744-a932-0658087f49c3
2008-08-16 13:47:33 +00:00
patacongo
d72dd985c1 Fix reentrancy problems for serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@821 42af7a65-404d-4744-a932-0658087f49c3
2008-08-14 23:37:12 +00:00
patacongo
7c18bfddad Fix read()/write() prototype
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@820 42af7a65-404d-4744-a932-0658087f49c3
2008-08-13 00:32:32 +00:00
patacongo
e62ecda064 Add 'sh' to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@819 42af7a65-404d-4744-a932-0658087f49c3
2008-08-12 23:59:32 +00:00
patacongo
57cb16a605 Fix EOF detection
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@818 42af7a65-404d-4744-a932-0658087f49c3
2008-08-12 23:59:07 +00:00
patacongo
f9f5454c2b cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@817 42af7a65-404d-4744-a932-0658087f49c3
2008-08-11 23:17:34 +00:00
patacongo
4b40c96323 Clean configuration varialbe names
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@816 42af7a65-404d-4744-a932-0658087f49c3
2008-08-11 23:07:26 +00:00
patacongo
2b2b7f7f0b Removed duplicate getenv() implementation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@815 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 22:16:04 +00:00
patacongo
bf2786f7d7 typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@814 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 22:03:58 +00:00
patacongo
03c3094d99 Misc NSH enhancements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@813 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 22:02:19 +00:00
patacongo
ffbd312fe1 Added mkfifo command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@812 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 19:16:39 +00:00
patacongo
75ec13c73e Added mkfatfs command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@811 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 18:42:55 +00:00
patacongo
2cee73f956 Fix date
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@810 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 18:06:03 +00:00
patacongo
03f04075c9 Prep for 0.3.12 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@809 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 17:44:27 +00:00
patacongo
5e49d8063a Fixes for Z16F compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@808 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 16:57:15 +00:00
patacongo
e2dd36627a Added test for mkfatfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@807 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 16:36:33 +00:00
patacongo
871a684fc6 Added mkfatfs() test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@806 42af7a65-404d-4744-a932-0658087f49c3
2008-08-10 14:50:27 +00:00
patacongo
dd7f63b94a Implemented mkfatfs()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@805 42af7a65-404d-4744-a932-0658087f49c3
2008-08-09 21:48:06 +00:00
patacongo
c6ad3e0d22 Added search for good cluster size
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@804 42af7a65-404d-4744-a932-0658087f49c3
2008-08-09 19:44:55 +00:00
patacongo
a88a6ecb67 Add FAT size calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@803 42af7a65-404d-4744-a932-0658087f49c3
2008-08-09 15:55:42 +00:00
patacongo
8a30c6b64a Continued mkfatfs work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@802 42af7a65-404d-4744-a932-0658087f49c3
2008-08-05 23:52:44 +00:00
patacongo
9e1d3f8984 fleshing out mkfatfs logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@801 42af7a65-404d-4744-a932-0658087f49c3
2008-08-03 17:45:20 +00:00
patacongo
7089a04067 Support for mkfatfs()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@800 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 20:59:48 +00:00
patacongo
360cc0a648 typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@799 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 17:22:22 +00:00
patacongo
0e44d93cd7 Move FAT-related files to fs/fat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@798 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 15:02:10 +00:00
patacongo
08d439fefb Fat directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@797 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 14:44:25 +00:00
patacongo
a5916b8df8 Add find/open/close_blockdriver()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@796 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 14:25:34 +00:00
patacongo
5972a086d2 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@795 42af7a65-404d-4744-a932-0658087f49c3
2008-08-02 12:56:39 +00:00
patacongo
ab815f91f9 Simplication
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@794 42af7a65-404d-4744-a932-0658087f49c3
2008-08-01 02:17:32 +00:00
patacongo
2d52cdfac7 Fix missing lock in last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@793 42af7a65-404d-4744-a932-0658087f49c3
2008-08-01 01:59:11 +00:00
patacongo
6b1891dc83 Need to call driver close() method on exit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@792 42af7a65-404d-4744-a932-0658087f49c3
2008-08-01 00:22:09 +00:00
patacongo
faf168d93c Fix bug: Using unsigned to detect errno<0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@791 42af7a65-404d-4744-a932-0658087f49c3
2008-07-31 00:28:24 +00:00
patacongo
378b050ffa Added redirection test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@790 42af7a65-404d-4744-a932-0658087f49c3
2008-07-30 00:29:11 +00:00
patacongo
1c9cadf1c3 task_create now dup's all open descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@789 42af7a65-404d-4744-a932-0658087f49c3
2008-07-30 00:28:43 +00:00
patacongo
3043b0d5a1 Separate tests into separate files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@788 42af7a65-404d-4744-a932-0658087f49c3
2008-07-29 22:11:08 +00:00
patacongo
4c89703789 Fix detection of final close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@787 42af7a65-404d-4744-a932-0658087f49c3
2008-07-27 19:26:57 +00:00
patacongo
3aaad0504c fix pipe cleanup logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@786 42af7a65-404d-4744-a932-0658087f49c3
2008-07-27 14:58:36 +00:00
patacongo
7a555278f0 Fix counting error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@785 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 20:47:39 +00:00
patacongo
33e6d3e45d Fix FIFO interlock errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@784 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 20:40:49 +00:00
patacongo
e2f289a52c typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@783 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 15:12:31 +00:00
patacongo
4bd085848c Pipe/FIFO info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@782 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 15:09:21 +00:00
patacongo
28db0e083a O_RDONLY open on FIFO blocks until writer opens
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@781 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 14:24:17 +00:00
patacongo
759ba256e8 Minor pipe updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@780 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 14:02:46 +00:00
patacongo
b918dac0c3 Add pipe()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@779 42af7a65-404d-4744-a932-0658087f49c3
2008-07-26 13:12:11 +00:00
patacongo
048d0bd45e update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@778 42af7a65-404d-4744-a932-0658087f49c3
2008-07-22 10:58:30 +00:00
patacongo
2296bfca96 Add support for O_NONBLOCK
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@777 42af7a65-404d-4744-a932-0658087f49c3
2008-07-22 10:58:07 +00:00
patacongo
6b0ef9f1cc *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@776 42af7a65-404d-4744-a932-0658087f49c3
2008-07-22 00:59:09 +00:00
patacongo
106f18b460 Pipe test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@775 42af7a65-404d-4744-a932-0658087f49c3
2008-07-22 00:54:03 +00:00
patacongo
0b22d6a034 Debugging FIFO logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@774 42af7a65-404d-4744-a932-0658087f49c3
2008-07-22 00:52:07 +00:00
patacongo
d05f4750cb Add mkfifo()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@773 42af7a65-404d-4744-a932-0658087f49c3
2008-07-20 20:58:32 +00:00
patacongo
de003eb9d6 Remove pthread_mutexattrverifytype.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@772 42af7a65-404d-4744-a932-0658087f49c3
2008-06-05 02:07:51 +00:00
patacongo
c6839b479b Add recursive mutex test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@771 42af7a65-404d-4744-a932-0658087f49c3
2008-06-05 01:58:08 +00:00
patacongo
1f1e6f30a3 Fix recursive mutex bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@770 42af7a65-404d-4744-a932-0658087f49c3
2008-06-05 01:57:49 +00:00
patacongo
e14188b4a1 Add comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@769 42af7a65-404d-4744-a932-0658087f49c3
2008-06-03 10:25:00 +00:00
patacongo
9ccfde456f Put timer_release in a separate file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@768 42af7a65-404d-4744-a932-0658087f49c3
2008-06-03 01:31:13 +00:00
patacongo
d9112fa8b1 Improved timer life control fix
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@767 42af7a65-404d-4744-a932-0658087f49c3
2008-06-03 01:21:12 +00:00
patacongo
46c160af8b Lower case file names
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@766 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 22:02:47 +00:00
patacongo
714c61c361 Add RAM disk support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@765 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 20:08:20 +00:00
patacongo
15926d2f9e sim mount example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@764 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 19:35:55 +00:00
patacongo
e8339c2aba examples/ostest can be executed in a loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@763 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 17:50:07 +00:00
patacongo
a9b64a7469 Fix problem when timer deleted by timer handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@762 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 17:46:26 +00:00
patacongo
b5d6002463 Condition on optimization backward
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@761 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 15:29:10 +00:00
patacongo
397ac05b87 Fix dependency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@760 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 13:27:17 +00:00
patacongo
7b52111997 Sim target no longer uses Linux syscalls; works with Cygwin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@759 42af7a65-404d-4744-a932-0658087f49c3
2008-06-01 13:18:51 +00:00
patacongo
bdf74c42f2 Fix several problems with accessing FAT filesystems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@758 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 22:10:21 +00:00
patacongo
be2a62af5a Eliminate deadlock condition in opendir()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@757 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 20:14:15 +00:00
patacongo
ae5cc87281 Fix memory leak: Contained watchdog not being deleted with POSIX timer deleted
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@756 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 18:33:44 +00:00
patacongo
9a18c880a1 Comments updated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@755 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 18:14:02 +00:00
patacongo
62d058a834 Comment updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@754 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 18:02:49 +00:00
patacongo
b08da21f90 Add support for recursive mutexes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@753 42af7a65-404d-4744-a932-0658087f49c3
2008-05-31 17:13:08 +00:00
patacongo
7bbfd7880d Add bug for watchdog leak.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@752 42af7a65-404d-4744-a932-0658087f49c3
2008-05-18 01:01:40 +00:00
patacongo
07475ddcaf Prepare for 0.9.10 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@751 42af7a65-404d-4744-a932-0658087f49c3
2008-05-15 10:51:14 +00:00
patacongo
4daf380c0c Fix important task shutdown bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@750 42af7a65-404d-4744-a932-0658087f49c3
2008-05-15 10:50:29 +00:00
patacongo
52ca776537 Document compiler error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@749 42af7a65-404d-4744-a932-0658087f49c3
2008-03-24 23:54:58 +00:00
patacongo
c93316bf89 Fix access to ez80 I/O address space
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@748 42af7a65-404d-4744-a932-0658087f49c3
2008-03-23 21:22:19 +00:00
patacongo
ab876969dd Implement irqsave/restore
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@747 42af7a65-404d-4744-a932-0658087f49c3
2008-03-23 17:58:08 +00:00
patacongo
536a458525 First clean ez80 compile & link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@746 42af7a65-404d-4744-a932-0658087f49c3
2008-03-23 16:05:22 +00:00
patacongo
7caf0ae3b6 Add low UART init logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@745 42af7a65-404d-4744-a932-0658087f49c3
2008-03-23 14:50:18 +00:00
patacongo
0125c5989f Add timer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@744 42af7a65-404d-4744-a932-0658087f49c3
2008-03-23 14:11:49 +00:00
patacongo
ec531944df Add timer definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@743 42af7a65-404d-4744-a932-0658087f49c3
2008-03-23 13:16:11 +00:00
patacongo
5b5b6af723 Do not call open/close_peripheraldevice. That ties in too closely to ZiLOG's psuedo-OS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@742 42af7a65-404d-4744-a932-0658087f49c3
2008-03-22 22:37:46 +00:00
patacongo
cc67653244 Need more flexibility in defining the heap region
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@741 42af7a65-404d-4744-a932-0658087f49c3
2008-03-22 22:37:04 +00:00
patacongo
8b84d88550 First cat at ez80 serial logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@740 42af7a65-404d-4744-a932-0658087f49c3
2008-03-22 21:19:29 +00:00
patacongo
7984beaa4b More ez80 files compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@739 42af7a65-404d-4744-a932-0658087f49c3
2008-03-18 01:40:12 +00:00
patacongo
976ff7a822 Added EZ80 files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@738 42af7a65-404d-4744-a932-0658087f49c3
2008-03-16 23:36:25 +00:00
patacongo
6cf70e0e2a Fix compile error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@737 42af7a65-404d-4744-a932-0658087f49c3
2008-03-16 21:08:24 +00:00
patacongo
71105edc9f First cut at ez80 boot logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@736 42af7a65-404d-4744-a932-0658087f49c3
2008-03-16 00:06:05 +00:00
patacongo
7b5c4e515b Add ez80f0910200kitg configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@735 42af7a65-404d-4744-a932-0658087f49c3
2008-03-15 20:04:06 +00:00
patacongo
8d31154e34 Add ez80f910200kitg configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@734 42af7a65-404d-4744-a932-0658087f49c3
2008-03-15 20:00:23 +00:00
patacongo
bb2a525bac Fix z8f6423 link error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@733 42af7a65-404d-4744-a932-0658087f49c3
2008-03-11 00:36:08 +00:00
patacongo
990820d579 Fixed of Z8F6423 -- still doesn't like correctly
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@732 42af7a65-404d-4744-a932-0658087f49c3
2008-03-10 23:37:56 +00:00
patacongo
12dea795b3 Add configuration for z8f64200100kit boar
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@731 42af7a65-404d-4744-a932-0658087f49c3
2008-03-10 23:15:47 +00:00
patacongo
460aa35bb4 Adding ez80 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@730 42af7a65-404d-4744-a932-0658087f49c3
2008-03-09 19:59:46 +00:00
patacongo
b1234a6bda EZ80 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@729 42af7a65-404d-4744-a932-0658087f49c3
2008-03-09 19:56:37 +00:00
patacongo
2dda17684f Prep for 0.3.9 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@728 42af7a65-404d-4744-a932-0658087f49c3
2008-03-09 15:11:51 +00:00
patacongo
bcc151c414 z8Encore! integrated on simulator
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@727 42af7a65-404d-4744-a932-0658087f49c3
2008-03-09 14:49:22 +00:00
patacongo
5f80286cc5 Initial fixes for Z8Encore debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@726 42af7a65-404d-4744-a932-0658087f49c3
2008-03-08 21:19:39 +00:00
patacongo
b1b50a6bad Bad comment delimiter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@725 42af7a65-404d-4744-a932-0658087f49c3
2008-03-08 17:25:44 +00:00
patacongo
dd90e2f273 script changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@724 42af7a65-404d-4744-a932-0658087f49c3
2008-03-08 16:26:08 +00:00
patacongo
85d947640a xtrs_head.asm not checked-in due to .cvsignore problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@723 42af7a65-404d-4744-a932-0658087f49c3
2008-03-04 00:48:03 +00:00
patacongo
aae7fd5432 Explicitly use /bin/bash vs /bin/sh for Ubuntu compatibility
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@722 42af7a65-404d-4744-a932-0658087f49c3
2008-03-04 00:40:49 +00:00
patacongo
aab9267f38 Oops last version was still in editor
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@721 42af7a65-404d-4744-a932-0658087f49c3
2008-02-23 14:30:50 +00:00
patacongo
4b331938fa Incorporate patch 1899525
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@720 42af7a65-404d-4744-a932-0658087f49c3
2008-02-23 14:26:46 +00:00
patacongo
f8e0254f63 Document CONFIG_NSH_STRERROR
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@719 42af7a65-404d-4744-a932-0658087f49c3
2008-02-21 12:37:19 +00:00
patacongo
c1d789accf Fix clean issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@718 42af7a65-404d-4744-a932-0658087f49c3
2008-02-20 20:05:38 +00:00
patacongo
cbc6fcce57 strerror() is big; don't use it unless requested
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@717 42af7a65-404d-4744-a932-0658087f49c3
2008-02-20 18:02:55 +00:00
patacongo
34974400b3 Fix XTRS interrupt vector handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@715 42af7a65-404d-4744-a932-0658087f49c3
2008-02-20 15:06:36 +00:00
patacongo
491f5b42b5 Incorporate patch 1897630
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@714 42af7a65-404d-4744-a932-0658087f49c3
2008-02-20 12:55:07 +00:00
patacongo
cb4390a8a0 Add LED logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@713 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 23:03:32 +00:00
patacongo
da700355ed Clean compilation with console enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@712 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 20:44:30 +00:00
patacongo
fed8278b13 Trying to remove link warnings (still unsuccessful)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@711 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 19:25:44 +00:00
patacongo
96565fd538 Low uart fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@710 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 18:53:07 +00:00
patacongo
e6756626f8 Still detangling lowuart stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@709 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 18:22:06 +00:00
patacongo
cb2cc8c22e Fix z8 UART initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@708 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 18:02:17 +00:00
patacongo
28366b75d0 Fix LOWCONSOLE confusion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@707 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 17:29:53 +00:00
patacongo
295a7a1fd5 Remober lowputc/getc support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@706 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 17:20:45 +00:00
patacongo
feccbf06e2 4.10.1 compiles fine -- my bad
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@705 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 16:58:37 +00:00
patacongo
352eb0fb64 Add framework for UART support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@704 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 16:27:25 +00:00
patacongo
daa2610d07 Fix Z8F6403 compile issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@703 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 16:25:34 +00:00
patacongo
e173b3ff73 xtrs port: generation of executable. Patch 1895239
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@702 42af7a65-404d-4744-a932-0658087f49c3
2008-02-18 14:20:19 +00:00
patacongo
1bada71e80 Fix errors/omissions in previous check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@701 42af7a65-404d-4744-a932-0658087f49c3
2008-02-17 15:08:45 +00:00
patacongo
b8b16ad1f0 Suppress debug output if CONFIG_DEBUG_SCHED is not defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@700 42af7a65-404d-4744-a932-0658087f49c3
2008-02-17 15:06:28 +00:00
patacongo
c447d1ff47 Add prioritized interrupt TODO
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@699 42af7a65-404d-4744-a932-0658087f49c3
2008-02-17 00:23:49 +00:00
patacongo
81f4b8dbf0 Fix inconsistent use of CONFIG_ARCH_LOWPUTC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@698 42af7a65-404d-4744-a932-0658087f49c3
2008-02-16 22:46:55 +00:00
patacongo
7629c2c811 z8f should use up_maskack_irq
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@697 42af7a65-404d-4744-a932-0658087f49c3
2008-02-16 22:23:45 +00:00
patacongo
fb76a5e579 Fix range check
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@696 42af7a65-404d-4744-a932-0658087f49c3
2008-02-16 16:15:57 +00:00
patacongo
98f52d9f61 Macro must be bit mask, not bit number
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@695 42af7a65-404d-4744-a932-0658087f49c3
2008-02-16 15:40:11 +00:00
patacongo
b125ca88c2 Fix compiler errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@694 42af7a65-404d-4744-a932-0658087f49c3
2008-02-16 14:48:35 +00:00
patacongo
6ab50706bb Add timer initialization and interrupt control
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@693 42af7a65-404d-4744-a932-0658087f49c3
2008-02-16 13:47:29 +00:00
patacongo
aace60d986 Add support for Z8F6403 (currently disabled)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@692 42af7a65-404d-4744-a932-0658087f49c3
2008-02-16 00:48:39 +00:00
patacongo
0823879b84 ez80 is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@691 42af7a65-404d-4744-a932-0658087f49c3
2008-02-15 23:11:51 +00:00
patacongo
c558d34600 Add support for the TRS-80 Model 3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@690 42af7a65-404d-4744-a932-0658087f49c3
2008-02-15 22:14:00 +00:00
patacongo
c90fc3b5e6 Add support for the TRS-80 Model 3 via xtrs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@689 42af7a65-404d-4744-a932-0658087f49c3
2008-02-15 22:10:33 +00:00
patacongo
67a6ec5ddb z8encore000zco has z8f6403
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@688 42af7a65-404d-4744-a932-0658087f49c3
2008-02-15 20:14:05 +00:00
patacongo
65280ba602 Add lazay interrupt context saving logic for ez8
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@687 42af7a65-404d-4744-a932-0658087f49c3
2008-02-15 19:54:58 +00:00
patacongo
f906f80359 Made arch/z80 handling chip-specific
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@686 42af7a65-404d-4744-a932-0658087f49c3
2008-02-15 18:20:20 +00:00
patacongo
b3969170d5 Flesh out Z8Encore\! interrupt context switches
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@685 42af7a65-404d-4744-a932-0658087f49c3
2008-02-15 14:28:54 +00:00
patacongo
1ce0745dd8 Fleshing out ez8 context switch logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@684 42af7a65-404d-4744-a932-0658087f49c3
2008-02-14 20:53:15 +00:00
patacongo
4a157c8855 Move all z80-dependencies into arch/z80/src/z80
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@683 42af7a65-404d-4744-a932-0658087f49c3
2008-02-14 17:24:14 +00:00
patacongo
3ee215ef6f cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@682 42af7a65-404d-4744-a932-0658087f49c3
2008-02-14 00:43:11 +00:00
patacongo
b41956664f Remove garbage from linker file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@681 42af7a65-404d-4744-a932-0658087f49c3
2008-02-14 00:40:06 +00:00
patacongo
a6623735c0 Resolve header file incompatibility
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@680 42af7a65-404d-4744-a932-0658087f49c3
2008-02-14 00:31:37 +00:00
patacongo
a7e1b7b8eb Add more IRQ info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@679 42af7a65-404d-4744-a932-0658087f49c3
2008-02-13 23:57:43 +00:00
patacongo
9657fa43d8 Add ez8 IRQ info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@678 42af7a65-404d-4744-a932-0658087f49c3
2008-02-13 19:50:48 +00:00
patacongo
dfcedbcac5 Add ez8 start-up logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@677 42af7a65-404d-4744-a932-0658087f49c3
2008-02-13 16:42:28 +00:00
patacongo
cabaa75a43 ez8 now builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@675 42af7a65-404d-4744-a932-0658087f49c3
2008-02-13 14:19:16 +00:00
patacongo
ce8536d51f ZDS-II toolchain does not need up_mem.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@674 42af7a65-404d-4744-a932-0658087f49c3
2008-02-12 20:51:40 +00:00
patacongo
0bfed5e52d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@673 42af7a65-404d-4744-a932-0658087f49c3
2008-02-12 20:35:38 +00:00
patacongo
9a955f0901 More z80 repairs due to z8 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@672 42af7a65-404d-4744-a932-0658087f49c3
2008-02-12 14:52:34 +00:00
patacongo
8d2f18e709 More z8 compilation changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@671 42af7a65-404d-4744-a932-0658087f49c3
2008-02-12 14:37:55 +00:00
patacongo
ba6cd0d3e2 Fix z80 problems introduced by z8
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@670 42af7a65-404d-4744-a932-0658087f49c3
2008-02-12 01:35:08 +00:00
patacongo
0067b7a08c Fixes for z8 compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@669 42af7a65-404d-4744-a932-0658087f49c3
2008-02-11 20:31:36 +00:00
patacongo
ad2155cd0c Changes for Z8Encore\! compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@668 42af7a65-404d-4744-a932-0658087f49c3
2008-02-11 19:16:45 +00:00
patacongo
f0c6f2f44b Add Z8Encore\!
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@667 42af7a65-404d-4744-a932-0658087f49c3
2008-02-11 17:15:52 +00:00
patacongo
50a54fc544 Adding Z8Encore\!
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@666 42af7a65-404d-4744-a932-0658087f49c3
2008-02-11 17:11:20 +00:00
patacongo
c4b3cf7095 Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@665 42af7a65-404d-4744-a932-0658087f49c3
2008-02-11 13:57:08 +00:00
patacongo
efb733dfc4 Prep for 0.3.8 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@663 42af7a65-404d-4744-a932-0658087f49c3
2008-02-10 14:08:11 +00:00
patacongo
dda4565ed9 Cleanup make output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@662 42af7a65-404d-4744-a932-0658087f49c3
2008-02-09 19:31:29 +00:00
patacongo
432da54d46 Fix DM320 serial configuration problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@661 42af7a65-404d-4744-a932-0658087f49c3
2008-02-08 17:25:29 +00:00
patacongo
0fca25b777 Add a generic CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@660 42af7a65-404d-4744-a932-0658087f49c3
2008-02-08 00:56:16 +00:00
patacongo
ee5f02dae5 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@659 42af7a65-404d-4744-a932-0658087f49c3
2008-02-07 14:41:11 +00:00
patacongo
9a7c5c29c5 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@656 42af7a65-404d-4744-a932-0658087f49c3
2008-02-07 01:48:15 +00:00
patacongo
54242efbcd Pascal configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@655 42af7a65-404d-4744-a932-0658087f49c3
2008-02-07 01:44:35 +00:00
patacongo
f90fb7cdbe ostest configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@654 42af7a65-404d-4744-a932-0658087f49c3
2008-02-07 01:44:14 +00:00
patacongo
53a99eb382 NSH configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@653 42af7a65-404d-4744-a932-0658087f49c3
2008-02-07 01:43:56 +00:00
patacongo
b252be9bb9 Move configurations to sub-directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@651 42af7a65-404d-4744-a932-0658087f49c3
2008-02-07 01:39:20 +00:00
patacongo
3c494bbc9a update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@647 42af7a65-404d-4744-a932-0658087f49c3
2008-02-07 00:41:05 +00:00
patacongo
669118c68e Fix endian conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@644 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 21:08:16 +00:00
patacongo
14570ca238 fix compilation errors/warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@643 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 20:11:39 +00:00
patacongo
2d8db3fabc Fix bug 1887170
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@642 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 19:13:50 +00:00
patacongo
325e4e3833 Fixes bug 1887170
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@641 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 19:04:36 +00:00
patacongo
bf2225c26c update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@640 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 19:03:48 +00:00
patacongo
4dd560c5f0 Pascal P-Code binaries are now big-endian
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@639 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 15:44:29 +00:00
patacongo
b114621101 Script clobbered pascal test file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@638 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 15:35:40 +00:00
patacongo
e3bd6172aa fflush(NULL) returns error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@636 42af7a65-404d-4744-a932-0658087f49c3
2008-02-06 01:29:23 +00:00
patacongo
75253df209 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@635 42af7a65-404d-4744-a932-0658087f49c3
2008-02-05 22:45:03 +00:00
patacongo
d0a0accc99 ZNeo is big-endian
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@634 42af7a65-404d-4744-a932-0658087f49c3
2008-02-05 21:41:13 +00:00
patacongo
5622797411 Various fixes for buffered R/W I/O and seeking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@630 42af7a65-404d-4744-a932-0658087f49c3
2008-02-05 18:13:13 +00:00
patacongo
507914b3b4 Make freeports transparent
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@628 42af7a65-404d-4744-a932-0658087f49c3
2008-02-04 00:27:37 +00:00
patacongo
2ab10a107f Update errno discussion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@627 42af7a65-404d-4744-a932-0658087f49c3
2008-02-03 17:09:22 +00:00
patacongo
97a52f1b17 Add fseek issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@626 42af7a65-404d-4744-a932-0658087f49c3
2008-02-03 14:43:09 +00:00
patacongo
039efd6e2b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@624 42af7a65-404d-4744-a932-0658087f49c3
2008-02-03 14:03:34 +00:00
patacongo
7dffca15a1 Changes for clean link of pashello with z16f
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@623 42af7a65-404d-4744-a932-0658087f49c3
2008-02-03 13:54:33 +00:00
patacongo
978b0f79ad Fixes for clean pashello compile with z16f
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@622 42af7a65-404d-4744-a932-0658087f49c3
2008-02-03 13:20:54 +00:00
patacongo
0bd70f78e4 Describe pashello config
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@621 42af7a65-404d-4744-a932-0658087f49c3
2008-02-02 20:16:31 +00:00
patacongo
28b1b8fdac Add pashello example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@619 42af7a65-404d-4744-a932-0658087f49c3
2008-02-02 20:08:12 +00:00
patacongo
757eff86e8 Add analysis of problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@618 42af7a65-404d-4744-a932-0658087f49c3
2008-02-02 16:25:19 +00:00
patacongo
f116c153b9 Bad errno access in printf statements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@617 42af7a65-404d-4744-a932-0658087f49c3
2008-02-02 15:35:32 +00:00
patacongo
174a9f77c6 Fix /dev/zero
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@616 42af7a65-404d-4744-a932-0658087f49c3
2008-02-02 15:04:39 +00:00
patacongo
3fd8bd65f4 Integration pascal test case on the sim platform
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@614 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 22:47:24 +00:00
patacongo
2f1acf6786 Add fseek()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@613 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 22:32:16 +00:00
patacongo
09af7cf6ce Added lseek()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@612 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 22:19:20 +00:00
patacongo
00ad2ca2c4 Move sim configurations to sub-directories
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@611 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 21:34:41 +00:00
patacongo
ce1c48f5b6 examples/pashello configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@610 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 21:28:58 +00:00
patacongo
ee8c1a2d58 examples/ostest configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@609 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 21:28:05 +00:00
patacongo
4c564b97dc examples/nettest configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@608 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 21:27:17 +00:00
patacongo
ac37ac75e0 errno now defined to be *get_errno_ptr()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@607 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 21:23:19 +00:00
patacongo
1e52a8f36a Add pascal test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@606 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 20:47:32 +00:00
patacongo
7b3c17b1c1 Add Pascal test case
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@604 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 14:32:56 +00:00
patacongo
ad8140f162 Pascal Test Case
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@603 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 14:27:45 +00:00
patacongo
fac0d203bc Free ports
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@602 42af7a65-404d-4744-a932-0658087f49c3
2008-02-01 00:20:35 +00:00
patacongo
e3035d2dff Prep for 0.3.7 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@601 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 23:15:03 +00:00
patacongo
2134001f0f *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@600 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 22:44:19 +00:00
patacongo
aa7ecab89c Function did not match prototype
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@599 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 22:28:47 +00:00
patacongo
ce50defd4c Fixes for SDCC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@598 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 22:25:31 +00:00
patacongo
3dc0fee9ba *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@597 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 22:19:53 +00:00
patacongo
94ef1222d8 ostest result
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@596 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 22:19:09 +00:00
patacongo
40f92a9da4 Z16F integration changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@595 42af7a65-404d-4744-a932-0658087f49c3
2008-01-31 17:59:22 +00:00
patacongo
cb79ddc9a0 fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@594 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 22:33:54 +00:00
patacongo
0a07af9fc7 Recalibrate delay loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@593 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 22:33:00 +00:00
patacongo
1358cc1911 Fix z16f addressing issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@592 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 21:59:12 +00:00
patacongo
9654e2d4b4 errno was clobbered by mm_trysemaphore when task exists
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@591 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 18:49:31 +00:00
patacongo
c773c4e139 Fix comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@590 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 14:02:16 +00:00
patacongo
59451ae6c0 Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@589 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 14:01:22 +00:00
patacongo
715cc89148 Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@588 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 13:21:08 +00:00
patacongo
4a7a565ef3 Typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@587 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 13:08:36 +00:00
patacongo
c55f4a3783 Use mdelay vs inaccurate udelay
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@586 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 12:55:11 +00:00
patacongo
89c63fc635 Added low-level console driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@585 42af7a65-404d-4744-a932-0658087f49c3
2008-01-30 00:59:17 +00:00
patacongo
675205a5de Misc fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@584 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 23:58:39 +00:00
patacongo
3ae27c3c9e Typo in unused #else
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@583 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 22:17:06 +00:00
patacongo
8aa92af787 Fix some Z16F serial bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@582 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 20:13:18 +00:00
patacongo
46f139066c Fix backward conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@581 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 13:13:04 +00:00
patacongo
b4557a830a Fix bad conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@580 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 13:08:25 +00:00
patacongo
37d20db817 Z16F Debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@579 42af7a65-404d-4744-a932-0658087f49c3
2008-01-29 00:50:16 +00:00
patacongo
5db8af3015 UART config is untested
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@578 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 22:32:40 +00:00
patacongo
16aff5292e Basic Z16F serial driver functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@577 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 22:03:49 +00:00
patacongo
4b07e6ffa4 Fix printf-related warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@576 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 19:09:02 +00:00
patacongo
d15ab7811c Eliminate some Z16F compilation warnings.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@575 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 15:45:39 +00:00
patacongo
6e5c4b2316 Z16F compile/link with all OS features enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@574 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 14:59:21 +00:00
patacongo
4ad0370f60 Add task
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@573 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 14:10:46 +00:00
patacongo
b65bbad338 Code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@572 42af7a65-404d-4744-a932-0658087f49c3
2008-01-28 02:07:33 +00:00
patacongo
3616465288 Structure serial driver interface to support different interrupt architectures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@571 42af7a65-404d-4744-a932-0658087f49c3
2008-01-26 23:46:09 +00:00
patacongo
c4ddb4980f Basic NuttX port functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@570 42af7a65-404d-4744-a932-0658087f49c3
2008-01-26 16:54:53 +00:00
patacongo
948c8bd2d4 Clock system was missing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@569 42af7a65-404d-4744-a932-0658087f49c3
2008-01-26 16:21:09 +00:00
patacongo
76d4673969 Fix a16f serial bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@568 42af7a65-404d-4744-a932-0658087f49c3
2008-01-26 14:35:25 +00:00
patacongo
299dc971dd Same fixes as for interrupt return
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@567 42af7a65-404d-4744-a932-0658087f49c3
2008-01-25 23:14:49 +00:00
patacongo
62f7d251ae minor updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@566 42af7a65-404d-4744-a932-0658087f49c3
2008-01-25 22:31:08 +00:00
patacongo
e1f5aeaf51 Initial Z61F debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@565 42af7a65-404d-4744-a932-0658087f49c3
2008-01-25 22:28:46 +00:00
patacongo
fb4253bfb2 Add z16f system exception handling logic.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@564 42af7a65-404d-4744-a932-0658087f49c3
2008-01-25 17:49:43 +00:00
patacongo
30984a7eed Add z16f LED logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@563 42af7a65-404d-4744-a932-0658087f49c3
2008-01-24 23:23:49 +00:00
patacongo
6bf63d8d35 Add Z16f context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@562 42af7a65-404d-4744-a932-0658087f49c3
2008-01-24 22:43:38 +00:00
patacongo
ee1d841569 Adding context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@561 42af7a65-404d-4744-a932-0658087f49c3
2008-01-23 22:11:59 +00:00
patacongo
bf27d79c0d Add preliminary support for Z16F serial port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@560 42af7a65-404d-4744-a932-0658087f49c3
2008-01-23 20:38:12 +00:00
patacongo
ad12689460 *** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@559 42af7a65-404d-4744-a932-0658087f49c3
2008-01-23 16:16:34 +00:00
patacongo
dfca90057b Fixes for clean(er) compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@558 42af7a65-404d-4744-a932-0658087f49c3
2008-01-23 15:48:26 +00:00
patacongo
9291ec957f Missed cloing comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@557 42af7a65-404d-4744-a932-0658087f49c3
2008-01-21 14:03:36 +00:00
patacongo
1f115108e6 Fix Z16F context structure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@556 42af7a65-404d-4744-a932-0658087f49c3
2008-01-13 15:31:26 +00:00
patacongo
9108a01f1d Fixes for compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@555 42af7a65-404d-4744-a932-0658087f49c3
2008-01-12 17:37:22 +00:00
patacongo
b07eb44e4e Fix some ZDS-II compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@554 42af7a65-404d-4744-a932-0658087f49c3
2008-01-11 22:40:09 +00:00
patacongo
0d102fa42e untest z16f code
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@553 42af7a65-404d-4744-a932-0658087f49c3
2008-01-11 18:19:09 +00:00
patacongo
1b853a92bb Add Z16F interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@552 42af7a65-404d-4744-a932-0658087f49c3
2008-01-11 13:59:38 +00:00
patacongo
0dd2134fa8 Add board init
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@551 42af7a65-404d-4744-a932-0658087f49c3
2008-01-11 13:56:58 +00:00
patacongo
9dbc6e1c2f z16f common directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@550 42af7a65-404d-4744-a932-0658087f49c3
2008-01-11 13:20:53 +00:00
patacongo
517d951c67 Add low-level UART support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@549 42af7a65-404d-4744-a932-0658087f49c3
2008-01-11 00:02:55 +00:00
patacongo
8f3ef9954e Add Z16F head assembly
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@548 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 21:10:30 +00:00
patacongo
0a32f4d20b Passing union parms as const upsets ZDS-II compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@547 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 19:16:50 +00:00
patacongo
544a21b80c Fix Windows path conversions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@546 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:40:16 +00:00
patacongo
291270beb5 Using tool-specific clean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@545 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:23:08 +00:00
patacongo
af73c158f2 First cut at ZDS-II link command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@544 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:16:20 +00:00
patacongo
d387191f04 z16f ostest config
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@543 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 18:13:27 +00:00
patacongo
0e4924079a Clean operations are now toolchain specific
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@542 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 13:38:13 +00:00
patacongo
435528e7a0 Add control reg defs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@541 42af7a65-404d-4744-a932-0658087f49c3
2008-01-10 01:41:58 +00:00
patacongo
e881da738c Compiles with ZDS-II
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@540 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 22:53:52 +00:00
patacongo
83f36eac7d Changes for ZNeo compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@539 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 14:20:31 +00:00
patacongo
748bcdbe11 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@537 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 02:03:14 +00:00
patacongo
e59f302e50 Fix ZNeo compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@536 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 01:22:06 +00:00
patacongo
817b284a13 Support C pre-processors without variable-arg macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@535 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 01:13:24 +00:00
patacongo
3dffab3aca Need absolute paths for 'fake' links
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@534 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 00:13:13 +00:00
patacongo
0156bc785f Turn off script debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@533 42af7a65-404d-4744-a932-0658087f49c3
2008-01-09 00:07:03 +00:00
patacongo
32c3e79ece Need to handle paths with spaces in them
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@532 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 23:55:02 +00:00
patacongo
03d8c867cf Spell checked
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@531 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 22:19:32 +00:00
patacongo
3f1c7dc771 Add logic for environments that can't use soft links
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@530 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 22:11:00 +00:00
patacongo
c691f1db9d Cygwin path craziness
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@529 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 19:45:13 +00:00
patacongo
d8b91b19e5 Make logic reorganized for non-GNU toolchain
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@528 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 17:06:21 +00:00
patacongo
8216d763a6 Fix some compile options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@527 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 14:26:17 +00:00
patacongo
131931c877 Reduce make output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@526 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 13:41:00 +00:00
patacongo
71f2d3d25d ZNeo compiler now works
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@525 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 13:02:47 +00:00
patacongo
11e06742c2 Fix dates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@524 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 04:52:50 +00:00
patacongo
eda24c6c3a Document 0.3.6.1 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@523 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 04:48:36 +00:00
patacongo
c5a589f25b Add support for tools that can't make dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@522 42af7a65-404d-4744-a932-0658087f49c3
2008-01-08 00:19:24 +00:00
patacongo
7a9bfd3ccb Adding support for Z16F
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@521 42af7a65-404d-4744-a932-0658087f49c3
2008-01-07 23:19:24 +00:00
patacongo
93dd5f44cb Adding support for the z16f
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@520 42af7a65-404d-4744-a932-0658087f49c3
2008-01-07 23:13:12 +00:00
patacongo
f14e8056ce Add TODO item
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@519 42af7a65-404d-4744-a932-0658087f49c3
2008-01-07 12:58:17 +00:00
patacongo
1fd8bd11af Prep for 0.3.6
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@518 42af7a65-404d-4744-a932-0658087f49c3
2008-01-06 21:03:42 +00:00
patacongo
dc5142224c Add configuration for toolchains without libm
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@517 42af7a65-404d-4744-a932-0658087f49c3
2008-01-06 20:46:45 +00:00
patacongo
662d64f8e0 Add float types needed by pcode runtime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@516 42af7a65-404d-4744-a932-0658087f49c3
2008-01-06 15:50:20 +00:00
patacongo
731e425116 Add support for Pascal P-Code interpreter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@511 42af7a65-404d-4744-a932-0658087f49c3
2008-01-05 19:05:31 +00:00
patacongo
d586fa633b Fix html errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@484 42af7a65-404d-4744-a932-0658087f49c3
2008-01-04 13:11:45 +00:00
patacongo
eda17b05f7 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@483 42af7a65-404d-4744-a932-0658087f49c3
2008-01-04 01:06:27 +00:00
patacongo
7202b1b19d update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@479 42af7a65-404d-4744-a932-0658087f49c3
2008-01-02 14:17:02 +00:00
patacongo
d54f596884 joininfo field not used if PTHREADS suppressed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@478 42af7a65-404d-4744-a932-0658087f49c3
2008-01-02 14:15:07 +00:00
patacongo
424eae4cfb Debug z80sim NSH (still doesn't work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@476 42af7a65-404d-4744-a932-0658087f49c3
2008-01-01 14:54:10 +00:00
patacongo
db57264e1f Fix deadlock cases
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@475 42af7a65-404d-4744-a932-0658087f49c3
2008-01-01 14:53:16 +00:00
patacongo
d9080fb256 Debug NSH on z80sim
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@474 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 23:52:53 +00:00
patacongo
c2c6b55515 Add logic to init global data on bootup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@473 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 19:05:45 +00:00
patacongo
b6f43e7144 Add z80 signals
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@472 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 15:45:58 +00:00
patacongo
ab44069b4b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@470 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 00:51:20 +00:00
patacongo
c690cf8df5 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@469 42af7a65-404d-4744-a932-0658087f49c3
2007-12-31 00:50:09 +00:00
patacongo
8403a62cdf More SDCC compilation fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@468 42af7a65-404d-4744-a932-0658087f49c3
2007-12-30 23:34:20 +00:00
patacongo
f038ce79e9 Additional corrections to state restore logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@466 42af7a65-404d-4744-a932-0658087f49c3
2007-12-30 21:54:55 +00:00
patacongo
821975f7bd Needs same fixes as for up_head.asm
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@465 42af7a65-404d-4744-a932-0658087f49c3
2007-12-30 21:21:19 +00:00
patacongo
c61ade4480 Add support of other resets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@464 42af7a65-404d-4744-a932-0658087f49c3
2007-12-30 21:08:23 +00:00
patacongo
772ad744e0 Integrating z80
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@463 42af7a65-404d-4744-a932-0658087f49c3
2007-12-30 18:13:22 +00:00
patacongo
c2f88659b5 Assembly errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@461 42af7a65-404d-4744-a932-0658087f49c3
2007-12-30 00:05:47 +00:00
patacongo
b516dfa9b6 Fix comments and reg frame offsets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@460 42af7a65-404d-4744-a932-0658087f49c3
2007-12-29 23:47:22 +00:00
patacongo
62062f5873 Fix size calculation error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@459 42af7a65-404d-4744-a932-0658087f49c3
2007-12-29 20:18:34 +00:00
patacongo
36c2c9800f Fix dynamic heap sizing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@458 42af7a65-404d-4744-a932-0658087f49c3
2007-12-29 19:51:39 +00:00
patacongo
0a98dad76d First successful z80 compile & link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@457 42af7a65-404d-4744-a932-0658087f49c3
2007-12-29 16:31:25 +00:00
patacongo
e5cb54d8d5 Add z80 target
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@456 42af7a65-404d-4744-a932-0658087f49c3
2007-12-29 01:06:06 +00:00
patacongo
b1ac023250 Import of z80 target
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@455 42af7a65-404d-4744-a932-0658087f49c3
2007-12-29 01:05:26 +00:00
patacongo
98c638416d Fixed for 8051 w/SDCC compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@454 42af7a65-404d-4744-a932-0658087f49c3
2007-12-28 22:10:14 +00:00
patacongo
932463210f Changes for SDCC compiler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@453 42af7a65-404d-4744-a932-0658087f49c3
2007-12-28 01:44:34 +00:00
patacongo
26a0534734 Updated for 0.3.5
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@452 42af7a65-404d-4744-a932-0658087f49c3
2007-12-18 20:03:03 +00:00
patacongo
48a5b245df update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@451 42af7a65-404d-4744-a932-0658087f49c3
2007-12-13 16:52:37 +00:00
patacongo
28b8f4a2e6 ifconfig shows uIP stats
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@450 42af7a65-404d-4744-a932-0658087f49c3
2007-12-12 14:41:36 +00:00
patacongo
cd2decaedb Need to preserve IP address from spurious OFFERs as well
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@449 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 23:10:47 +00:00
patacongo
bacff222e1 Fix typos/ommissions in file header
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@448 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 22:58:16 +00:00
patacongo
e0bee0e36b update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@447 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 22:08:57 +00:00
patacongo
8027ff2a0e DHCPC logic changes - should now handle case with multiple DHCP servers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@446 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 22:07:18 +00:00
patacongo
0800757e00 Need to tell examples/uip tht the C5471 has no MAC
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@445 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 22:04:35 +00:00
patacongo
a9a9fb489e Fix compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@444 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:49:02 +00:00
patacongo
23e67efbbd Moved MAC and ethernet definitions to include/net/ethernet.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@443 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:28:16 +00:00
patacongo
ea50c50b47 eliminate some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@442 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:27:11 +00:00
patacongo
8ff7a809b4 Add ifconfig command to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@441 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:24:49 +00:00
patacongo
84ff909d06 Add ether_ntoa() and inet_ntoa()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@440 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:23:58 +00:00
patacongo
15c9ab962a Add netdev_foreach()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@439 42af7a65-404d-4744-a932-0658087f49c3
2007-12-11 14:23:16 +00:00
patacongo
4bd249117a Verified DHCPC on the C5471 EVM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@438 42af7a65-404d-4744-a932-0658087f49c3
2007-12-10 19:39:26 +00:00
patacongo
69303fea5f Updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@437 42af7a65-404d-4744-a932-0658087f49c3
2007-12-10 17:41:40 +00:00
patacongo
a13244eeaf Release 0.3.4
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@436 42af7a65-404d-4744-a932-0658087f49c3
2007-12-10 17:15:11 +00:00
patacongo
32b30abf8f Workaround for ARM optimization bug: Use memcmp/memcpy when working with arrays
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@435 42af7a65-404d-4744-a932-0658087f49c3
2007-12-10 16:28:08 +00:00
patacongo
1a98fe8a63 Debugging TELNET NSH (still problems)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@434 42af7a65-404d-4744-a932-0658087f49c3
2007-12-10 13:28:01 +00:00
patacongo
f09cdabc0d Clean compile with stats enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@433 42af7a65-404d-4744-a932-0658087f49c3
2007-12-07 16:13:50 +00:00
patacongo
977d4d8779 C5471 ethernet driver functional (but sensitive)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@432 42af7a65-404d-4744-a932-0658087f49c3
2007-12-07 15:19:00 +00:00
patacongo
47b3a226af C5471 ethernet debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@431 42af7a65-404d-4744-a932-0658087f49c3
2007-12-06 23:12:48 +00:00
patacongo
a932e62067 Improved read-ahead buffer management
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@430 42af7a65-404d-4744-a932-0658087f49c3
2007-12-06 23:10:31 +00:00
patacongo
cba8fa9596 Debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@429 42af7a65-404d-4744-a932-0658087f49c3
2007-12-05 23:51:41 +00:00
patacongo
98f35925e5 Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@428 42af7a65-404d-4744-a932-0658087f49c3
2007-12-05 15:12:38 +00:00
patacongo
3988e65c46 Clarifications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@427 42af7a65-404d-4744-a932-0658087f49c3
2007-12-05 01:27:17 +00:00
patacongo
1557e9befc Add feature set, trademarks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@426 42af7a65-404d-4744-a932-0658087f49c3
2007-12-05 01:02:45 +00:00
patacongo
13505c52fc Add C5471 ethernet driver debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@425 42af7a65-404d-4744-a932-0658087f49c3
2007-12-04 23:24:26 +00:00
patacongo
c3b6c26c1b First clean C5471 Ethernet compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@424 42af7a65-404d-4744-a932-0658087f49c3
2007-12-04 20:23:43 +00:00
patacongo
5efd8589a7 Add c5471 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@423 42af7a65-404d-4744-a932-0658087f49c3
2007-12-04 17:11:55 +00:00
patacongo
55358e04c8 Add skeleton ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@422 42af7a65-404d-4744-a932-0658087f49c3
2007-12-02 23:11:54 +00:00
patacongo
3e64d53637 Add TELNET front end to NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@421 42af7a65-404d-4744-a932-0658087f49c3
2007-12-02 18:18:59 +00:00
patacongo
4c54d7d07e Add send() timeout logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@420 42af7a65-404d-4744-a932-0658087f49c3
2007-12-02 15:11:32 +00:00
patacongo
929a52b3e0 Basic DHPC client functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@419 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 23:15:06 +00:00
patacongo
fedadd3064 correct handling of UDP broadcast
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@418 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 23:12:11 +00:00
patacongo
c3669a3104 Fix UDP recvfrom timeout logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@417 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 21:45:41 +00:00
patacongo
4ca632d1e6 Fix error in BROADCAST=y compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@416 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 21:08:29 +00:00
patacongo
3dc55ecc72 Oops checked in debug version
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@415 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 20:50:48 +00:00
patacongo
6f89e7df29 Add netutils/dhcpd
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@414 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 20:47:42 +00:00
patacongo
5fe8b2974d Add examples/dhcpd
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@413 42af7a65-404d-4744-a932-0658087f49c3
2007-11-30 20:46:29 +00:00
patacongo
14dd3e6265 Prep for 0.3.3 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@412 42af7a65-404d-4744-a932-0658087f49c3
2007-11-28 18:31:33 +00:00
patacongo
77aca3e58f Remove commented out logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@411 42af7a65-404d-4744-a932-0658087f49c3
2007-11-28 18:17:04 +00:00
patacongo
a89062967e Improve send/close performance
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@410 42af7a65-404d-4744-a932-0658087f49c3
2007-11-28 15:25:09 +00:00
patacongo
34e4d846a6 Fixed missing logic in readahead buffer logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@409 42af7a65-404d-4744-a932-0658087f49c3
2007-11-27 19:19:30 +00:00
patacongo
c3a7c92677 Integrated uIP's TELNETD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@408 42af7a65-404d-4744-a932-0658087f49c3
2007-11-25 16:50:16 +00:00
patacongo
a019c26daa Add vsnprintf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@407 42af7a65-404d-4744-a932-0658087f49c3
2007-11-25 16:49:08 +00:00
patacongo
18e3cfd272 fs/ and lib/ debug can be selectively enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@406 42af7a65-404d-4744-a932-0658087f49c3
2007-11-24 13:59:57 +00:00
patacongo
9a0b25efcd Must disconnect TCP socket on close()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@405 42af7a65-404d-4744-a932-0658087f49c3
2007-11-24 13:02:03 +00:00
patacongo
b72a7ab50b Debug can now be selectively enabled by subystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@404 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 22:32:52 +00:00
patacongo
2d9b57758b Removed unused uIP files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@403 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 21:16:43 +00:00
patacongo
2ce5085cc8 Verified recvfrom()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@402 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 19:25:39 +00:00
patacongo
ef651cc6bc Debug UDP send logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@401 42af7a65-404d-4744-a932-0658087f49c3
2007-11-23 13:31:28 +00:00
patacongo
961336e574 Added UDP test/example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@400 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 21:59:30 +00:00
patacongo
276e2880bd UDP test/example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@399 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 21:57:38 +00:00
patacongo
5a508351e4 TCP and ICMP protocols may now be disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@398 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 18:36:46 +00:00
patacongo
99c94d9cbe Add TX data notification
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@397 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 14:42:52 +00:00
patacongo
5c0768fb0d Use normal C strings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@396 42af7a65-404d-4744-a932-0658087f49c3
2007-11-22 12:48:40 +00:00
patacongo
21c9f463a2 Fix confusion in listening socket vs accepted sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@395 42af7a65-404d-4744-a932-0658087f49c3
2007-11-21 23:30:24 +00:00
patacongo
7d1031cc71 Fix leak in socket close
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@394 42af7a65-404d-4744-a932-0658087f49c3
2007-11-21 23:29:14 +00:00
patacongo
b54499d254 Fix parsing of URL
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@393 42af7a65-404d-4744-a932-0658087f49c3
2007-11-21 23:28:00 +00:00
patacongo
295bf51f3f Fix TCP list managment bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@392 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 21:55:06 +00:00
patacongo
ea2ca7bfc3 Several webserver bugs fixed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@391 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 20:32:33 +00:00
patacongo
26c91f4733 Add strcat() and strncat()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@390 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 15:42:11 +00:00
patacongo
27192d3a00 Prep for 0.3.1 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@389 42af7a65-404d-4744-a932-0658087f49c3
2007-11-20 01:26:34 +00:00
patacongo
ab1f88c3b8 Need to free any readahead buffers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@388 42af7a65-404d-4744-a932-0658087f49c3
2007-11-19 23:35:42 +00:00
patacongo
0e1b8b8b11 Add TCP readahead logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@387 42af7a65-404d-4744-a932-0658087f49c3
2007-11-19 23:09:39 +00:00
patacongo
ca5e8b5998 uIP webserver now uses listen/accept
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@386 42af7a65-404d-4744-a932-0658087f49c3
2007-11-19 18:17:23 +00:00
patacongo
5698f351b1 Add strncmp()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@385 42af7a65-404d-4744-a932-0658087f49c3
2007-11-18 14:32:06 +00:00
patacongo
dd0e40bbed Fix DM90x0 driver problem that caused TX overruns
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@384 42af7a65-404d-4744-a932-0658087f49c3
2007-11-17 14:28:10 +00:00
patacongo
8c0dd44a5e With DEBUG on, it may require some looping to read all data
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@383 42af7a65-404d-4744-a932-0658087f49c3
2007-11-16 23:14:35 +00:00
patacongo
5d7b5add5d Basic server functionality: listen(), accept()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@382 42af7a65-404d-4744-a932-0658087f49c3
2007-11-16 18:48:39 +00:00
patacongo
5ea5c4cf09 Fix probably where packets dropped because there was no recv() in place were being ACKed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@381 42af7a65-404d-4744-a932-0658087f49c3
2007-11-15 22:38:32 +00:00
patacongo
9b0f9f10d6 Doc/comments update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@380 42af7a65-404d-4744-a932-0658087f49c3
2007-11-08 17:12:12 +00:00
patacongo
a2affa9a9c Fix handling of callback result
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@379 42af7a65-404d-4744-a932-0658087f49c3
2007-11-08 16:43:06 +00:00
patacongo
69cbd66244 Eliminate most uIP globals
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@378 42af7a65-404d-4744-a932-0658087f49c3
2007-11-08 16:01:18 +00:00
patacongo
f6547ca194 Remove uIP logging
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@377 42af7a65-404d-4744-a932-0658087f49c3
2007-11-07 23:26:29 +00:00
patacongo
d622214165 Handle varialble length polling intervals; fix bug of last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@376 42af7a65-404d-4744-a932-0658087f49c3
2007-11-07 22:54:51 +00:00
patacongo
22cd175fd7 Finished partitioning uip.c (now system is broken)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@375 42af7a65-404d-4744-a932-0658087f49c3
2007-11-07 18:54:35 +00:00
patacongo
81d093e29e Breaking uip.c into smaller functions/files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@374 42af7a65-404d-4744-a932-0658087f49c3
2007-11-06 23:38:14 +00:00
patacongo
db8aff6778 Verified basic client-side network functionality
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@373 42af7a65-404d-4744-a932-0658087f49c3
2007-11-06 19:58:14 +00:00
patacongo
ddeb703501 Reduce debug output; calibrate DM320 timer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@372 42af7a65-404d-4744-a932-0658087f49c3
2007-11-06 16:17:50 +00:00
patacongo
44778c69bd Basic TCP send functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@371 42af7a65-404d-4744-a932-0658087f49c3
2007-11-05 23:04:16 +00:00
patacongo
77119d8359 More length-related fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@370 42af7a65-404d-4744-a932-0658087f49c3
2007-11-05 01:06:28 +00:00
patacongo
c48d0935a1 Fix problem with ARP request message length
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@369 42af7a65-404d-4744-a932-0658087f49c3
2007-11-05 00:14:42 +00:00
patacongo
5fe0d01775 Integrating with DM320
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@368 42af7a65-404d-4744-a932-0658087f49c3
2007-11-04 22:59:30 +00:00
patacongo
643c8d6401 DM90x0 driver hooked into DM320
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@367 42af7a65-404d-4744-a932-0658087f49c3
2007-11-04 16:31:24 +00:00
patacongo
da7b0d1d90 Finish TX timeout logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@366 42af7a65-404d-4744-a932-0658087f49c3
2007-11-02 23:22:48 +00:00
patacongo
03e6e759a6 Changes for clean compile of DM90x0 driver on Neuros OSD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@365 42af7a65-404d-4744-a932-0658087f49c3
2007-11-02 23:05:53 +00:00
patacongo
f3209435ab Add settings for DM90x0 driver (disabled)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@364 42af7a65-404d-4744-a932-0658087f49c3
2007-11-02 20:36:43 +00:00
patacongo
6f8dae2964 Missed in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@363 42af7a65-404d-4744-a932-0658087f49c3
2007-11-02 20:33:42 +00:00
patacongo
d7d1145863 Add DM90x0 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@362 42af7a65-404d-4744-a932-0658087f49c3
2007-11-02 20:20:34 +00:00
patacongo
b91d6d3b2f DM90x0 Driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@361 42af7a65-404d-4744-a932-0658087f49c3
2007-11-02 20:10:33 +00:00
patacongo
5b9425f1b6 in progress update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@360 42af7a65-404d-4744-a932-0658087f49c3
2007-10-31 23:27:55 +00:00
patacongo
c869e421e9 Add simple network test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@358 42af7a65-404d-4744-a932-0658087f49c3
2007-10-31 23:26:24 +00:00
patacongo
105aa81d1f dhcpc debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@357 42af7a65-404d-4744-a932-0658087f49c3
2007-10-31 00:13:07 +00:00
patacongo
00093c0a08 Fixes found in smtp testing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@356 42af7a65-404d-4744-a932-0658087f49c3
2007-10-27 18:56:04 +00:00
patacongo
f43ffa05aa Correct some issues with IP/MAC address handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@355 42af7a65-404d-4744-a932-0658087f49c3
2007-10-26 21:21:34 +00:00
patacongo
69ec9510a0 Partial implementation of accept() and listen()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@354 42af7a65-404d-4744-a932-0658087f49c3
2007-09-23 20:45:30 +00:00
patacongo
b85008dc63 Add framework for listen() and connect() -- still missing logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@353 42af7a65-404d-4744-a932-0658087f49c3
2007-09-23 16:58:09 +00:00
patacongo
04eac6d18a Fixed for clean Cygwin link; move netutils strings into common library
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@352 42af7a65-404d-4744-a932-0658087f49c3
2007-09-22 19:56:13 +00:00
patacongo
24dc336781 Refactoring netutils strings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@351 42af7a65-404d-4744-a932-0658087f49c3
2007-09-22 18:44:53 +00:00
patacongo
7bc52e9ea1 CYGWIN caveat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@350 42af7a65-404d-4744-a932-0658087f49c3
2007-09-21 00:43:20 +00:00
patacongo
30ad777538 If toolchain doesn't have weak symbols, must provide user_initialize()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@349 42af7a65-404d-4744-a932-0658087f49c3
2007-09-21 00:37:49 +00:00
patacongo
b1bc346305 Fixes for CYGWIN
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@348 42af7a65-404d-4744-a932-0658087f49c3
2007-09-21 00:28:48 +00:00
patacongo
a0318797d7 Repair bad checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@347 42af7a65-404d-4744-a932-0658087f49c3
2007-09-20 23:57:56 +00:00
patacongo
aa8343178b Fixed for CYGWIN build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@346 42af7a65-404d-4744-a932-0658087f49c3
2007-09-18 03:00:26 +00:00
patacongo
d69acf31de Associate address with network driver; implement ioctl calls to set addresses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@345 42af7a65-404d-4744-a932-0658087f49c3
2007-09-16 22:12:04 +00:00
patacongo
87743cdc8e Add basic structure to support netdevice ioctls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@344 42af7a65-404d-4744-a932-0658087f49c3
2007-09-16 17:46:25 +00:00
patacongo
23dcda6743 Add basic structure to support multiple network interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@343 42af7a65-404d-4744-a932-0658087f49c3
2007-09-15 22:45:45 +00:00
patacongo
d63a0352a5 Fix tapdev
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@342 42af7a65-404d-4744-a932-0658087f49c3
2007-09-14 23:53:29 +00:00
patacongo
ec8c6ffb23 Remove unused flag bit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@341 42af7a65-404d-4744-a932-0658087f49c3
2007-09-09 23:48:31 +00:00
patacongo
a401a91d03 Implment TCP recv()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@340 42af7a65-404d-4744-a932-0658087f49c3
2007-09-09 19:47:52 +00:00
patacongo
dcf7c7c365 Implement TCP send; remove uIP proto-sockets
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@339 42af7a65-404d-4744-a932-0658087f49c3
2007-09-09 17:20:56 +00:00
patacongo
01207cc66e Added network init; refactored some header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@338 42af7a65-404d-4744-a932-0658087f49c3
2007-09-09 11:58:50 +00:00
patacongo
4283c46855 Cleanup and fix problems introduce in last commit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@337 42af7a65-404d-4744-a932-0658087f49c3
2007-09-08 22:41:00 +00:00
patacongo
952db3328f Added receive timeout via setsockopt(SO_RCVTIMEO)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@336 42af7a65-404d-4744-a932-0658087f49c3
2007-09-08 21:54:43 +00:00
patacongo
09d6450ab3 Make file name convention consistent
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@335 42af7a65-404d-4744-a932-0658087f49c3
2007-09-08 19:57:25 +00:00
patacongo
a3d199f7ac Implemented several options in set/getsockopts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@334 42af7a65-404d-4744-a932-0658087f49c3
2007-09-08 19:50:59 +00:00
patacongo
cdfb48dac6 Documentation update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@333 42af7a65-404d-4744-a932-0658087f49c3
2007-09-08 15:26:55 +00:00
patacongo
535038c5cc Added framework for getsockopt() setsockopt()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@332 42af7a65-404d-4744-a932-0658087f49c3
2007-09-07 00:10:10 +00:00
patacongo
d265632c82 Add socket options
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@331 42af7a65-404d-4744-a932-0658087f49c3
2007-09-05 23:52:08 +00:00
patacongo
8c0ce78863 sendto needs to return EINTR error; dccpc uses sendto
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@330 42af7a65-404d-4744-a932-0658087f49c3
2007-09-05 00:13:18 +00:00
patacongo
4f3ecdd85a cleanup
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@329 42af7a65-404d-4744-a932-0658087f49c3
2007-09-03 23:35:18 +00:00
patacongo
cae9bad97b Add send, sendto, rec, recvfrom
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@328 42af7a65-404d-4744-a932-0658087f49c3
2007-09-03 20:34:44 +00:00
patacongo
f72d286d19 Refactoring to provide socket support for UDP
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@327 42af7a65-404d-4744-a932-0658087f49c3
2007-09-02 23:11:10 +00:00
patacongo
f47c8cb529 Implements basic TCP connection logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@326 42af7a65-404d-4744-a932-0658087f49c3
2007-09-02 21:58:35 +00:00
patacongo
7015014104 Added snprintf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@325 42af7a65-404d-4744-a932-0658087f49c3
2007-09-02 19:43:16 +00:00
patacongo
d82d41387b Add ntohs&l() and htons&l
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@324 42af7a65-404d-4744-a932-0658087f49c3
2007-09-02 15:32:03 +00:00
patacongo
800afcd04d Initial include/arpa directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@322 42af7a65-404d-4744-a932-0658087f49c3
2007-09-02 15:26:51 +00:00
patacongo
287e032069 Initial include/netinet directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@320 42af7a65-404d-4744-a932-0658087f49c3
2007-09-01 21:09:03 +00:00
patacongo
6119aa0943 Adding socket(), bind() logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@319 42af7a65-404d-4744-a932-0658087f49c3
2007-09-01 20:56:19 +00:00
patacongo
29aeec7b8a Added support for socket descriptors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@318 42af7a65-404d-4744-a932-0658087f49c3
2007-09-01 18:06:15 +00:00
patacongo
c60f939f91 smtp now compiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@317 42af7a65-404d-4744-a932-0658087f49c3
2007-08-30 23:57:58 +00:00
patacongo
1344768825 Basic infrastructure for socket() and bind()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@316 42af7a65-404d-4744-a932-0658087f49c3
2007-08-28 23:38:15 +00:00
patacongo
f5afe99329 Can't call system open(), read(), etc.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@315 42af7a65-404d-4744-a932-0658087f49c3
2007-08-28 01:30:19 +00:00
patacongo
09e2a0cc1e Corrects UIP driver build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@314 42af7a65-404d-4744-a932-0658087f49c3
2007-08-28 00:18:50 +00:00
patacongo
f5f4000981 Bad file checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@313 42af7a65-404d-4744-a932-0658087f49c3
2007-08-27 00:01:38 +00:00
patacongo
454fededc8 Fix timeslice calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@312 42af7a65-404d-4744-a932-0658087f49c3
2007-08-26 23:48:11 +00:00
patacongo
e8c4bbf98e Fix timeslice calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@311 42af7a65-404d-4744-a932-0658087f49c3
2007-08-26 23:39:06 +00:00
patacongo
f33928ef6a Adding uIP 1.0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@310 42af7a65-404d-4744-a932-0658087f49c3
2007-08-26 23:18:13 +00:00
patacongo
6f1e5c74ef Import of uIP 1.0
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@308 42af7a65-404d-4744-a932-0658087f49c3
2007-08-26 23:12:17 +00:00
patacongo
e260ea2fa8 Prep for 0.2.8 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@307 42af7a65-404d-4744-a932-0658087f49c3
2007-07-02 13:02:56 +00:00
patacongo
fff3a9d265 add set and unset
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@306 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 20:05:11 +00:00
patacongo
d8cdca20f5 Add rm and rmdir commands
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@305 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 19:23:34 +00:00
patacongo
4a0697786a Add rm and rmdir commandsChangeLog
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@304 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 19:22:54 +00:00
patacongo
f0c085abec Added cp command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@303 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 18:23:03 +00:00
patacongo
7e5a954d79 Add dirname and basename
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@302 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 18:09:35 +00:00
patacongo
fb5466800f Add basename, dirname, strrchr
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@301 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 17:37:11 +00:00
patacongo
96c7f2422e Break into several files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@300 42af7a65-404d-4744-a932-0658087f49c3
2007-07-01 15:35:32 +00:00
patacongo
e155bf66df document environment variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@299 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 23:42:46 +00:00
patacongo
cdd8fe239a Add environment variable test; fix several detected bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@298 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 22:39:20 +00:00
patacongo
c418e219ac Add a test of environment variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@297 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 22:35:23 +00:00
patacongo
14c19aa3d1 Fixed several more realloc errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@296 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 22:24:19 +00:00
patacongo
3237757a86 Fix error in realloc when memory is extended downward
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@295 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 20:38:16 +00:00
patacongo
475e731751 Add environment variable function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@294 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 19:39:17 +00:00
patacongo
0466636a01 eliminated a warning
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@293 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 19:37:47 +00:00
patacongo
d4ccda1bae script debug was left on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@292 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 19:37:28 +00:00
patacongo
09a3864fd5 Add basic tasking support for environment variables
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@291 42af7a65-404d-4744-a932-0658087f49c3
2007-06-30 17:05:44 +00:00
patacongo
445da7f795 +2 not ++ twice
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@290 42af7a65-404d-4744-a932-0658087f49c3
2007-06-11 22:47:43 +00:00
patacongo
13bd9989b2 EINTR is not an error
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@289 42af7a65-404d-4744-a932-0658087f49c3
2007-06-11 22:47:21 +00:00
patacongo
576c4f55c2 NSH: Add cat; add -l, -s, -R to ls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@288 42af7a65-404d-4744-a932-0658087f49c3
2007-06-10 20:40:25 +00:00
patacongo
4e52b5e11c Add mount, umount, and mkdir commands
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@287 42af7a65-404d-4744-a932-0658087f49c3
2007-06-10 18:13:26 +00:00
patacongo
00d1800b76 Add getopt
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@286 42af7a65-404d-4744-a932-0658087f49c3
2007-06-10 18:13:03 +00:00
patacongo
eff35dc99f Correct opendir semaphore hanlding -- was causing deadlock
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@285 42af7a65-404d-4744-a932-0658087f49c3
2007-06-10 17:50:16 +00:00
patacongo
729fad8b7d Force directory name to be nuttx-xx.yy.zz
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@284 42af7a65-404d-4744-a932-0658087f49c3
2007-06-10 02:24:53 +00:00
patacongo
d583be7062 Fixed a problem with arch/arm/src dependencies
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@282 42af7a65-404d-4744-a932-0658087f49c3
2007-06-10 00:18:40 +00:00
patacongo
9a4b84349d Under Cygwin, executable has a different name
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@281 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 23:09:15 +00:00
patacongo
c013dc876f Oops ChangeLog not updated in last release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@280 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 21:26:27 +00:00
patacongo
1479e0d35d Prepare for release 0.2.7
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@279 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 21:01:26 +00:00
patacongo
7ac971d7ee Don't call usleep if signals are disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@278 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 20:39:21 +00:00
patacongo
bece513004 SDCC specific changes. Z80 support; re-enable __FILE__ and __LINE__ in assert -- might have broken the 8051/2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@277 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 20:31:09 +00:00
patacongo
40513d77ab No longer uses _GNU_SOURCE-specific asprintf()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@276 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 19:45:33 +00:00
patacongo
9ab11697a8 Simply conditional build; fix conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@275 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 19:11:00 +00:00
patacongo
aca030153f Add support for custom system timer frequency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@274 42af7a65-404d-4744-a932-0658087f49c3
2007-06-09 15:49:44 +00:00
patacongo
da19e798e6 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@273 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:53:33 +00:00
patacongo
79457a04ab Don't call fflush if streams are disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@272 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:29:46 +00:00
patacongo
cfdfa7b3c9 Error in memcpy arguments for SDCC platforms
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@271 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:24:57 +00:00
patacongo
a48fe435f8 Function incorrectly named
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@270 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:20:35 +00:00
patacongo
c574123ca4 Fixed nsec calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@269 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:14:35 +00:00
patacongo
637618e8bb Removed redundant interrupt disable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@268 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:08:40 +00:00
patacongo
a54e55c432 Don't build sleep() or usleep() if signals are disabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@267 42af7a65-404d-4744-a932-0658087f49c3
2007-06-07 00:03:36 +00:00
patacongo
5abe9f896c bash if should end with 'fi' not 'if'
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@266 42af7a65-404d-4744-a932-0658087f49c3
2007-06-06 23:56:56 +00:00
patacongo
826ae7f951 file extension should be .gz not .bz2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@265 42af7a65-404d-4744-a932-0658087f49c3
2007-06-06 23:51:21 +00:00
patacongo
c3ed839a4e updated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@264 42af7a65-404d-4744-a932-0658087f49c3
2007-06-06 10:25:20 +00:00
patacongo
4a18d1f253 Add a test of statfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@263 42af7a65-404d-4744-a932-0658087f49c3
2007-05-30 00:00:04 +00:00
patacongo
f1170204c5 allocation unit is cluster, not sector
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@262 42af7a65-404d-4744-a932-0658087f49c3
2007-05-29 01:00:48 +00:00
patacongo
cf935803a0 Added statfs()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@261 42af7a65-404d-4744-a932-0658087f49c3
2007-05-29 00:31:17 +00:00
patacongo
9dd25d7965 Remove duplicate definition of struct statfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@260 42af7a65-404d-4744-a932-0658087f49c3
2007-05-27 23:09:23 +00:00
patacongo
5bdefbb8a0 Added fat_getattrib.c and fat_setattrib.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@259 42af7a65-404d-4744-a932-0658087f49c3
2007-05-27 20:40:01 +00:00
patacongo
3f5d4be4a9 Fix reference count problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@258 42af7a65-404d-4744-a932-0658087f49c3
2007-05-27 19:10:40 +00:00
patacongo
a0153a1ed2 Add stat()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@257 42af7a65-404d-4744-a932-0658087f49c3
2007-05-27 18:08:18 +00:00
patacongo
0c8bb6aac5 Missing closing quote
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@256 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 23:56:25 +00:00
patacongo
1d82a44d73 prepare for 0.2.6 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@255 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 22:46:13 +00:00
patacongo
955bf72f06 Fat dir operations seem to work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@254 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 22:37:57 +00:00
patacongo
49e73e6d62 typos
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@253 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 19:31:38 +00:00
patacongo
84e1cf94cf Finish FAT directory operations; add option to disable mountpoints; fix ARM compile errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@252 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 19:22:34 +00:00
patacongo
48b2897974 Add readdir() on mountpoints
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@251 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 16:37:37 +00:00
patacongo
0528705d81 Setting up for mountpoint support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@250 42af7a65-404d-4744-a932-0658087f49c3
2007-05-26 16:05:59 +00:00
patacongo
2a7e55b1fc Add FAT rename()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@249 42af7a65-404d-4744-a932-0658087f49c3
2007-05-21 21:04:03 +00:00
patacongo
f0634f5588 Add FAT mkdir()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@248 42af7a65-404d-4744-a932-0658087f49c3
2007-05-21 19:24:30 +00:00
patacongo
d7b254d2e6 Add FAT rmdir and unlink
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@247 42af7a65-404d-4744-a932-0658087f49c3
2007-05-21 17:17:42 +00:00
patacongo
0cb1595215 Add unlink(), mkdir(), rmdir(), and rename()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@246 42af7a65-404d-4744-a932-0658087f49c3
2007-05-21 14:36:00 +00:00
patacongo
982949fd81 Add lseek; prep for 0.2.5
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@245 42af7a65-404d-4744-a932-0658087f49c3
2007-05-21 00:42:06 +00:00
patacongo
60f48b9ab9 Implemented FAT write
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@244 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 23:22:56 +00:00
patacongo
c9bc5c5c0e Add strspn() and strcspn()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@243 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 19:27:02 +00:00
patacongo
624b98e244 Add support for close and fsync
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@242 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 19:25:58 +00:00
patacongo
c567505d21 Added fsync()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@241 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 19:03:01 +00:00
patacongo
f9de27c80b Add fsync()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@240 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 19:01:57 +00:00
patacongo
17e98b8602 Updated Changelist
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@239 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 17:00:02 +00:00
patacongo
341cf6f778 Did not re-enable interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@238 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 16:59:40 +00:00
patacongo
4074b03ff7 FAT read logic integrated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@237 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 16:58:37 +00:00
patacongo
505f5bd35c fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@236 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 16:54:09 +00:00
patacongo
36e02def6b fix last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@235 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 16:38:49 +00:00
patacongo
b22c9a9ab7 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@234 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 16:25:08 +00:00
patacongo
fa44e6e8a9 close() did not close driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@233 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 16:24:40 +00:00
patacongo
28c3d07135 Fix timeslice calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@232 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 15:43:53 +00:00
patacongo
c02b8b1e8b Cleaned up table of contents
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@231 42af7a65-404d-4744-a932-0658087f49c3
2007-05-20 15:31:02 +00:00
patacongo
e85f4186a4 Support for open of FAT fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@230 42af7a65-404d-4744-a932-0658087f49c3
2007-05-19 21:30:57 +00:00
patacongo
007667f845 Bad return value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@229 42af7a65-404d-4744-a932-0658087f49c3
2007-05-19 21:10:23 +00:00
patacongo
2e86454b82 fix isupper()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@228 42af7a65-404d-4744-a932-0658087f49c3
2007-05-19 00:21:22 +00:00
patacongo
b94766ca8f umount and fat fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@227 42af7a65-404d-4744-a932-0658087f49c3
2007-05-14 11:12:09 +00:00
patacongo
11073f798f Improved FS test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@226 42af7a65-404d-4744-a932-0658087f49c3
2007-05-14 02:13:27 +00:00
patacongo
d1a0415da7 Improved test FAT file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@225 42af7a65-404d-4744-a932-0658087f49c3
2007-05-14 01:45:12 +00:00
patacongo
183f658b9d Debug output
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@224 42af7a65-404d-4744-a932-0658087f49c3
2007-05-13 23:36:37 +00:00
patacongo
b2aa745708 Support FAT12/16
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@223 42af7a65-404d-4744-a932-0658087f49c3
2007-05-13 23:13:42 +00:00
patacongo
a27c0911f4 Initial mount integration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@222 42af7a65-404d-4744-a932-0658087f49c3
2007-05-13 21:47:36 +00:00
patacongo
01b3f1c982 Mount Test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@221 42af7a65-404d-4744-a932-0658087f49c3
2007-05-13 21:45:27 +00:00
patacongo
4b420b12fe Add FAT32 unmount; mountpoint open needs oflags+mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@220 42af7a65-404d-4744-a932-0658087f49c3
2007-05-13 20:56:16 +00:00
patacongo
b6335e8ef7 Misc. changes to support FAT32 fileysystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@219 42af7a65-404d-4744-a932-0658087f49c3
2007-05-13 20:20:07 +00:00
patacongo
d8df31f3d8 Add framework for FAT32 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@218 42af7a65-404d-4744-a932-0658087f49c3
2007-05-13 20:13:10 +00:00
patacongo
336ba8e4ed Add configuration option to select VFAT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@217 42af7a65-404d-4744-a932-0658087f49c3
2007-05-12 20:11:20 +00:00
patacongo
0790fcfae0 updated
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@216 42af7a65-404d-4744-a932-0658087f49c3
2007-05-12 20:10:04 +00:00
patacongo
55480ff1b4 driver private data should be retained in inode, not file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@215 42af7a65-404d-4744-a932-0658087f49c3
2007-05-12 20:09:37 +00:00
patacongo
1f9a015bcf Add mount and umount
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@214 42af7a65-404d-4744-a932-0658087f49c3
2007-05-12 20:08:39 +00:00
patacongo
f6ad8c9fea Add mount() and umount()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@213 42af7a65-404d-4744-a932-0658087f49c3
2007-05-12 20:07:51 +00:00
patacongo
3f61b374dd simulated block device now contains a VFAT formated disk image
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@212 42af7a65-404d-4744-a932-0658087f49c3
2007-05-12 16:21:19 +00:00
patacongo
7b6b0aaf21 Reflect changes due to fs structures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@211 42af7a65-404d-4744-a932-0658087f49c3
2007-05-09 00:08:54 +00:00
patacongo
81686eaf79 Reflect changes to fs structures
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@210 42af7a65-404d-4744-a932-0658087f49c3
2007-05-09 00:08:26 +00:00
patacongo
d005c70e79 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@209 42af7a65-404d-4744-a932-0658087f49c3
2007-05-09 00:06:22 +00:00
patacongo
886acfaf54 Add simulated block device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@208 42af7a65-404d-4744-a932-0658087f49c3
2007-05-09 00:06:00 +00:00
patacongo
8bdcd7c208 Add structures to manage block drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@207 42af7a65-404d-4744-a932-0658087f49c3
2007-05-09 00:05:15 +00:00
patacongo
6a2863c3fd Add support for block drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@206 42af7a65-404d-4744-a932-0658087f49c3
2007-05-09 00:04:03 +00:00
patacongo
d96a6e609e Another thing to do
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@205 42af7a65-404d-4744-a932-0658087f49c3
2007-05-06 23:00:14 +00:00
patacongo
ef2d434ca9 Add logic for system timer
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@204 42af7a65-404d-4744-a932-0658087f49c3
2007-05-05 22:35:07 +00:00
patacongo
57cea6a5d6 Add more register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@203 42af7a65-404d-4744-a932-0658087f49c3
2007-05-05 16:44:46 +00:00
patacongo
29abaf9ea8 Add A/D register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@202 42af7a65-404d-4744-a932-0658087f49c3
2007-05-05 01:55:07 +00:00
patacongo
f6ba15a866 Added serial driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@201 42af7a65-404d-4744-a932-0658087f49c3
2007-05-04 01:30:48 +00:00
patacongo
28728db69c Cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@200 42af7a65-404d-4744-a932-0658087f49c3
2007-05-03 10:42:13 +00:00
patacongo
8e19dbc9a5 Completes coding of basic interrupt handling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@199 42af7a65-404d-4744-a932-0658087f49c3
2007-05-03 00:29:56 +00:00
patacongo
eca2c452c4 Added some interrupt definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@198 42af7a65-404d-4744-a932-0658087f49c3
2007-05-02 01:14:06 +00:00
patacongo
ac23f2bd09 Added chip info
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@197 42af7a65-404d-4744-a932-0658087f49c3
2007-05-01 01:06:38 +00:00
patacongo
8f5fcc8b2f Low level UART support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@196 42af7a65-404d-4744-a932-0658087f49c3
2007-05-01 00:28:53 +00:00
patacongo
5f8cde796c Fix several typos.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@195 42af7a65-404d-4744-a932-0658087f49c3
2007-04-29 22:17:11 +00:00
patacongo
ed794c7b66 Changes to resulting previous merge of arch/c5471 and arch/dm320 into arch/arm and
also to adding lpc214x to arch/arm.


git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@194 42af7a65-404d-4744-a932-0658087f49c3
2007-04-29 21:50:53 +00:00
patacongo
fe9ddc4b1c Initial lpc214x support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@193 42af7a65-404d-4744-a932-0658087f49c3
2007-04-29 21:29:30 +00:00
1401 changed files with 235080 additions and 10256 deletions

44
COPYING Executable file
View File

@@ -0,0 +1,44 @@
/*************************************************************************
* *
* COPYING -- Describes the terms under which Nuttx is distributed. A *
* copy of the BSD-style licensing is included in this file. In my *
* words -- I believe that you should free to use NuttX in any *
* environmnet, private, private, commercial, open, closed, etc. *
* provided only that you repect the modest copyright notices as *
* described in license (below). Please feel free to contact me if you *
* have any licensing concerns. *
* *
*************************************************************************
* *
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved. *
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> *
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted provided that the following conditions *
* are met: *
* *
* 1. Redistributions of source code must retain the above copyright *
* notice, this list of conditions and the following disclaimer. *
* 2. Redistributions in binary form must reproduce the above copyright *
* notice, this list of conditions and the following disclaimer in *
* the documentation and/or other materials provided with the *
* distribution. *
* 3. Neither the name NuttX nor the names of its contributors may be *
* used to endorse or promote products derived from this software *
* without specific prior written permission. *
* *
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT *
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS *
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE *
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, *
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, *
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS *
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED *
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT *
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN *
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
* POSSIBILITY OF SUCH DAMAGE. *
* *
*************************************************************************/

521
ChangeLog

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

2263
Documentation/NuttShell.html Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -5,7 +5,7 @@
<body background="backgd.gif">
<table width="100%">
<tr>
<td width="210">
<td width="210" valign="top">
<a href="http://sourceforge.net/">
<img src="http://sflogo.sourceforge.net/sflogo.php?group_id=235&amp;type=5" width="210" height="62" border="0" alt="SourceForge"/>
</a>
@@ -13,22 +13,29 @@
<td>
<table width="100%">
<tr>
<td bgcolor="#e4e4e4">
<td bgcolor="#e4e4e4" colspan="2">
<big><b><i><font color="#3c34ec">NuttX RTOS</font></i></b></big>
</td>
</tr>
<tr>
<td>
<td valign="top">
<a href="http://sourceforge.net/projects/nuttx" target="_top">Project</a><br>
</td>
</tr>
<tr>
<td>
<a href="http://nuttx.sourceforge.net" target="_top">Home</a>
</td>
<td valign="top">
<a href="http://tech.groups.yahoo.com/group/nuttx" target="_top">Yahoo! Groups</a><br>
<a href="freeports.html">Free Ports</a><br>
</td>
</tr>
</table>
</td>
<td width="100" valign="top">
<a href="http://groups.yahoo.com/group/nuttx/join" target="_top">
<img src="http://us.i1.yimg.com/us.yimg.com/i/yg/img/i/us/ui/join.gif"
style="border: 0px;"
alt="Click to join nuttx"/>
</a>
</td>
</tr>
</body>
</html>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 766 B

BIN
Documentation/freeports.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@@ -0,0 +1,24 @@
<html>
<head>
<title>Free NuttX Ports</title>
</head>
<body background="backgd.gif">
<center>
<table border="1" width="80%" bgcolor="#eeeeee">
<tr>
<td width="210">
<a href="freeports.html" target="_blank">
<img src="freeports.gif" width="210" height="62" border="0"/>
</a>
</td>
<td>
If you have a hardware platform that you would like to see NuttX ported to then have I got a deal for you:
I am willing to port NuttX to run on your hardware <b><i>FREE</i></b>.
If you are interested, contact
<a href="http://sourceforge.net/users/patacongo/" target="_top">patacongo</a> at SourceForge.
<a href="NuttXBanner.html">&gt;&gt;back&lt;&lt;</a>.
</td>
</tr></table>
</body>
</html>

230
Makefile
View File

@@ -1,7 +1,7 @@
############################################################
############################################################################
# Makefile
#
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
@@ -31,23 +31,101 @@
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################
############################################################################
TOPDIR = ${shell pwd}
TOPDIR := ${shell pwd | sed -e 's/ /\\ /g'}
-include ${TOPDIR}/.config
-include ${TOPDIR}/Make.defs
# Default tools
ifeq ($(DIRLINK),)
DIRLINK = $(TOPDIR)/tools/link.sh
DIRUNLINK = $(TOPDIR)/tools/unlink.sh
endif
# Process architecture and board-specific directories
ARCH_DIR = arch/$(CONFIG_ARCH)
ARCH_SRC = $(ARCH_DIR)/src
ARCH_INC = $(ARCH_DIR)/include
BOARD_DIR = configs/$(CONFIG_ARCH_BOARD)
SUBDIRS = sched lib $(ARCH_SRC) mm fs drivers examples/$(CONFIG_EXAMPLE)
# Add-on directories. These may or may not be in place in the
# NuttX source tree (they must be specifically installed)
PCODE_DIR := ${shell if [ -r pcode/Makefile ]; then echo "pcode"; fi}
ADDON_DIRS := $(PCODE_DIR) $(NX_DIR)
# FSDIRS depend on file descriptor support; NONFSDIRS do not
# (except for parts of FSDIRS). We will exclude FSDIRS
# from the build if file descriptor support is disabled
NONFSDIRS = sched lib $(ARCH_SRC) mm examples/$(CONFIG_EXAMPLE) $(ADDON_DIRS)
FSDIRS = fs drivers
ifeq ($(CONFIG_NET),y)
NONFSDIRS += net netutils
endif
ifeq ($(CONFIG_NX),y)
NONFSDIRS += graphics
endif
# CLEANDIRS are the directories that will clean in. These are
# all directories that we know about.
# MAKEDIRS are the directories in which we will build targets
CLEANDIRS = $(NONFSDIRS) $(FSDIRS)
MAKEDIRS = $(NONFSDIRS)
ifeq ($(CONFIG_NFILE_DESCRIPTORS),0)
ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
MAKEDIRS += fs
endif
ifeq ($(CONFIG_NET),y)
MAKEDIRS += drivers
endif
else
MAKEDIRS += $(FSDIRS)
endif
# LINKLIBS is the list of NuttX libraries that is passed to the
# processor-specific Makefile to build the final target.
# Libraries in FSDIRS are excluded if file descriptor support
# is disabled.
LINKLIBS = sched/libsched$(LIBEXT) $(ARCH_SRC)/libarch$(LIBEXT) mm/libmm$(LIBEXT) \
fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT) lib/liblib$(LIBEXT) \
examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT)
lib/liblib$(LIBEXT) examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT)
ifeq ($(CONFIG_NET),y)
LINKLIBS += net/libnet$(LIBEXT) netutils/libnetutils$(LIBEXT)
endif
ifeq ($(CONFIG_NFILE_DESCRIPTORS),0)
ifneq ($(CONFIG_NSOCKET_DESCRIPTORS),0)
LINKLIBS += fs/libfs$(LIBEXT)
endif
ifeq ($(CONFIG_NET),y)
LINKLIBS += drivers/libdrivers$(LIBEXT)
endif
else
LINKLIBS += fs/libfs$(LIBEXT) drivers/libdrivers$(LIBEXT)
endif
ifneq ($(PCODE_DIR),)
LINKLIBS += $(PCODE_DIR)/libpcode$(LIBEXT)
endif
ifneq ($(NX_DIR),)
LINKLIBS += $(NX_DIR)/libnx$(LIBEXT)
endif
ifeq ($(CONFIG_NX),y)
LINKLIBS += graphics/libgraphics$(LIBEXT)
endif
# This is the name of the final target
BIN = nuttx$(EXEEXT)
all: $(BIN)
@@ -55,7 +133,7 @@ all: $(BIN)
# Build the mkconfig tool used to create include/nuttx/config.h
tools/mkconfig:
$(MAKE) -C tools -f Makefile.mkconfig TOPDIR=$(TOPDIR) mkconfig
@$(MAKE) -C tools -f Makefile.mkconfig TOPDIR="$(TOPDIR)" mkconfig
# Create the include/nuttx/config.h file
include/nuttx/config.h: $(TOPDIR)/.config tools/mkconfig
@@ -63,79 +141,39 @@ include/nuttx/config.h: $(TOPDIR)/.config tools/mkconfig
# link the arch/<arch-name>/include dir to include/arch
include/arch: Make.defs
@if [ -e include/arch ]; then \
if [ -h include/arch ]; then \
rm -f include/arch ; \
else \
echo "include/arch exists but is not a symbolic link" ; \
exit 1 ; \
fi ; \
fi
@ln -s $(TOPDIR)/$(ARCH_DIR)/include include/arch
@$(DIRLINK) $(TOPDIR)/$(ARCH_DIR)/include include/arch
# Link the configs/<board-name>/include dir to include/arch/board
include/arch/board: Make.defs include/arch
@if [ -e include/arch/board ]; then \
if [ -h include/arch/board ]; then \
rm -f include/arch/board ; \
else \
echo "include/arch/board exists but is not a symbolic link" ; \
exit 1 ; \
fi ; \
fi
@ln -s $(TOPDIR)/$(BOARD_DIR)/include include/arch/board
include/arch/board: include/arch Make.defs include/arch
@$(DIRLINK) $(TOPDIR)/$(BOARD_DIR)/include include/arch/board
# Link the configs/<board-name>/src dir to arch/<arch-name>/src/board
$(ARCH_SRC)/board: Make.defs
@if [ -h $(ARCH_SRC)/board ]; then \
rm -f $(ARCH_SRC)/board ; \
else \
if [ -e $(ARCH_SRC)/board ]; then \
echo "$(ARCH_SRC)/board exists but is not a symbolic link" ; \
exit 1 ; \
fi ; \
fi
@ln -s $(TOPDIR)/$(BOARD_DIR)/src $(ARCH_SRC)/board
@$(DIRLINK) $(TOPDIR)/$(BOARD_DIR)/src $(ARCH_SRC)/board
# Link arch/<arch-name>/include/<chip-name> to arch/<arch-name>/include/chip
$(ARCH_SRC)/chip: Make.defs
ifneq ($(CONFIG_ARCH_CHIP),)
@if [ -h $(ARCH_SRC)/chip ]; then \
rm -f $(ARCH_SRC)/chip ; \
else \
if [ -e $(ARCH_SRC)/chip ]; then \
echo "$(ARCH_SRC)/chip exists but is not a symbolic link" ; \
exit 1 ; \
fi ; \
fi
@ln -s $(CONFIG_ARCH_CHIP) $(ARCH_SRC)/chip
@$(DIRLINK) $(TOPDIR)/$(ARCH_SRC)/$(CONFIG_ARCH_CHIP) $(ARCH_SRC)/chip
endif
# Link arch/<arch-name>/src/<chip-name> to arch/<arch-name>/src/chip
$(ARCH_INC)/chip: Make.defs
include/arch/chip: include/arch Make.defs
ifneq ($(CONFIG_ARCH_CHIP),)
@if [ -e $(ARCH_INC)/chip ]; then \
if [ -h $(ARCH_INC)/chip ]; then \
rm -f $(ARCH_INC)/chip ; \
else \
echo "$(ARCH_INC)/chip exists but is not a symbolic link" ; \
exit 1 ; \
fi ; \
fi
@ln -s $(CONFIG_ARCH_CHIP) $(ARCH_INC)/chip
@$(DIRLINK) $(TOPDIR)/$(ARCH_INC)/$(CONFIG_ARCH_CHIP) include/arch/chip
endif
dirlinks: include/arch include/arch/board $(ARCH_SRC)/board $(ARCH_SRC)/chip $(ARCH_INC)/chip
dirlinks: include/arch include/arch/board include/arch/chip $(ARCH_SRC)/board $(ARCH_SRC)/chip
context: check_context include/nuttx/config.h dirlinks
clean_context:
@rm -f include/nuttx/config.h include/arch
@if [ -h include/arch ]; then rm -f include/arch ; fi
@if [ -h $(ARCH_INC)/board ]; then rm -f $(ARCH_INC)/board ; fi
@if [ -h $(ARCH_SRC)/board ]; then rm -f $(ARCH_SRC)/board ; fi
@if [ -h $(ARCH_INC)/chip ]; then rm -f $(ARCH_INC)/chip ; fi
@if [ -h $(ARCH_SRC)/chip ]; then rm -f $(ARCH_SRC)/chip ; fi
@rm -f include/nuttx/config.h
@$(DIRUNLINK) include/arch/board
@$(DIRUNLINK) include/arch/chip
@$(DIRUNLINK) include/arch
@$(DIRUNLINK) $(ARCH_SRC)/board
@$(DIRUNLINK) $(ARCH_SRC)/chip
check_context:
@if [ ! -e ${TOPDIR}/.config -o ! -e ${TOPDIR}/Make.defs ]; then \
@@ -145,54 +183,84 @@ check_context:
fi
sched/libsched$(LIBEXT): context
$(MAKE) -C sched TOPDIR=$(TOPDIR) libsched$(LIBEXT)
@$(MAKE) -C sched TOPDIR="$(TOPDIR)" libsched$(LIBEXT)
lib/liblib$(LIBEXT): context
$(MAKE) -C lib TOPDIR=$(TOPDIR) liblib$(LIBEXT)
@$(MAKE) -C lib TOPDIR="$(TOPDIR)" liblib$(LIBEXT)
$(ARCH_SRC)/libarch$(LIBEXT): context
$(MAKE) -C $(ARCH_SRC) TOPDIR=$(TOPDIR) libarch$(LIBEXT)
@$(MAKE) -C $(ARCH_SRC) TOPDIR="$(TOPDIR)" libarch$(LIBEXT)
mm/libmm$(LIBEXT): context
$(MAKE) -C mm TOPDIR=$(TOPDIR) libmm$(LIBEXT)
@$(MAKE) -C mm TOPDIR="$(TOPDIR)" libmm$(LIBEXT)
net/libnet$(LIBEXT): context
@$(MAKE) -C net TOPDIR="$(TOPDIR)" libnet$(LIBEXT)
netutils/libnetutils$(LIBEXT): context
@$(MAKE) -C netutils TOPDIR="$(TOPDIR)" libnetutils$(LIBEXT)
fs/libfs$(LIBEXT): context
$(MAKE) -C fs TOPDIR=$(TOPDIR) libfs$(LIBEXT)
@$(MAKE) -C fs TOPDIR="$(TOPDIR)" libfs$(LIBEXT)
drivers/libdrivers$(LIBEXT): context
$(MAKE) -C drivers TOPDIR=$(TOPDIR) libdrivers$(LIBEXT)
@$(MAKE) -C drivers TOPDIR="$(TOPDIR)" libdrivers$(LIBEXT)
pcode/libpcode$(LIBEXT): context
@$(MAKE) -C pcode TOPDIR="$(TOPDIR)" libpcode$(LIBEXT)
graphics/libgraphics$(LIBEXT): context
@$(MAKE) -C graphics TOPDIR="$(TOPDIR)" libgraphics$(LIBEXT)
examples/$(CONFIG_EXAMPLE)/lib$(CONFIG_EXAMPLE)$(LIBEXT): context
$(MAKE) -C examples/$(CONFIG_EXAMPLE) TOPDIR=$(TOPDIR) lib$(CONFIG_EXAMPLE)$(LIBEXT)
@$(MAKE) -C examples/$(CONFIG_EXAMPLE) TOPDIR="$(TOPDIR)" lib$(CONFIG_EXAMPLE)$(LIBEXT)
$(BIN): context depend $(LINKLIBS)
$(MAKE) -C $(ARCH_SRC) TOPDIR=$(TOPDIR) LINKLIBS="$(LINKLIBS)" $(BIN)
@$(MAKE) -C $(ARCH_SRC) TOPDIR="$(TOPDIR)" LINKLIBS="$(LINKLIBS)" $(BIN)
@if [ -w /tftpboot ] ; then \
cp -f $(TOPDIR)/$@ /tftpboot/$@.${CONFIG_ARCH}; \
fi
ifeq ($(CONFIG_RRLOAD_BINARY),y)
@$(TOPDIR)/tools/mkimage.sh --Prefix $(CROSSDEV) $(TOPDIR)/$@ $(TOPDIR)/$@.rr
@if [ -w /tftpboot ] ; then \
cp -f $(TOPDIR)/$@.rr /tftpboot/$@.rr.${CONFIG_ARCH}; \
fi
endif
ifeq ($(CONFIG_INTELHEX_BINARY),y)
@$(OBJCOPY) -O ihex $(TOPDIR)/$@ $(TOPDIR)/$@.ihx
endif
ifeq ($(CONFIG_MOTOROLA_SREC),y)
@$(OBJCOPY) -O srec $(TOPDIR)/$@ $(TOPDIR)/$@.srec
endif
ifeq ($(CONFIG_RAW_BINARY),y)
@$(OBJCOPY) -O binary $(TOPDIR)/$@ $(TOPDIR)/$@.bin
endif
depend:
@for dir in $(SUBDIRS) ; do \
$(MAKE) -C $$dir TOPDIR=$(TOPDIR) depend ; \
@for dir in $(MAKEDIRS) ; do \
$(MAKE) -C $$dir TOPDIR="$(TOPDIR)" depend ; \
done
subdir_clean:
@for dir in $(SUBDIRS) ; do \
@for dir in $(CLEANDIRS) ; do \
if [ -e $$dir/Makefile ]; then \
$(MAKE) -C $$dir TOPDIR=$(TOPDIR) clean ; \
$(MAKE) -C $$dir TOPDIR="$(TOPDIR)" clean ; \
fi \
done
$(MAKE) -C tools -f Makefile.mkconfig TOPDIR=$(TOPDIR) clean
$(MAKE) -C mm -f Makefile.test TOPDIR=$(TOPDIR) clean
@$(MAKE) -C tools -f Makefile.mkconfig TOPDIR="$(TOPDIR)" clean
@$(MAKE) -C mm -f Makefile.test TOPDIR="$(TOPDIR)" clean
clean: subdir_clean
rm -f $(BIN) $(BIN).* mm_test *.map *~
@rm -f $(BIN) nuttx.* mm_test *.map *~
subdir_distclean:
@for dir in $(SUBDIRS) ; do \
@for dir in $(CLEANDIRS) ; do \
if [ -e $$dir/Makefile ]; then \
$(MAKE) -C $$dir TOPDIR=$(TOPDIR) distclean ; \
$(MAKE) -C $$dir TOPDIR="$(TOPDIR)" distclean ; \
fi \
done
distclean: clean subdir_distclean clean_context
rm -f Make.defs setenv.sh .config
@rm -f Make.defs setenv.sh .config

File diff suppressed because it is too large Load Diff

811
TODO

File diff suppressed because it is too large Load Diff

View File

@@ -123,17 +123,17 @@ src/Makefile
Supported Architectures
^^^^^^^^^^^^^^^^^^^^^^^
arch/sim
arch/sim - Linux/Cygwin simulation
A user-mode port of NuttX to the x86 Linux platform is available.
The purpose of this port is primarily to support OS feature developement.
The purpose of this port is primarily to support OS feature development.
This port does not support interrupts or a real timer (and hence no
round robin scheduler) Otherwise, it is complete.
arch/arm
arch/arm - ARM-based micro-controllers
This directory holds common ARM architectures. At present, this includes
the following subdirectories:
arch/arm/include and arch/arm/common
arch/arm/include and arch/arm/src/common
Common ARM logic.
arch/arm/include/c5471 and arch/arm/src/c5471
@@ -146,15 +146,67 @@ arch/arm
NuttX operates on the ARM9EJS of this dual core processor. This port
complete, verified, and included in the NuttX release 0.2.1.
arch/arm/include/lpc214x and arch/arm/src/lpc214x
These directories provide support for NXP LPC214x family of
processors. This port boots and passes the OS test (examples/ostest).
The port is complete and verifed. As of NuttX 0.3.17, the port includes:
timer interrupts, serial console, USB driver, and SPI-based MMC/SD card
support. A verifed NuttShell (NSH) configuration is also available.
arch/arm/include/str71x and arch/arm/src/str71x
These directories provide support for the STMicro STR71x processors.
Coding is complete on the basic port (boot logic, system time, serial console),
but no testing has been performed due to some problems I am having with my
JTAG wiggler and OpenOCD on Linux.
arch/m68322
A work in progress.
STATUS: Stalled for the moment.
arch/pjrc-8051
arch/sh - SuperH and related Hitachi/Renesas microcontrollers
arch/sh/include and arch/sh/src/common
Common SuperH logic.
arch/sh/include/shs and arch/sh/src/sh1
Support for the SH-1 processor.
arch/pjrc-8051 - 8051/52 microcontrollers
8051 Microcontroller. This port is not quite ready for prime time.
arch/z16 - ZiLOG 16-bit processors
This directory holds related, 16-bit architectures from ZiLOG. At
present, this includes the following subdirectories:
arch/z16/include and arch/z16/src/common
Common microcontroller logic.
arch/z16/include/z16f and arch/z16/src/z16f
ZiLOG z16f Microcontroller.
STATUS: Released in nuttx-0.3.7. Fully functional other than issues
addressed in ${TOPDIR}/TODO.
arch/z80 - ZiLOG 8-bit microcontrollers
This directory holds related, 8-bit architectures from ZiLOG. At
present, this includes the following subdirectories:
arch/z80/include and arch/z80/src/common
Common microcontroller logic.
arch/z80/include/z80 and arch/z80/src/z80
Classic ZiLOG z80 Microcontroller.
STATUS: Functional with no known defects. There are still several
OS features that have not yet been tested (e.g., networking).
arch/z80/include/z8 and arch/z80/src/z8
ZiLOG Z8Encore! Microcontroller
arch/z80/include/ez80 and arch/z80/src/ez80
ZiLOG ez80 Acclaim! Microcontroller
The following architecture directories are deprecated. They have been
replaced by the logic in arm/arm and will deleted when arch/arm is fully
verified.
replaced by the logic in arm/arm and will deleted at some point in the
future.
arch/c5471
Replaced with arch/arm/include/c5471 and arch/arm/src/c5471

View File

@@ -1,7 +1,7 @@
/************************************************************
* arch/arch.h
/****************************************************************************
* arch/arm/include/arch.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,38 +31,38 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through nuttx/arch.h
*/
#ifndef __ARCH_ARCH_H
#define __ARCH_ARCH_H
#ifndef __ARCH_ARM_INCLUDE_ARCH_H
#define __ARCH_ARM_INCLUDE_ARCH_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Inline functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Types
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Variables
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Function Prototypes
************************************************************/
****************************************************************************/
#ifdef __cplusplus
#define EXTERN extern "C"
@@ -76,5 +76,4 @@ extern "C" {
}
#endif
#endif /* __ARCH_ARCH_H */
#endif /* __ARCH_ARM_INCLUDE_ARCH_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* arch/c5471/irq.h
/****************************************************************************
* arch/arm/include/c5471/irq.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,22 +31,22 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_C5471_IRQ_H
#define __ARCH_C5471_IRQ_H
#ifndef __ARCH_ARM_INCLUDE_C5471_IRQ_H
#define __ARCH_ARM_INCLUDE_C5471_IRQ_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* C5471 Interrupts */
@@ -71,21 +71,21 @@
#define C5471_IRQ_SYSTIMER C5471_IRQ_TIMER2
#define NR_IRQS (C5471_IRQ_API+1)
/************************************************************
/****************************************************************************
* Public Types
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Inline functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Variables
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Function Prototypes
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
#ifdef __cplusplus
@@ -101,5 +101,5 @@ extern "C" {
#endif
#endif
#endif /* __ARCH_C5471_IRQ_H */
#endif /* __ARCH_ARM_INCLUDE_C5471_IRQ_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* arch/dm320/irq.h
/****************************************************************************
* arch/arm/include/dm320/irq.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,22 +31,22 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_DM320_IRQ_H
#define __ARCH_DM320_IRQ_H
#ifndef __ARCH_ARM_INCLUDE_DM320_IRQ_H
#define __ARCH_ARM_INCLUDE_DM320_IRQ_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* DM320 Interrupts */
@@ -100,21 +100,21 @@
#define DM320_IRQ_SYSTIMER DM320_IRQ_TMR0
#define NR_IRQS (DM320_IRQ_RSV+1)
/************************************************************
/****************************************************************************
* Public Types
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Inline functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Variables
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Function Prototypes
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
#ifdef __cplusplus
@@ -130,5 +130,5 @@ extern "C" {
#endif
#endif
#endif /* __ARCH_DM320_IRQ_H */
#endif /* __ARCH_ARM_INCLUDE_DM320_IRQ_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* arch/irq.h
/****************************************************************************
* arch/arm/include/irq.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,24 +31,25 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_IRQ_H
#define __ARCH_IRQ_H
#ifndef __ARCH_ARM_INCLUDE_IRQ_H
#define __ARCH_ARM_INCLUDE_IRQ_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/irq.h>
#include <arch/chip/irq.h>
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* IRQ Stack Frame Format:
*
@@ -102,9 +103,9 @@
#define REG_LR REG_R14
#define REG_PC REG_R15
/************************************************************
/****************************************************************************
* Public Types
************************************************************/
****************************************************************************/
/* This struct defines the way the registers are stored. We
* need to save:
@@ -133,6 +134,7 @@ struct xcptcontext
* are pending signals to be processed.
*/
#ifndef CONFIG_DISABLE_SIGNALS
void *sigdeliver; /* Actual type is sig_deliver_t */
/* These are saved copies of LR and CPSR used during
@@ -141,6 +143,7 @@ struct xcptcontext
uint32 saved_pc;
uint32 saved_cpsr;
#endif
/* Register save area */
@@ -148,9 +151,9 @@ struct xcptcontext
};
#endif
/************************************************************
/****************************************************************************
* Inline functions
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
@@ -200,13 +203,13 @@ static inline void system_call(swint_t func, int parm1,
}
#endif
/************************************************************
/****************************************************************************
* Public Variables
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Function Prototypes
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
#ifdef __cplusplus
@@ -222,5 +225,5 @@ extern "C" {
#endif
#endif
#endif /* __ARCH_IRQ_H */
#endif /* __ARCH_ARM_INCLUDE_IRQ_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* limits.h
/****************************************************************************
* arch/arm/include/limits.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,18 +31,18 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
#ifndef __ARCH_LIMITS_H
#define __ARCH_LIMITS_H
#ifndef __ARCH_ARM_INCLUDE_LIMITS_H
#define __ARCH_ARM_INCLUDE_LIMITS_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
#define CHAR_BIT 8
#define SCHAR_MIN 0x80
@@ -72,4 +72,4 @@
#define LLONG_MIN 0x7fffffffffffffff
#define ULLONG_MAX 0xffffffffffffffff
#endif /* __ARCH_LIMITS_H */
#endif /* __ARCH_ARM_INCLUDE_LIMITS_H */

View File

@@ -0,0 +1,126 @@
/****************************************************************************
* arch/lpc214x/irq.h
*
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
****************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_LPC214X_IRQ_H
#define __ARCH_LPC214X_IRQ_H
/****************************************************************************
* Included Files
****************************************************************************/
/****************************************************************************
* Definitions
****************************************************************************/
/* LPC214X Interrupts */
#define LPC214X_WDT_IRQ 0 /* Watchdog */
#define LPC214X_RESERVED_IRQ 1 /* SWI only */
#define LPC214X_DBGCOMMRX_IRQ 2 /* Embedded debug */
#define LPC214X_DBGCOMMTX_IRQ 3 /* Embedded debug */
#define LPC214X_TIMER0_IRQ 4 /* Timer 0 */
#define LPC214X_TIMER1_IRQ 5 /* Timer 1 */
#define LPC214X_UART0_IRQ 6 /* UART 0 */
#define LPC214X_UART1_IRQ 7 /* UART 1 */
#define LPC214X_PWM0_IRQ 8 /* PWM 0 */
#define LPC214X_I2C0_IRQ 9 /* I2C 0 */
#define LPC214X_SPI0_IRQ 10 /* SPI 0 */
#define LPC214X_SPI1_IRQ 11 /* SPI 1 */
#define LPC214X_PLL_IRQ 12 /* PLL Lock IRQ */
#define LPC214X_RTC_IRQ 13 /* Real Time Clock */
#define LPC214X_EINT0_IRQ 14 /* External interrupt 0 */
#define LPC214X_EINT1_IRQ 15 /* External interrupt 1 */
#define LPC214X_EINT2_IRQ 16 /* External interrupt 2 */
#define LPC214X_EINT3_IRQ 17 /* External interrupt 3 */
#define LPC214X_ADC0_IRQ 18 /* ADC 0 */
#define LPC214X_I2C1_IRQ 19 /* I2C 1 */
#define LPC214X_BOD_IRQ 20 /* Brown Out Detect */
#define LPC214X_ADC1_IRQ 21 /* ADC 1 */
#define LPC214X_USB_IRQ 22 /* USB */
#define LPC214X_IRQ_SYSTIMER LPC214X_TIMER0_IRQ
#define NR_IRQS 23
/* There are 16 vectored interrupts. If vectored interrupts are enabled, the
* following will be used by the system.
*/
#define LPC214X_SYSTIMER_VEC 0 /* System timer */
/****************************************************************************
* Public Types
****************************************************************************/
#ifndef __ASSEMBLY__
typedef void (*vic_vector_t)(uint32 *regs);
#endif
/****************************************************************************
* Inline functions
****************************************************************************/
/****************************************************************************
* Public Variables
****************************************************************************/
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
#ifndef __ASSEMBLY__
#ifdef __cplusplus
#define EXTERN extern "C"
extern "C" {
#else
#define EXTERN extern
#endif
#ifndef CONFIG_VECTORED_INTERRUPTS
EXTERN void up_attach_vector(int irq, int vector, vic_vector_t handler);
EXTERN void up_detach_vector(int vector);
#endif
#undef EXTERN
#ifdef __cplusplus
}
#endif
#endif
#endif /* __ARCH_LPC214X_IRQ_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* arch/serial.h
/****************************************************************************
* arch/arm/include/serial.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,18 +31,18 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
#ifndef __ARCH_SERIAL_H
#define __ARCH_SERIAL_H
#ifndef __ARCH_ARM_INCLUDE_SERIAL_H
#define __ARCH_ARM_INCLUDE_SERIAL_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* IOCTL commands supported by the ARM serial driver */
@@ -50,12 +50,12 @@
#define TIOCCBRK 0x5402 /* " " " " */
#define TIOCSERGSTRUCT 0x5403 /* Get up_dev_t for port */
/************************************************************
/****************************************************************************
* Public Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Functions
************************************************************/
****************************************************************************/
#endif /* __ARCH_SERIAL_H */
#endif /* __ARCH_ARM_INCLUDE_SERIAL_H */

View File

@@ -0,0 +1,120 @@
/************************************************************************************
* arch/arm/include/str71x/irq.h
*
* Copyright (C) 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through nuttx/irq.h
*/
#ifndef __ARCH_ARM_INCLUDE_STR71X_IRQ_H
#define __ARCH_ARM_INCLUDE_STR71X_IRQ_H
/************************************************************************************
* Included Files
************************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
/************************************************************************************
* Definitions
************************************************************************************/
/* IRQ channels */
#define STR71X_IRQ_T0TIMI (0)
#define STR71X_IRQ_FLASH (1)
#define STR71X_IRQ_RCCU (2)
#define STR71X_IRQ_RTC (3)
#define STR71X_IRQ_WDG (4)
#define STR71X_IRQ_XTI (5)
#define STR71X_IRQ_USBHP (6)
#define STR71X_IRQ_I2C0ITERR (7)
#define STR71X_IRQ_I2C1ITERR (8)
#define STR71X_IRQ_UART0 (9)
#define STR71X_IRQ_UART1 (10)
#define STR71X_IRQ_UART2 (11)
#define STR71X_IRQ_UART3 (12)
#define STR71X_IRQ_SPI0 (13)
#define STR71X_IRQ_SPI1 (14)
#define STR71X_IRQ_I2C0 (15)
#define STR71X_IRQ_I2C1 (16)
#define STR71X_IRQ_CAN (17)
#define STR71X_IRQ_ADC (18)
#define STR71X_IRQ_T1TIMI (19)
#define STR71X_IRQ_T2TIMI (20)
#define STR71X_IRQ_T3TIMI (21)
#define STR71X_IRQ_HDLC (25)
#define STR71X_IRQ_USBLP (26)
#define STR71X_IRQ_T0TOI (29)
#define STR71X_IRQ_T0OC1 (30)
#define STR71X_IRQ_T0OC2 (31)
#define STR71X_IRQ_SYSTIMER STR71X_IRQ_T0TIMI
#define NR_IRQS 32
/* FIQ channels */
#define STR71X_FIQ_T0TIMI (0X00000001)
#define STR71X_FIQ_WDG (0X00000002)
#define STR71X_FIQ_WDGT0TIMIS (0X00000003)
/************************************************************************************
* Public Types
************************************************************************************/
/************************************************************************************
* Public Data
************************************************************************************/
#ifndef __ASSEMBLY__
#ifdef __cplusplus
#define EXTERN extern "C"
extern "C" {
#else
#define EXTERN extern
#endif
/************************************************************************************
* Public Functions
************************************************************************************/
#undef EXTERN
#ifdef __cplusplus
}
#endif
#endif
#endif /* __ARCH_ARM_INCLUDE_STR71X_IRQ_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* arch/types.h
/****************************************************************************
* arch/arm/include/types.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,26 +31,26 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/* This file should never be included directed but, rather,
* only indirectly through sys/types.h
/* This file should never be included directed but, rather, only indirectly
* through sys/types.h
*/
#ifndef __ARCH_TYPES_H
#define __ARCH_TYPES_H
#ifndef __ARCH_ARM_INCLUDE_TYPES_H
#define __ARCH_ARM_INCLUDE_TYPES_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Type Declarations
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
@@ -75,8 +75,8 @@ typedef unsigned int irqstate_t;
#endif /* __ASSEMBLY__ */
/************************************************************
/****************************************************************************
* Global Function Prototypes
************************************************************/
****************************************************************************/
#endif /* __ARCH_TYPES_H */
#endif /* __ARCH_ARM_INCLUDE_TYPES_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* watchdog.h
/****************************************************************************
* arch/arm/include/watchdog.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,33 +31,33 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
#ifndef __ARCH_WATCHDOG_H
#define __ARCH_WATCHDOG_H
#ifndef __ARCH_ARM_INCLUDE_WATCHDOG_H
#define __ARCH_ARM_INCLUDE_WATCHDOG_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* IOCTL commands supported by the C5471 watchdog driver */
#define WDIOC_KEEPALIVE 0x5701 /* Restart the watchdog timer */
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Functions
************************************************************/
****************************************************************************/
#endif /* __ARCH_WATCHDOG_H */
#endif /* __ARCH_ARM_INCLUDE_WATCHDOG_H */

View File

@@ -1,7 +1,7 @@
############################################################################
# Makefile
# arch/arm/src/Makefile
#
# Copyright (C) 2007 Gregory Nutt. All rights reserved.
# Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name Gregory Nutt nor the names of its contributors may be
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
@@ -36,7 +36,6 @@
-include $(TOPDIR)/Make.defs
-include chip/Make.defs
MKDEP = $(TOPDIR)/tools/mkdeps.sh
ARCH_SRCDIR = $(TOPDIR)/arch/$(CONFIG_ARCH)/src
CFLAGS += -I$(ARCH_SRCDIR)/chip -I$(ARCH_SRCDIR)/common -I$(TOPDIR)/sched
@@ -67,23 +66,28 @@ VPATH = chip:common
all: $(HEAD_OBJ) libarch$(LIBEXT)
$(AOBJS) $(HEAD_AOBJ): %$(OBJEXT): %.S
$(CC) -c $(CFLAGS) -D__ASSEMBLY__ $< -o $@
$(call ASSEMBLE, $<, $@)
$(COBJS): %$(OBJEXT): %.c
$(CC) -c $(CFLAGS) $< -o $@
$(call COMPILE, $<, $@)
libarch$(LIBEXT): $(OBJS)
@( for obj in $(OBJS) ; do \
$(AR) $@ $${obj} || \
{ echo "$(AR) $@ $obj FAILED!" ; exit 1 ; } ; \
$(call ARCHIVE, $@, $${obj}); \
done ; )
board/libboard$(LIBEXT):
$(MAKE) -C board TOPDIR=$(TOPDIR) libboard$(LIBEXT)
$(MAKE) -C board TOPDIR="$(TOPDIR)" libboard$(LIBEXT)
nuttx: $(HEAD_AOBJ) board/libboard$(LIBEXT)
$(LD) --entry=__start $(LDFLAGS) $(LDPATHES) -L$(BOARDDIR) -o $(TOPDIR)/$@ $(HEAD_AOBJ) \
--start-group $(LDLIBS) -lboard --end-group $(EXTRA_LIBS) $(LIBGCC)
@echo "LD: nuttx"
@$(LD) --entry=__start $(LDFLAGS) $(LDPATHES) -L$(BOARDDIR) -o $(TOPDIR)/$@ $(HEAD_AOBJ) \
--start-group $(LDLIBS) -lboard --end-group $(EXTRA_LIBS) $(LIBGCC)
ifeq ($(CONFIG_BOOT_FROM_FLASH),y)
@export flashloc=`$(OBJDUMP) --all-headers $(TOPDIR)/$@ | grep _eronly | cut -d' ' -f1`; \
$(OBJCOPY) --adjust-section-vma=.data=0x$$flashloc $(TOPDIR)/$@ $(TOPDIR)/$@.flashimage
@mv $(TOPDIR)/$@.flashimage $(TOPDIR)/$@
endif
@$(NM) $(TOPDIR)/$@ | \
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
sort > $(TOPDIR)/System.map
@@ -92,32 +96,26 @@ nuttx: $(HEAD_AOBJ) board/libboard$(LIBEXT)
$(OBJCOPY) --adjust-section-vma=.vector=0x$$vflashstart $(TOPDIR)/$@ $(TOPDIR)/$@.flashimage; \
mv $(TOPDIR)/$@.flashimage $(TOPDIR)/$@; \
fi
ifeq ($(CONFIG_RRLOAD_BINARY),y)
@$(TOPDIR)/tools/mkimage.sh --Prefix $(CROSSDEV) $(TOPDIR)/$@ $(TOPDIR)/$@.rr
@if [ -w /tftpboot ] ; then \
cp -f $(TOPDIR)/$@.rr /tftpboot/$@.rr.${CONFIG_ARCH}; \
fi
endif
.depend: Makefile $(SRCS)
.depend: Makefile chip/Make.defs $(SRCS)
@if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR=$(TOPDIR) depend ; \
if
$(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
$(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi
@$(MKDEP) --dep-path chip --dep-path common $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
@touch $@
depend: .depend
clean:
@if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR=$(TOPDIR) clean ; \
$(MAKE) -C board TOPDIR="$(TOPDIR)" clean ; \
fi
@rm -f libarch$(LIBEXT) *~
@if [ ! -z "$(OBJEXT)" ]; then rm -f *$(OBJEXT); fi
@rm -f libarch$(LIBEXT) *~ .*.swp
$(call CLEAN)
distclean: clean
@if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR=$(TOPDIR) distclean ; \
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi
@rm -f Make.dep .depend

View File

@@ -37,12 +37,13 @@ HEAD_ASRC = up_nommuhead.S
CMN_ASRCS = up_saveusercontext.S up_fullcontextrestore.S
CMN_CSRCS = up_allocateheap.c up_assert.c up_blocktask.c up_copystate.c \
up_createstack.c up_dataabort.c up_delay.c up_exit.c up_idle.c \
up_initialize.c up_initialstate.c up_interruptcontext.c \
up_prefetchabort.c up_releasepending.c up_releasestack.c \
up_reprioritizertr.c up_schedulesigaction.c up_sigdeliver.c \
up_syscall.c up_unblocktask.c up_undefinedinsn.c up_usestack.c
up_createstack.c up_dataabort.c up_mdelay.c up_udelay.c up_doirq.c \
up_exit.c up_idle.c up_initialize.c up_initialstate.c \
up_interruptcontext.c up_prefetchabort.c up_releasepending.c \
up_releasestack.c up_reprioritizertr.c up_schedulesigaction.c \
up_sigdeliver.c up_syscall.c up_unblocktask.c \
up_undefinedinsn.c up_usestack.c
CHIP_ASRCS = c5471_lowputc.S c5471_vectors.S
CHIP_CSRCS = c5471_doirq.c c5471_irq.c c5471_serial.c c5471_timerisr.c \
c5471_watchdog.c
CHIP_CSRCS = c5471_irq.c c5471_serial.c c5471_timerisr.c c5471_watchdog.c \
c5471_ethernet.c

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
/**************************************************************************
* c5471/c5471_lowputc.S
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
/********************************************************************
* c5471/c5471_vectors.S
/************************************************************************************
* arch/arm/src/c5471/c5471_vectors.S
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,23 +31,23 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
********************************************************************/
************************************************************************************/
/********************************************************************
/************************************************************************************
* Included Files
********************************************************************/
************************************************************************************/
#include <nuttx/config.h>
#include <nuttx/irq.h>
#include "up_arch.h"
/********************************************************************
/************************************************************************************
* Definitions
********************************************************************/
************************************************************************************/
/********************************************************************
/************************************************************************************
* Global Data
********************************************************************/
************************************************************************************/
.data
g_irqtmp:
@@ -60,29 +60,29 @@ g_aborttmp:
.word 0 /* Saved lr */
.word 0 /* Saved spsr */
/********************************************************************
/************************************************************************************
* Assembly Macros
********************************************************************/
************************************************************************************/
/********************************************************************
/************************************************************************************
* Private Functions
********************************************************************/
************************************************************************************/
.text
/********************************************************************
/************************************************************************************
* Public Functions
********************************************************************/
************************************************************************************/
.text
/********************************************************************
/************************************************************************************
* Name: up_vectorirq
*
* Description:
* Interrupt excetpion. Entered in IRQ mode with spsr = SVC
* CPSR, lr = SVC PC
********************************************************************/
************************************************************************************/
.globl up_vectorirq
.type up_vectorirq, %function
@@ -156,7 +156,15 @@ up_vectorirq:
mov fp, #0 /* Init frame pointer */
mov r1, sp /* Get r1=xcp */
bl c5471_doirq /* Call the handler */
#if CONFIG_ARCH_INTERRUPTSTACK > 3
ldr sp, .Lirqstackbase /* SP = interrupt stack base */
str r1, [sp] /* Save the user stack pointer */
bl up_doirq /* Call the handler */
ldr sp, [sp] /* Restore the user stack pointer */
#else
bl up_doirq /* Call the handler */
#endif
/* Restore the CPSR, SVC modr registers and return */
.Lnoirqset:
@@ -166,15 +174,18 @@ up_vectorirq:
.Lirqtmp:
.word g_irqtmp
#if CONFIG_ARCH_INTERRUPTSTACK > 3
.Lirqstackbase:
.word up_stackbase
#endif
.align 5
/********************************************************************
/************************************************************************************
* Function: up_vectorswi
*
* Description:
* SWI interrupt. We enter the SWI in SVC mode
********************************************************************/
************************************************************************************/
.globl up_vectorswi
.type up_vectorswi, %function
@@ -222,7 +233,7 @@ up_vectorswi:
.align 5
/********************************************************************
/************************************************************************************
* Name: up_vectordata
*
* Description:
@@ -230,7 +241,7 @@ up_vectorswi:
* abort handler. This function is entered in ABORT mode
* with spsr = SVC CPSR, lr = SVC PC
*
********************************************************************/
************************************************************************************/
.globl up_vectordata
.type up_vectordata, %function
@@ -290,13 +301,13 @@ up_vectordata:
.align 5
/********************************************************************
/************************************************************************************
* Name: up_vectorprefetch
*
* Description:
* Prefetch abort exception. Entered in ABT mode with
* spsr = SVC CPSR, lr = SVC PC
********************************************************************/
************************************************************************************/
.globl up_vectorprefetch
.type up_vectorprefetch, %function
@@ -356,14 +367,14 @@ up_vectorprefetch:
.align 5
/********************************************************************
/************************************************************************************
* Name: up_vectorundefinsn
*
* Description:
* Undefined instruction entry exception. Entered in
* UND mode, spsr = SVC CPSR, lr = SVC PC
*
********************************************************************/
************************************************************************************/
.globl up_vectorundefinsn
.type up_vectorundefinsn, %function
@@ -422,28 +433,50 @@ up_vectorundefinsn:
.align 5
/********************************************************************
/************************************************************************************
* Name: up_vectorfiq
*
* Description:
* Shouldn't happen
********************************************************************/
************************************************************************************/
.globl up_vectorfiq
.type up_vectorfiq, %function
up_vectorfiq:
subs pc, lr, #4
/********************************************************************
/************************************************************************************
* Name: up_vectoraddrexcption
*
* Description:
* Shouldn't happen
*
********************************************************************/
************************************************************************************/
.globl up_vectoraddrexcptn
.type up_vectoraddrexcptn, %function
up_vectoraddrexcptn:
b up_vectoraddrexcptn
/************************************************************************************
* Name: up_interruptstack/g_userstack
*
* Description:
* Shouldn't happen
*
************************************************************************************/
#if CONFIG_ARCH_INTERRUPTSTACK > 3
.bss
.align 4
.globl g_userstack
.type g_userstack, object
up_interruptstack:
.skip ((CONFIG_ARCH_INTERRUPTSTACK & ~3) - 4)
g_userstack:
up_stackbase:
.skip 4
.size g_userstack, 4
.size up_interruptstack, (CONFIG_ARCH_INTERRUPTSTACK & ~3)
#endif
.end

View File

@@ -365,7 +365,7 @@ int up_wdtinit(void)
/* Register as /dev/wdt */
ret = register_inode("/dev/wdt", &g_wdtops, 0666, NULL);
ret = register_driver("/dev/wdt", &g_wdtops, 0666, NULL);
if (ret)
{
return ERROR;
@@ -384,7 +384,7 @@ int up_wdtinit(void)
ret = irq_attach(C5471_IRQ_WATCHDOG, wdt_interrupt);
if (ret)
{
unregister_inode("/dev/wdt");
unregister_driver("/dev/wdt");
return ERROR;
}

View File

@@ -1,4 +1,4 @@
/************************************************************
/****************************************************************************
* c5471/chip.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
@@ -31,20 +31,61 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
#ifndef __C5471_CHIP_H
#define __C5471_CHIP_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* UARTs ****************************************************/
#define EIM_RAM_START 0xffd00000
/* Ethernet Interface Module (EIM) ******************************************/
#define EIM_CTRL 0xffff0000 /* ESM control register */
#define EIM_STATUS 0xffff0004 /* ESM status register */
#define EIM_CPU_TXBA 0xffff0008 /* CPU TX descriptors base address */
#define EIM_CPU_RXBA 0xffff000c /* CPU RX descriptors base address */
#define EIM_BUFSIZE 0xffff0010 /* Packet buffer size register */
#define EIM_CPU_FILTER 0xffff0014 /* CPU filtering contol registers */
#define EIM_CPU_DAHI 0xffff0018 /* CPU destination address (HI) */
#define EIM_CPU_DALO 0xffff001c /* CPU destination address (LO) */
#define EIM_MFVHI 0xffff0020 /* Multicast filter valid (HI) */
#define EIM_MFVLO 0xffff0024 /* Multicast filter valid (LO) */
#define EIM_MFMHI 0xffff0028 /* Multicast filter mask (HI) */
#define EIM_MFMLO 0xffff002c /* Multicast filter mask (LO) */
#define EIM_RXTH 0xffff0030 /* RX threshold register */
#define EIM_CPU_RXREADY 0xffff0034 /* CPU RX ready register */
#define EIM_INTEN 0xffff0038 /* ESM interrupt enable register */
#define EIM_ENET0_TXDESC 0xffff0040 /* ENET0 TX Queue pointer */
#define EIM_ENET0_RXDESC 0xffff0044 /* ENET0 RX Queue pointer */
#define EIM_CPU_TXDESC 0xffff0050 /* CPU TX Queue pointer */
#define EIM_CPU_RXDESC 0xffff0054 /* CPU RX Queue pointer */
#define ENET0_MODE 0xffff0100 /* Mode register */
#define ENET0_BOFFSEED 0xffff0104 /* Backoff seed register */
#define ENET0_BCOUNT 0xffff0108 /* Backoff count register */
#define ENET0_FLWPAUSE 0xffff010c /* TX flow pause count register */
#define ENET0_FLWCONTROL 0xffff0110 /* Flow control register */
#define ENET0_VTYPE 0xffff0114 /* VTYPE tag register */
#define ENET0_SEISR 0xffff0118 /* System error int status register */
#define ENET0_TXBUFRDY 0xffff011c /* TX descripter buffer ready */
#define ENET0_TDBA 0xffff0120 /* TX descriptor base address */
#define ENET0_RDBA 0xffff0124 /* RX descriptor base address */
#define ENET0_PARHI 0xffff0128 /* Dest phys address match (HI) */
#define ENET0_PARLO 0xffff012c /* Dest phys address match (LO) */
#define ENET0_LARHI 0xffff0130 /* Log address hash filter (HI) */
#define ENET0_LARLO 0xffff0134 /* Log address hash filter (LO) */
#define ENET0_ADRMODE_EN 0xffff0138 /* Address mode enable register */
#define ENET0_DRP 0xffff013c /* Desc ring poll interval count */
/* UARTs ********************************************************************/
#define UART_IRDA_BASE 0xffff0800
#define UART_MODEM_BASE 0xffff1000
@@ -110,7 +151,7 @@
#define UART_MODEM_RDPTR_UTX 0xffff1064 /* TX FIFO Read Pointer Register */
#define UART_MODEM_WRPTR_UTX 0xffff1068 /* TX FIFO Write Pointer Register */
/* UART Settings ********************************************/
/* UART Settings ************************************************************/
/* Miscellaneous UART settings. */
@@ -164,13 +205,13 @@
#define MDR_AUTOBAUDING_MODE 0x00000002 /* Modem UART only */
#define MDR_RESET_MODE 0x00000007 /* Both IrDA and Modem UARTs */
/* SPI ******************************************************/
/* SPI **********************************************************************/
#define MAX_SPI 3
#define SPI_REGISTER_BASE 0xffff2000
/* GIO ******************************************************/
/* GIO **********************************************************************/
#define MAX_GIO (35)
@@ -211,7 +252,7 @@
#define KBGPIO_EN 0xffff2914 /* Selects register for muxed
* KBGPIOs */
/* Timers ***************************************************/
/* Timers *******************************************************************/
#define C5471_TIMER0_CTRL 0xffff2a00
#define C5471_TIMER0_CNT 0xffff2a04
@@ -241,8 +282,8 @@
#define ILR_IRQ3_REG 0xffff2d28 /* 3-GPIO0 */
#define ILR_IRQ4_REG 0xffff2d2c /* 4-Ethernet */
#define ILR_IRQ5_REG 0xffff2d30 /* 5-KBGPIO[7:0] */
#define ILR_IRQ6_REG 0xffff2d34 /* 6-Uart serial */
#define ILR_IRQ7_REG 0xffff2d38 /* 7-Uart IRDA */
#define ILR_IRQ6_REG 0xffff2d34 /* 6-Uart serial */
#define ILR_IRQ7_REG 0xffff2d38 /* 7-Uart IRDA */
#define ILR_IRQ8_REG 0xffff2d3c /* 8-KBGPIO[15:8] */
#define ILR_IRQ9_REG 0xffff2d40 /* 9-GPIO3 */
#define ILR_IRQ10_REG 0xffff2d44 /* 10-GPIO2 */
@@ -252,11 +293,22 @@
#define ILR_IRQ14_REG 0xffff2d54 /* 14-GPIO[19:4] */
#define ILR_IRQ15_REG 0xffff2d58 /* 15-API */
/* I2C ******************************************************/
/* CLKM *********************************************************************/
#define CLKM 0xffff2f00
#define CLKM_CTL_RST 0xffff2f10
#define CLKM_RESET 0xffff2f18
#define CLKM_RESET_EIM 0x00000008
#define CLKM_EIM_CLK_STOP 0x00000010
#define CLKM_CTL_RST_LEAD_RESET 0x00000000
#define CLKM_CTL_RST_EXT_RESET 0x00000002
/* I2C **********************************************************************/
#define MAX_I2C 1
/* API ******************************************************/
/* API **********************************************************************/
#define DSPRAM_BASE 0xffe00000 /* DSPRAM base address */
#define DSPRAM_END 0xffe03fff
@@ -308,16 +360,12 @@
#define DSPMEM_ARM_TO_DSP(addr) \
((((__u32)(addr) - DSPMEM_ARM_START) >> 1) + DSPMEM_DSP_START)
/************************************************************
/****************************************************************************
* Inline Functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Function Prototypes
************************************************************/
#ifndef __ASSEMBLY__
extern void c5471_doirq(int irq, uint32* regs);
#endif
****************************************************************************/
#endif /* __C5471_CHIP_H */

View File

@@ -1,7 +1,7 @@
/************************************************************************************
* common/arm.h
* arch/arm/src/common/arm.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -33,8 +33,8 @@
*
************************************************************************************/
#ifndef __ARM_H
#define __ARM_H
#ifndef __ARCH_ARM_SRC_COMMON_ARM_H
#define __ARCH_ARM_SRC_COMMON_ARM_H
/************************************************************************************
* Included Files
@@ -249,6 +249,6 @@
#ifndef __ASSEMBLY__
#endif
#endif /* __ASSEMBLY__ */
#endif /* __ARM_H */
#endif /* __ARCH_ARM_SRC_COMMON_ARM_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_allocateheap.c
/****************************************************************************
* arch/arm/src/common/up_allocateheap.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,36 +31,39 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <debug.h>
#include <nuttx/arch.h>
#include "up_arch.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Private Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_allocate_heap
*
* Description:
@@ -69,7 +72,7 @@
* are not defined, then this function will be called to
* dynamically set aside the heap region.
*
************************************************************/
****************************************************************************/
void up_allocate_heap(FAR void **heap_start, size_t *heap_size)
{

View File

@@ -1,7 +1,7 @@
/************************************************************************************
* common/up_arch.h
/****************************************************************************
* arch/arm/src/common/up_arch.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,14 +31,14 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************************/
****************************************************************************/
#ifndef __UP_ARCH_H
#define __UP_ARCH_H
#ifndef ___ARCH_ARM_SRC_COMMON_UP_ARCH_H
#define ___ARCH_ARM_SRC_COMMON_UP_ARCH_H
/************************************************************************************
/****************************************************************************
* Included Files
************************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#ifndef __ASSEMBLY__
@@ -49,13 +49,13 @@
#include <arch/board/board.h>
#include "chip.h"
/************************************************************************************
/****************************************************************************
* Definitions
************************************************************************************/
****************************************************************************/
/************************************************************************************
/****************************************************************************
* Inline Functions
************************************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
@@ -84,9 +84,9 @@ static inline void putreg16(uint16 val, unsigned int addr)
/* Most DM320 registers are 16-bits wide */
#define getreg(a) getreg16(1)
#define getreg(a) getreg16(a)
#define putreg(v,a) putreg16(v,a)
#endif
#endif /* __UP_ARCH_H */
#endif /* ___ARCH_ARM_SRC_COMMON_UP_ARCH_H */

View File

@@ -1,7 +1,7 @@
/************************************************************
/****************************************************************************
* common/up_assert.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,25 +31,29 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <stdlib.h>
#include <assert.h>
#include <debug.h>
#include <nuttx/irq.h>
#include <nuttx/arch.h>
#include "up_arch.h"
#include "os_internal.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* Output debug info if stack dump is selected -- even if
* debug is not selected.
@@ -60,17 +64,17 @@
# define lldbg lib_lowprintf
#endif
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_getsp
************************************************************/
****************************************************************************/
/* I don't know if the builtin to get SP is enabled */
@@ -85,55 +89,42 @@ static inline uint32 up_getsp(void)
return sp;
}
/************************************************************
/****************************************************************************
* Name: up_stackdump
************************************************************/
****************************************************************************/
#ifdef CONFIG_ARCH_STACKDUMP
static void up_stackdump(void)
static void up_stackdump(uint32 sp, uint32 stack_base)
{
_TCB *rtcb = (_TCB*)g_readytorun.head;
uint32 sp = up_getsp();
uint32 stack_base;
uint32 stack_size;
uint32 stack ;
if (rtcb->pid == 0)
for (stack = sp & ~0x1f; stack < stack_base; stack += 32)
{
stack_base = g_heapbase - 4;
stack_size = CONFIG_PROC_STACK_SIZE;
}
else
{
stack_base = (uint32)rtcb->adj_stack_ptr;
stack_size = (uint32)rtcb->adj_stack_size;
uint32 *ptr = (uint32*)stack;
lldbg("%08x: %08x %08x %08x %08x %08x %08x %08x %08x\n",
stack, ptr[0], ptr[1], ptr[2], ptr[3],
ptr[4], ptr[5], ptr[6], ptr[7]);
}
}
#else
# define up_stackdump()
#endif
lldbg("stack_base: %08x\n", stack_base);
lldbg("stack_size: %08x\n", stack_size);
lldbg("sp: %08x\n", sp);
/****************************************************************************
* Name: up_registerdump
****************************************************************************/
if (sp >= stack_base || sp < stack_base - stack_size)
{
lldbg("ERROR: Stack pointer is not within allocated stack\n");
return;
}
else
{
uint32 stack = sp & ~0x1f;
for (stack = sp & ~0x1f; stack < stack_base; stack += 32)
{
uint32 *ptr = (uint32*)stack;
lldbg("%08x: %08x %08x %08x %08x %08x %08x %08x %08x\n",
stack, ptr[0], ptr[1], ptr[2], ptr[3],
ptr[4], ptr[5], ptr[6], ptr[7]);
}
}
#ifdef CONFIG_ARCH_STACKDUMP
static inline void up_registerdump(void)
{
/* Are user registers available from interrupt processing? */
if (current_regs)
{
int regs;
/* Yes.. dump the interrupt registers */
for (regs = REG_R0; regs <= REG_R15; regs += 8)
{
uint32 *ptr = (uint32*)&current_regs[regs];
@@ -145,12 +136,106 @@ static void up_stackdump(void)
}
}
#else
# define up_stackdump()
# define up_registerdump()
#endif
/************************************************************
/****************************************************************************
* Name: up_dumpstate
****************************************************************************/
#ifdef CONFIG_ARCH_STACKDUMP
static void up_dumpstate(void)
{
_TCB *rtcb = (_TCB*)g_readytorun.head;
uint32 sp = up_getsp();
uint32 ustackbase;
uint32 ustacksize;
#if CONFIG_ARCH_INTERRUPTSTACK > 3
uint32 istackbase;
uint32 istacksize;
#endif
/* Get the limits on the user stack memory */
if (rtcb->pid == 0)
{
ustackbase = g_heapbase - 4;
ustacksize = CONFIG_IDLETHREAD_STACKSIZE;
}
else
{
ustackbase = (uint32)rtcb->adj_stack_ptr;
ustacksize = (uint32)rtcb->adj_stack_size;
}
/* Get the limits on the interrupt stack memory */
#if CONFIG_ARCH_INTERRUPTSTACK > 3
istackbase = (uint32)&g_userstack;
istacksize = (CONFIG_ARCH_INTERRUPTSTACK & ~3) - 4;
/* Show interrupt stack info */
lldbg("sp: %08x\n", sp);
lldbg("IRQ stack:\n");
lldbg(" base: %08x\n", istackbase);
lldbg(" size: %08x\n", istacksize);
/* Does the current stack pointer lie within the interrupt
* stack?
*/
if (sp <= istackbase && sp > istackbase - istacksize)
{
/* Yes.. dump the interrupt stack */
up_stackdump(sp, istackbase);
/* Extract the user stack pointer which should lie
* at the base of the interrupt stack.
*/
sp = g_userstack;
lldbg("sp: %08x\n", sp);
}
/* Show user stack info */
lldbg("User stack:\n");
lldbg(" base: %08x\n", ustackbase);
lldbg(" size: %08x\n", ustacksize);
#else
lldbg("sp: %08x\n", sp);
lldbg("stack base: %08x\n", ustackbase);
lldbg("stack size: %08x\n", ustacksize);
#endif
/* Dump the user stack if the stack pointer lies within the allocated user
* stack memory.
*/
if (sp > ustackbase || sp <= ustackbase - ustacksize)
{
#if !defined(CONFIG_ARCH_INTERRUPTSTACK) || CONFIG_ARCH_INTERRUPTSTACK < 4
lldbg("ERROR: Stack pointer is not within allocated stack\n");
#endif
}
else
{
up_stackdump(sp, ustackbase);
}
/* Then dump the registers (if available) */
up_registerdump();
}
#else
# define up_dumpstate()
#endif
/****************************************************************************
* Name: _up_assert
************************************************************/
****************************************************************************/
static void _up_assert(int errorcode) /* __attribute__ ((noreturn)) */
{
@@ -163,9 +248,9 @@ static void _up_assert(int errorcode) /* __attribute__ ((noreturn)) */
{
#ifdef CONFIG_ARCH_LEDS
up_ledon(LED_PANIC);
up_delay(250);
up_mdelay(250);
up_ledoff(LED_PANIC);
up_delay(250);
up_mdelay(250);
#endif
}
}
@@ -175,17 +260,17 @@ static void _up_assert(int errorcode) /* __attribute__ ((noreturn)) */
}
}
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_assert
************************************************************/
****************************************************************************/
void up_assert(const ubyte *filename, int lineno)
{
#if CONFIG_TASK_NAME_SIZE > 0
#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG)
_TCB *rtcb = (_TCB*)g_readytorun.head;
#endif
@@ -197,17 +282,17 @@ void up_assert(const ubyte *filename, int lineno)
lldbg("Assertion failed at file:%s line: %d\n",
filename, lineno);
#endif
up_stackdump();
up_dumpstate();
_up_assert(EXIT_FAILURE);
}
/************************************************************
/****************************************************************************
* Name: up_assert_code
************************************************************/
****************************************************************************/
void up_assert_code(const ubyte *filename, int lineno, int errorcode)
{
#if CONFIG_TASK_NAME_SIZE > 0
#if CONFIG_TASK_NAME_SIZE > 0 && defined(CONFIG_DEBUG)
_TCB *rtcb = (_TCB*)g_readytorun.head;
#endif
@@ -219,6 +304,6 @@ void up_assert_code(const ubyte *filename, int lineno, int errorcode)
lldbg("Assertion failed at file:%s line: %d error code: %d\n",
filename, lineno, errorcode);
#endif
up_stackdump();
up_dumpstate();
_up_assert(errorcode);
}

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_blocktask.c
/****************************************************************************
* arch/arm/src/common/up_blocktask.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -45,23 +45,23 @@
#include "os_internal.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Private Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
* Private Funtions
************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_block_task
*
* Description:
@@ -79,7 +79,7 @@
* task_state: Specifies which waiting task list should be
* hold the blocked task TCB.
*
************************************************************/
****************************************************************************/
void up_block_task(_TCB *tcb, tstate_t task_state)
{
@@ -95,8 +95,6 @@ void up_block_task(_TCB *tcb, tstate_t task_state)
_TCB *rtcb = (_TCB*)g_readytorun.head;
boolean switch_needed;
lldbg("Blocking TCB=%p\n", tcb);
/* Remove the tcb task from the ready-to-run list. If we
* are blocking the task at the head of the task list (the
* most likely case), then a context switch to the next
@@ -138,7 +136,6 @@ void up_block_task(_TCB *tcb, tstate_t task_state)
*/
rtcb = (_TCB*)g_readytorun.head;
lldbg("New Active Task TCB=%p\n", rtcb);
/* Then switch contexts */
@@ -157,7 +154,6 @@ void up_block_task(_TCB *tcb, tstate_t task_state)
*/
rtcb = (_TCB*)g_readytorun.head;
lldbg("New Active Task TCB=%p\n", rtcb);
/* Then switch contexts */

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_copystate.c
/****************************************************************************
* arch/arm/src/common/up_copystate.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,36 +31,38 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include "os_internal.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Functions
************************************************************/
****************************************************************************/
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_undefinedinsn
************************************************************/
****************************************************************************/
/* A little faster than most memcpy's */

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_createstack.c
/****************************************************************************
* arch/arm/src/common/up_createstack.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,34 +31,37 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <sched.h>
#include <debug.h>
#include <nuttx/kmalloc.h>
#include <nuttx/arch.h>
#include "up_arch.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Private Types
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Function Prototypes
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Global Functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_create_stack
*
* Description:
@@ -77,7 +80,7 @@
* tcb: The TCB of new task
* stack_size: The requested stack size. At least this much
* must be allocated.
************************************************************/
****************************************************************************/
STATUS up_create_stack(_TCB *tcb, size_t stack_size)
{

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_dataabort.c
/****************************************************************************
* arch/arm/src/common/up_dataabort.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -44,9 +44,9 @@
#include "os_internal.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* Output debug info if stack dump is selected -- even if
* debug is not selected.
@@ -57,21 +57,21 @@
# define lldbg lib_lowprintf
#endif
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Functions
************************************************************/
****************************************************************************/
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_dataabort
************************************************************/
****************************************************************************/
void up_dataabort(uint32 *regs)
{

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_doirq.c
/****************************************************************************
* arch/arm/src/common/up_doirq.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -46,25 +46,25 @@
#include "os_internal.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Functions
************************************************************/
****************************************************************************/
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
void up_doirq(int irq, uint32* regs)
{

View File

@@ -1,7 +1,7 @@
/************************************************************
/****************************************************************************
* common/up_exit.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -49,85 +49,98 @@
#include <nuttx/fs.h>
#endif
/************************************************************
/****************************************************************************
* Private Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
* Private Funtions
************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: _up_dumponexit
*
* Description:
* Dump the state of all tasks whenever on task exits. This
* is debug instrumentation that was added to check file-
* related reference counting but could be useful again
* sometime in the future.
* Dump the state of all tasks whenever on task exits. This is debug
* instrumentation that was added to check file-related reference counting
* but could be useful again sometime in the future.
*
************************************************************/
****************************************************************************/
#if defined(CONFIG_DUMP_ON_EXIT) && defined(CONFIG_DEBUG)
static void _up_dumponexit(FAR _TCB *tcb, FAR void *arg)
{
#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NFILE_STREAMS > 0
int i;
dbg(" TCB=%p name=%s\n", tcb, tcb->argv[0]);
#endif
sdbg(" TCB=%p name=%s\n", tcb, tcb->argv[0]);
#if CONFIG_NFILE_DESCRIPTORS > 0
if (tcb->filelist)
{
dbg(" filelist refcount=%d\n",
tcb->filelist->fl_crefs);
sdbg(" filelist refcount=%d\n",
tcb->filelist->fl_crefs);
for (i = 0; i < CONFIG_NFILE_DESCRIPTORS; i++)
{
struct inode *inode = tcb->filelist->fl_files[i].f_inode;
if (inode)
{
dbg(" fd=%d refcount=%d\n",
i, inode->i_crefs);
sdbg(" fd=%d refcount=%d\n",
i, inode->i_crefs);
}
}
}
#endif
#if CONFIG_NFILE_STREAMS > 0
if (tcb->streams)
{
dbg(" streamlist refcount=%d\n",
tcb->streams->sl_crefs);
sdbg(" streamlist refcount=%d\n",
tcb->streams->sl_crefs);
for (i = 0; i < CONFIG_NFILE_STREAMS; i++)
{
struct file_struct *filep = &tcb->streams->sl_streams[i];
if (filep->fs_filedes >= 0)
{
dbg(" fd=%d nbytes=%d\n",
filep->fs_filedes,
#if CONFIG_STDIO_BUFFER_SIZE > 0
sdbg(" fd=%d nbytes=%d\n",
filep->fs_filedes,
filep->fs_bufpos - filep->fs_bufstart);
#else
sdbg(" fd=%d\n", filep->fs_filedes);
#endif
}
}
}
#endif
}
#endif
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: _exit
*
* Description:
* This function causes the currently executing task to cease
* to exist. This is a special case of task_delete().
* to exist. This is a special case of task_delete() where the task to
* be deleted is the currently executing task. It is more complex because
* a context switch must be perform to the the next ready to run task.
*
************************************************************/
****************************************************************************/
void _exit(int status)
{
_TCB* tcb = (_TCB*)g_readytorun.head;
_TCB* tcb;
/* Disable interrupts. They will be restored when the next
* task is started.
@@ -135,51 +148,22 @@ void _exit(int status)
(void)irqsave();
lldbg("TCB=%p exitting\n", tcb);
slldbg("TCB=%p exitting\n", g_readytorun.head);
#if defined(CONFIG_DUMP_ON_EXIT) && defined(CONFIG_DEBUG)
dbg("Other tasks:\n");
slldbg("Other tasks:\n");
sched_foreach(_up_dumponexit, NULL);
#endif
/* Remove the tcb task from the ready-to-run list. We can
* ignore the return value because we know that a context
* switch is needed.
*/
/* Destroy the task at the head of the ready to run list. */
(void)sched_removereadytorun(tcb);
/* We are not in a bad stack-- the head of the ready to run task list
* does not correspond to the thread that is running. Disabling pre-
* emption on this TCB should be enough to keep things stable.
*/
sched_lock();
/* Move the TCB to the specified blocked task list and delete it */
sched_addblocked(tcb, TSTATE_TASK_INACTIVE);
task_delete(tcb->pid);
/* If there are any pending tasks, then add them to the g_readytorun
* task list now
*/
if (g_pendingtasks.head)
{
(void)sched_mergepending();
}
/* Now calling sched_unlock() should have no effect */
sched_unlock();
(void)task_deletecurrent();
/* Now, perform the context switch to the new ready-to-run task at the
* head of the list.
*/
tcb = (_TCB*)g_readytorun.head;
lldbg("New Active Task TCB=%p\n", tcb);
/* Then switch contexts */

View File

@@ -284,7 +284,7 @@ __start:
#endif
/* Perform early serial initialization */
#ifdef CONFIG_DEV_CONSOLE
#ifdef CONFIG_USE_EARLYSERIALINIT
bl up_earlyserialinit
#endif
@@ -297,7 +297,7 @@ __start:
* _sbss is the start of the BSS region (see ld.script)
* _ebss is the end of the BSS regsion (see ld.script)
* The idle task stack starts at the end of BSS and is
* of size CONFIG_PROC_STACK_SIZE. The heap continues
* of size CONFIG_IDLETHREAD_STACKSIZE. The heap continues
* from there until the end of memory. See g_heapbase
* below.
*/
@@ -305,7 +305,7 @@ __start:
.Linitparms:
.long _sbss
.long _ebss
.long _ebss+CONFIG_PROC_STACK_SIZE-4
.long _ebss+CONFIG_IDLETHREAD_STACKSIZE-4
.size .Lvstart, .-.Lvstart
/* This global variable is unsigned long g_heapbase and is
@@ -318,7 +318,7 @@ __start:
.globl g_heapbase
.type g_heapbase, object
g_heapbase:
.long _ebss+CONFIG_PROC_STACK_SIZE
.long _ebss+CONFIG_IDLETHREAD_STACKSIZE
.size g_heapbase, .-g_heapbase
.end

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_idle.c
/****************************************************************************
* arch/arm/src/common/up_idle.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,34 +31,34 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <nuttx/arch.h>
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Private Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
* Private Funtions
************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_idle
*
* Description:
@@ -71,7 +71,7 @@
* this is where power management operations might be
* performed.
*
************************************************************/
****************************************************************************/
void up_idle(void)
{

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_initialize.c
/****************************************************************************
* arch/arm/src/common/up_initialize.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,51 +31,84 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <debug.h>
#include <nuttx/arch.h>
#include <nuttx/fs.h>
#include "up_arch.h"
#include "up_internal.h"
/************************************************************
/****************************************************************************
* Definitions
****************************************************************************/
/* Define to enable timing loop calibration */
#undef CONFIG_ARM_CALIBRATION
/****************************************************************************
* Private Types
************************************************************/
****************************************************************************/
/************************************************************
* Private Function Prototypes
************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/************************************************************
* Global Functions
************************************************************/
/****************************************************************************
* Name: up_calibratedelay
*
* Description:
* Delay loops are provided for short timing loops. This function, if
* enabled, will just wait for 100 seconds. Using a stopwatch, you can
* can then determine if the timing loops are properly calibrated.
*
****************************************************************************/
/************************************************************
#if defined(CONFIG_ARM_CALIBRATION) & defined(CONFIG_DEBUG)
static void up_calibratedelay(void)
{
int i;
slldbg("Beginning 100s delay\n");
for (i = 0; i < 100; i++)
{
up_mdelay(1000);
}
slldbg("End 100s delay\n");
}
#else
# define up_calibratedelay()
#endif
/****************************************************************************
* Public Functions
****************************************************************************/
/****************************************************************************
* Name: up_initialize
*
* Description:
* up_initialize will be called once during OS
* initialization after the basic OS services have been
* initialized. The architecture specific details of
* initializing the OS will be handled here. Such things as
* setting up interrupt service routines, starting the
* clock, and registering device drivers are some of the
* things that are different for each processor and hardware
* platform.
* up_initialize will be called once during OS initialization after the
* basic OS services have been initialized. The architecture specific
* details of initializing the OS will be handled here. Such things as
* setting up interrupt service routines, starting the clock, and
* registering device drivers are some of the things that are different
* for each processor and hardware platform.
*
* up_initialize is called after the OS initialized but
* before the init process has been started and before the
* libraries have been initialized. OS services and driver
* services are available.
* up_initialize is called after the OS initialized but before the user
* initialization logic has been started and before the libraries have
* been initialized. OS services and driver services are available.
*
************************************************************/
****************************************************************************/
void up_initialize(void)
{
@@ -83,6 +116,10 @@ void up_initialize(void)
current_regs = NULL;
/* Calibrate the timing loop */
up_calibratedelay();
/* Initialize the interrupt subsystem */
up_irqinitialize();
@@ -95,10 +132,25 @@ void up_initialize(void)
/* Register devices */
#if CONFIG_NFILE_DESCRIPTORS > 0
devnull_register(); /* Standard /dev/null */
#endif
/* Initialize the serial device driver */
#ifdef CONFIG_USE_SERIALDRIVER
up_serialinit();
#elif defined(CONFIG_DEV_LOWCONSOLE)
lowconsole_init();
#endif
/* Initialize the netwok */
up_netinitialize();
/* Initializ USB */
up_usbinitialize();
up_ledon(LED_IRQSENABLED);
}

View File

@@ -1,7 +1,7 @@
/************************************************************
* common/up_initialstate.c
/****************************************************************************
* arch/arm/src/common/up_initialstate.c
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
@@ -44,23 +44,23 @@
#include "up_internal.h"
#include "up_arch.h"
/************************************************************
/****************************************************************************
* Private Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Data
************************************************************/
****************************************************************************/
/************************************************************
* Private Funtions
************************************************************/
/****************************************************************************
* Private Functions
****************************************************************************/
/************************************************************
* Public Funtions
************************************************************/
/****************************************************************************
* Public Functions
****************************************************************************/
/************************************************************
/****************************************************************************
* Name: up_initial_state
*
* Description:
@@ -72,7 +72,7 @@
* and/or stack so that execution will begin at tcb->start
* on the next context switch.
*
************************************************************/
****************************************************************************/
void up_initial_state(_TCB *tcb)
{

View File

@@ -1,7 +1,7 @@
/************************************************************
/****************************************************************************
* common/up_internal.h
*
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
* 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,41 +31,57 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
#ifndef __UP_INTERNAL_H
#define __UP_INTERNAL_H
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Definitions
************************************************************/
****************************************************************************/
/* Bring-up debug configurations. These are here (vs defconfig)
* because these should only be controlled during low level
* board bring-up and not part of normal platform configuration.
*/
#undef CONFIG_SUPPRESS_INTERRUPTS /* Do not enable interrupts */
#undef CONFIG_SUPPRESS_TIMER_INTS /* No timer */
#undef CONFIG_SUPPRESS_SERIAL_INTS /* Console will poll */
#undef CONFIG_SUPPRESS_UART_CONFIG /* Do not reconfig UART */
#define CONFIG_DUMP_ON_EXIT 1 /* Dump task state on exit */
#undef CONFIG_SUPPRESS_INTERRUPTS /* DEFINED: Do not enable interrupts */
#undef CONFIG_SUPPRESS_TIMER_INTS /* DEFINED: No timer */
#undef CONFIG_SUPPRESS_SERIAL_INTS /* DEFINED: Console will poll */
#undef CONFIG_SUPPRESS_UART_CONFIG /* DEFINED: Do not reconfig UART */
#undef CONFIG_DUMP_ON_EXIT /* DEFINED: Dump task state on exit */
/************************************************************
/* Determine which (if any) console driver to use */
#if CONFIG_NFILE_DESCRIPTORS == 0 || defined(CONFIG_DEV_LOWCONSOLE)
# undef CONFIG_USE_SERIALDRIVER
# undef CONFIG_USE_EARLYSERIALINIT
#elif defined(CONFIG_DEV_CONSOLE) && CONFIG_NFILE_DESCRIPTORS > 0
# define CONFIG_USE_SERIALDRIVER 1
# define CONFIG_USE_EARLYSERIALINIT 1
#endif
/* Check if an interrupt stack size is configured */
#ifndef CONFIG_ARCH_INTERRUPTSTACK
# define CONFIG_ARCH_INTERRUPTSTACK 0
#endif
/****************************************************************************
* Public Types
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
typedef void (*up_vector_t)(void);
#endif
/************************************************************
/****************************************************************************
* Public Variables
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
/* This holds a references to the current interrupt level
@@ -82,16 +98,21 @@ extern uint32 *current_regs;
*/
extern uint32 g_heapbase;
/* Address of the saved user stack pointer */
#if CONFIG_ARCH_INTERRUPTSTACK > 3
extern uint32 g_userstack;
#endif
#endif
/************************************************************
/****************************************************************************
* Inline Functions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Functions
************************************************************/
****************************************************************************/
#ifndef __ASSEMBLY__
@@ -100,8 +121,8 @@ extern uint32 g_heapbase;
extern void up_boot(void);
extern void up_copystate(uint32 *dest, uint32 *src);
extern void up_dataabort(uint32 *regs);
extern void up_delay(int milliseconds);
extern void up_doirq(uint32 *regs);
extern void up_decodeirq(uint32 *regs);
extern void up_doirq(int irq, uint32 *regs);
extern void up_fullcontextrestore(uint32 *regs) __attribute__ ((noreturn));
extern void up_irqinitialize(void);
extern void up_prefetchabort(uint32 *regs);
@@ -110,12 +131,9 @@ extern void up_sigdeliver(void);
extern void up_syscall(uint32 *regs);
extern int up_timerisr(int irq, uint32 *regs);
extern void up_undefinedinsn(uint32 *regs);
#ifdef CONFIG_DEBUG
extern void up_lowputc(char ch);
#else
# define up_lowputc(ch)
#endif
extern void up_puts(const char *str);
extern void up_lowputs(const char *str);
/* Defined in up_vectors.S */
@@ -129,8 +147,21 @@ extern void up_vectorfiq(void);
/* Defined in up_serial.c */
#if CONFIG_NFILE_DESCRIPTORS > 0
extern void up_earlyserialinit(void);
extern void up_serialinit(void);
#else
# define up_earlyserialinit()
# define up_serialinit()
#endif
/* Defined in drivers/lowconsole.c */
#ifdef CONFIG_DEV_LOWCONSOLE
extern void lowconsole_init(void);
#else
# define lowconsole_init()
#endif
/* Defined in up_watchdog.c */
@@ -156,6 +187,23 @@ extern void up_ledoff(int led);
# define up_ledoff(led)
#endif
/* Defined in board/up_network.c */
#ifdef CONFIG_NET
extern void up_netinitialize(void);
#else
# define up_netinitialize()
#endif
#ifdef CONFIG_USBDEV
extern void up_usbinitialize(void);
extern void up_usbuninitialize(void);
#else
# define up_usbinitialize()
# define up_usbuninitialize()
#endif
#endif /* __ASSEMBLY__ */
#endif /* __UP_INTERNAL_H */

Some files were not shown because too many files have changed in this diff Show More