Commit Graph

334 Commits

Author SHA1 Message Date
patacongo
d64396b44b 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
93967f8b7f 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
1ef904003e 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
1c52dce216 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
f66f0c3d24 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
466efbd35c 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
36299b338f 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
be1b67a1a2 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
d621681866 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
75a1f693d1 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
ca83133f2b 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
1d6f0cbbd3 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
b48009644f 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
1b94639432 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
bca9260b06 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
ad430fc198 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
40717da192 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
a71843ef91 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
ff293217de 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
a59665cddc 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
504dde5934 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
8c3c7314a8 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
78a5a2e29f 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
7c7a0d4f24 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
5306523bce 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
d5a83f6c48 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
92469824e6 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
bb9dc58217 /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
64e00aa972 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
469ec154c0 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
26c9112ad2 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
f751d36eee 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
3c65f6bea1 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
5019ece0ef 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
c1f7a61990 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
a5f761c24e 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
3d2879fc4e 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
39fe2c3540 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
6de9634620 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
00add0f0b2 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
7a2692df6a 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
7a9457bb07 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
0fcb7e439a 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
52150a94d9 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
a93d7eb69e 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
3eae5ef842 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
2adee9fd7a 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
08ef9d0367 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
e3f1d80ed6 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
59588247bf 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
6d011bfad4 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
39f2ca6c1f 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
295900dd88 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
1c7794b97d 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
0ccd2cdb66 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
58864cc6e9 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
e1524dfb75 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
0c7871edd1 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
e5716d687e 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
38c6090832 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
7bdeed5352 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
8a98f7c42b 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
455757f7a4 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
54990731ae 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
586d40dd2e 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
f2b2eacb64 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
cb4999caa8 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
1a2fce33e3 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
0b43f10d73 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
1db2607409 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
7b5b9fe825 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
9fb5af00c7 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
56dc80a2c9 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
ec9c610a2a 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
20f454adaf 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
75020c30ac 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
81345ab465 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
6159a159f4 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
a571bad413 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
6945aafc4e 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
330b89ca0e 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
4b8c0c41c8 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
d7d60dba35 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
34b7ebdf68 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
2fe4ad52f8 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
9269560d36 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
9294b7d6fd 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
9d08dd4005 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
953a846512 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
fca16fa374 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
22ee4c6dac 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
30d65514a9 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
1335b8f3d3 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
2260c596ae 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
a464fb1a5a 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
dccd03f6fb 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
693538e0d7 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
4e6130ed56 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
4efbccf97f 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
e2751251b5 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
ad6b6d9fb5 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
b0984fe674 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
ca3ba34235 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
f769367ac6 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
a828a038fe 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
f55923d1c0 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
9c1f5ce657 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
d1c6ef19cc 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
02b5aec878 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
7f005e2d3c 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
f811b4e17f 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
8ae5fade81 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
696285d84d 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
e39ef0a587 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
e23d7b69df 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
39106cde3a 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
4b7eb79075 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
d14fbab225 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
bb9efbfe7e 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
72272887a4 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
7b343bf7fe 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
e69cbad010 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
e94dcdf625 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
1800623e98 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
bc6ca2a294 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
c13af9c70f 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
29aa5efa1e 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
be7200c77e 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
f80346a4fe 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
5cf0052be6 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
bf2e266fd7 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
ae6d142d97 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
1a2df3e911 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
7d2c271e93 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
a3864126dc 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
3d3161a781 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
9cb6a2af2f 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
8f002accfc 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
4f7c673617 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
aa7765b80d 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
8613302525 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
e7e1934940 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
2de4db2fcb 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
992a0cbb7e 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
1c9f257fa4 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
89b23a27f8 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
804e7625b0 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
db88469442 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
de0524baec 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
14c215c980 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