Commit Graph

2272 Commits

Author SHA1 Message Date
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