Commit Graph

539 Commits

Author SHA1 Message Date
Gregory Nutt
39183d37b8 Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors 2014-08-07 18:00:38 -06:00
Gregory Nutt
594083d870 Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined. 2014-08-06 16:26:01 -06:00
Gregory Nutt
d7fe256821 NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed. 2014-07-04 19:13:08 -06:00
Gregory Nutt
99ce3a44d7 Remove all inclusion of uip.h 2014-07-04 16:58:22 -06:00
Gregory Nutt
11e3a21411 NET: More renaming 2014-07-04 15:40:49 -06:00
Gregory Nutt
313982ba18 NET: Rename XYZ_uiptxpoll to just XYZ_txpoll 2014-07-01 18:41:08 -06:00
Gregory Nutt
621ec21bfd Rename uip_poll->devif_poll and uip_timer->devif_timer 2014-06-30 18:40:41 -06:00
Gregory Nutt
ade8807a61 Rename uip_input to devif_input 2014-06-30 18:11:17 -06:00
Gregory Nutt
e4990dda4d Rename uip_driver_s net_driver_s 2014-06-27 16:48:12 -06:00
Gregory Nutt
57383ea2f3 Rename ip_eth_hdr to eth_hdr_s 2014-06-25 09:57:52 -06:00
Gregory Nutt
11896e1481 Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h 2014-06-24 10:14:15 -06:00
Gregory Nutt
b34a1f1e01 Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h 2014-06-24 09:28:44 -06:00
Gregory Nutt
00667926a9 Move include/nuttx/net/uipopt.h to include/nuttx/net/netconfig.h 2014-06-24 08:53:28 -06:00
Gregory Nutt
407e72b300 Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_ 2014-05-30 12:13:06 -06:00
Gregory Nutt
8dbc4714c5 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
bac1ab9a34 Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith 2014-05-20 17:48:39 -06:00
Gregory Nutt
af2bb81ac2 Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00
Gregory Nutt
ae82fa65a6 Fix spelling, only one t in exiting 2014-04-27 15:49:38 -06:00
Gregory Nutt
25d4ff745b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
c708eff608 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
33d5d24964 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
66df3afd46 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
5b9f1f54c2 Add option to dump buffered USB trace data on an assertion 2014-03-20 10:56:30 -06:00
Gregory Nutt
07454e9241 configs/pic32-starterkit/nsh converted to use the kconfig-frontends tools 2014-03-01 11:10:30 -06:00
Gregory Nutt
74c50c12de configs/mirtoo/nsh converted to use the kconfig-frontends tools 2014-03-01 10:49:19 -06:00
Gregory Nutt
a26b03d0d0 rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
231889c888 The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
f53f269a84 Kconfigs: Interrupt prioritization should not be automatically selected 2013-12-20 08:42:54 -06:00
Gregory Nutt
d01808c603 LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks 2013-12-05 10:37:55 -06:00
Gregory Nutt
b8085906b9 Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane 2013-11-01 11:16:51 -06:00
Gregory Nutt
4aaee6fb3c Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
52b0a16cd3 Move CONFIG_NET_DUMPPACKET from LPC17 and STM32 to commong network drivers. Automatically enabled CONFIG_NETDEVICES when any Ethernet driver is enabled 2013-09-25 11:50:05 -06:00
Gregory Nutt
82cd614b66 Add prefex ETH0 to all PHY configurations to support multiple NICs 2013-09-17 10:45:07 -06:00
Gregory Nutt
56f9092a87 Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
dfe6452b8e Add untested OHCI driver for the SAMA5; structure naming and header files for USB host initialization prototypes 2013-08-11 17:11:32 -06:00
Gregory Nutt
2f772c84fd Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
a954eb76b2 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
8ff1402958 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
f0c36e422f Upate .gitignore files. Add .dSYM. Make sure / is present where needed. Add some missing .gitignore files 2013-05-30 14:45:31 -06:00
Gregory Nutt
34c9e7284b Fix null packet handling in the PIC32 USB device driver. This is a critical bug fix for PIC32. Add support for the USB monitor to the Sure-PIC32MX configuration 2013-05-28 13:36:01 -06:00
Gregory Nutt
03478d02aa Fix Sure PIC32 LOOPSPERMSEC 2013-05-27 16:29:41 -06:00
Gregory Nutt
f7ef927019 Converted all configurations to use the kconfig-frontends tools, cleaned up the directory structure and naming to match some of the more recent configurations, and added a segment LCD driver for the board. The initial checkin of the LCD driver is just a clone of configs/pcblogic-pic32mx/src/pic32mx_lcd1602 and it not yet expected to be functional. 2013-05-26 16:44:53 -06:00
Gregory Nutt
3aa94411be Remove up_assert_code 2013-04-25 15:19:59 -06:00
Gregory Nutt
91e6580aff Adding missing registration of /dev/zero; Condition registration of /dev/null. From Ken Petit 2013-04-24 07:17:49 -06:00
Gregory Nutt
803a860d34 New Kconfig convention: Extra indentation in comments will render as HTML preformatted text 2013-04-22 09:10:58 -06:00
Gregory Nutt
65fec0683a _exit() should not call atexit() or on_exit() functions; Rename task_deletecurrent() to task_exit() 2013-04-18 16:15:20 -06:00
Gregory Nutt
1a07e950ea Move LPC17xx IOCON register definitions from lpc17_gpio.h to lpc17_iocon.h; fix a few more .gitignore files 2013-04-04 18:12:44 -06:00
Gregory Nutt
1694955188 Clone svn:ignore directory atributed to .gitignore files 2013-04-04 14:27:29 -06:00
patacongo
e29d6479c9 Corrections needed after further test of stack-based task arguments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5771 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 23:37:11 +00:00
patacongo
c496b7aad9 Copy siginfo_t to step before calling a user-space signal handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5769 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 20:02:14 +00:00
patacongo
a7b37da2d9 Add a up_stack_frame() interface to allocate a frame of data on a task's stack.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5768 42af7a65-404d-4744-a932-0658087f49c3
2013-03-21 17:35:08 +00:00
patacongo
c86f502f2e In the kernel build, allocate the stacks for kernel threads from the kernel heap so that they are protected from medddling by the applications
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5766 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 20:27:08 +00:00
patacongo
020cc2248e Change prototypes of up_create_stack and up_release_stack to include a task type parameter
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5765 42af7a65-404d-4744-a932-0658087f49c3
2013-03-20 18:22:21 +00:00
patacongo
990c1febf8 Add support for nested system calls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5752 42af7a65-404d-4744-a932-0658087f49c3
2013-03-17 16:13:28 +00:00
patacongo
d455b94545 Fix more compile errors and warnings introduced in recent commits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5744 42af7a65-404d-4744-a932-0658087f49c3
2013-03-15 01:32:47 +00:00
patacongo
c85fcaecdb Rename g_heapbase to g_idle_topstack; Fix kernel build heap allocation which cannot use g_heapbase
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5739 42af7a65-404d-4744-a932-0658087f49c3
2013-03-14 14:42:52 +00:00
patacongo
8159804f9c Fix some ARMv7-M syscall logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5736 42af7a65-404d-4744-a932-0658087f49c3
2013-03-12 21:53:18 +00:00
patacongo
3dc5b1fa9f Create sched_ufree and sched_kfree from sched_free; Use user-accessible heap to allocae stacks
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5725 42af7a65-404d-4744-a932-0658087f49c3
2013-03-10 15:32:33 +00:00
patacongo
e47c64204c More changes for a kernel-mode allocator (more to be done)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5724 42af7a65-404d-4744-a932-0658087f49c3
2013-03-09 21:12:20 +00:00
patacongo
edeb45f8c5 More kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5716 42af7a65-404d-4744-a932-0658087f49c3
2013-03-07 14:27:47 +00:00
patacongo
bd1488bdab Fix some bad syscall dispatching log. This change is not testable until these is a tested NuttX kernel build.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5713 42af7a65-404d-4744-a932-0658087f49c3
2013-03-06 19:56:32 +00:00
patacongo
33a78ff078 Fix for compilation issues reported by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5702 42af7a65-404d-4744-a932-0658087f49c3
2013-03-04 00:00:19 +00:00
patacongo
9207732f18 Add debug output when memory allocations fail
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5686 42af7a65-404d-4744-a932-0658087f49c3
2013-02-28 15:31:58 +00:00
patacongo
f84c45c220 Some NuTiny-SDK-NUC120 size reduction; All serial driver vtables should be static const
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5683 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 22:24:49 +00:00
patacongo
f7833e1c8e MIPS stack alignment fix for floating point from Helmut
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5681 42af7a65-404d-4744-a932-0658087f49c3
2013-02-27 16:31:03 +00:00
patacongo
c254d0bb3e Add an NSH configuration for the NuTiny-SDK-NUC120. Still does not work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5678 42af7a65-404d-4744-a932-0658087f49c3
2013-02-26 21:53:12 +00:00
patacongo
fd9eac63a9 Some fixes needed for STM32 build after recent scheduler changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5620 42af7a65-404d-4744-a932-0658087f49c3
2013-02-07 16:58:43 +00:00
patacongo
bc69dc2c5a Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
2013-02-04 18:46:28 +00:00
patacongo
b27ce2030e Misc clean; mark assertions as non-returning; allow toolchain prefix to be overriden from make command line
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5591 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 23:29:34 +00:00
patacongo
cec4563394 Missing calls to class SUSPEND/RESUME methods in all USB drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5590 42af7a65-404d-4744-a932-0658087f49c3
2013-01-31 19:20:26 +00:00
patacongo
b1aa82fcca Add syslog.h; rename lib_rawprintf() to syslog()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5578 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 21:55:16 +00:00
patacongo
1b8979d24f Serial driver needed even when no console; Fix user LED settings in all STM32 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5575 42af7a65-404d-4744-a932-0658087f49c3
2013-01-28 15:03:17 +00:00
patacongo
6cfe0a45e9 Move stream data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 22:25:21 +00:00
patacongo
43659b5840 Move file data from TCB to task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5567 42af7a65-404d-4744-a932-0658087f49c3
2013-01-26 20:17:29 +00:00
patacongo
71a8d7d104 Fix poll/select issue reported by Qiang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5559 42af7a65-404d-4744-a932-0658087f49c3
2013-01-24 19:19:38 +00:00
patacongo
65a1c61e6c Beginning of support for LCD1602
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5545 42af7a65-404d-4744-a932-0658087f49c3
2013-01-21 22:46:37 +00:00
patacongo
ee2be652aa Implement vfork() for the MIPS32 architecture
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5520 42af7a65-404d-4744-a932-0658087f49c3
2013-01-15 15:40:18 +00:00
patacongo
74a42b5f39 Configre configs/ubw32/ostest to use kconfig-frontends
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5518 42af7a65-404d-4744-a932-0658087f49c3
2013-01-14 22:06:19 +00:00
patacongo
1a4baed866 Mostly costmetic updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5452 42af7a65-404d-4744-a932-0658087f49c3
2012-12-23 17:32:41 +00:00
patacongo
cd20adb63d Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
2012-12-07 16:00:56 +00:00
patacongo
9b1ea99dec All ZNEO configurations converted to use the mconf/Kconfig tool
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5401 42af7a65-404d-4744-a932-0658087f49c3
2012-11-29 18:44:02 +00:00
patacongo
f99e55676b Add common Toolchain.defs for AVR/AVR32; Add Toolchain.defs for ARM; Add more toolchain options (from Mike); incdir.sh and .bat now take -s option
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5384 42af7a65-404d-4744-a932-0658087f49c3
2012-11-23 14:13:57 +00:00
patacongo
04dbba6227 /configs/stm32f4discovery/winbuild and configs/cloudctrl upated to use Mike's Toolchain.defs; Fix error introduced into tools/configure.sh
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5380 42af7a65-404d-4744-a932-0658087f49c3
2012-11-21 19:54:44 +00:00
patacongo
74949ee01d Big refactoring of toolchain definitions by Mike Smith
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5379 42af7a65-404d-4744-a932-0658087f49c3
2012-11-21 18:34:10 +00:00
patacongo
00d2b645e6 Missing comma in EVERY DELFILE/DELDIR macro call in every Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5373 42af7a65-404d-4744-a932-0658087f49c3
2012-11-20 15:47:41 +00:00
patacongo
756e84977b Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
2012-11-17 18:54:53 +00:00
patacongo
7163ac74fa Move some (hopefully) un-necessary quotes in Makefiles for Mike
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5356 42af7a65-404d-4744-a932-0658087f49c3
2012-11-15 17:43:29 +00:00
patacongo
856f320736 Simple window natives OS test build now works; Probabaly more to do for other configs; clean targets still have problems
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5355 42af7a65-404d-4744-a932-0658087f49c3
2012-11-14 20:59:36 +00:00
patacongo
0a8e570a3b More native build fixes -- still problems in apps/ directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5352 42af7a65-404d-4744-a932-0658087f49c3
2012-11-14 15:55:07 +00:00
patacongo
fbdc3246fd A few more build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5340 42af7a65-404d-4744-a932-0658087f49c3
2012-11-12 01:54:54 +00:00
patacongo
bf8f1e986c Correct some issues with last check-in; ez80 still does not build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5339 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 23:44:31 +00:00
patacongo
fac751de6b Partial change: Removing bash ARCHIVE loop
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5335 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 15:42:12 +00:00
patacongo
31fcfae567 Remove bash fragments that test for board/Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5334 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 14:36:01 +00:00
patacongo
9b822f3086 arch/../src/Makefiles now use only libraries in lib/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5333 42af7a65-404d-4744-a932-0658087f49c3
2012-11-11 13:52:31 +00:00
patacongo
51793af904 Change = to += in setting of LDFLAGS in all architecture Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5311 42af7a65-404d-4744-a932-0658087f49c3
2012-11-04 21:04:30 +00:00
patacongo
5acf2fe3e1 Resync new repository with old repo r5166
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5154 42af7a65-404d-4744-a932-0658087f49c3
2012-09-17 18:35:37 +00:00
patacongo
36df84c843 Email address change in nuttx/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5145 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 18:32:24 +00:00
patacongo
267eb76ea9 The M3 Wildfire port is code complete and ready for test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5125 42af7a65-404d-4744-a932-0658087f49c3
2012-09-10 22:26:37 +00:00
patacongo
4f469e6316 Reconfigured Shenzhou to use JTAG. Misc Kconfig changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5118 42af7a65-404d-4744-a932-0658087f49c3
2012-09-09 15:43:18 +00:00
patacongo
767934d4f5 Shenzhou board is first to use ONLY Kconfig for configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5114 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 13:56:21 +00:00
patacongo
06edc9b16b Kconfig: Standardize board LED and button configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5112 42af7a65-404d-4744-a932-0658087f49c3
2012-09-08 03:31:46 +00:00
patacongo
0f4f0d72af LPC17xx Kconfig looks good
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5099 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 21:36:03 +00:00
patacongo
bd9b0f2d4f Add Kconfig settings for the LPC17xx
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5094 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 17:20:19 +00:00
patacongo
48362edbb5 Refactor serial configuratin; AVR teensy Kconfig now builds
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5092 42af7a65-404d-4744-a932-0658087f49c3
2012-09-05 12:45:35 +00:00
patacongo
dbaa35bf9c Kconfig changes + back out part of last check-in: The 2STOP setting must be integer 0/1, not boolean
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5086 42af7a65-404d-4744-a932-0658087f49c3
2012-09-04 15:28:56 +00:00
patacongo
95ec4c3991 Auto-configuration updates from Richard Cochran
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5032 42af7a65-404d-4744-a932-0658087f49c3
2012-08-17 14:07:48 +00:00
patacongo
40888af331 Move RAMLOG driver to drivers/syslog; Add ability to output debug information to any character device or file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4996 42af7a65-404d-4744-a932-0658087f49c3
2012-08-02 00:42:46 +00:00
patacongo
e6970f04e6 Add support for PIC32MX1/2 ANSEL register; Mirtoo NXFFS configuration now uses the Pinquino toolchain by default:
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4984 42af7a65-404d-4744-a932-0658087f49c3
2012-07-27 17:25:35 +00:00
patacongo
de34678cb0 Combine cfset[o|i]speed to cfsetspeed; combine cfget[o|i]speed for cfgetspeed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4975 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 22:56:36 +00:00
patacongo
f061660d50 Ooops.. c_speed is now read-only
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4974 42af7a65-404d-4744-a932-0658087f49c3
2012-07-24 17:16:25 +00:00
patacongo
28bd2e6071 Baud definitions (B9600 for example) are again encoded; Now supports the BOTHER settings which allows specifying the baud via c_ispeed and c_ospeed termios fields
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4970 42af7a65-404d-4744-a932-0658087f49c3
2012-07-23 15:37:13 +00:00
patacongo
faf4bad3f1 Change all values in all limits.h for all architectures to signed decimal; the hex values were not sign extending appropriate in most uses
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4911 42af7a65-404d-4744-a932-0658087f49c3
2012-07-05 23:45:57 +00:00
patacongo
4ca2862016 Fix a critical PIC32 GPIO configuration bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4867 42af7a65-404d-4744-a932-0658087f49c3
2012-06-25 15:24:52 +00:00
patacongo
8d06757bc4 Enable LEDs on Mirtoo board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4863 42af7a65-404d-4744-a932-0658087f49c3
2012-06-22 18:35:25 +00:00
patacongo
c3316872c5 Mirtoo update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4860 42af7a65-404d-4744-a932-0658087f49c3
2012-06-21 20:44:55 +00:00
patacongo
22b8a95b2b Minor updates to PIC32 configuration and to documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4858 42af7a65-404d-4744-a932-0658087f49c3
2012-06-21 00:05:20 +00:00
patacongo
a13efa2e7e More updates for PIC32 MX1/2 device configuration bits
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4857 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 22:29:32 +00:00
patacongo
d227c86a14 Updates to support the Mirtoo internal clocking
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4855 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 19:29:20 +00:00
patacongo
f17fd97fd2 PIC32MX1/2 pin selection logic; Mirtoo LEDs, SPI2, and UART2 configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4853 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 17:37:20 +00:00
patacongo
55f328c91a Add a configuration to support the Mirtoo module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4852 42af7a65-404d-4744-a932-0658087f49c3
2012-06-20 00:04:56 +00:00
patacongo
469d018967 Add support for PIC32 MX1 and MX2 families
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4851 42af7a65-404d-4744-a932-0658087f49c3
2012-06-19 19:09:14 +00:00
patacongo
7ecafdd6e4 Fix a bad interrupt state in the PIC32 IDLE loop when the work queue is enabled
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4805 42af7a65-404d-4744-a932-0658087f49c3
2012-06-06 01:44:57 +00:00
patacongo
1242e0227e Add an ADC-based touchscreen driver for the PIC32MX7 MMB board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4804 42af7a65-404d-4744-a932-0658087f49c3
2012-06-05 19:45:01 +00:00
patacongo
ecdb40a0ec The PIC32MX7 MMB's mio832qt2 LCD is functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4803 42af7a65-404d-4744-a932-0658087f49c3
2012-06-04 20:36:18 +00:00
patacongo
3793169301 Add support for the MIO283QT2 LCD
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4802 42af7a65-404d-4744-a932-0658087f49c3
2012-06-04 18:45:48 +00:00
patacongo
d5261c997a SD card now works on the PIC32MX7 MMB board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4799 42af7a65-404d-4744-a932-0658087f49c3
2012-06-03 16:09:59 +00:00
patacongo
150b5d3a48 Add SD card support to the PIC32MX7 MMB board; Add regiser level debug instrumentatin for the PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4797 42af7a65-404d-4744-a932-0658087f49c3
2012-06-02 17:57:39 +00:00
patacongo
c6788bd806 Fix PHY address search; NFS update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4796 42af7a65-404d-4744-a932-0658087f49c3
2012-06-01 23:12:17 +00:00
patacongo
4ee1cd036b Fix device configuration... now Mikroelektronika PIC32MX7 MMB board works.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4794 42af7a65-404d-4744-a932-0658087f49c3
2012-06-01 19:07:17 +00:00
patacongo
a74f601c6c Add circular DMA support to STM32 and STM32 serial driver; Add initial configuration for the Mikroelektronika PIC32MX7 MMB board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4640 42af7a65-404d-4744-a932-0658087f49c3
2012-04-22 19:50:33 +00:00
patacongo
868fc6e118 More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4636 42af7a65-404d-4744-a932-0658087f49c3
2012-04-19 22:51:42 +00:00
patacongo
5804060da5 More Kconfig stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4628 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 22:54:31 +00:00
patacongo
f566645ab9 More Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4624 42af7a65-404d-4744-a932-0658087f49c3
2012-04-17 13:48:39 +00:00
patacongo
53ab05dce6 Extend the USB device/class interface: Add parameters to pass the EP0 OUT data that should accompany the OUT SETUP request
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4595 42af7a65-404d-4744-a932-0658087f49c3
2012-04-12 16:30:48 +00:00
patacongo
8948524fd3 Include libgcc.a inside of the group of recursively linked libraries in all Makefiles
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4573 42af7a65-404d-4744-a932-0658087f49c3
2012-04-08 13:03:26 +00:00
patacongo
3635befa76 Add kconfig documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
d79a3b09f4 Adding skeleton Kconfig files (part 1 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00
patacongo
b365ff099e Change STM32 so that stm32_pmstop.c and stm32_pmstandby are built even if CONFIG_PM is not defined
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4502 42af7a65-404d-4744-a932-0658087f49c3
2012-03-22 14:07:45 +00:00
patacongo
b4852fca75 Move serial header files to include/nuttx/serial
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4500 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 19:47:23 +00:00
patacongo
bab4616a8d Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
2012-03-21 18:01:07 +00:00
patacongo
e24ae5a449 Cosmetic PIC32 USB driver fixes (still has problems)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4498 42af7a65-404d-4744-a932-0658087f49c3
2012-03-20 15:28:06 +00:00
patacongo
3495362c3a Minor updates for PIC32 USB device driver bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4497 42af7a65-404d-4744-a932-0658087f49c3
2012-03-19 17:56:15 +00:00
patacongo
5f3ebe5aff The PIC32 USB driver (finally) works the the Mass Storage Class
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4496 42af7a65-404d-4744-a932-0658087f49c3
2012-03-18 20:39:18 +00:00
patacongo
cbdff7826d Fix reported USB MSC product/revision
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4495 42af7a65-404d-4744-a932-0658087f49c3
2012-03-17 17:15:59 +00:00
patacongo
e74e3c7195 Updates to the PIC32 USB driver (still kind of buggy); Fix for STM32 CAN2 -- Need to enable CAN1 clocking to use CAN2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4493 42af7a65-404d-4744-a932-0658087f49c3
2012-03-16 20:59:21 +00:00
patacongo
ea932c224a Fix PIC32 USB double buffer toggle
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4492 42af7a65-404d-4744-a932-0658087f49c3
2012-03-15 22:56:46 +00:00
patacongo
68a84f92b3 Updates to PIC32 USB stall logic -- still doesn't work right
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4491 42af7a65-404d-4744-a932-0658087f49c3
2012-03-15 20:53:42 +00:00
patacongo
576859ab6d Add a PIC32 configuration that supports only a Telnet console
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4486 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 19:21:04 +00:00
patacongo
d7d56571e7 PIC32 Ethernet driver now appears stable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4485 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 18:05:49 +00:00
patacongo
e1d5539778 Correct PIC32 Ethernet Tx ring handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4484 42af7a65-404d-4744-a932-0658087f49c3
2012-03-13 16:15:24 +00:00
patacongo
66728e47fa Update PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4469 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 22:05:14 +00:00
patacongo
42be230532 Fix several bugs related to PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4468 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 17:47:25 +00:00
patacongo
77f0270dea PIC32 Ethernet driver now at least talks to the PHY
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4467 42af7a65-404d-4744-a932-0658087f49c3
2012-03-09 14:47:27 +00:00
patacongo
9ef5b06463 Update PIC32 Ethernet driver from debugging (still does not work
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4465 42af7a65-404d-4744-a932-0658087f49c3
2012-03-08 23:05:03 +00:00
patacongo
ddc72c7834 Verified USB (device) on the PIC32 Ethernet Starter Kit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4464 42af7a65-404d-4744-a932-0658087f49c3
2012-03-08 14:31:49 +00:00
patacongo
b9757f594d Updates to PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4461 42af7a65-404d-4744-a932-0658087f49c3
2012-03-07 17:40:23 +00:00
patacongo
1e4fe73e6b Add PIC32 SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4459 42af7a65-404d-4744-a932-0658087f49c3
2012-03-07 00:53:50 +00:00
patacongo
ee1ff18a26 Add support for use of a USB serial device to provide NSH console I/O. Verified on the Sure PIPIC32MX board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4458 42af7a65-404d-4744-a932-0658087f49c3
2012-03-06 20:21:57 +00:00
patacongo
2e0bf2907e The PIC32 USB device driver is (finally) functional
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4457 42af7a65-404d-4744-a932-0658087f49c3
2012-03-06 15:51:03 +00:00
patacongo
f9e5a84677 Minor update to PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4455 42af7a65-404d-4744-a932-0658087f49c3
2012-03-05 23:04:18 +00:00
patacongo
083a6df521 Some improvements in PIC32 USB BDT handling
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4454 42af7a65-404d-4744-a932-0658087f49c3
2012-03-05 21:02:07 +00:00
patacongo
12c26e978f Fix some PIC32 USB IN transfer issues -- still more
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4453 42af7a65-404d-4744-a932-0658087f49c3
2012-03-04 22:31:18 +00:00
patacongo
729c5f4dce Some fixes for the PIC32 USB IN processing -- still some issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4452 42af7a65-404d-4744-a932-0658087f49c3
2012-03-04 19:31:10 +00:00
patacongo
864b815846 Several fixes to the PIC32 USB device OUT path logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4451 42af7a65-404d-4744-a932-0658087f49c3
2012-03-04 17:38:00 +00:00
patacongo
df43e1b890 Move all non-standard, NuttX header files into include/nuttx/net
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4450 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 23:18:34 +00:00
patacongo
4cd84bedc3 After a reset, need to re-connected to the bus
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4449 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 18:59:32 +00:00
patacongo
c9d9582984 A few more PIC32 USB fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4448 42af7a65-404d-4744-a932-0658087f49c3
2012-03-03 17:27:49 +00:00
patacongo
c121502dd3 Add more low-level, thread-independent socket interfaces
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4445 42af7a65-404d-4744-a932-0658087f49c3
2012-03-02 19:57:52 +00:00
patacongo
fd7ddb58be PIC32 USB driver updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4444 42af7a65-404d-4744-a932-0658087f49c3
2012-03-02 17:23:02 +00:00
patacongo
529216639d Fix PIC32 USB cloning errors -- There is not pbuffer toggle bit in the BDT status
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4442 42af7a65-404d-4744-a932-0658087f49c3
2012-03-02 00:16:12 +00:00
patacongo
a6c518a45d PIC32 USB device only supports full ping poing mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4441 42af7a65-404d-4744-a932-0658087f49c3
2012-02-29 23:19:20 +00:00
patacongo
4f9a1318ef A little more work (but not much progress) on the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4440 42af7a65-404d-4744-a932-0658087f49c3
2012-02-29 21:53:28 +00:00
patacongo
a174bb35c7 Add support for the Atollic 'Lite' toolchain in all STM32 F4 configurations
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4417 42af7a65-404d-4744-a932-0658087f49c3
2012-02-23 18:42:36 +00:00
patacongo
d2e05ac96f Fix a small RAM log bug (the RAM log still does not work)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4385 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 20:27:49 +00:00
patacongo
8b9f3616cb Fix some typos and compilation errors introduced in the last checkin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4384 42af7a65-404d-4744-a932-0658087f49c3
2012-02-12 02:53:01 +00:00
patacongo
8595411e4a Add logic to re-direct debug output to a sysloggin device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4381 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 14:20:40 +00:00
patacongo
667290b144 Add logic so that a RAM log can be used in place of a console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4380 42af7a65-404d-4744-a932-0658087f49c3
2012-02-11 03:50:52 +00:00
patacongo
50138c565e Candidate fix for the libboard.a dependency problem (from Mike Smith)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4346 42af7a65-404d-4744-a932-0658087f49c3
2012-01-29 20:07:16 +00:00
patacongo
e27023f7b1 Fixes to PIC32 USB driver and LPC17xx CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4316 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 02:40:56 +00:00
patacongo
9c651ccd25 PIC32 USB: Remove some bad logic in EP0 post-SETUP clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4315 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 23:27:44 +00:00
patacongo
09a4fbf5d7 Add logic to handle state and BDTs correctly with USB packet is dispatched by the class driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4314 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 21:25:21 +00:00
patacongo
9880e0b9e3 Fix shift value in PIC32 USB header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4312 42af7a65-404d-4744-a932-0658087f49c3
2012-01-19 16:20:28 +00:00
patacongo
9f32b85b7e PIC32 USB, using IN BDTs where OUT BDTs should be used
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4311 42af7a65-404d-4744-a932-0658087f49c3
2012-01-18 23:50:26 +00:00
patacongo
82eeabc751 PIC32 USB driver fixes (still not working)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4308 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 23:02:40 +00:00
patacongo
466eca6150 Finish coding of PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4306 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 14:40:12 +00:00
patacongo
36db121f75 More PIC32 Ethernet stuff (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4305 42af7a65-404d-4744-a932-0658087f49c3
2012-01-17 00:00:25 +00:00
patacongo
5e0734a661 Finish PWM pulse count configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4287 42af7a65-404d-4744-a932-0658087f49c3
2012-01-09 21:34:58 +00:00
patacongo
bc32b64717 More progress on the PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4283 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 20:38:28 +00:00
patacongo
decac77c65 More progress on the PIC32MX Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4282 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 18:41:49 +00:00
patacongo
1488c7dc74 Finishes PIC32 Ethernet header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4279 42af7a65-404d-4744-a932-0658087f49c3
2012-01-08 00:35:42 +00:00
patacongo
5dee060498 More register definitions for the PIC32 Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4278 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 21:46:47 +00:00
patacongo
3bc39cc367 More PIC32 Ethernet register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4277 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 20:26:47 +00:00
patacongo
0334e1954b Add PIC32 Ethernet driver (initial is just crude LPC17xx port)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4276 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 18:31:43 +00:00
patacongo
1fabd2c5c6 Fix some interrupt decode errors in the PIC32MX USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4275 42af7a65-404d-4744-a932-0658087f49c3
2012-01-07 13:35:58 +00:00
patacongo
55748ac52f Costmet clean, whitespace, carriage-return removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4274 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 23:41:20 +00:00
patacongo
2488955464 PIC32 USB driver fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4273 42af7a65-404d-4744-a932-0658087f49c3
2012-01-06 23:17:03 +00:00
patacongo
dbeba9dcaf Fix an error in the PIC32 USB device driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4261 42af7a65-404d-4744-a932-0658087f49c3
2012-01-04 23:06:20 +00:00
patacongo
0332c4742b STM32 GPIO fix; Fixes for PIC32 USB term example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4241 42af7a65-404d-4744-a932-0658087f49c3
2011-12-30 14:54:43 +00:00
patacongo
5af05e03cd The PIC32 USB device driver is code complete (but untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4240 42af7a65-404d-4744-a932-0658087f49c3
2011-12-30 00:09:43 +00:00
patacongo
680893298e More PIC32 USB device driver logic (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4239 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 20:46:38 +00:00
patacongo
0838bcd64b More PIC32 USB device driver logic (still incomplete)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4238 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 15:55:02 +00:00
patacongo
ae1ea6d5f9 Correct last set of changes to configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4237 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 12:52:15 +00:00
patacongo
b3ef59da0f More PIC32 USB driver stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4236 42af7a65-404d-4744-a932-0658087f49c3
2011-12-29 00:33:02 +00:00
patacongo
d9351bb9af A little STM32 logic in the PIC32 USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4235 42af7a65-404d-4744-a932-0658087f49c3
2011-12-28 19:40:37 +00:00
patacongo
3de52617ef Initial PIC32 driver -- now is just a badly hacked STM32 USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4234 42af7a65-404d-4744-a932-0658087f49c3
2011-12-28 00:49:48 +00:00
patacongo
3d212cf3d6 Updates for PIC32MX USB driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4233 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 20:07:17 +00:00
patacongo
5a29f52d68 Changes to tools to support MAC OS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4232 42af7a65-404d-4744-a932-0658087f49c3
2011-12-27 12:44:39 +00:00
patacongo
46c481bf94 Fix PIC32 serial driver lost interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4230 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 18:52:31 +00:00
patacongo
9cb6c68663 Fix an PIC32 error in scheduling of signal handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4229 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 16:24:43 +00:00
patacongo
c163d137bd Fix a MIPS delay slot error in the software interrupt logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4228 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 01:05:36 +00:00
patacongo
0a4f5c1bb5 Partial bring-up of the pcblogic board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4227 42af7a65-404d-4744-a932-0658087f49c3
2011-12-26 00:07:49 +00:00
patacongo
ccfc3b3d81 Fix a PIC32 software interrupt bug (pipeline hazard)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4224 42af7a65-404d-4744-a932-0658087f49c3
2011-12-25 15:56:08 +00:00
patacongo
ed08795a17 Add support for LEDs on the Ethernet Starter kit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4223 42af7a65-404d-4744-a932-0658087f49c3
2011-12-25 14:28:12 +00:00
patacongo
9bf6e3a5c7 PIC32 Serial Console fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4221 42af7a65-404d-4744-a932-0658087f49c3
2011-12-23 23:36:34 +00:00
patacongo
8ee3edbc75 PIC32 NSH configuration now builds without errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4220 42af7a65-404d-4744-a932-0658087f49c3
2011-12-23 00:58:00 +00:00
patacongo
1129e26b63 Changes to get PIC32 serial driver to compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4219 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 23:20:34 +00:00
patacongo
4105b95642 PIC32, need to clear SW interrupt bit in CAUSE register
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4218 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 22:50:41 +00:00
patacongo
8493122102 BEV needs to be zero in single-vector mode; Interrupts go to EBASE+0x200
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4153 42af7a65-404d-4744-a932-0658087f49c3
2011-12-10 00:00:28 +00:00
patacongo
27a51442d7 Add PHY setup for STM3240G-EVAL Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4151 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 17:03:16 +00:00
patacongo
0166e09b5b Oops.. pic32mx-exception.c, not pic32mx-exception.S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4150 42af7a65-404d-4744-a932-0658087f49c3
2011-12-09 14:09:36 +00:00
patacongo
2bf388e307 PIC32 bugfixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4149 42af7a65-404d-4744-a932-0658087f49c3
2011-12-08 23:33:04 +00:00
patacongo
bc6dc3a88d Fix PIC32 timer source frequency
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4146 42af7a65-404d-4744-a932-0658087f49c3
2011-12-07 23:38:23 +00:00
patacongo
df5a7be0fa update some comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4126 42af7a65-404d-4744-a932-0658087f49c3
2011-11-27 16:51:34 +00:00
patacongo
3099609c1b Fix PIC32 error in last check-in
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4125 42af7a65-404d-4744-a932-0658087f49c3
2011-11-25 12:37:54 +00:00
patacongo
7e1a683605 More PIC32 nested interrupt work-around
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4102 42af7a65-404d-4744-a932-0658087f49c3
2011-11-18 23:24:53 +00:00
patacongo
7276e3155c More PIC32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4101 42af7a65-404d-4744-a932-0658087f49c3
2011-11-18 22:37:27 +00:00
patacongo
a5b16d9f0d PIC32 debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4095 42af7a65-404d-4744-a932-0658087f49c3
2011-11-17 12:36:40 +00:00
patacongo
93d0aa3a6e Fix an error in FAT needed for interoperability with Windows when access first entry in root directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4093 42af7a65-404d-4744-a932-0658087f49c3
2011-11-15 22:37:14 +00:00
patacongo
22453a6f70 Prep for 6.11 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4090 42af7a65-404d-4744-a932-0658087f49c3
2011-11-12 17:49:00 +00:00
patacongo
02459d0d1f More PIC32 debug updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4083 42af7a65-404d-4744-a932-0658087f49c3
2011-11-09 23:59:46 +00:00
patacongo
ceaff95d18 Misc PIC32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4082 42af7a65-404d-4744-a932-0658087f49c3
2011-11-09 12:35:24 +00:00
patacongo
5de28bbfb5 fix some register typing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4080 42af7a65-404d-4744-a932-0658087f49c3
2011-11-03 01:58:55 +00:00
patacongo
2308f64512 Add (and use) some new PIC32MX CP0 macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4079 42af7a65-404d-4744-a932-0658087f49c3
2011-11-03 01:50:57 +00:00
patacongo
88fde06d5b A few more AVR32 fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4078 42af7a65-404d-4744-a932-0658087f49c3
2011-11-03 01:16:48 +00:00
patacongo
44dc775b08 Fix some MIPS software interrupt enabling issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4067 42af7a65-404d-4744-a932-0658087f49c3
2011-10-29 02:29:13 +00:00
patacongo
64fba1740e Fixes to get the PIC32MX serial port working
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4062 42af7a65-404d-4744-a932-0658087f49c3
2011-10-24 23:51:46 +00:00
patacongo
f6b63d6284 Fix PIC32 jalr instructions: arguments consistentley reversed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4052 42af7a65-404d-4744-a932-0658087f49c3
2011-10-18 01:51:47 +00:00
patacongo
780cc915c5 Fix PIC32 ramfunc logic; add rectangle graphic functions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4050 42af7a65-404d-4744-a932-0658087f49c3
2011-10-17 17:52:55 +00:00
patacongo
9a6d840346 PIC32 configuration fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4048 42af7a65-404d-4744-a932-0658087f49c3
2011-10-14 23:57:07 +00:00
patacongo
83ac8cd807 ADS7843 updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4042 42af7a65-404d-4744-a932-0658087f49c3
2011-10-12 17:37:15 +00:00
patacongo
75dad1cd45 Add PIC32MX GPIO handling; add button/LED support for the Sure PIC32MX
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4040 42af7a65-404d-4744-a932-0658087f49c3
2011-10-11 20:50:10 +00:00
patacongo
635a131cd5 Misc PIC32 clean-up
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4038 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 23:05:59 +00:00
patacongo
797f84a9ed PIC32 start kit port builds successfully
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4037 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 22:40:59 +00:00
patacongo
6baab020a0 Fix fclose() return value when closing read-only file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4036 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 19:40:56 +00:00
patacongo
79317879cf Adding support of PIC32MX5xx/6xx/7xx families
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4035 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 18:42:36 +00:00
patacongo
841867459d Adding support of PIC32MX5xx/6xx/7xx families
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4034 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 16:52:14 +00:00
patacongo
c6d2d6af88 Starting support for PICMX324xx/5xx/7xx and PIC32 Ethernet Starter Kit
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4033 42af7a65-404d-4744-a932-0658087f49c3
2011-10-10 02:11:08 +00:00
patacongo
394d468661 Fix issue with multilib build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3926 42af7a65-404d-4744-a932-0658087f49c3
2011-08-30 12:49:24 +00:00
patacongo
aceb299ec9 More Kinetis logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3881 42af7a65-404d-4744-a932-0658087f49c3
2011-08-15 01:50:35 +00:00
patacongo
66b873ef77 Add basic Kinetis serial support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3878 42af7a65-404d-4744-a932-0658087f49c3
2011-08-14 15:53:19 +00:00
patacongo
625d8a33bd Add an 'export' target to the NuttX top-level Makefile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3771 42af7a65-404d-4744-a932-0658087f49c3
2011-07-11 22:52:51 +00:00
patacongo
84cdbc3fef Change for clean compilation of Sure PIC32MX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3742 42af7a65-404d-4744-a932-0658087f49c3
2011-07-03 17:14:27 +00:00
patacongo
6cb172c83a More logic for the AVR port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3684 42af7a65-404d-4744-a932-0658087f49c3
2011-06-08 21:10:47 +00:00
patacongo
086618bfa9 Fixes to PIC32 config words
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3641 42af7a65-404d-4744-a932-0658087f49c3
2011-05-23 18:13:03 +00:00
patacongo
6b540239d6 Add a tool to create proper nuttx.hex files for PICkit2
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3640 42af7a65-404d-4744-a932-0658087f49c3
2011-05-22 21:10:51 +00:00
patacongo
dd49aabad6 Fix for clean PIC32 compile with DEBUG on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3639 42af7a65-404d-4744-a932-0658087f49c3
2011-05-22 17:56:57 +00:00
patacongo
d2737a383c Completes coding portion of basic PIC32 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3637 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 16:30:18 +00:00
patacongo
e504885b87 PIC32: Fix timer 1 source, uart priority, add pre-fetch cache header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3636 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 14:41:53 +00:00
patacongo
3edb6c0078 PIC32 Device Configuration Words
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3635 42af7a65-404d-4744-a932-0658087f49c3
2011-05-21 00:09:15 +00:00
patacongo
d197d3926b Add PIC32 UART support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3634 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 22:15:16 +00:00
patacongo
16620ef8e5 Add PIC32 interrupt decode logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3633 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 17:51:11 +00:00
patacongo
9b0bf21246 Fleshing out PIC32 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3632 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 16:19:01 +00:00
patacongo
464b5fc042 Clean up a few PIC32 link errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3631 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 01:51:55 +00:00
patacongo
eba3d62109 Add PIC32 exception handlers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3630 42af7a65-404d-4744-a932-0658087f49c3
2011-05-20 00:21:26 +00:00
patacongo
fc41b3f714 Add PIC32 exception handling macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3629 42af7a65-404d-4744-a932-0658087f49c3
2011-05-19 22:00:49 +00:00
patacongo
b28746f885 Add PIC32 interrupt controls and timer initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3628 42af7a65-404d-4744-a932-0658087f49c3
2011-05-19 18:29:40 +00:00
patacongo
c8dfdc80bf Add S/W interrupt 0 handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3627 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 23:01:27 +00:00
patacongo
fb4bbb1517 Add MIPS system call infrastructure
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3626 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 22:34:11 +00:00
patacongo
3a82a69f43 More PIC32 context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3625 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 19:52:17 +00:00
patacongo
a3131d0d31 Add more context switching files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3624 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 19:11:36 +00:00
patacongo
0fee218399 Add PIC32 register definitions and assertion logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3623 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 17:16:28 +00:00
patacongo
5eea025925 Add some standard common files to PIC32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3622 42af7a65-404d-4744-a932-0658087f49c3
2011-05-18 00:38:57 +00:00
patacongo
d88416d2c3 Add start function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3621 42af7a65-404d-4744-a932-0658087f49c3
2011-05-17 23:52:30 +00:00
patacongo
bb38ba608d Add MIPS32 interrupt controls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3620 42af7a65-404d-4744-a932-0658087f49c3
2011-05-17 14:59:27 +00:00
patacongo
1d8562a812 Beginnings of PIC32 build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3619 42af7a65-404d-4744-a932-0658087f49c3
2011-05-16 22:20:26 +00:00
patacongo
967ca75164 Completes all PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3618 42af7a65-404d-4744-a932-0658087f49c3
2011-05-16 18:59:30 +00:00
patacongo
e5faee5c3a More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3614 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 22:26:02 +00:00
patacongo
4b5cb10b9b Add more PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3613 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 16:02:38 +00:00
patacongo
7d517b536b More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3611 42af7a65-404d-4744-a932-0658087f49c3
2011-05-15 14:45:13 +00:00
patacongo
1c0f987bd6 Add FLASH header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3605 42af7a65-404d-4744-a932-0658087f49c3
2011-05-13 23:14:32 +00:00
patacongo
f07054f182 Add PIC32 RTC definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3604 42af7a65-404d-4744-a932-0658087f49c3
2011-05-13 16:52:29 +00:00
patacongo
dffa7f5293 Add PIC32 DMA header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3599 42af7a65-404d-4744-a932-0658087f49c3
2011-05-12 23:22:13 +00:00
patacongo
bd699ed006 Add PIC32 WDT header file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3592 42af7a65-404d-4744-a932-0658087f49c3
2011-05-12 00:28:48 +00:00
patacongo
60e4189637 More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3591 42af7a65-404d-4744-a932-0658087f49c3
2011-05-11 22:47:59 +00:00
patacongo
5b684b9b6c More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3590 42af7a65-404d-4744-a932-0658087f49c3
2011-05-11 20:44:33 +00:00
patacongo
59170e15b4 More PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3589 42af7a65-404d-4744-a932-0658087f49c3
2011-05-11 17:21:47 +00:00
patacongo
677858fd86 Add more PIC32 header files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3586 42af7a65-404d-4744-a932-0658087f49c3
2011-05-10 23:20:39 +00:00
patacongo
d43e5de52d Add PIC32 CP0 Regsiter Definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3580 42af7a65-404d-4744-a932-0658087f49c3
2011-05-09 19:37:22 +00:00
patacongo
f43fd81b77 Add directory structure to support PIC32
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3579 42af7a65-404d-4744-a932-0658087f49c3
2011-05-08 21:38:47 +00:00