Commit Graph

2856 Commits

Author SHA1 Message Date
Gregory Nutt
a9b0f304e6 Add SAMA5 clock logic. Cloned from SAM3U and not yet verified 2013-07-22 14:42:05 -06:00
Gregory Nutt
1350b2a576 SAMA5 interrupt handling logic 2013-07-22 11:54:39 -06:00
Gregory Nutt
5bbc86f894 SAMA5/Cortex-A: Improve irqsave/restore inlines + add irqenable. Add skeleton file for SAMA5 interrupt management. Also change from last commit that was left in the editor 2013-07-21 17:08:40 -06:00
Gregory Nutt
87f54f7d0b Add system timer logic for the SAMA5 2013-07-21 15:49:17 -06:00
Gregory Nutt
543b5b7e03 A few more Cortex-A5 and SAMA5 files 2013-07-21 12:52:38 -06:00
Gregory Nutt
66259bfc53 Misc Cortex-A5 changes include new file for cache operations 2013-07-20 13:06:00 -06:00
Gregory Nutt
b26d5c7164 A few more SAMA5D3 files 2013-07-19 17:45:28 -06:00
Gregory Nutt
4a81d47c86 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
5356bd1bbd More ARMv7-A files that are just copies of the ARMv4/5 files for now 2013-07-19 11:43:04 -06:00
Gregory Nutt
53a4f3443c Minor but fatal typo introduced in last checkin 2013-07-18 15:45:21 -06:00
Gregory Nutt
8f2ad7eec1 Some initial frame for Cortex-A5 support. No much yet 2013-07-18 15:20:47 -06:00
Gregory Nutt
a7ae91c716 NSH cmp command by Andrew Twidgell 2013-07-18 08:24:29 -06:00
Gregory Nutt
f9b9bf6e04 STM32 SDIO driver: Add supported for data block end (DBCKEND) interrupt. From Chia Cheng Tsao 2013-07-08 09:04:05 -06:00
Gregory Nutt
7536b4654b Ticket #16: STM32 OTG FS device driver endpoint allocation. From Chia Cheng Tsao 2013-07-08 08:55:05 -06:00
Gregory Nutt
25c393f371 prohibit re-entrance into sam_configgpio() 2013-07-05 17:15:54 -06:00
Gregory Nutt
94e2f4ceb4 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
f0ebaf8312 Several fixes to get a clean compile of the Arduino touch screen 2013-07-02 13:52:09 -06:00
Gregory Nutt
09faaccc02 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
f01a1517df Update LM FLASH definitions for LM4F120. From Vinti 2013-06-29 07:02:56 -06:00
Gregory Nutt
2ba00060bc SAM33/4: Need to disable write protection before modify PIO pin configuration 2013-06-28 15:34:51 -06:00
Gregory Nutt
3505ca7556 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
e34e1ee987 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
9956392d00 With these changes the Arduino Due port builds without errors 2013-06-27 15:07:07 -06:00
Gregory Nutt
e0310e2cc8 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
293e46e435 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
bc7ac20616 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
d4b7efb34e Add SAM3X/3A pin multiplexing and GPIO encoding header files 2013-06-26 17:02:43 -06:00
Gregory Nutt
f668abaed1 Add SAM3X/3A memory map 2013-06-26 14:37:57 -06:00
Gregory Nutt
3692dfaf26 Add SAM3X/3A peripheral clock controls 2013-06-26 14:00:26 -06:00
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
Gregory Nutt
63679d05a6 STM32L15X UART, DMA, and heap initialization support 2013-05-19 11:54:56 -06:00
Gregory Nutt
5d80dfd129 Add SYSCFG definitions for STM32L152; Add board support STM32L-Discovery 2013-05-19 11:04:19 -06:00
Gregory Nutt
e5b21a96d4 Add PWR and RCC register definitions for the STM32F152 2013-05-19 08:55:36 -06:00
Gregory Nutt
66b8913e18 Add STM32L15X memory map 2013-05-18 16:08:28 -06:00
Gregory Nutt
97844b79a1 Add support for STM32L15X GPIOs 2013-05-18 15:32:50 -06:00
Gregory Nutt
96b91d5dc7 Support for STM32L15xx interrupt vectors 2013-05-18 12:56:03 -06:00
Gregory Nutt
7629593f72 Begnning of support for the STM32L15X family 2013-05-18 11:15:37 -06:00
Gregory Nutt
9de230d9a3 Fix STM32 F1 DMA register definitions. From Laurent Latil. 2013-05-15 16:11:16 -06:00
Gregory Nutt
8447e76779 Clean up of pirelli-dpl10/nsh_highram configuration 2013-05-15 08:29:04 -06:00
Gregory Nutt
88c0911fb1 Various changes and bigfixes for problems detected by CppCheck 2013-05-09 14:23:34 -06:00
Gregory Nutt
c9fcc7eef4 Fix typo is STM32 ADC driver for F2 and F4: ADC not ACD 2013-05-08 21:45:46 -06:00
Gregory Nutt
44dc7c713b Fix for lpc17xx i2c single byte read timeout error problem from M.Kannan 2013-05-08 06:57:55 -06:00
Gregory Nutt
24368a6581 STM32 option to disable sleep to prevent disconnection of debugger 2013-05-07 14:10:34 -06:00
Gregory Nutt
fae527deef The Kinetis GPIO logic had some of the same issues as did the Kinetis L 2013-05-06 11:49:28 -06:00
Gregory Nutt
7628d3aa57 Fixes LEDs on the Freedom KL25Z board 2013-05-06 11:07:53 -06:00
Gregory Nutt
f1298f03a1 Convert configs/pirelli_dpl10/nsh_highram to use the kconfig-frontends tools 2013-05-05 10:38:02 -06:00
Gregory Nutt
ca5641f2d7 Make Pirelli-DLP10 a true board configuration; Calypso no compiles without errors 2013-05-05 09:10:47 -06:00
Gregory Nutt
b934926bd2 Repartitioning of header files for Kinetis L 2013-05-02 09:24:36 -06:00
Gregory Nutt
0d1cf112cf Changes to remove some warning sduring compilation for ZKit-arm-1769 Board. 2013-05-02 06:28:59 -06:00
Gregory Nutt
1cf695cbec Freedom KL25Z pin mux'ing fixes from Alan Carvalho de Assis 2013-05-02 06:08:50 -06:00
Gregory Nutt
ba52f8d3ec Misc changes for clean built od mikroe-stm32f4 configurations 2013-05-01 09:21:13 -06:00