Commit Graph

2923 Commits

Author SHA1 Message Date
Gregory Nutt
9485fbf66e SAM3/4 Interrupt initialization. Default interrupt priority not being set correctly 2014-04-17 14:02:22 -06:00
Gregory Nutt
d374d22738 STM32 OTGFS Host: If OTGFS_HCCHAR_ODDFRM is not goint to be set, then it should be cleared 2014-04-17 11:16:58 -06:00
Gregory Nutt
75e61f4b69 STM32 OTGFS Host: Changes from Leo for low-speed devices and interrupt endpoints 2014-04-17 10:52:27 -06:00
Gregory Nutt
c6d70e29bc SAMA5 EMAC: Missing right parens from last change. Noted by Luciano Neri 2014-04-17 09:02:55 -06:00
Gregory Nutt
3133ebfcee Move the un-definitions of __ramfuncs__ from the sam_clockconfig.c to the common up_internal.h header file so that the attribute will be applied the same to function definitions and prototypes. 2014-04-17 08:56:20 -06:00
Gregory Nutt
0184a957b7 Costmetic: Replace spaces with tabs 2014-04-16 16:26:46 -06:00
Gregory Nutt
d62455b0b8 STM32 OTGFS Host: Additional trace points from Leo 2014-04-16 12:56:21 -06:00
Gregory Nutt
80cded4e3e STM32 F2: Fix SPI2 MOSI pin mapping. From dlsitzer 2014-04-16 12:35:33 -06:00
Gregory Nutt
dc3ef08a66 SAMA5 TWI: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 12:09:55 -06:00
Gregory Nutt
bf2bb55aac SAMA5 SSC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:58:23 -06:00
Gregory Nutt
1e35f1730d SAMA5 EMAC/GMAC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:13:08 -06:00
Gregory Nutt
1927c147be SAMA5 CAN: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 10:00:32 -06:00
Gregory Nutt
c47816cbf6 Sourceforge Patch #37: Missing semicolon 2014-04-16 09:43:34 -06:00
Gregory Nutt
1b46ebc7f4 SAMA5 ADC: If running from SDRAM, BOARD_MCK_FREQUENCY is not a constant and cannot be used in pre-processor conditionals 2014-04-16 09:42:07 -06:00
Gregory Nutt
08218f977e Updates to the STM32 OTGFS host logic from Leo 2014-04-15 08:49:33 -06:00
Gregory Nutt
7ad2ace833 Costmetic changes to some comments 2014-04-14 16:36:07 -06:00
Gregory Nutt
48cdbfe5ba examples/touchscreen: Add a configuration option to indicate that there is or is not an architecture-specific initialization function 2014-04-14 12:26:49 -06:00
Gregory Nutt
f8024cf409 More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
f7e5953804 Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt
494387b33b Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
056aed1274 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
303cc1902b Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
a7789ce91f STM32 OTF FS host: Use of OTGFX_VTRACEn_ macros must match use of usbhost_tracen() interface 2014-04-12 10:09:37 -06:00
Gregory Nutt
38728a35f5 STM32 OTG FS Hose and others: Remove some warnings 2014-04-12 09:58:23 -06:00
Gregory Nutt
3ae029fbe7 STM32 OTGFS Host: Fix a logic error introduced in the last check-in 2014-04-12 09:33:52 -06:00
Gregory Nutt
218554dc9d STM32 OTGFS: Host USB tracing instrumentation added by Leo 2014-04-12 08:44:22 -06:00
Gregory Nutt
d128b47c71 SAMA5 TWI: Number of bytes transferred not be incremented on the first byte. From David Sidrane 2014-04-10 18:19:03 -06:00
Gregory Nutt
2fcc57edb0 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
c306884d84 Add logic for TM4C125GXL clocking based on prototype from from Daniel Carvalho with modifications. I think the LM4F120 may have broken before as well(?). In any event, the LM4F120 also works well with this chanage 2014-04-07 15:32:13 -06:00
Gregory Nutt
27811d28f9 Cosmetic changes to comments and README 2014-04-07 15:28:04 -06:00
Gregory Nutt
ac3865fd89 Updated README files and comments 2014-04-07 07:43:28 -06:00
Gregory Nutt
177cb595d5 SAMA5 UDPHS: Fix error where bit was not cleared to acknowledge receipt of data and to setup for the next incoming data 2014-04-06 13:13:31 -06:00
Gregory Nutt
6c5535cc38 SAMA5 clocking: USB clock setup needs to be done no matter the state of BMS and not matter how we are booting 2014-04-05 11:53:20 -06:00
Gregory Nutt
abca33bd6b Cosmetic update to comments 2014-04-05 11:35:05 -06:00
Gregory Nutt
120589434f Kconfig: Remove warnings. ARCH_RAMFUNCS depends on ARCH_HAVE_RAMFUNCS, so it is not possible to select ARCH_RAMFUNCS wihtout ARCH_HAVE_RAMFUNCS 2014-04-04 16:26:24 -06:00
Gregory Nutt
781f2804ee SAMA5: Don't use MMU PMD bufferable bit to try to control write-through vs write-back. It does not work that way 2014-04-04 16:05:20 -06:00
Gregory Nutt
0b7ec97370 SAMA5 boards: Operation at 528Mhz has been verified 2014-04-04 10:36:53 -06:00
Gregory Nutt
69c69c45c6 SAMA5: Update from David Sidrane to last RAM function change: Apparently inline functions need to placed into the same RAM section, or they do not get inlined. From David Sidrane 2014-04-04 08:59:39 -06:00
Gregory Nutt
5eeb9f97fc Fix a build error when only USB device tracing is enabled (from David Sidrane). Also an update to the USB tracing document 2014-04-04 08:56:10 -06:00
Gregory Nutt
2efc4d6396 SAMA5: On some hardware, reconfiguring the PLL while executing out of NOR FLASH causes crashes. This was fixed by David Sidrane by implementing RAM functions. The killer code is copied and executed from ISRAM and the crash is avoided. 2014-04-03 16:08:18 -06:00
Gregory Nutt
b884ab50f4 SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
8d1781437d ARMv7-A: Typo fix from David Sidrane 2014-04-03 15:43:13 -06:00
Gregory Nutt
5fef770362 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
048230fb94 SAMA5: When booting from SDRAM, don't copy vectors to ISRAM. Instread just set the VBAR register to add address of the vectors in SDRAM 2014-04-03 14:09:11 -06:00
Gregory Nutt
c9fc03d52f If LOWVECTORS is selected, then we need to clear the VBAR register. A bootloader may have left the VBAR in an bad state 2014-04-03 13:09:30 -06:00
Gregory Nutt
11c7386dab SAMA5: Make sure the MMU and caches are disabled on power up; flush the vector region D-Cache after copying interrupt vectors; make sure that D-Cache, I-Cache, and TLBs are invalidated after modifying the AXI MATRIX remapping 2014-04-02 16:27:00 -06:00
Gregory Nutt
16c4ea72ec SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
6201df6463 Updated comments and README 2014-04-02 09:03:29 -06:00
Gregory Nutt
0d66ba9c00 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
0b8d635d96 Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
cbdc9155ab SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
3d8cbb415c Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
a29187bd34 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
5dd8a2cfe4 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
8e919137b2 cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
d14940a375 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
ec60f6cd9d SAMA5: Remove HSCMI-related functions that did not belong in sam_pmc.c and give them their own file 2014-03-30 08:00:59 -06:00
Gregory Nutt
4d6b1ed2c8 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
aac2a6759d SAMA5D23 boards: When running out of SDRAM, need to query the PMC to determine operating frequency 2014-03-29 17:51:06 -06:00
Gregory Nutt
1b6ae2ccbb SAMA5: Add functions to calculate PLLACK, PCK, and MCK frequencies given the main clock frequency 2014-03-29 15:54:10 -06:00
Gregory Nutt
8bc70e38ab SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
f12e37cae4 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
085d7dfe34 Add support for the SAMA5D36 2014-03-28 08:33:01 -06:00
Gregory Nutt
47baf7bf2b Fix a warning that happens with debug is disabled 2014-03-26 16:32:38 -06:00
Gregory Nutt
4c14053238 SAM4E CMCC: Fix some errors introducted in last check-in 2014-03-26 16:32:16 -06:00
Gregory Nutt
fb41a1104e Eliminate some warnings 2014-03-26 16:31:26 -06:00
Gregory Nutt
135b6b0ca2 SAM3/4: SPI and HSCMI drivers with now use the CMCC is available; The SPI driver will now handle word sizes greater than 8-bits 2014-03-26 13:19:44 -06:00
Gregory Nutt
3f4593dda8 SAM4E USP: Re-vamp read request queue handling. Add logic to handle RX overrun errors 2014-03-26 11:38:47 -06:00
Gregory Nutt
f6dedaee30 tools/astyle.sh: Formatting tool based on logic from Lorenz Meier 2014-03-26 08:50:48 -06:00
Gregory Nutt
8fb610a537 SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified 2014-03-25 16:11:33 -06:00
Gregory Nutt
e68f6049c5 backport a serial console fix from the sam4e to the sama5d3 2014-03-25 14:34:07 -06:00
Gregory Nutt
aefe9637c7 SAM3/4 CMCC: if region to be invalidate is bigger than that cache, then invalidate all 2014-03-25 14:25:22 -06:00
Gregory Nutt
93380d8156 SAM3/4 Serial: Fix a mysterious multi-tasking bug that can lock up the serial port 2014-03-25 12:44:03 -06:00
Gregory Nutt
bd52d9af21 SAM3/4 HSMCI: Update configuration names to match last change to Kconfig 2014-03-24 17:42:28 -06:00
Gregory Nutt
03bd2a6ad9 Add missing HSCMI configuration options; Make HSMCI configuration naming more compatible; Fix HSCMI clocking to use the CLKODD bit 2014-03-24 14:25:40 -06:00
Gregory Nutt
d508e6a370 SAM3/4 HSCMI: Another fix for complication with SAM4E 2014-03-24 10:25:02 -06:00
Gregory Nutt
7d3d1f79bb STM32 EMAC: Add support for IGMP hash table update. From Manuel Stühn 2014-03-24 09:32:48 -06:00
Gregory Nutt
5b1e019fdd SAM3/4: Changes for clean HSMCI compilation 2014-03-23 15:52:14 -06:00
Gregory Nutt
659783fad5 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:34 -06:00
Gregory Nutt
4cc814220e SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:08 -06:00
Gregory Nutt
9d9631243a SAM4E-EK: Enable interrupt stack in all configurations 2014-03-23 10:12:57 -06:00
Gregory Nutt
a37ad4ecca Add logic to check interrupt stack usage 2014-03-23 10:11:58 -06:00
Gregory Nutt
ebf143a420 All ARM Make.defs files should build up_checkstack.c if DEBUG_STACK is enabled 2014-03-23 10:07:52 -06:00
Gregory Nutt
394ccb3932 All ARM assertion logic will show stack usage on assertion if DEBUG_STACK is enabled 2014-03-23 10:06:48 -06:00
Gregory Nutt
3303e04e78 Every ARM architecture must export g_instackbase 2014-03-23 10:05:21 -06:00
Gregory Nutt
293b5d7723 SAM4E-EK UDP: prevent some bad recursive behavior 2014-03-22 17:30:17 -06:00
Gregory Nutt
266ef59280 SAM3/4 lowputc: Fix compile errors when there is no serial console 2014-03-22 10:18:06 -06:00
Gregory Nutt
0478a97eca SAM4E UDP: Fix handling of GLBSTAT:CONFIG bit. Was not being set 2014-03-21 13:31:45 -06:00
Gregory Nutt
06e60bab2b SAM4E UDP: Cosmetic updates to tracing and README 2014-03-21 10:45:12 -06:00
Gregory Nutt
c6127ad09d If DCD supports queuing of stall requests then USB MSC delay work-around is not necessary 2014-03-20 15:20:24 -06:00
Gregory Nutt
f139391f8a SAM4E UDP: Several fixes related to bulk endpoint transfers 2014-03-20 14:25:56 -06:00
Gregory Nutt
a2d53bf950 Add option to dump buffered USB trace data on an assertion 2014-03-20 10:56:30 -06:00
Gregory Nutt
4f72c3b430 SAM4E UDP: Fix errors associated with OUT packet size handling and bank interrupt bit handling 2014-03-19 18:02:57 -06:00
Gregory Nutt
f3ce9ea2aa SAM4E: Fix handling of CSR:DIR bit 2014-03-19 13:34:15 -06:00
Gregory Nutt
01f71c9cbc SAM4E UDP: Fix to handling of FADDR:FEN and CSR:TXCOMP 2014-03-19 12:20:42 -06:00
Gregory Nutt
57516a8ede LPC17 USB Host: Minor clean-up after performing some regressin testing 2014-03-19 08:33:15 -06:00
Gregory Nutt
34467249b5 Improved description of CONFIG_ARMV7M_USEBASEPRI from Vijay Kumar 2014-03-19 07:16:44 -06:00
Gregory Nutt
cba9127a86 SAM4E UDP: Fix FIFO reset logic 2014-03-18 17:24:50 -06:00
Gregory Nutt
3da4e2fc4f SAM4E UDP: Remove spurious clearing of RXSETUP 2014-03-18 15:19:45 -06:00
Gregory Nutt
4b11d57f20 SAM4E UDP: Now receives one setup packet before dying 2014-03-18 12:38:34 -06:00
Gregory Nutt
a5bdccebe3 TM4C123G Launchpad: Corrected processor configuration from Daniel Pereira de Carvalho 2014-03-18 11:21:31 -06:00
Gregory Nutt
5f8304415d SAM4E: Fix a few more UDP bring-up bugs. Still not working 2014-03-18 11:00:20 -06:00
Gregory Nutt
fe9023752a SAM4E: Revise board-specific USB MSC support 2014-03-18 09:31:02 -06:00
Gregory Nutt
e869de4272 SAM4E: Add USB full speed device (UDP) driver 2014-03-17 12:37:55 -06:00
Gregory Nutt
1cde363251 SAM3/4: Fleshing out environment to support USB device (UDP) 2014-03-16 14:11:22 -06:00
Gregory Nutt
bda62b0502 SAM3/4: Fix debug logic in DMAC that was causing the loss of interrupts 2014-03-14 11:57:42 -06:00
Gregory Nutt
e2ab7d8a33 SAM3/4 DMA fixes in general for SPI DMA in particular 2014-03-14 11:25:16 -06:00
Gregory Nutt
dba6cca886 SAM3/4: Integrate the SPI DMA interface with the existing code. Does not yet work. 2014-03-13 15:54:09 -06:00
Gregory Nutt
42e06fb503 SAM4E-EK: Add support for the SAM4E-EK AT25 serial flash 2014-03-13 14:07:35 -06:00
Gregory Nutt
7e16cee6b5 Backport SPI driver enhancements from SAMA5 to SAM3/4 2014-03-13 10:34:35 -06:00
Gregory Nutt
0bd5f23a30 SAM4E: Fix EMAC pin configuration. Driver is basically functionaly now. SAM4E-EK NSH configuration now has networking enabled by default 2014-03-13 09:03:03 -06:00
Gregory Nutt
1a2845a4ef SAM4E-EK: Add an EMAC driver. Initial commit is just a quick port of the SAMA5D3 EMAC driver 2014-03-12 15:03:59 -06:00
Gregory Nutt
5a0100aef4 SAM4E: Add support for the Cortex-M Cache Control block 2014-03-12 12:38:39 -06:00
Gregory Nutt
ce82132ef1 SAM4E: Various bring-up fixes. NSH now works 2014-03-12 10:59:19 -06:00
Gregory Nutt
3bb6c2fd57 TM4C: Fix typos in memory map reported by Daniel Pereira de Carvalho 2014-03-12 07:23:58 -06:00
Gregory Nutt
875b985781 SAM4E-EK: Purely cosmetic updates 2014-03-11 10:44:00 -06:00
Gregory Nutt
99d2f3a993 SAM4E-EK: Add basic board support 2014-03-10 15:18:46 -06:00
Gregory Nutt
6700b5318c TM4C: A few more changes to get a clean compilation 2014-03-10 11:54:20 -06:00
Gregory Nutt
c05ad5ef63 Make sure that every reference to LM4F has corresponding logic for TM4C 2014-03-10 11:23:50 -06:00
Gregory Nutt
51674e0c51 TM4C: Add SYSCONTROL register defintion header file 2014-03-10 10:17:37 -06:00
Gregory Nutt
e788f48e19 Add support for TM4C GPIOs 2014-03-10 08:12:35 -06:00
Gregory Nutt
59b5802882 TIVA: Add memory map for the TM4C123 2014-03-09 13:57:35 -06:00
Gregory Nutt
cce52d75ed Add pin multiplex definitions for the TM4C123 2014-03-09 13:15:09 -06:00
Gregory Nutt
983c0a2189 TM4C: Add definitions for GPIO interrupts 2014-03-09 10:00:31 -06:00
Gregory Nutt
096dbf391f Add TM4C123 to the configuration system 2014-03-09 09:40:48 -06:00
Gregory Nutt
6811ad9eee Oop.. everything was named TM3C instead of TM4C in the last check-in 2014-03-09 09:26:29 -06:00
Gregory Nutt
81eb11e68a TM3C123: Add chip characteristics and interrupt definition files 2014-03-09 09:21:06 -06:00
Gregory Nutt
05ea680194 Hmmm.. not sure what happened but here is a missing TIVA file 2014-03-08 16:33:56 -06:00
Gregory Nutt
41a5b67887 functions and definitions renamed from lm_ to tiva_ 2014-03-08 15:50:26 -06:00
Gregory Nutt
7c55ba4115 All files and functions beginning with lm_ changed to tiva_ 2014-03-08 13:29:09 -06:00
Gregory Nutt
32f8f33653 The old lm/ directories were enamed tiva/ to better support new products coming down the pipe from TI 2014-03-08 12:31:06 -06:00
Gregory Nutt
441c311a3c LPC2378: SPI driver from Lizhuoyi 2014-03-08 11:37:50 -06:00
Gregory Nutt
7231b0b1e5 LPC2378: I2C driver from Lizhuoyi 2014-03-08 11:03:58 -06:00
Gregory Nutt
95038604f6 Fix some confusion in the code about vectored interrupts; fix so that it builds with prioritized interrutps disabed 2014-03-08 10:57:11 -06:00
Gregory Nutt
ca916b1060 onfigs/mx1ads/ostest: Configuration converted to use the kconfig-frontends tools 2014-03-06 09:48:25 -06:00
Gregory Nutt
72164cb176 Use common naming for rest of the toolchains too 2014-03-05 16:29:58 -06:00
Gregory Nutt
79dc48a71a Use common naming for all buildroot toolchains 2014-03-05 15:37:07 -06:00
Gregory Nutt
972eeae12d Add configuration ettings for the on-demand paging option 2014-03-05 14:25:49 -06:00
Gregory Nutt
a2a3f80120 configs/ntosd-dm320/nettest: Configuration converted to use the kconfig-frontends tools 2014-03-05 12:16:02 -06:00
Gregory Nutt
18f74bade9 configs/stm32f4discovery/pm: Configuration converted to use the kconfig-frontends tools 2014-03-04 08:58:01 -06:00
Gregory Nutt
c79bc5a19d configs/mcu123-lpc214x/usbmsc: Configuration converted to use the kconfig-frontends tools 2014-03-03 15:40:18 -06:00
Gregory Nutt
4ac4814fb4 configs/olimex-strp711/nettest: Converted to use kconfig-frontends tools 2014-03-03 10:52:02 -06:00
Gregory Nutt
f5888496fb configs/c5471evm/nettest converted use kconfig-frontends. C5471 build updated 2014-03-03 10:05:06 -06:00
Gregory Nutt
6b1aebdcae arch/arm/src/lpc2378/Kconfig: Create Kconfig for the platform; Adjust configuration names for compatibility, configs/olimex-lpc2378/nsh: Convert to use the kconfig-frontends tools 2014-03-02 11:08:23 -06:00
Gregory Nutt
8462bcc072 Removed unused configuratin variable: CONFIG_PGTABLE_VADDR 2014-03-01 16:21:28 -06:00
Gregory Nutt
9f366d5e8d configs/lm3s8962-ek/nsh converted to use the kconfig-frontends tools 2014-03-01 13:29:23 -06:00
Gregory Nutt
df156de4a4 Buildroot EABI (vs OABI) is now the default 2014-02-28 07:49:15 -06:00
Gregory Nutt
81999adb15 SAM3/4: Cosmetic updates to ADC register defintion header files 2014-02-27 08:41:03 -06:00
Gregory Nutt
8e8c2cd5ec SAM4E: Completes all SAM4E register definition header files. Also a SAMA5D3 ADc register definition fix 2014-02-26 17:00:22 -06:00
Gregory Nutt
cc5bc76761 SAM4E: Add AES and AFEC register definition header files (AFEC incomplete) 2014-02-26 15:11:20 -06:00
Gregory Nutt
165d202f41 SAM4E: Add CAN and RSWDT register definition header files 2014-02-26 14:14:19 -06:00
Gregory Nutt
22423b3770 SAM4E: Add EMAC register definition header file 2014-02-26 11:57:42 -06:00
Gregory Nutt
bcdf077953 SAM4E: Add CMCC register definition header file 2014-02-26 09:25:57 -06:00
Gregory Nutt
424f8e82d8 SAM4E: UDP register definition header file 2014-02-25 13:39:00 -06:00
Gregory Nutt
d34b1b620b SAM3/4: Fix some build errors that crept in with the SAM4E support 2014-02-25 12:41:38 -06:00
Gregory Nutt
3b07bc6716 SAM4E: Update SAM3/4 TC and DMAC register definition header files 2014-02-25 10:56:23 -06:00
Gregory Nutt
4d600b7a73 SAM4E: Update SAM3/4 ACC, DACC, and PDC register definition header files 2014-02-24 14:48:33 -06:00
Gregory Nutt
1c596b06d8 SAM4E: Update SAM3/4 GPBR, HSMCI, PWM, RSTC, RTC, RTT, SMC, and WDT register definition header files 2014-02-24 12:38:19 -06:00
Gregory Nutt
a39db83fcc SAM4E: Update SAM3/4 SMC and SUPC register definition header files 2014-02-24 10:26:44 -06:00
Gregory Nutt
6a5abb6cf9 SAM4E: Update SAM3/4 EEFC, MATRIX, and PMC register definition header files 2014-02-24 09:49:02 -06:00
Gregory Nutt
c3cbb6546a ARMv6-M/ARMv7-M: Correct a register handling error in signal delivery (Kernel build mode only). Noted by Mike Smith. 2014-02-23 08:25:49 -06:00
Gregory Nutt
2cc96f9be1 SAM4E: USART/USART header files and drivers updated to support the SAM4E 2014-02-22 13:46:23 -06:00
Gregory Nutt
1b5f674f7b SAM4E: update SAM3/4 Kconfig for SAM4E peripheral selections 2014-02-22 11:56:04 -06:00
Gregory Nutt
8d6565b85d Rename sam3u_pmc.h to sam_pmc.h since it handles all of the SAM3/4 chips 2014-02-22 10:38:25 -06:00
Gregory Nutt
d303194e22 SAM4E: Update PMC and SPI register definition header files 2014-02-22 10:32:28 -06:00
Gregory Nutt
a3acfc785f SAM4E: Pin multiplex definition header file 2014-02-21 18:10:53 -06:00
Gregory Nutt
4b824e8d5f SAM4E: Add support for PIO and peripheral clocks 2014-02-21 12:34:04 -06:00
Gregory Nutt
74b4b1f054 SAM4E: Add memory map header file 2014-02-21 09:33:16 -06:00
Gregory Nutt
0a6942e068 SAM4E: Add vector definition header files 2014-02-21 08:46:16 -06:00
Gregory Nutt
bebb5d8c4d unlink/rm can now be used on nodes in the pseudo-filesystem. There is new configuration option to suppress these costly and mostly useless operations on the pseudo-filesystem 2014-02-20 18:14:02 -06:00
Gregory Nutt
33508df77f SAMD20: Some progress debugging SPI. Currently hangs 2014-02-20 15:20:42 -06:00
Gregory Nutt
8f469d70ed SAMD20: Changes for clean build of SPI driver and SAMD20 Xplained Pro board with the I/O1 module installed 2014-02-20 11:27:59 -06:00
Gregory Nutt
8bbf4f3ec8 SAMD20: SPI driver is code-complete, but untested 2014-02-20 09:59:54 -06:00
Gregory Nutt
41afd1c3d8 SAMD: A little more SPI logic 2014-02-19 18:48:59 -06:00
Gregory Nutt
951f4ff4a3 LM3/4: Several errors were unmasked with UARTs > UART2 were enabled. Fromo Gosha 2014-02-19 17:02:30 -06:00
Gregory Nutt
ff899bf0e3 SAMD20: Add a framework for an SPI driver 2014-02-19 16:52:12 -06:00
Gregory Nutt
916308efc1 SAMD20: Move some common SERCOM logic to a separate file where it can be shared 2014-02-19 14:47:04 -06:00
Gregory Nutt
662622b5dc STM32 Timer: Set CCMR wehn selecting timer channel. From David Sidrane 2014-02-18 13:50:46 -06:00
Gregory Nutt
bbb65432d9 STM32 SPI: Disable SPI before modifying CR1 2014-02-18 13:42:20 -06:00
Gregory Nutt
06e7e5dfa1 More STM32F429 Discovery FPU-related changes from David Alessio 2014-02-18 12:07:17 -06:00
Gregory Nutt
1fcd2bfd10 SAMD20: Increase FLASH waitstates to 2 2014-02-18 10:37:42 -06:00
Gregory Nutt
7bcf29c72a Mostly cosmetic clean-up of comments 2014-02-17 19:22:53 -06:00
Gregory Nutt
246b949610 SAMD20: Fix BAUD calculation. Now comes up okay about 20% of the time 2014-02-17 18:09:17 -06:00
Gregory Nutt
0fd29be0d2 SAMD20: Now runs, but no serial output 2014-02-17 14:21:22 -06:00
Gregory Nutt
93ca836b85 SAMD20: Initial debug changes to get clocking 2014-02-17 11:36:52 -06:00
Gregory Nutt
05b5d78ae1 SAMD20: Misc changes for a clean build with debug enabled 2014-02-17 08:14:19 -06:00
Gregory Nutt
72e823a498 SAMD20: Add WDT and EVSYS register definition header files 2014-02-16 17:21:36 -06:00
Gregory Nutt
46ae018692 SAMD20: Add I2C slave register definition header file 2014-02-16 14:44:03 -06:00
Gregory Nutt
3c00c4f3fb SAM20D: Add SPI and I2C master register definition header files 2014-02-16 13:07:31 -06:00
Gregory Nutt
b3f4814e9f SAMD20: The basic port is complete but still untested 2014-02-16 11:34:32 -06:00
Gregory Nutt
cb6bf52939 SAMD20: Completes low-level USART logic 2014-02-16 09:42:29 -06:00
Gregory Nutt
1f9d3b67ff SAMD20: More SERCOM USART configuration logic 2014-02-15 17:53:55 -06:00
Gregory Nutt
3b0e6526a1 SAMD20: A little more USART logic 2014-02-15 15:58:48 -06:00
Gregory Nutt
de8f9e979c SAMD20: Beginning of SERCOM UART configuration logic 2014-02-15 14:22:56 -06:00
Gregory Nutt
7304c246d1 SAM D20: Add SERCOM USART register definition header file 2014-02-15 11:37:09 -06:00
Gregory Nutt
5caa92f463 SAMD20: Finishes basic clock configuration logic 2014-02-15 10:18:05 -06:00
Gregory Nutt
1ed6677f57 SAM D20: More clock configuration logic (still incomplete) 2014-02-14 16:46:21 -06:00
Gregory Nutt
293484ffed SAM D20: Put fuse related definition in a separate header file so make license statement cleaner 2014-02-14 14:33:34 -06:00
Gregory Nutt
294152fe36 SAM D20: A little more clock configuration logic (still incomplete) 2014-02-14 13:38:56 -06:00
Gregory Nutt
e98ef18df1 SAMD20: Add NVMCTRL register definition header file. Also empty framework for clock configuration 2014-02-14 11:03:22 -06:00
Gregory Nutt
8acdc31a6e STM32 serial: Fix clone typo.. FLOWCONROL vs FLOWCONTROL 2014-02-14 09:09:56 -06:00
Gregory Nutt
c0c22040b0 SAMD20: Add SYSCTRL register definition header file 2014-02-13 15:41:16 -06:00
Gregory Nutt
4c2b18dee0 SAMD20: Add GCLK and PM register definition header files 2014-02-13 14:07:58 -06:00
Gregory Nutt
69ffc4a351 SAMD20: Add port configuration logic 2014-02-13 12:44:22 -06:00
Gregory Nutt
12e96b8f51 Add SAMD20 pin configuration definitions 2014-02-13 10:56:15 -06:00
Gregory Nutt
1364850552 Minimal changes to get a clean compilation of the SAMD20 Xplained configuration. Still a lot of missing logic 2014-02-13 09:14:03 -06:00
Gregory Nutt
1bd5ff87c4 Fix-up some SAMD20 SERCOM conditionals 2014-02-12 18:29:23 -06:00
Gregory Nutt
bd15ec2565 Add initial support for the Atmel SAMD20 Xplained Pro board 2014-02-12 17:50:58 -06:00
Gregory Nutt
ca9a8e5875 Add basic framework to support the Atmel SAMD Cortex-M+ chip 2014-02-12 15:07:11 -06:00
Gregory Nutt
6b4796fa5a Fix typo cloned to many files: SAM32 vs SAM34 2014-02-12 13:00:24 -06:00
Gregory Nutt
b656602055 More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced 2014-02-10 19:11:56 -06:00
Gregory Nutt
91b002a043 Many changes to reduce complaints from CppCheck. Several latent bugs fixes, but probably some new typos introduced 2014-02-10 18:08:49 -06:00
Gregory Nutt
2b40128148 USB HID mouse: Fixes the basic data transfer model. Returned position data is still bad 2014-02-09 16:50:09 -06:00
Gregory Nutt
2d91804642 LPC17 USB Host: Fix a compile error when USB debug is enabled 2014-02-09 15:54:58 -06:00
Gregory Nutt
9d8ecdbefd Fix a compile error that crept into the LPC17xx USB host driver 2014-02-09 13:45:18 -06:00
Gregory Nutt
cde8e80302 A10 had the same cut'n'paste error as did the LM4F 2014-02-03 17:22:47 -06:00
Gregory Nutt
ef899c5115 Fix cut'n'paster errors in conditional compilation. Prevented LM4F120 Launchpad UARTs 2-7 from being used 2014-02-03 17:00:05 -06:00
Gregory Nutt
e5bb99bfb9 A10: Make sure it is tolerant of CONFIG_BOOT_SDRAM_DATA 2014-01-29 08:16:02 -06:00
Gregory Nutt
764ba4da70 SAMA5: Fix logic for running with data in SDRAM 2014-01-29 07:49:23 -06:00
Gregory Nutt
3ddb0ebaef ARMv7-A: Conditionally compile out more unneeded logic when .data and .bss are in SDRAM 2014-01-28 16:39:08 -06:00
Gregory Nutt
72ee80b7cc SAMA5: Mostly cosmetic 2014-01-28 15:54:03 -06:00
Gregory Nutt
6188eb7472 SAMA5: More variables-in-SDRAM stuff 2014-01-28 15:05:19 -06:00
Gregory Nutt
34b94de8fe Add support for .data and .bss in SDRAM 2014-01-28 14:35:03 -06:00
Gregory Nutt
9f46dac1e2 Add option to indicatet that data is retained in SDRAM 2014-01-28 10:42:49 -06:00
Gregory Nutt
73d340e0bd Remove EFM32 from build system 2014-01-27 10:41:06 -06:00
Gregory Nutt
3b172e5f41 Remove support for EFM32. Not ready to be fielded 2014-01-27 08:03:39 -06:00
Gregory Nutt
2f837ccd2a rename up_led*() functions to board_led_*() 2014-01-24 14:28:49 -06:00
Gregory Nutt
f3f5378acc The optimization level can now be selected as part of the configuration 2014-01-24 07:45:35 -06:00
Gregory Nutt
e4142f65fb Assembler changes with the gcc-47 distribution from ARM mean that we need to be explicit about branch one or more of the wide branch opcodes results in bad table branching. From Mike Smith 2014-01-23 15:29:57 -06:00
Gregory Nutt
7077d99f2f Basic support for the EFM32 processor family from Richar Cochran 2014-01-23 07:56:10 -06:00
Gregory Nutt
7ce90ef7e2 arch/arm/src/Makefile: dependency directory list is now computed from the VPATH. From Richard Cochran 2014-01-23 07:41:00 -06:00
Gregory Nutt
7834ff4ce3 Fix error in last ARMv7-M up_disable_irq checkin 2014-01-15 15:26:32 -06:00
Gregory Nutt
be474523c4 Fix all Cortex-M3/4 implementations of up_disable_irq(). They were doing nothing. Thanks to Manuel Stühn for the tip. 2014-01-15 09:56:30 -06:00
Gregory Nutt
836057e340 Individual IRQs are not longer disabled on each interrupt. See ChangeLog for detailed explanation 2014-01-15 08:09:19 -06:00
Gregory Nutt
803cdfdaf1 Changes to get PX4 config to build. Also some warning removal 2014-01-14 13:30:22 -06:00
Gregory Nutt
b301471adb A10: Serial clock is OSC24M. From Alan Carvalho de Assis 2014-01-10 15:32:42 -06:00
Gregory Nutt
a6bb107d10 Fix types in conditional compilation 2014-01-10 13:36:18 -06:00
Gregory Nutt
37f0db6e0c Add support for the XPT2046 touchscreen controller on the Viewtool LCD module 2014-01-09 10:57:17 -06:00
Gregory Nutt
c31f2b6f78 Fix STM32F103VE SPI3 definitions; Fix bug introduced in recent NX reorganization. From Steve Redler IV 2014-01-08 16:44:11 -06:00
Gregory Nutt
a6d486557b Cosmetic spaces to tabs change 2013-12-08 10:38:33 -06:00
Gregory Nutt
7cbb001f98 A10: Fix serial TX interrupts 2013-12-08 09:26:53 -06:00
Gregory Nutt
764e117965 A10: Correct handling of the serial busy interrupt 2013-12-08 08:51:19 -06:00
Gregory Nutt
126bec4e55 Add more nops after enabling MMU for Cortex-A8 2014-01-07 08:38:00 -06:00
Gregory Nutt
9d393e167c A10: Handle UART BUSY interrupt; Back out change to mkconfig.c -- it causes problems for assembly 2013-12-07 11:46:08 -06:00
Gregory Nutt
aa1700895e A10: Add missing interrupt handling logic for UART4-7 and remove bogus flow control logic 2014-01-06 12:08:32 -06:00
Gregory Nutt
6a9c63aa09 A10: Fix error in IRQ dispatch; vector table seems to be offset by 64 bytes? 2013-12-07 08:36:30 -06:00
Gregory Nutt
bb92016356 SVC is the preferred mnemonic vs. SWI for cortex A 2014-01-05 16:21:41 -06:00
Gregory Nutt
ab729802be Oops. Mnemonic changed from SWI to SVC in cortex A 2014-01-05 15:59:49 -06:00
Gregory Nutt
8bc6125b3c Add ARMv7-A syscall.h header file 2014-01-05 15:49:06 -06:00
Gregory Nutt
458465c8ed Viewtools STM32F103: Add SSD1289 LCD support 2014-01-05 14:14:59 -06:00
Gregory Nutt
c01e95584c STM32: Single wire UART support from Thomas Grubler 2014-01-02 07:56:46 -06:00
Gregory Nutt
bca90d1c28 STM3240G-EVAL knxwm: Work around CodeSourcery library bug by switching to buildroot 2013-12-31 10:55:46 -06:00
Gregory Nutt
2507017695 Decoupling NX user interfaces to support NX kernel build (phase 1) 2013-12-27 13:18:20 -06:00
Gregory Nutt
64bb8b3341 Fix naming of STM32 F3 SPI2 MOSI and MISO pins. From Brian Webb 2013-12-27 11:15:18 -06:00
Gregory Nutt
bee251006b STM32F107 OTG FS clock presecaler cannot be configurated after the USB clock is enabled 2013-12-26 10:45:21 -06:00
Gregory Nutt
4922f71703 Add support for STM32F107 OTG FS (doesn't work) and update USB support for Viewtools STM32F107~ 2013-12-26 09:22:37 -06:00
Gregory Nutt
e963a4d862 F103VC, F105, and F107: Fix configuration and building of USB. configs/viewtools-stm32f107: Fix build for F103 and F107: F103 has USB device; F107 has OTGFS 2013-12-25 18:34:15 -06:00
Gregory Nutt
1c61bb0c53 Fix a duplicate label introduce in recent commit 2013-12-23 14:29:25 -06:00
Gregory Nutt
76b04f137f Need to protect state on stack to do nested interrupt handling 2013-12-23 14:11:32 -06:00
Gregory Nutt
d41bfe4d5b Fixes a few more high priority, nested interrupt logic 2013-12-23 11:13:56 -06:00
Gregory Nutt
22e208dbf9 Several fixes related to Cortex-M RAM vectors 2013-12-22 18:19:08 -06:00
Gregory Nutt
88faa55ac1 Fix some missing parameters in macros 2013-12-22 16:29:36 -06:00
Gregory Nutt
483a4d8d2b Finish the high priority, nested interrupt handler test (does not work) 2013-12-22 13:23:57 -06:00
Gregory Nutt
facf988cb2 Add logic to configure interrupt controller debug; Fix high priority, nested interrupt build problems 2013-12-22 11:16:29 -06:00
Gregory Nutt
5f89b91ad1 Finishes coding of ARMv7-M high priority nested interrupt logic. Still undocumented; still not fully tested 2013-12-21 15:05:48 -06:00
Gregory Nutt
7bcfcb2544 Beginning of high priority nested interrupt support for the ARMv7-M family 2013-12-21 11:03:38 -06:00
Gregory Nutt
49f73c04ae Fix a typo that was cloned to several SAMA5 and MTD files 2013-12-21 09:45:27 -06:00
Gregory Nutt
1e7365eea4 Cosmetic: Changlog and update to comments 2013-12-20 16:24:22 -06:00
Gregory Nutt
67b5785d58 Kconfigs: Interrupt prioritization should not be automatically selected 2013-12-20 08:42:54 -06:00
Gregory Nutt
ed56d3aa83 Replace explicit hex MMU value with definition 2013-12-18 12:47:43 -06:00
Gregory Nutt
e9d7ab1ba3 A10: Extend register debug logic 2013-12-18 11:26:48 -06:00
Gregory Nutt
447e79dccc Fix bad register name in INTC debug function 2013-12-18 10:14:12 -06:00
Gregory Nutt
e23dcc6384 Cortex-A: Fix start-up cache invalidation logi 2013-12-18 09:01:43 -06:00
Gregory Nutt
d67eeb1f8a A10: Make sure that interrupts are disabled and cleared 2013-11-17 11:40:58 -06:00
Gregory Nutt
a542164b1d Page lies in SRAM A2 not A1 2013-11-17 10:37:10 -06:00
Gregory Nutt
fa3593a2c5 Remove executable mode bits 2013-11-17 08:27:11 -06:00
Gregory Nutt
d46dd5f8e2 A10: Fix DDR mapping 2013-12-17 09:22:27 -06:00
Gregory Nutt
1771b69b62 Cosmetic changes to comments and README files 2013-12-16 13:48:20 -06:00
Gregory Nutt
cbe5751c3b Trivial updates to comments and README files 2013-12-16 11:13:55 -06:00
Gregory Nutt
96918171ee Review Cortex-A9 CP15 registers and update register definitions 2013-12-16 10:23:29 -06:00
Gregory Nutt
93914d8686 Back port some A10 changes into the SAMA5 memory map definitions 2013-12-16 09:21:55 -06:00
Gregory Nutt
c4380b5a8f ARMv7-A: If the page table does not like in same address range as .text and primary RAM, then we will need to set up an additional mapping for the page table at boot time. 2013-12-16 08:26:07 -06:00
Gregory Nutt
9f01df47ea Create procfs_utils.c; File missed from last commit; + remove warning from mm_memalign.c (how did this work before?) 2013-12-14 08:53:23 -06:00
Gregory Nutt
623229057f A10 serial driver (still needs some work). From Alan Carvalho de Assis 2013-12-13 16:41:44 -06:00
Gregory Nutt
c5f56cb39b Eliminate some warnings in the pcDuino A10 build 2013-12-13 13:09:45 -06:00
Gregory Nutt
756fd631ca A10: Add A10 configuration header file 2013-12-13 12:53:33 -06:00
Gregory Nutt
d6b81cc7ef A10: Timer interrupt handler 2013-12-13 12:42:26 -06:00
Gregory Nutt
124bd68c6f Finish A10 Timer register definitions 2013-12-13 11:44:52 -06:00
Gregory Nutt
c0367fcc0a Beginning of Timer register definition file for the A10 2013-12-12 12:27:30 -06:00
Gregory Nutt
1f097aa856 A10/pcDuino/Linux build fixes 2013-12-11 17:05:08 -06:00
Gregory Nutt
70a8510fb9 A10: Re-vamp pin configuratin header file 2013-12-11 14:40:52 -06:00
Gregory Nutt
482d94cfd2 A10+pcDuino: PIO support, LED and button support 2013-12-11 13:23:40 -06:00
Gregory Nutt
06f08899dc A10 PIO register definition header file 2013-12-10 15:53:32 -06:00
Gregory Nutt
e282aad903 Move include/nuttx/fb.h to include/nuttx/video/fb.h 2013-12-10 09:23:54 -06:00
Gregory Nutt
bdfb2f7eb6 More OV2640 initialization logic 2013-12-10 09:10:39 -06:00
Gregory Nutt
ae10aea36c A10 peripheral selection logic 2013-12-09 15:24:54 -06:00
Gregory Nutt
59d5c8151d A little SAMA5 camera stuff 2013-12-09 14:20:11 -06:00
Gregory Nutt
0297ed0966 A10 UART: Register definition header file 2013-12-09 14:18:32 -06:00
Gregory Nutt
4d07c15932 Add OV2640 camera support to test the SAMA5 ISI peripheral 2013-12-09 10:51:22 -06:00
Gregory Nutt
227cddccfa A10: Re-write of interrupt management logic 2013-12-09 07:47:15 -06:00