Commit Graph

2317 Commits

Author SHA1 Message Date
Gregory Nutt
bfa1a9545b 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
8bfdf70766 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
b2da68028e The last bit of a previous commit was still in the editor 2013-07-30 12:07:51 -06:00
Gregory Nutt
2c6b370c4a Add ARMv7-A irqdisable() inline function 2013-07-30 11:37:09 -06:00
Gregory Nutt
413aba0bf5 SAMA5: More cache and mmu inline utility functions 2013-07-29 19:57:15 -06:00
Gregory Nutt
5351598323 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
1728594259 SAMA5: Add a little NuttX debug program to help debugger programs in NOR flash 2013-07-29 13:57:32 -06:00
Gregory Nutt
f96c6793b9 Add SAMA5 HSMC register definitions and logic to reconfigure the NOR FLASH 2013-07-29 10:56:21 -06:00
Gregory Nutt
4ba648aaae SAMA5: Add file structure to support board-specific initialization of NOR flash 2013-07-29 07:41:53 -06:00
Gregory Nutt
9a94a3707c 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
f0e3011fc3 Removed unused ARMv7-A cache function 2013-07-27 14:03:02 -06:00
Gregory Nutt
efa21b82bc SAMA5: Fix heap allocation bugs 2013-07-27 11:28:31 -06:00
Gregory Nutt
dc92037e67 Add a hello world configuration to help with the SAMA5 bringup 2013-07-26 15:28:01 -06:00
Gregory Nutt
70f0ffdfc5 Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_ 2013-07-26 10:09:17 -06:00
Gregory Nutt
0fb58d2cf1 Fix some bad page table definitions of last commit 2013-07-25 18:11:25 -06:00
Gregory Nutt
49f9b7040e Misc Cortex-A5 MMU-related fix -- still does not boot 2013-07-25 16:37:55 -06:00
Gregory Nutt
55df28dbcf 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
e6beda428a Fix SAMA5 vector linking issue 2013-07-24 12:51:42 -06:00
Gregory Nutt
77e1c27005 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
04b3bb1826 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
3860fc17f0 Improve Cortex-A5 context switching so that a little less copying is done 2013-07-24 07:47:51 -06:00
Gregory Nutt
14df812735 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
e67d610347 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
a9b0f304e6 Add SAMA5 clock logic. Cloned from SAM3U and not yet verified 2013-07-22 14:42:05 -06:00
Gregory Nutt
87f54f7d0b Add system timer logic for the SAMA5 2013-07-21 15:49:17 -06:00
Gregory Nutt
86c0d9772f Add some preliminary linker scripts in order to begin building the SAMA5 target 2013-07-21 13:50:22 -06:00
Gregory Nutt
543b5b7e03 A few more Cortex-A5 and SAMA5 files 2013-07-21 12:52:38 -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
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
c6459a79e2 Fix problems with host build of the Zmodem tools 2013-07-16 11:23:35 -06:00
Gregory Nutt
b7f15de193 More Zmodem tweaks 2013-07-16 08:26:59 -06:00
Gregory Nutt
076e67df24 Zmodem utilities can now be built for Linux; Fix some configuration confusion 2013-07-15 17:50:17 -06:00
Gregory Nutt
97327d8723 Minor end-of-the-day Zmodem changes 2013-07-15 17:11:09 -06:00
Gregory Nutt
b9220fc118 Fix file write loop 2013-07-15 16:21:20 -06:00
Gregory Nutt
6153cfea56 Partial fixes for Zmodem RX buffering problems. 2013-07-15 12:33:35 -06:00
Gregory Nutt
aad86e1450 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
cee9f6d4b4 More Zmodem bugfixes and new files 2013-07-13 13:19:15 -06:00
Gregory Nutt
f272d83097 Additional support needed for Zmodem debug 2013-07-12 18:10:12 -06:00
Gregory Nutt
c960273afd 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
6505474f03 SAM configurations: don't use 3 memory regions unless SMC is enabled 2013-07-12 14:50:22 -06:00
Gregory Nutt
a9e04b3f47 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
37ed44a1ee Fix type in the USB composite device driver 2013-07-04 07:47:32 -06:00
Gregory Nutt
bb69466c8b Updates for the Sure PIC32 board 2013-07-03 11:39:54 -06:00
Gregory Nutt
ac36a07e24 Back out part of last change to the Arduino Due touchscreen driver 2013-07-03 09:07:01 -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
0ff5a0c791 Correct port direction for Arduino MISO signal 2013-07-02 12:37:20 -06:00
Gregory Nutt
d9279febb9 Flesh out a few missing pieces for the Arduino ITEAD TFT shield 2013-07-02 11:36:48 -06:00
Gregory Nutt
cfb156f286 Add support for touchscreen on ITEAD Arduino shield. Untested 2013-07-02 08:25:53 -06:00
Gregory Nutt
bdf96a93db 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
652c33a53a clean up of SPI bit bang logic 2013-07-01 17:49:43 -06:00
Gregory Nutt
e1dab23711 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
8b68ea2f94 Add a general bit-bang SPI upper-half driver 2013-07-01 12:23:26 -06:00
Gregory Nutt
09faaccc02 Created new directories to hold SPI-related files 2013-07-01 08:11:54 -06:00
Gregory Nutt
dc47d3de89 Update SAM3u-EK touchscreen status 2013-06-30 12:05:09 -06:00
Gregory Nutt
6af5cfef34 Minor SAM3U-EK NxWM build updates, documentation, configurations 2013-06-30 11:20:24 -06:00
Gregory Nutt
089bca3599 Changes to get a clean compile of configs/sam3u-ek/nxwm 2013-06-29 09:39:01 -06:00
Gregory Nutt
8ba8ad39f9 SAM3U-EK touchscreen is now functional; created an NxWM configuration to test it further 2013-06-28 17:07:58 -06:00
Gregory Nutt
940b82bf61 quick and not very accurate calibration of arduino due timing loops 2013-06-28 15:50:44 -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
f20f23cf31 Add instructions to use BOSSA to load nuttx into Due 2013-06-28 08:54:09 -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
18240b07b6 Add support for SAM3X and 3A chips, interrupts, and peripheral IDs 2013-06-26 12:28:32 -06:00
Gregory Nutt
450862a944 Add support fo SAM4S Xplained SRAM 2013-06-26 10:57:25 -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
3d975e0a08 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
d971650440 Fix UG-2832HSWEG04 configuration values 2013-06-23 15:17:22 -06:00
Gregory Nutt
d11050e978 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
8959fffedc SAM4L Xplained SLCD driver is complete 2013-06-23 09:05:20 -06:00
Gregory Nutt
b41c96e1f8 Beginning debug of SAM4L Xplained SLCD 2013-06-22 17:01:44 -06:00
Gregory Nutt
7b716cf8f5 The SAM4L Xplained Pro SLCD driver is code complete but untested 2013-06-22 10:39:25 -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
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
41fcc9504c 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
876fcca8f7 More Freedom KL25Z changed to and from Alan Carvalho de Assis 2013-06-19 20:50:27 -06:00
Gregory Nutt
f597172733 Add SPI register definitions for the Freescale KL25Z 2013-06-19 09:56:32 -06:00
Gregory Nutt
d4e550eea8 SAM3U-EK LCD: Correct LCD configuration 2013-06-18 14:53:10 -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
b9ad057972 MMC/SD driver needs to manage SPI mode and data width as well 2013-06-17 12:31:24 -06:00
Gregory Nutt
8db5d403ee SAM3U-EK board now runs at 96MHz 2013-06-17 08:41:52 -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
dd2983e26a SAM MMCSD/SPI related changes 2013-06-15 17:00:52 -06:00
Gregory Nutt
0b6e12e853 Oops.. files that I forgot to add in the last commit 2013-06-15 10:56:42 -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
aaf102b5c8 Prep for 6.28 release 2013-06-14 14:30:00 -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