Commit Graph

2639 Commits

Author SHA1 Message Date
Gregory Nutt
3689851037 SAMA5 LCDC: Default resolution if now RGB565; Add option to select a different output resolution than the sofware resolution (needs to the 24BPP for this LCD). 2013-10-10 18:41:42 -06:00
Gregory Nutt
931c6c43ca SAMA5 LCDC: Move DMA descriptors out of internal SRAM and into SDRAM. I am not completely clear, but it looks like the LCDC cannot support DMA from internal SRAM 2013-10-10 12:02:41 -06:00
Gregory Nutt
bb1f5e7d87 Arduino Due: RXD0 pull-up works with both REV2 and REV3 2013-10-10 07:11:13 -06:00
Gregory Nutt
a946a81092 SAMA5 LCDC: Corrections from first debug sessions. Still a way to go 2013-10-09 13:21:27 -06:00
Gregory Nutt
4868acf27e Add option to enable Aduino Due specific logic, like pull-up on UART0 RXD. Suggested by gdi@embedders.org 2013-10-09 07:35:00 -06:00
Gregory Nutt
35d2a61fdb Cosmetic change; removal of spaces at the end of lines 2013-10-09 07:30:39 -06:00
Gregory Nutt
2e03fdc4f7 SAMA5: Add an examples/nx configuration for testing the LCD 2013-10-08 16:52:21 -06:00
Gregory Nutt
7c32303c6f SAMA5: LCDC driver incorporated into the build system. 2013-10-08 15:30:38 -06:00
Gregory Nutt
bd91cbc460 SAMA5: LCDC driver progress 2013-10-07 12:05:16 -06:00
Gregory Nutt
b46a8d485f SAMA5: ADC and touchscreen drivers now build without errors 2013-10-03 14:32:21 -06:00
Gregory Nutt
4563ef16b5 SAMA5: Integrate touchscreen and ADC drivers into the build 2013-10-03 12:49:13 -06:00
Gregory Nutt
55b39463ec SAMA Touchscreen/ADC: More progress 2013-10-02 16:55:22 -06:00
Gregory Nutt
ff054ad0b7 Add framework for Spark Core board support. The initial commit is a clone of the Maple Mini and still needs Spark customizations 2013-10-02 08:24:46 -06:00
Gregory Nutt
fca0fdb7b2 SAMA5 ADC/Touchscreen: A little more logic 2013-10-01 14:40:34 -06:00
Gregory Nutt
750ba3238b Changes to NSH and readline to permit NSH to work on a platform with no file system 2013-09-30 11:34:04 -06:00
Gregory Nutt
14c2770bab Add freedom-kl25z/minnsh configuration: This is an experiment to see just how small we and get an NSH configuration. From Alan Carvalho de Assis. 2013-09-30 09:20:11 -06:00
Gregory Nutt
893631ef4d KL25Z: Add low-level up_lowgetc function that can be used to provide an NSH console when the file system (and hence the serial driver) is disabled. From Alan Carvalho de Assis 2013-09-30 09:15:31 -06:00
Gregory Nutt
4e3c5d61e3 Clean up some naming: fd vs. fildes vs. filedes and filep vs filp 2013-09-28 16:50:07 -06:00
Gregory Nutt
cab85f2e6a The last checkin replaced some impossible error handling with DEBUGASSERT. Except that one of the case is actually possible in one cornercase and had to be restored 2013-09-28 15:37:16 -06:00
Gregory Nutt
d8b62167ea Optimized sendfile() from Max Holtzberg 2013-09-28 14:47:49 -06:00
Gregory Nutt
d643619316 SAMA5: Update README.txt to show how to configure GMAC 2013-09-27 16:58:25 -06:00
Gregory Nutt
e7c7ac0f4c configs/compal_e88 converted to use the kconfig-frontends tools 2013-09-27 16:12:44 -06:00
Gregory Nutt
3eca0a8b05 Add support for the Motorola C139 phone 2013-09-27 15:11:31 -06:00
Gregory Nutt
607859cafb ZIT-ARM-1769: Led to LED control logic from Raashid Fatah 2013-09-26 07:15:52 -06:00
Gregory Nutt
33e3bbefd5 Mov apps/examples/composite to apps/system/composite; convert configs/stm3210e-eval/composite to use kconfig-frontend tools -- untested 2013-09-25 18:50:14 -06:00
Gregory Nutt
229c5748c5 Move apps/examples/cdcacm to apps/system/cdcacm 2013-09-25 17:23:03 -06:00
Gregory Nutt
024cb72187 Move apps/examples/usbmsc to apps/system/usbmsc 2013-09-25 16:54:39 -06:00
Gregory Nutt
6c4e26322c Updated README.txt 2013-09-25 15:21:23 -06:00
Gregory Nutt
72045de00e LED change requested by Rashid 2013-09-25 08:32:45 -06:00
Gregory Nutt
517887f445 Fix badly applied patch to ENCX24J600 2013-09-25 08:26:56 -06:00
Gregory Nutt
71fa99d69f SAMA5D3x-EK: Enable the interrupt stack in in all configurations 2013-09-24 13:46:14 -06:00
Gregory Nutt
6fedf8658a SAMA5 UDPHS: Minor clean-up of STALL logic 2013-09-23 18:10:41 -06:00
Gregory Nutt
4a6c2b0c9d ZKIT-ARM-1769: LED1 is now user controllable. From Rashid Fatah 2013-09-23 07:47:56 -06:00
Gregory Nutt
8f9c70da3b SAMA5D3x-EK AT25 Serial FLASH: Dropping SPI frequency to 10MHz gives more reliable behavior 2013-09-22 12:22:55 -06:00
Gregory Nutt
03c93c0e5b Fix minor typos in README file 2013-09-21 15:38:11 -06:00
Gregory Nutt
1782cfa61d SAMA5D3x-EK: Always use UPLL for USB clocking 2013-09-21 12:20:11 -06:00
Gregory Nutt
5bc436283d SAMA5 + HID Keyboard. Fixes to initialize the HID keyboard class 2013-09-20 15:23:00 -06:00
Gregory Nutt
26b155a4b6 SAMA5 OHCI: Fix some problems with D-Cache coherency and physical addressing related to interrupt endpoints 2013-09-20 15:22:09 -06:00
Gregory Nutt
ea747b5723 Several usability improvements the SAMA5D3x-EK configurations 2013-09-20 12:37:36 -06:00
Gregory Nutt
dc8c4d581c Names of some USB device definitions changed to avoid collisions 2013-09-20 10:00:30 -06:00
Gregory Nutt
6b97f797b2 SAMA5 OHCI: When UPLL drives OHCI the logically correct divider of 10 does not work; But a divider of 5 does. Why? 2013-09-19 16:10:46 -06:00
Gregory Nutt
aabeeeddde Ran make oldconfig on the SAMA5 NSH configuration 2013-09-18 13:52:37 -06:00
Gregory Nutt
07a294d71e SAMA5: Add support for the FPU OS test 2013-09-18 10:35:03 -06:00
Gregory Nutt
6c78acdd84 A consequence of previous change: Configurations that select a PHY also need to set CONFIG_NETDEVICES or PHY configuration will be lost on the next reconfiguration 2013-09-17 17:13:20 -06:00
Gregory Nutt
a936022ed1 Zkit-ARM-1868: MMC/SD is on SPI, not SSP0. From Rashid Fatah 2013-09-17 17:08:46 -06:00
Gregory Nutt
1edf5615c1 SAMA5 EMAC: Changes from early debug sessions. Still a way to go 2013-09-17 15:52:19 -06:00
Gregory Nutt
c233db1327 Add prefex ETH0 to all PHY configurations to support multiple NICs 2013-09-17 10:44:23 -06:00
Gregory Nutt
a791ae11ce SAMA5 EMAC: Incremental progress. Still not code complete 2013-09-16 11:36:12 -06:00
Gregory Nutt
6a01d80bb2 SAMA5 Ethernet: Add support for PHY interrupts 2013-09-15 12:24:42 -06:00
Gregory Nutt
bb73395c1d STM32: Support for the LeafLabs Maple and Maple Mini boards. From Librae 2013-09-13 12:45:33 -06:00
Gregory Nutt
d30e7cba6c SAMA5 EMAC and GMAC: More additions to register definition files 2013-09-13 03:35:56 -06:00
Gregory Nutt
bee5f08b4e SAMA5: Beginning of EMAC and GMAC register definition header files 2013-09-12 15:45:12 -06:00
Gregory Nutt
606ef4bd6a SAMA5D3x-EK README update 2013-09-12 14:17:56 -06:00
Gregory Nutt
838a57d142 SAMA5 TWI: Misc improvements during debug (still not getting interupts) 2013-09-12 12:25:31 -06:00
Gregory Nutt
d7d64c4593 SAMA5D3x-EK: Add support for (external) AT 24C512 EEPROM 2013-09-12 09:47:31 -06:00
Gregory Nutt
6af2303fd7 SAMA5: Barebones TWI driver implementation 2013-09-11 16:48:56 -06:00
Gregory Nutt
fd380cf375 SAMA5D3x-EK demo configuration now supports HSMCI0 and HSMCI1 2013-09-11 09:50:36 -06:00
Gregory Nutt
82be4dc243 SAMA5: Add tracing support to the OHCI driver 2013-09-10 16:01:44 -06:00
Gregory Nutt
52da9fff30 Fix a reference counting error in the USB host mass storage class 2013-09-10 11:38:40 -06:00
Gregory Nutt
f78fc42cf0 USB monitor extended so that it can also be used with USB host trace data 2013-09-09 15:02:33 -06:00
Gregory Nutt
be3dc67338 SAMA5: Add support EHCI/OHCI to sama5d3x-ek/demo (does not work yet); Fix some EHCI/OHCI compilation issues when DEBUG is disabled 2013-09-07 11:43:06 -06:00
Gregory Nutt
09ab41366d Fix warnings in USB MSC when compiled for a high speed device; also fix USB MSC default VID/PID configuration 2013-09-07 10:12:02 -06:00
Gregory Nutt
fe285f6d16 Extend USB trace logic. When we are configured to decode and stringify trace data, de-stringification support is not included for class driver trace output 2013-09-06 17:24:02 -06:00
Gregory Nutt
15ecbb9ab4 SAMA5D3x-EK: Add support for USB MSC device on AT25 serial flash 2013-09-06 13:07:29 -06:00
Gregory Nutt
4f9b277dac SAMA5D3x-EK: Add a new 'demo' configuration 2013-09-06 11:40:46 -06:00
Gregory Nutt
2eba7facbc CDC/ACM and PL2303 device drivers: Don't use the max packet size assigned to an endpoint in order to determine the request buffer size. The endpoint has not yet been configured that max packet size may be wrong. 2013-09-05 18:00:16 -06:00
Gregory Nutt
6f3d2936dd More renaming examples/usbstorage to examples/usbmsc 2013-09-05 08:10:36 -06:00
Gregory Nutt
9638bff522 Rename examples/usbstorage to examples/usbmsc. From CCTSAO 2013-09-05 08:07:03 -06:00
Gregory Nutt
8108a81172 Some restructing of the CC3000 build 2013-09-04 16:40:57 -06:00
Gregory Nutt
47462f8238 Initial cut of a driver for the TI CC3000 network module with support on the Freescale KL25Z board from Alan Carvalho de Assis 2013-09-03 14:59:48 -06:00
Gregory Nutt
7c34498c01 SAMA5 UDPHS: A little debugging progress. Not all transfers are working yet 2013-09-03 13:09:50 -06:00
Gregory Nutt
e77071c6e0 SAMA5 UDPHS: Some very early debug corrections. Not yet working. 2013-09-02 12:26:15 -06:00
Gregory Nutt
8446418f0c Misc USB device changes reated to SAMA5, trace support, and USB monitoring 2013-09-01 11:52:21 -06:00
Gregory Nutt
ad6c760522 SAMA5 UDPHS: Support USPHS clock configuration 2013-09-01 11:29:51 -06:00
Gregory Nutt
27d6d3045d SAMA UDPHS: Add pull-up and stall logic. Added to build system but does not yet build 2013-08-31 17:37:51 -06:00
Gregory Nutt
849ad6b021 Fix typo in Freedom KL25Z function name. From Alan Carvalho de Assis 2013-08-31 13:22:25 -06:00
Gregory Nutt
876a9fe6bd Remove empty README.txt files 2013-08-31 13:17:04 -06:00
Gregory Nutt
9a77ca37e3 SAMA5 EHCI: Implemented (but did not test) interrupt endpoint logic 2013-08-28 13:07:35 -06:00
Gregory Nutt
f19af5572d Fix all occurrences of "the the" in documentation and comments 2013-08-27 09:40:19 -06:00
Gregory Nutt
0053ed9c37 SAMA4 EHCI: Correct some backward conditional compilation; fix some warnings 2013-08-26 17:03:52 -06:00
Gregory Nutt
ff8e0c725c SAMA5 EHCI: Data toggle and status phase fixes 2013-08-25 14:45:08 -06:00
Gregory Nutt
ddce6bb638 Add ENCX24J600 Ethernet driver and support for the ENCX24J600 with the Olimex STM32 P107 board. From Max Holtberg 2013-08-25 11:21:54 -06:00
Gregory Nutt
960227799f SAMA5D3x-EK: Fix some backward conditional compilation 2013-08-24 14:06:47 -06:00
Gregory Nutt
39052e0ae7 SAMA5: EHCI now handles low- and full-speed connections by giving them to OHCI; OHCI now uses the work queue to defer interrupt processing; If both OHCI and EHCI are enabled, EHCI is the master of the UHPHS interrupt 2013-08-24 11:34:24 -06:00
Gregory Nutt
cd21e6886e SAMA5: Add support for sharing ports when both OHCI and EHCI are enabled 2013-08-23 10:58:30 -06:00
Gregory Nutt
3d59f1f61c Move all SAMA5 EHCI interrupt handling to the worker thread 2013-08-21 11:07:42 -06:00
Gregory Nutt
bc57cd5684 Beginning of support for SAMA5 EHCI. Not much there yet 2013-08-20 15:46:36 -06:00
Gregory Nutt
1d56a5c9fd Add few more EHCI definitions 2013-08-18 13:01:13 -06:00
Gregory Nutt
7b617b01f2 Completes EHCI header file 2013-08-18 09:01:16 -06:00
Gregory Nutt
111a707511 SAMA5 OHCI: Re-organize some endpoint list data structures.. Strange things happen when semaphores lie in DMA memory which is occasionally invalidated 2013-08-16 11:36:51 -06:00
Gregory Nutt
91a2700f31 SAMA5: Correct the PLL 48MHz divisor. It was off by a factor of two... no idea why 2013-08-14 19:38:48 -06:00
Gregory Nutt
589386a5ce SAMA5: ports should not be reset state (seems to make no difference) 2013-08-14 17:33:31 -06:00
Gregory Nutt
8686c040ac SAMA5: Alternatie clock configuration that yields a perfect 48MHz full speed USB clock and a CPU clock of 384MHz 2013-08-14 15:16:04 -06:00
Gregory Nutt
0c1d2ed2b8 SAMA5: Fix out of range USB PLL divisor 2013-08-14 14:20:01 -06:00
Gregory Nutt
8134ab2d3d Clean up some LP17xx and STM32 USB host configuration compilation errors due to the massive changes to the USB host interfaces needed to support the SAMA5 2013-08-13 17:43:19 -06:00
Gregory Nutt
567c513046 Separate wait() and enumerate() methods from struct usbhost_driver_s and move to new interface, struct usbhost_connection_s. This is part of the necessary restructuring of the USB host interface to support multiple root hub ports. 2013-08-13 15:03:46 -06:00
Gregory Nutt
f76d80ca1d Convert olimex-stm32-p107/nsh configuration to use kconfig-frontends tool. From Max Holtzberg 2013-08-12 15:00:28 -06:00
Gregory Nutt
3fbe4dd685 First of several changes needed to support multiple USB host root hubs 2013-08-12 14:44:06 -06:00
Gregory Nutt
e47dba5d22 SAMA5: Add logic to control VBUS power for OHCI 2013-08-12 11:59:10 -06:00
Gregory Nutt
0983828ff3 SAMA5: Add support for initialization of the USB host and mass storage class 2013-08-11 17:52:36 -06:00
Gregory Nutt
6424d0d63a 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
c7782bdfb9 SAMA5: Some improvements to the HSCMI card removal/insertion logic 2013-08-11 11:13:11 -06:00
Gregory Nutt
cddedcde9b SAMA5: Fix HSMCI race condition. Now memory card interface is functional with DMA 2013-08-10 18:01:23 -06:00
Gregory Nutt
141a75c9db Rearrange configuration settings so that ARCH_HAVE_SDIO is moved to higher, sharable level 2013-08-10 09:06:53 -06:00
Gregory Nutt
42fe927004 SAM3,4,A5 DMA fixes; SAMA5 SPI driver now supports DMA transfers 2013-08-09 13:12:16 -06:00
Gregory Nutt
f468fb857d Change setup logic to hand MTD minor numbers for AT24, HSMCI0, and HSMCI1 2013-08-07 11:31:31 -06:00
Gregory Nutt
d1477f9811 SAMA5: A few early, easy bug fixes. The rest will all be difficult 2013-08-06 11:29:53 -06:00
Gregory Nutt
b28e8c5dda SAMA5: Add PIO interrupt support. Massive name changes for consistency in PIO vs GPIO naming. SAMA5D3x-EK: Add support for SD card detection PIO interrupts 2013-08-06 10:20:17 -06:00
Gregory Nutt
dd0e465239 SAMA5: Add HSMCI memory card driver support 2013-08-05 16:21:24 -06:00
Gregory Nutt
a941aca46e SAMA5: SPI Driver + AT25 FLASH work; SAM3/4: Correct an error, SPI will not be correctly configured if CONFIG_SPI_OWNBUS=n 2013-08-05 10:29:43 -06:00
Gregory Nutt
94d84d74b0 SAMA5: Add logic to auto-mount a file system on AT25 SPI FLASH for NSH 2013-08-05 08:24:39 -06:00
Gregory Nutt
854df0ef8d SAMA5D3x-EK: At support for the AT25 serial FLASH 2013-08-04 16:56:41 -06:00
Gregory Nutt
32df32428c Fixes for compiler warnings from Lorenz Meier 2013-08-03 16:51:48 -06:00
Gregory Nutt
ca565bf4a0 Standard configuration variables used to enable interupt controller debug; SAMA5: Correct handling of spurious interrupts 2013-08-03 08:22:37 -06:00
Gregory Nutt
075e370c29 Various changes to get SAMA5 SDRAM working. Marginally functional, but there is more to be done 2013-08-02 18:30:27 -06:00
Gregory Nutt
adb065593d Correct some typos int he MPADDRCS register address definitions 2013-08-02 12:06:11 -06:00
Gregory Nutt
244e85a4fa SAMA5: More MMU-related changes to properly initialize SDRAM 2013-08-02 11:11:57 -06:00
Gregory Nutt
22b491b8e4 SAMA5: Add logic to initialize SAMA5D3x-EK on-board SDRAM 2013-08-01 16:58:55 -06:00
Gregory Nutt
b308cb05f9 Correct errors noted in SAMA5 documentation 2013-08-01 07:10:34 -06:00
Gregory Nutt
b780f672da SAMA5: Delay loop calibrated; Correct sense of the RED LED 2013-07-31 11:44:30 -06:00
Gregory Nutt
5470fc54e6 SAMA5: Add an NSH configuration of the SAMA5D3x-EK board 2013-07-31 10:46:13 -06:00
Gregory Nutt
aa1e0dfe2f SAMA5: Modification of some CPSR-related inline functions 2013-07-31 09:11:24 -06:00
Gregory Nutt
794e22fba7 SAMA5: Change mapping of vector tables to work around that fact that I don't understand how the AXI MATRIX remap works 2013-07-30 16:19:52 -06:00
Gregory Nutt
1204756506 ARMv7-A: Add cp15_disable_dcache(); SAMA5: nor_main.c no disables MMU and caches; Should not remap ISRAM to address 0x0 unless we booted into ISRAM 2013-07-30 13:20:33 -06:00
Gregory Nutt
a141d8fb87 The last bit of a previous commit was still in the editor 2013-07-30 12:07:51 -06:00
Gregory Nutt
2faa069f82 Add ARMv7-A irqdisable() inline function 2013-07-30 11:37:09 -06:00
Gregory Nutt
7f0eacc754 SAMA5: More cache and mmu inline utility functions 2013-07-29 19:57:15 -06:00
Gregory Nutt
fec43ffc3b Changes to ARMv7-A boot logic to handle the case where we execute out of NOR FLASH 2013-07-29 17:54:56 -06:00
Gregory Nutt
58b59e721f SAMA5: Add a little NuttX debug program to help debugger programs in NOR flash 2013-07-29 13:57:32 -06:00
Gregory Nutt
76164452ff Add SAMA5 HSMC register definitions and logic to reconfigure the NOR FLASH 2013-07-29 10:56:21 -06:00
Gregory Nutt
c24670de36 SAMA5: Add file structure to support board-specific initialization of NOR flash 2013-07-29 07:41:53 -06:00
Gregory Nutt
afdd9a7416 SAMA5: The ostest configuration have been converted to run out of NOR flash. There is more to be done, however 2013-07-28 15:07:35 -06:00
Gregory Nutt
63eb68bc0a Removed unused ARMv7-A cache function 2013-07-27 14:03:02 -06:00
Gregory Nutt
fb84732cb8 SAMA5: Fix heap allocation bugs 2013-07-27 11:28:31 -06:00
Gregory Nutt
c46cce8319 Add a hello world configuration to help with the SAMA5 bringup 2013-07-26 15:28:01 -06:00
Gregory Nutt
efded598fd Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
e84839c0f6 Fix some bad page table definitions of last commit 2013-07-25 18:11:25 -06:00
Gregory Nutt
9138c1e8c8 Misc Cortex-A5 MMU-related fix -- still does not boot 2013-07-25 16:37:55 -06:00
Gregory Nutt
5235431c12 Fix an uninitialized register error that crept into the ARM9 start up code many years ago and was recently cloned into the Cortex-A5. Obviously no on has used NuttX with ARM9 for years 2013-07-24 20:12:04 -06:00
Gregory Nutt
6901fe7157 Fix SAMA5 vector linking issue 2013-07-24 12:51:42 -06:00
Gregory Nutt
dd420047eb Update SAMA5D3x-EK board configuration to support on-board UART connections, LEDs, and push buttons 2013-07-24 12:27:12 -06:00
Gregory Nutt
23fd5e4626 Revamp the way external memory regions are configured; Add logic to add SAMA5 external memory regions to the heap 2013-07-24 10:08:32 -06:00
Gregory Nutt
d822f4193f Improve Cortex-A5 context switching so that a little less copying is done 2013-07-24 07:47:51 -06:00
Gregory Nutt
1b8ae7c530 SAMA5: Adapt clocking for different boot modes. New header files for AXI matrix, BSC, and SFR 2013-07-23 13:54:49 -06:00
Gregory Nutt
7324317d58 SAMA5 clock configuration should now agree with Atmel sample code; Added header file with macros to enable and disable peripheral clocking 2013-07-22 17:00:02 -06:00
Gregory Nutt
345e74c5bc Add SAMA5 clock logic. Cloned from SAM3U and not yet verified 2013-07-22 14:42:05 -06:00
Gregory Nutt
8f393f1c88 Add system timer logic for the SAMA5 2013-07-21 15:49:17 -06:00
Gregory Nutt
5a8e2718c6 Add some preliminary linker scripts in order to begin building the SAMA5 target 2013-07-21 13:50:22 -06:00
Gregory Nutt
f29d945f71 A few more Cortex-A5 and SAMA5 files 2013-07-21 12:52:38 -06:00
Gregory Nutt
b9e889a63d A few more SAMA5D3 files 2013-07-19 17:45:28 -06:00
Gregory Nutt
381c8c2509 Basic framework to support the AT91SAMA5D3 family and the SAMA5D3x-EK board(s) in particular 2013-07-19 15:23:03 -06:00
Gregory Nutt
a16fedf11e Some initial frame for Cortex-A5 support. No much yet 2013-07-18 15:20:47 -06:00
Gregory Nutt
f72b347765 NSH cmp command by Andrew Twidgell 2013-07-18 08:24:29 -06:00
Gregory Nutt
a948b94a33 Fix problems with host build of the Zmodem tools 2013-07-16 11:23:35 -06:00
Gregory Nutt
3ab24412af More Zmodem tweaks 2013-07-16 08:26:59 -06:00
Gregory Nutt
9ff00c4a41 Zmodem utilities can now be built for Linux; Fix some configuration confusion 2013-07-15 17:50:17 -06:00
Gregory Nutt
c6aee2c3e8 Minor end-of-the-day Zmodem changes 2013-07-15 17:11:09 -06:00
Gregory Nutt
bb155a0528 Fix file write loop 2013-07-15 16:21:20 -06:00
Gregory Nutt
df4fb5a4cc Partial fixes for Zmodem RX buffering problems. 2013-07-15 12:33:35 -06:00
Gregory Nutt
ff9554097e Fix an error in the ordering of fields in zm_transition_s structure; update documentation 2013-07-14 12:34:45 -06:00
Gregory Nutt
a611ee9c2e More Zmodem bugfixes and new files 2013-07-13 13:19:15 -06:00
Gregory Nutt
e5aa6acc0b Additional support needed for Zmodem debug 2013-07-12 18:10:12 -06:00
Gregory Nutt
bd3ea6e8ad Build/test framework for the Zmodem sz and rz commands which are on their way 2013-07-12 16:01:37 -06:00
Gregory Nutt
9686b4a6c5 SAM configurations: don't use 3 memory regions unless SMC is enabled 2013-07-12 14:50:22 -06:00
Gregory Nutt
592e012b99 Fix some SPI bit bang timing. I still don't think it is working properly; I am going to need to borrow a logic analyzer 2013-07-05 11:45:17 -06:00
Gregory Nutt
7c88100581 Fix type in the USB composite device driver 2013-07-04 07:47:32 -06:00
Gregory Nutt
b2a6338e69 Updates for the Sure PIC32 board 2013-07-03 11:39:54 -06:00
Gregory Nutt
9bd0ede6e0 Back out part of last change to the Arduino Due touchscreen driver 2013-07-03 09:07:01 -06:00
Gregory Nutt
242b459b05 Fix SAM34 interrupt handling for ports D-F; fix MISO logic in Arduino Due touchscreen driver 2013-07-03 08:12:45 -06:00
Gregory Nutt
c8a4f69a69 Several fixes to get a clean compile of the Arduino touch screen 2013-07-02 13:52:09 -06:00
Gregory Nutt
d6db74e581 Correct port direction for Arduino MISO signal 2013-07-02 12:37:20 -06:00
Gregory Nutt
d09fd9a9ca Flesh out a few missing pieces for the Arduino ITEAD TFT shield 2013-07-02 11:36:48 -06:00
Gregory Nutt
3c36e6e8b5 Add support for touchscreen on ITEAD Arduino shield. Untested 2013-07-02 08:25:53 -06:00
Gregory Nutt
02ee101fda Revise how delays are calculated in SPI bit bang driver so that we may get a little better frequency resolution 2013-07-01 20:55:36 -06:00
Gregory Nutt
ba19aff54c clean up of SPI bit bang logic 2013-07-01 17:49:43 -06:00
Gregory Nutt
5f066efd2d Add a general bit-bang SPI lower-half driver and implement the bit-bang driver for the Arduino ITEAD TFT shield 2013-07-01 16:50:16 -06:00
Gregory Nutt
a82077e0fc Add a general bit-bang SPI upper-half driver 2013-07-01 12:23:26 -06:00
Gregory Nutt
17810f3e6f Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
b26132f8be Update SAM3u-EK touchscreen status 2013-06-30 12:05:09 -06:00
Gregory Nutt
6be88e0b54 Minor SAM3U-EK NxWM build updates, documentation, configurations 2013-06-30 11:20:24 -06:00
Gregory Nutt
815da5e8bb Changes to get a clean compile of configs/sam3u-ek/nxwm 2013-06-29 09:39:01 -06:00
Gregory Nutt
b0bc01aca7 SAM3U-EK touchscreen is now functional; created an NxWM configuration to test it further 2013-06-28 17:07:58 -06:00
Gregory Nutt
b46b72e341 quick and not very accurate calibration of arduino due timing loops 2013-06-28 15:50:44 -06:00
Gregory Nutt
6a3d1fece4 Add an NSH configuration for the Arduino Due; Pluse several fixes related to the Due and to the SAM3X in general 2013-06-28 14:32:08 -06:00
Gregory Nutt
fd683277c4 Arduino Due: Fixes to FLASH address, flash wait states, updated Comments. Now boots and runs a bit before crashing 2013-06-28 11:29:14 -06:00
Gregory Nutt
3e2fe6013c Add instructions to use BOSSA to load nuttx into Due 2013-06-28 08:54:09 -06:00
Gregory Nutt
74084ee74e With these changes the Arduino Due port builds without errors 2013-06-27 15:07:07 -06:00
Gregory Nutt
7387a6feef Flesh out the Arduino Due board configuratino and integrate it with the build and configuration system 2013-06-27 14:24:27 -06:00
Gregory Nutt
74717eaef8 Review and update of SAM3/4 header files and conditional logic for SAM3X/A support 2013-06-27 11:06:13 -06:00
Gregory Nutt
288adb2f5a Add peripheral configuration logic for the SAM3X/3A; Change all references to SAM3/4 SPI to SPI0 for compatibity with the SAM3X/3A which has SPI0 and SPI1; Add directory which will eventually holdl an Arduino Due port 2013-06-26 18:46:44 -06:00
Gregory Nutt
b44495a7c6 Add support for SAM3X and 3A chips, interrupts, and peripheral IDs 2013-06-26 12:28:32 -06:00
Gregory Nutt
3f742ae108 Add support fo SAM4S Xplained SRAM 2013-06-26 10:57:25 -06:00
Gregory Nutt
e02e6694b1 Fix integration of RAM test into the build and configuration system 2013-06-26 10:54:12 -06:00
Gregory Nutt
179bae1aee Add support for a separate CCM memory allocator for members of the STM32 family that support CCM memory 2013-06-25 09:13:30 -06:00
Gregory Nutt
841f149a3d Fix UG-2832HSWEG04 landscape. Add reverse landscape support to UG_2864AMBAG01 and UG-9964HSWAG01. Fixe NXHELLO default colors for 1-bit mono modes 2013-06-24 12:37:02 -06:00
Gregory Nutt
c807bef4cc Fix UG-2832HSWEG04 configuration values 2013-06-23 15:17:22 -06:00
Gregory Nutt
581e409c37 Add support for the UG-2843HHSWEG04 OLED and for the SAM4L Xplained Pro OLED module that uses that OLED. 2013-06-23 14:39:56 -06:00
Gregory Nutt
d235cf8b8a SAM4L Xplained SLCD driver is complete 2013-06-23 09:05:20 -06:00
Gregory Nutt
ba516dcc32 Beginning debug of SAM4L Xplained SLCD 2013-06-22 17:01:44 -06:00
Gregory Nutt
d2a3bb145b The SAM4L Xplained Pro SLCD driver is code complete but untested 2013-06-22 10:39:25 -06:00
Gregory Nutt
679cb1cda2 Beginning of a driver for the SAM4L LED1 module 2013-06-21 17:42:09 -06:00
Gregory Nutt
e474546f27 Straighten out issues about who calls C++ initializers with CXXTEST or HELLOXX are built as NSH applications; Add an ofstream test to CXXTEST suggested by Michael; Update many defconfig fiels to that they set configurations to handle C++ constructors just as before these configuration changes 2013-06-21 09:32:57 -06:00
Gregory Nutt
907907e10c More KL25Z SPI fixes 2013-06-20 19:58:45 -06:00
Gregory Nutt
94686c0e15 Fix backward wait condition in KL24Z SPI driver 2013-06-20 17:39:42 -06:00
Gregory Nutt
9d30cd2935 Add framework for managing SPI-related discretes on the Freedom KL25Z board. 2013-06-20 13:50:16 -06:00
Gregory Nutt
c896749cba Change use of ferror() in uClibc++ so that is does not use more capability than is currently supported by the NuttX ferror() 2013-06-20 08:21:04 -06:00
Gregory Nutt
9ca98a127b More Freedom KL25Z changed to and from Alan Carvalho de Assis 2013-06-19 20:50:27 -06:00
Gregory Nutt
f01e963793 Add SPI register definitions for the Freescale KL25Z 2013-06-19 09:56:32 -06:00
Gregory Nutt
61e3278297 SAM3U-EK LCD: Correct LCD configuration 2013-06-18 14:53:10 -06:00
Gregory Nutt
35840871b4 Fix test of NULL pointer in the SAM3/4 SPI driver 2013-06-18 12:16:52 -06:00
Gregory Nutt
ce3c255bce Freescale KL25Z support from Alan Carvalho de Assis 2013-06-18 11:20:57 -06:00
Gregory Nutt
a2db1035dc SAM3/4 SPI phase control (CPHA) is inverted 2013-06-18 09:29:55 -06:00
Gregory Nutt
7a9d4058f5 MMC/SD driver needs to manage SPI mode and data width as well 2013-06-17 12:31:24 -06:00
Gregory Nutt
a168132901 SAM3U-EK board now runs at 96MHz 2013-06-17 08:41:52 -06:00
Gregory Nutt
5ed3283b02 SAM3U-EK: Correct polarity of the PENIRQ signal 2013-06-16 14:31:18 -06:00
Gregory Nutt
28a7c22757 Re-architected SAM3/4 SPI interface; Change BUSY bit handling in the ADS7843E driver 2013-06-16 10:09:21 -06:00
Gregory Nutt
6f24ea780b SAM MMCSD/SPI related changes 2013-06-15 17:00:52 -06:00
Gregory Nutt
948c4bb06d Oops.. files that I forgot to add in the last commit 2013-06-15 10:56:42 -06:00
Gregory Nutt
0112ad14ba Add support for the SAM4L Xplained Pro I/O1 module 2013-06-15 10:56:08 -06:00
Gregory Nutt
07215e64be Prep for 6.28 release 2013-06-14 14:30:00 -06:00
Gregory Nutt
30ecf0ca43 Fixes for SAM4S and 4L due to recent changes to SAM3S; Updated README files 2013-06-14 08:54:24 -06:00
Gregory Nutt
c6689215df SAM3/4S GPIO interrupt changes 2013-06-13 18:53:14 -06:00
Gregory Nutt
1f08ac3beb SAM3/4: Loop counter for PLL delay must be volatile or it may get optimized away 2013-06-13 16:18:25 -06:00
Gregory Nutt
61ac624755 SAM3/4: Some minor design improvements to the SAM3/4 serial driver 2013-06-13 15:16:52 -06:00
Gregory Nutt
516c3bb7c2 Fix error in AT91SAM SPI driver introduced in recent comment. Varioius improvements to README files and debug output 2013-06-13 13:38:31 -06:00
Gregory Nutt
b40def3027 Add support for a generic windows-based EABI toolchain; Add NX configuration to force default NXTK border colors 2013-06-13 11:04:18 -06:00
Gregory Nutt
b5f30c472a Correct border colors for SAM3U-EK border; clean up some comments; make sure that sam_vectors.S is identical to stam32_vectors.S 2013-06-12 19:42:39 -06:00
Gregory Nutt
9ab85d01ef Remove CONFIG_XYZ_BUILTIN configurations, replace with the single CONFIG_NSH_BUILTIN_APPS. Add SAM3/4 sam_periphclks.h which is just a header file that includes the right header file. Misc SAM3U-EK cleanup 2013-06-12 17:32:00 -06:00
Gregory Nutt
c4f903081c SAM4S: Add NSH configuration. Calibrated delay loops. Port now seems fully functional 2013-06-12 10:56:42 -06:00
Gregory Nutt
aafb99850b Correct SAM3S-Xplained load address, FLASH wait states, and UART1 pin configuration 2013-06-12 08:18:42 -06:00
Gregory Nutt
871b8f5235 Use UART1 for the console on the SAM4S-Xplained not USART0 2013-06-11 19:24:47 -06:00
Gregory Nutt
ca16404e3d Calibrate SAM4L Xplained Pro timing loop 2013-06-11 18:32:23 -06:00
Gregory Nutt
3c7e2e18cb Changes for a clean build of configs/sam4s-xplained 2013-06-11 17:33:43 -06:00
Gregory Nutt
a40b739260 Add configs/sam4s-xplained 2013-06-11 16:29:59 -06:00
Gregory Nutt
5e192c767b SAM4S: GPIO, chip characteristics, peripheral Kconfig 2013-06-11 12:28:31 -06:00
Gregory Nutt
8aee2ce8c9 Add a directory to hold configurations for the SAM4S Xplained board 2013-06-10 18:20:30 -06:00
Gregory Nutt
ff5688486f SAM4S: Add memory map and interrupt logic 2013-06-10 16:18:47 -06:00
Gregory Nutt
08e7be408c Beginning updates of SAM3U header files o include support for the SAM4S: WDT, SUPC, EEFC, MATRIX, and PMC 2013-06-10 11:57:37 -06:00
Gregory Nutt
b75e99a688 SAM4L: Extend interrupt support for the larger number of NVIC interrupts of the SAM4L 2013-06-09 13:00:38 -06:00
Gregory Nutt
2896bc7c99 SAM4L: Add an NSH configuration and C++ support 2013-06-09 11:43:20 -06:00
Gregory Nutt
d9dffb2c2b SAM4L: Mic fixes to get the SAM4L Xplained running. The ostest now passes. 2013-06-09 10:57:42 -06:00
Gregory Nutt
b318c5b6a5 SAM3U/4L changes to hide differences by clocking in those MCUs 2013-06-08 13:50:42 -06:00
Gregory Nutt
f6ad8ffbba SM4L: USB clock configuration and WDT register definition file 2013-06-08 09:21:20 -06:00
Gregory Nutt
63c8b4353e SAM4L: Add logic to enable selected peripherals on power up; Extend configuration so that each peripheral can be selected -- even though the drivers are not yet implemented 2013-06-07 14:59:33 -06:00
Gregory Nutt
6ca2782d99 SAM4L: Add DFLL0 support, add logic to set the power scaling mode, add support for RAM functions 2013-06-07 13:26:55 -06:00
Gregory Nutt
5446f496df Update SAM4L PLL0 logic 2013-06-07 10:28:06 -06:00
Gregory Nutt
4c11c6905a Add register definitions for SAM4L BPM and SCIF blocks; SAM4L clock initialization now selects an optimal power scaling mode 2013-06-06 11:18:52 -06:00
Gregory Nutt
6998718a43 Add SAM4L FLASHCALW header file 2013-06-05 10:43:33 -06:00
Gregory Nutt
491e1ce238 SAM4L GPIO port addressing fixes; SAM4L Xplained LED support; minor documentation updates 2013-06-05 08:54:37 -06:00
Gregory Nutt
462e3ecae7 Add configs/sam4l-xplained/src/up_userleds.c 2013-06-04 16:35:43 -06:00
Gregory Nutt
f24946fecd More changes that should have gone with the last commit 2013-06-04 15:23:47 -06:00
Gregory Nutt
0cb54ca565 SAM4L alternate pin mapping header file; Use USART1 for virtual COM port console 2013-06-03 17:53:05 -06:00
Gregory Nutt
936c435d2e Add a skeleton configuration that will eventually support the SAM4L Xplained Pro board 2013-06-03 15:11:56 -06:00
Gregory Nutt
7fbbf81f71 Rename sam3u/ architecture directories to sam34/ to include the SAM4L 2013-06-02 13:57:22 -06:00
Gregory Nutt
da43550f1e Add missing NSH configuration settings. Correct some conditional logic for STM32 FALSH pre-fetch settings. From Lorenz Meier 2013-06-02 13:16:35 -06:00
Gregory Nutt
ca8d55d856 Eliminated sam3u_internal.h. Use separate header files instead. More renaming from sam3u_ to sam_ to make room in the namespce for the sam4l_ 2013-06-02 13:04:40 -06:00
Gregory Nutt
ea73fceb34 Move SAM3U header files to arch/arm/src/sam3u/chip. Some renaming of SAM3U to SAM to ssupport SAM4. Convert all configs/sam3u-ek configurations to use the kconfig-frontends tool 2013-06-02 10:33:57 -06:00
Gregory Nutt
b8be2d909f Fix nRF24L01+ driver integration for the STM32 Tiny. From Laurent Latil. 2013-06-01 08:13:58 -06:00
Gregory Nutt
c355b04fbb Add NSRF42L01 driver. From Laurent Latil 2013-06-01 08:03:55 -06:00
Gregory Nutt
0906d557c3 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
5336c8c0d5 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
6db3a75c55 Optimize request buffer sizes in the serial USB drivers so that we avoid so many NULL packets and so that the OUT request buffer size is exactly the max packet size. 2013-05-29 12:30:37 -06:00
Gregory Nutt
245cd9366d Fix STM32F1 and F3 USB device driver. It was not handling NULL packets correctly and it prevent use of the driver with the CDC/ACM class 2013-05-29 10:26:00 -06:00
Gregory Nutt
b7f8834d98 Add support for the STM32 Tiny development board from Laurent Latil 2013-05-28 14:24:17 -06:00
Gregory Nutt
ec635b5678 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
436fe3315b Fix Sure PIC32 LOOPSPERMSEC 2013-05-27 16:29:41 -06:00
Gregory Nutt
8d19c74feb Verified the sure-pic32mx/usbnsh configuration 2013-05-27 14:10:34 -06:00
Gregory Nutt
538abb4081 The SLCD driver is now fully functional for Sure PIC32MX board 2013-05-27 11:39:13 -06:00
Gregory Nutt
c9175e1dd0 Rename SLCD geometry tructure to attributes; Move MAX contrast to attributes. Add attribute and ioctl commands to get and set SLCD brightness 2013-05-27 07:26:59 -06:00
Gregory Nutt
1a46e1253f 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
ba699c7080 Mis SLCD-related cleanup, documentation, bugfixes 2013-05-26 12:42:22 -06:00
Gregory Nutt
916ec62df3 More SLCD-related fixes 2013-05-26 11:26:34 -06:00
Gregory Nutt
e0e60eae7b Extentions SCLD test; SCLD CODEC and LCD1602 driver bug fixes 2013-05-26 09:28:57 -06:00
Gregory Nutt
6c64f9286a PCB-Logic PIC32MX LCD1602 driver now supports SLCD CODED; Added an SLCD ioctl command to get cursor position 2013-05-25 13:46:43 -06:00
Gregory Nutt
4867c1f891 Converted configs/pcblogic-pic32mx configurations to use kconfig-frontends. Re-organization of files in configs/pcblogic-pic32mx/src 2013-05-25 11:53:49 -06:00
Gregory Nutt
ee20a6dfde Minor documentation update 2013-05-24 14:05:20 -06:00
Gregory Nutt
04bf7930f8 Additional bug fixes and minor extensions to the STM32L-Disovery segment LCD support and to the apps/examples/slcd segment LCD test. 2013-05-24 12:00:15 -06:00
Gregory Nutt
8effa3e3f9 Fix bugs in SLCD test and in SLCD CODEC 2013-05-24 11:11:48 -06:00
Gregory Nutt
5f713af7a1 Add apps/examples/slcd, Remove USB from STM32L-Discovery, LSE support for the STM32 L family, some STM32L-Discovery LCD debug changes 2013-05-24 10:00:54 -06:00
Gregory Nutt
4b554ae675 Add SLCD ioctl commands 2013-05-23 18:25:02 -06:00
Gregory Nutt
449c597e2c Revised SLCD bit manipulation for STM32L-Discovery 2013-05-23 17:37:29 -06:00
Gregory Nutt
a189ccebe5 STM32L-Discovery LCD driver is code compele but untested 2013-05-23 15:23:29 -06:00
Gregory Nutt
bc170f11b4 Beginning of a segment LCD driver for the STM32L-Discovery 2013-05-22 18:12:54 -06:00
Gregory Nutt
94965e9e18 Add TCP echo example for the LM3S6965-EK. From Max Holtzberg 2013-05-22 07:45:03 -06:00
Gregory Nutt
2a6675599b Audio subystem update from Ken Pettit. Plus moved some header files 2013-05-21 13:13:05 -06:00
Gregory Nutt
75aecb4490 Add UDP discovery example for the LM3S6965-EK. From Max Holtberg 2013-05-21 12:51:27 -06:00
Gregory Nutt
00524dde47 Add STM32L15X segment LCD register definitions; Updated documentatin and README files 2013-05-21 12:39:48 -06:00
Gregory Nutt
dc09b4cd27 Fix STM32L15X vector definitions; Fix STM32L-Discovery LED controls. The NSH configuration is now fully functional on the STM32L-Discovery board. 2013-05-21 11:25:30 -06:00
Gregory Nutt
d77d2a3325 STM32L152: Better LOOPSPERMSEC; Need to set higher performance VOS 2013-05-20 15:51:37 -06:00
Gregory Nutt
78457c51a4 Fix STM32L-Discovery clock setup - The X3 crystal is not fitted on the board 2013-05-20 12:17:34 -06:00
Gregory Nutt
57e83aafd0 Misc updates to STL32L15X logic 2013-05-20 10:08:44 -06:00
Gregory Nutt
39cb8ea999 Add audio/ sub-syste, include/nuttx/audio.h interface, and drivers/audio/vs1053.c driver to NuttX. From Ken Pettit 2013-05-19 15:12:28 -06:00
Gregory Nutt
1e03232e9e Add STM32L152X RCC PLL and FLASH support. Now compiles errorfree. 2013-05-19 14:35:30 -06:00
Gregory Nutt
106a985667 Add SYSCFG definitions for STM32L152; Add board support STM32L-Discovery 2013-05-19 11:04:19 -06:00
Gregory Nutt
627eebdd4b Add kernel build support and a kernel most OS test example for the Mikroe STM32 M4 board. From Ken Pettit 2013-05-17 14:59:21 -06:00
Gregory Nutt
60224247dd Minor updates to Kconfig and README files 2013-05-17 07:37:09 -06:00
Gregory Nutt
3e8e275b53 Add support for R61505U LCD controller on HY-mini STM32v board 2013-05-16 14:06:16 -06:00
Gregory Nutt
cf3ba4b7cc apps/examples/helloxx entry point name was mangled when built as an NSH builtin; plus some README updates 2013-05-16 09:36:55 -06:00
Gregory Nutt
0038695e13 Update Pirelli DP-L10 README file 2013-05-16 00:45:55 -06:00
Gregory Nutt
052d223bb5 Fix Pirelli DP-L10 linker script 2013-05-15 23:59:13 -06:00