Commit Graph

2777 Commits

Author SHA1 Message Date
Gregory Nutt
b089263e1c Add SAM3X/3A interrupt vectors 2013-06-26 12:59:56 -06:00
Gregory Nutt
18240b07b6 Add support for SAM3X and 3A chips, interrupts, and peripheral IDs 2013-06-26 12:28:32 -06:00
Gregory Nutt
64dd806d89 Fix integration of RAM test into the build and configuration system 2013-06-26 10:54:12 -06:00
Gregory Nutt
3d1f29217e 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
8959fffedc SAM4L Xplained SLCD driver is complete 2013-06-23 09:05:20 -06:00
Gregory Nutt
5152ce9f79 Beginning of a driver for the SAM4L LED1 module 2013-06-21 17:42:09 -06:00
Gregory Nutt
add0a67995 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
59e1d1c6cd More KL25Z SPI fixes 2013-06-20 19:58:45 -06:00
Gregory Nutt
b14f0cf9f7 KL25Z GPIO register dump function now compiles 2013-06-20 18:00:56 -06:00
Gregory Nutt
76f9df2941 Fix backward wait condition in KL24Z SPI driver 2013-06-20 17:39:42 -06:00
Gregory Nutt
d5a0c75bbb Add framework for managing SPI-related discretes on the Freedom KL25Z board. 2013-06-20 13:50:16 -06:00
Gregory Nutt
876fcca8f7 More Freedom KL25Z changed to and from Alan Carvalho de Assis 2013-06-19 20:50:27 -06:00
Gregory Nutt
d8a8679781 Fix errors in KL25Z SPI driver reported by Alan Carvalho de Assis 2013-06-19 19:32:13 -06:00
Gregory Nutt
2cfeed654a Add SAM4L PDCA register definition file 2013-06-19 18:38:31 -06:00
Gregory Nutt
3ed35802ce SPI register definition file updated to include a few differences for the SAM4L 2013-06-19 16:03:19 -06:00
Gregory Nutt
2ede49fd6a SAM4L LCDCS register definitions 2013-06-19 13:59:47 -06:00
Gregory Nutt
2a2de71b5d Add SPI driver for the Freescale KL25Z 2013-06-19 12:10:01 -06:00
Gregory Nutt
f597172733 Add SPI register definitions for the Freescale KL25Z 2013-06-19 09:56:32 -06:00
Gregory Nutt
69fc11bb71 Fix test of NULL pointer in the SAM3/4 SPI driver 2013-06-18 12:16:52 -06:00
Gregory Nutt
177a8c0e9b Freescale KL25Z support from Alan Carvalho de Assis 2013-06-18 11:20:57 -06:00
Gregory Nutt
39dcedb0f1 SAM3/4 SPI phase control (CPHA) is inverted 2013-06-18 09:29:55 -06:00
Gregory Nutt
15e846ad1d Corrections to the Kinetis TSI header file from Alan Carvalho de Assis 2013-06-18 07:14:05 -06:00
Gregory Nutt
c9f1d1857c SAM3U-EK: Correct polarity of the PENIRQ signal 2013-06-16 14:31:18 -06:00
Gregory Nutt
c7fd7a4e27 Re-architected SAM3/4 SPI interface; Change BUSY bit handling in the ADS7843E driver 2013-06-16 10:09:21 -06:00
Gregory Nutt
44fe999aea Add support for the SAM4L Xplained Pro I/O1 module 2013-06-15 10:56:08 -06:00
Gregory Nutt
b1afe69591 Fixes for SAM4S and 4L due to recent changes to SAM3S; Updated README files 2013-06-14 08:54:24 -06:00
Gregory Nutt
8ed39d9f29 SAM3/4S GPIO interrupt changes 2013-06-13 18:53:14 -06:00
Gregory Nutt
9cf942bcb2 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
e26381f0c0 SAM3/4: Some minor design improvements to the SAM3/4 serial driver 2013-06-13 15:16:52 -06:00
Gregory Nutt
3a351b60e1 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
1f056e3826 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
507bacc6d5 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
83ecc03d17 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
535dc49dea Misc updates to SAM3U register definition files for SAM4S compatibility 2013-06-12 12:35:48 -06:00
Gregory Nutt
fa45b86b4d SAM4S: Add NSH configuration. Calibrated delay loops. Port now seems fully functional 2013-06-12 10:56:42 -06:00
Gregory Nutt
d9cec43398 Correct SAM3S-Xplained load address, FLASH wait states, and UART1 pin configuration 2013-06-12 08:18:42 -06:00
Gregory Nutt
a2a91bf8d6 Use UART1 for the console on the SAM4S-Xplained not USART0 2013-06-11 19:24:47 -06:00
Gregory Nutt
1ca5db1ebc Changes for a clean build of configs/sam4s-xplained 2013-06-11 17:33:43 -06:00
Gregory Nutt
94a2776337 Add configs/sam4s-xplained 2013-06-11 16:29:59 -06:00
Gregory Nutt
54c777ef0d SAM4S: Add macros to manage peripheral clocks 2013-06-11 15:42:30 -06:00
Gregory Nutt
03698ca7e2 SAM4S: Add pin multiplexing definitions 2013-06-11 14:32:07 -06:00
Gregory Nutt
ce8b9c0d3c SAM4S: GPIO, chip characteristics, peripheral Kconfig 2013-06-11 12:28:31 -06:00
Gregory Nutt
bafe910ce4 SAM4S: Add memory map and interrupt logic 2013-06-10 16:18:47 -06:00
Gregory Nutt
76867c132e 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
3938eeeb96 SAM4L: Extend interrupt support for the larger number of NVIC interrupts of the SAM4L 2013-06-09 13:00:38 -06:00
Gregory Nutt
3eefc08c12 SAM4L: Add an NSH configuration and C++ support 2013-06-09 11:43:20 -06:00
Gregory Nutt
b24d51c3c7 SAM4L: Mic fixes to get the SAM4L Xplained running. The ostest now passes. 2013-06-09 10:57:42 -06:00
Gregory Nutt
cc8906e701 SAM3U/4L changes to hide differences by clocking in those MCUs 2013-06-08 13:50:42 -06:00
Gregory Nutt
88226dd5b1 SAM4L: Add USART/UART register definition header files 2013-06-08 11:39:06 -06:00
Gregory Nutt
fe868bc8b2 SM4L: USB clock configuration and WDT register definition file 2013-06-08 09:21:20 -06:00
Gregory Nutt
2d5c249072 SAM4L: Add logic to configure FLASH read mode and wait states 2013-06-07 18:12:00 -06:00
Gregory Nutt
11f81d3bfa 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
7207be4f84 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
5052df2e69 Update SAM4L PLL0 logic 2013-06-07 10:28:06 -06:00
Gregory Nutt
f4954c743d Add logic to enable SAM4L clocks 2013-06-06 19:11:32 -06:00
Gregory Nutt
2864dfac0d Add SAM4L BSCIF register definition file 2013-06-06 16:24:33 -06:00
Gregory Nutt
168702f7e1 Fix a backward conditional that cause the STM32 usb host driver to fail to detect disconnection events. From Scott 2013-06-06 15:00:18 -06:00
Gregory Nutt
3edec35c51 Add flow control support to the STM32 serial driver; Fix some issues with UART2 and 5. From Lorenz Meier and Mike Smith 2013-06-06 14:49:14 -06:00
Gregory Nutt
38c7818ea8 Add register definitions for SAM4L BPM and SCIF blocks 2013-06-06 11:19:18 -06:00
Gregory Nutt
e352d4f3ad 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
93b67f1598 Move SAM4L peripheral clock logic to a separate file 2013-06-05 18:48:30 -06:00
Gregory Nutt
30f5d90430 Updates to SAM4L clocking. Still not finished 2013-06-05 16:41:52 -06:00
Gregory Nutt
19b38fa95f Add power management register defintions and clock control logic for the SAM4L 2013-06-05 13:35:19 -06:00
Gregory Nutt
82d37c755b Add SAM4L FLASHCALW header file 2013-06-05 10:43:33 -06:00
Gregory Nutt
efce99ba6f SAM4L GPIO port addressing fixes; SAM4L Xplained LED support; minor documentation updates 2013-06-05 08:54:37 -06:00
Gregory Nutt
52ce4f84ff Add configs/sam4l-xplained/src/up_userleds.c 2013-06-04 16:35:43 -06:00
Gregory Nutt
5cdcdaf0bd More changes that should have gone with the last commit 2013-06-04 15:23:47 -06:00
Gregory Nutt
7ddaf6efc7 Add SAM4L GPIO driver 2013-06-04 15:12:56 -06:00
Gregory Nutt
e35d569477 Create SAM4L GPIO driver header file 2013-06-04 13:33:30 -06:00
Gregory Nutt
2fb1a3269b Add SAM4L (and 4S) GPIO register definitions 2013-06-04 11:38:23 -06:00
Gregory Nutt
1d8c8c0999 If CONFIG_STM32_DMACAPABLE is defined, use stm32_dmacapable to workaround attempt SPI DMAs from the CCM stack 2013-06-04 09:05:39 -06:00
Gregory Nutt
e023ccf016 Add stm32_dmacapable interface to determine is it is possible to perform DMA from a given address. 2013-06-04 08:44:49 -06:00
Gregory Nutt
29de68525d SAM4L alternate pin mapping header file; Use USART1 for virtual COM port console 2013-06-03 17:53:05 -06:00
Gregory Nutt
a732e03139 Add a skeleton configuration that will eventually support the SAM4L Xplained Pro board 2013-06-03 15:11:56 -06:00
Gregory Nutt
081d3f989d Add vector and chip cability definitions for the SAM4L family 2013-06-03 11:23:41 -06:00
Gregory Nutt
3613d6ed8b Add interrupt and memory map definitions for the AT91SAM4L 2013-06-03 09:32:04 -06:00
Gregory Nutt
5f97fb8041 Rename sam3u/ architecture directories to sam34/ to include the SAM4L 2013-06-02 13:57:22 -06:00
Gregory Nutt
7bfa4e299c 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
b20b0a1839 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
28c64c90bd 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
4748599a43 .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Gregory Nutt
7554d2888e 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
aa9589ac8f 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
680e570cc4 Add support for the STM32 Tiny development board from Laurent Latil 2013-05-28 14:24:17 -06:00
Gregory Nutt
1df321aed4 STM32F103C4 and F103C8 chip support from Laurent Latil 2013-05-28 14:09:44 -06:00
Gregory Nutt
6d3a292f02 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
fc0209c445 Fix Sure PIC32 LOOPSPERMSEC 2013-05-27 16:29:41 -06:00
Gregory Nutt
d4e7f7fa94 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
af870d7ae3 Fix bugs in SLCD test and in SLCD CODEC 2013-05-24 11:11:48 -06:00
Gregory Nutt
5bb3a187ef 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
abf8c8a13a STM32L-Discovery LCD driver is code compele but untested 2013-05-23 15:23:29 -06:00
Gregory Nutt
eb35cbf558 Beginning of a segment LCD driver for the STM32L-Discovery 2013-05-22 18:12:54 -06:00
Gregory Nutt
afa905fc15 Audio subystem update from Ken Pettit. Plus moved some header files 2013-05-21 13:13:05 -06:00
Gregory Nutt
28112cea0f Add STM32L15X segment LCD register definitions; Updated documentatin and README files 2013-05-21 12:39:48 -06:00
Gregory Nutt
e4d906960a 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
9ea58951b4 STM32L152: Better LOOPSPERMSEC; Need to set higher performance VOS 2013-05-20 15:51:37 -06:00
Gregory Nutt
b475e965a6 Internal FLASH MTD driver for TI/Stellaris from Max Holtzberg 2013-05-20 12:47:54 -06:00
Gregory Nutt
4b3c3b4cef Fix STM32L-Discovery clock setup - The X3 crystal is not fitted on the board 2013-05-20 12:17:34 -06:00
Gregory Nutt
5ad97e995c Misc updates to STL32L15X logic 2013-05-20 10:08:44 -06:00
Gregory Nutt
c193d3fad3 Add STM32L152X RCC PLL and FLASH support. Now compiles errorfree. 2013-05-19 14:35:30 -06:00