Gregory Nutt
75077f4728
SAML21: Add DMA descriptor management logic
2015-06-14 08:48:25 -06:00
Gregory Nutt
8c8b2d926b
SAMD21: Add build framework for DMA support. Nothing there yet except for skeletal logic taken from SAM3/4.
2015-06-13 15:06:37 -06:00
Gregory Nutt
29136e51cc
Clean up and review of header files for conformance to standards
2015-06-12 19:26:01 -06:00
Gregory Nutt
7bd3d5eaf1
Clean up and review of header files for conformance to standards
2015-06-12 19:00:52 -06:00
Gregory Nutt
46148524a9
SAM4S/4E: Eand default loop optimiozation if EEFC_FMR configuration. From Marco Aurélio da Cruz
2015-06-11 14:35:49 -06:00
Gregory Nutt
f055d4cac4
Logic that samples the free running counter reads the pending interrupt status regsiter and can cause interrupts to be lost. So, if when the status regsiter is read, the logic must also handle the timer overflow event. Found and fixed by Max Neklyudov
2015-05-26 08:09:10 -06:00
Gregory Nutt
d1aae43e2a
SAM4CM: Add support for optical mode for UART1. From Max Neklyudov.
2015-05-23 06:48:36 -06:00
Gregory Nutt
790d53bb06
SAM3/4 Serial: In NONBLOCKING mode serial does not receive bytes from UART. This happens because RX interrupt was disabled in the setup routine. To fix this I save interrupt configuration before uart shutdown and restore it after. From Max Neklyudov.
2015-05-21 07:06:47 -06:00
Gregory Nutt
b8483aea40
In go_os_start that sets the IDLE thread stack coloration, mov does not set condition codes which are tested by the following beq. Need to use movs instead. Noted by David Sidrane
2015-05-07 20:36:08 -06:00
Gregory Nutt
5f113517f6
Fix a few typos in comments
2015-05-06 15:26:07 -06:00
Gregory Nutt
40c1484848
Correct some cloned typos involving EHCI
2015-04-27 14:03:24 -06:00
Gregory Nutt
d77a19f0a2
Two r's and only two r's in the word interrupt
2015-04-23 14:04:43 -06:00
Gregory Nutt
8172e4cec1
More places where watchodg mispelled
2015-04-15 21:36:30 -06:00
Gregory Nutt
6b7a0cb3b8
Revert commit b80e8be652dfa52e97daa65aa3e550cf31cb2409
2015-04-12 06:26:50 -06:00
Gregory Nutt
9ece96b6d3
Remove all traces of CONFIG_ARMV7M_STACKCHECK
2015-04-11 10:01:44 -06:00
Gregory Nutt
929ea217c7
Remove executable flag from more .c and .h files
2015-04-09 08:20:57 -06:00
Gregory Nutt
a93913c0f4
SAMA5 Serial: Reading IMR and disabling interrupt must be atomic
2015-04-08 15:27:31 -06:00
Gregory Nutt
35312b31f9
SAM3/4 and SAMV7 UART: The IMR register is read-only. This means that sam_restoreints() does not actually re-enable UART interrupts.
2015-04-08 15:04:10 -06:00
Gregory Nutt
27bb133294
SAM3/4 and SAMV7 Serial: Serial interrupts left disabled.
...
A side-effect of changing serial settings via TERMIOS (such as tcsetattr) is that serial interrupts were being left disabled. This is not a problem if the serial configuration is changed when there are no open references to the serial device. In that case, serial interrupts are disabled and will not be enabled enabled until the serial device is first opened. But it is fatal if the serial device is already opened and if there is a task waiting to receive data. In that case, the side-effect of disabling interrupts is fatal: That task is then left hanging with interrupts disabled.
2015-04-08 14:14:01 -06:00
Gregory Nutt
ae15c6963c
Make some file section headers more consistent with standard
2015-04-08 08:04:12 -06:00
Gregory Nutt
69d2d77424
Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/.
2015-04-01 12:37:44 -06:00
Gregory Nutt
e68baa3073
Include chip/sam_spi.h in sam_spi.h
2015-03-20 11:09:36 -06:00
Gregory Nutt
8d31651a1b
Bringing PPPD yet closer to the NuttX coding style
2015-03-11 18:47:04 -06:00
Gregory Nutt
d8a99fb73f
SAMV71-XULT: Enable 64-bit floating point support
2015-03-11 12:30:14 -06:00
Gregory Nutt
ed0fa0358c
SAMV7: Add PIO register definition header file
2015-03-08 17:34:26 -06:00
Gregory Nutt
bbf80bbd5d
SAMV71: Add pin mapping definitions
2015-03-08 13:24:32 -06:00
Gregory Nutt
5b72858f0c
SAMV71: Add UART register definition header file
2015-03-08 08:42:22 -06:00
Gregory Nutt
2571d6202d
SAMV71-XULT: Add heap allocation logic
2015-03-07 11:46:54 -06:00
Gregory Nutt
b1cecdd3ea
SAMV7: Add interrupt-related logic
2015-03-07 11:16:44 -06:00
Gregory Nutt
7f92f22167
SAMV71: Add Supply Controller register definition header file
2015-03-06 15:27:51 -06:00
Gregory Nutt
7113de4d18
SAMV71: Add PMC register definition header files
2015-03-06 14:58:13 -06:00
Gregory Nutt
9bcdf974a0
Add new common lazy FPU state saving option for ARMv7-M. Not yet verified
2015-03-06 08:26:43 -06:00
Gregory Nutt
3b798f6ef1
SAM3/4: Leverage some start-up logic from STM32
2015-03-05 17:45:13 -06:00
Gregory Nutt
f4ec5efe3a
SAMV71: Add memory map header file
2015-03-05 15:47:29 -06:00
Gregory Nutt
67c21e6817
SAMV7 Kconfig: Add peripheral selections
2015-03-05 13:51:39 -06:00
Gregory Nutt
5158e10bc2
Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments
2015-03-05 06:41:14 -06:00
Gregory Nutt
429863f348
arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions
2015-02-27 17:19:38 -06:00
Gregory Nutt
59412f25ce
SAM4CM free-running time: Change overflow type from uint16 to uint32. From Max Neklyudov.
2015-02-25 08:12:31 -06:00
Gregory Nutt
70c8ff6581
Eliminate some warnings
2015-02-25 08:05:35 -06:00
Gregory Nutt
ff6b34967b
Fix a compilation error. From Macs Neklyudov
2015-02-16 14:30:15 -06:00
Gregory Nutt
501bc15fbd
RTC: Remove all backdoor interfaces from rtc.h
2015-02-13 08:41:34 -06:00
Gregory Nutt
9e6cd16a8b
SAM4 Ethernet Driver: No supports operation using the high priority work queue so that packet processing can occur outside of interrupt level processing.
...
SAM4E-EK: The nsh configuration now configures the Ethernet driver for execution on the HP work thread.
2015-02-10 11:10:55 -06:00
Gregory Nutt
8b0d9fb456
Fix some warning
2015-02-09 18:24:31 -06:00
Gregory Nutt
0a6ae631dc
Clone the SAMA5D4 IPv6 support to the SAM4E EMAC and SAMAd3 EMAC and GMAC drivers.
2015-02-09 17:16:55 -06:00
Gregory Nutt
d08e29e0a0
Remove and extra endif from the Kconfig
2015-02-03 12:46:40 -06:00
Gregory Nutt
5189cddef2
Convert the 64-bit usec limit to a 32-bit tick limit
2015-02-03 07:18:17 -06:00
Gregory Nutt
f017f4c8a8
SAM4CM: Add support for tickless operation
2015-02-03 07:00:54 -06:00
Gregory Nutt
30b141e2c8
Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless
2015-01-24 06:49:51 -06:00
Gregory Nutt
e8f266001d
Add CONFIG_STACK_COLORATION that does the same thing as CONFIG_DEBUG_STACK but without enabling debug. From David Sidrane
2015-01-24 06:03:39 -06:00
Gregory Nutt
9588b0e7a7
All Ethernet drivers (again): Missed one place where arp_out() is called and neighber_out() needs to be called
2015-01-21 11:36:33 -06:00
Gregory Nutt
723b7fc430
Networking: Modify all Ethernet drivers: Do neighbor look-up on all outgoing IPv6 packs in order to properly set the destination link layer address.
2015-01-20 15:52:25 -06:00
Gregory Nutt
f6063c3896
Networking: Add missing raw/packet socket support to all Ethernet drivers
2015-01-20 15:14:29 -06:00
Gregory Nutt
07132f462f
Ethernet drivers: Use IFF_IS_IPv4 macro. Cannot rely on the EtherType being set correctly.
2015-01-20 06:26:14 -06:00
Gregory Nutt
ac69e11a5f
Networking: All Ethernet drivers: Call ipv6_input if IPv6 is enabled and an IPv6 packet is received
2015-01-15 09:31:23 -06:00
Gregory Nutt
836a8b1625
- Rename devif_input() ipv4_input()
...
- Copy net/devif/devif_input.c to ipv6_input.c. Remove all IPv4-specific logic.
- Rename net/devif/devif_input.c to ipv4_input.c. Remove all IPv6-specific logic
- Split IPv4 header structure out as net_ipv4hdr_s from net_iphdr_s
2015-01-15 08:03:56 -06:00
Gregory Nutt
6bc54c3541
Networking: Condition certain ARP logic on CONFIG_NET_ARP in all Ethernet drivers
2015-01-15 07:07:39 -06:00
Gregory Nutt
fe4e3f4529
Tiva Timer: Timer test must attach a timer handler or the timer is stopped at the first interrupt
2015-01-13 15:55:54 -06:00
Gregory Nutt
727a7c9e40
Fixes for more issues found by cppcheck
2014-11-24 17:00:26 -06:00
Gregory Nutt
7ab214d811
SAM EMAC: Fix typo in the check for successfull allocation of a timer
2014-11-18 14:20:31 -06:00
Gregory Nutt
2330c9c842
Rename CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU is all MCU Ethernet drivers
2014-11-16 08:10:06 -06:00
Gregory Nutt
83e5ee1c04
SAM3/4: Add missing SPI0 clock configuartion macro for the SAM4S
2014-11-16 06:43:08 -06:00
Gregory Nutt
bf984b2b3a
Netwoek: Ada a parameter to netdev_register() to indicate the link protocol supported by the driver. Use this value to replace some logic commited yesterday
2014-11-15 08:22:51 -06:00
Gregory Nutt
493ba46ec6
Fix typo is SAM4E pinmap file
2014-11-03 11:59:53 -06:00
Gregory Nutt
0eaa74962c
Costmetic changes -- spacing, comments.
2014-10-30 16:33:40 -06:00
Gregory Nutt
05c1d9707d
SAM3/4: Fix error serial TERMIOS ioctl handling
2014-10-30 12:23:15 -06:00
Gregory Nutt
11ab9c908e
Add support for SAM3/4 basic TERMIOS and flow control. There are issues with IFLOW control: PDC or DMAC support is required
2014-10-29 15:47:15 -06:00
Gregory Nutt
4098d8c4a2
SAM4: Fix a usbnsh build problem that has crept into all serial drivers
2014-10-28 15:44:47 -06:00
Gregory Nutt
103e5dc791
SAM4E: Fix error TC header file
2014-10-28 09:22:37 -06:00
Gregory Nutt
1a532c1744
SAM4E-EK: Add support for PHY insterrupt
2014-10-24 12:28:57 -06:00
Gregory Nutt
2e829a5ff8
Another fix to SAM3/4 GPIO IRQ issue
2014-10-24 10:55:52 -06:00
Gregory Nutt
96405b1913
SAM3/4: Fix conditional compilation in GPIO IRQ logic
2014-10-24 10:44:43 -06:00
Gregory Nutt
8dfb3a1dd0
SAM4E: Fix options to select GPIO interrupts in Kconfig
2014-10-24 09:29:01 -06:00
Gregory Nutt
e409b64bdc
Only SAM4 family has RTTDIS bit in the MR register. SourceForge bug #33 from Fabien Comte
2014-09-17 07:42:12 -06:00
Gregory Nutt
068115e7d6
SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK definitions to board.h header file. From Fabien Comte
2014-09-08 06:14:59 -06:00
Gregory Nutt
31b8137956
There used to be two ways to pass parameters to new tasks, depending upon the configuration: Either (1) argv[] as created as an array with each string strdup'ed. Or (1) argv[] array and strings were created on the stack before the new task was started. Now, there is only one way, way (1). Way (2) might be slightly more compact, but this is not worth carry the complexity of two different ways of doing the same thing.
2014-09-01 15:39:34 -06:00
Gregory Nutt
10ca085b09
Rename kmalloc to kmm_malloc for consistency
2014-08-31 17:26:36 -06:00
Gregory Nutt
fcd7b9336e
Rename kfree to kmm_free for consistency with other naming conventions
2014-08-31 17:04:02 -06:00
Gregory Nutt
bcb5a5316e
Rename kumalloc to kumm_malloc and kuzalloc to kumm_zalloc for consistency with other naming
2014-08-31 16:24:24 -06:00
Gregory Nutt
1643c35609
Rename kufree to kumm_free for consistency with other naming
2014-08-31 16:15:11 -06:00
Gregory Nutt
31608cd434
Rename kmemalign to kmm_memalign for consitency with other naming
2014-08-31 14:57:31 -06:00
Gregory Nutt
e11679acf8
Rename CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED; Partially integrate new CONFIG_BUILD_KERNEL
2014-08-29 14:47:22 -06:00
Gregory Nutt
2bc16b2ba5
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
2014-08-21 11:16:55 -06:00
Gregory Nutt
96e1bf0ec2
NSH link management now works! The last fix was to the Ethernet drivers: They cannot disable clocking to the Ethernet blok on ifdown. Otherwise, we cannot communicate with the PHY
2014-08-17 17:54:46 -06:00
Gregory Nutt
754541a381
Change the way PHY interrupts work: disable automatically. Then we have to re-subscribe each time after the interrupt fires
2014-08-17 16:51:56 -06:00
Gregory Nutt
2fab4eaa5a
In order to get PHY interrupts, they must be enabled at the PHY (still don't get PHY interrupts)
2014-08-17 13:03:18 -06:00
Gregory Nutt
e0ef5a08bc
For all SAM Ethernet, need to enable management interface before reading PHY regisers in IOCTL
2014-08-17 11:09:54 -06:00
Gregory Nutt
2edcca009c
SAM3/4 Ethernet: Clone ioctl support from the SAMA5
2014-08-17 06:54:37 -06:00
Gregory Nutt
6455f60c60
Remove os_internal.h it has been replace by several new header files under sched/. There have been some sneak inclusion paths via os_internal.h, so expect a few compilation errors for some architectures
2014-08-08 18:39:28 -06:00
Gregory Nutt
4dc151097e
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
2014-08-08 17:53:55 -06:00
Gregory Nutt
1c99d53bb1
Move clock functions from sched/ to sched/clock
2014-08-08 14:43:02 -06:00
Gregory Nutt
39183d37b8
Change all time conversions. Yech. New timer units in microseconds breaks all existing logic that used milliseconds in the conversions. Something likely got broken doing this, probably because I confused a MSEC2TICK conversion with a TICK2MSEC conversion. Also, the tickless OS no appears fully functional and passes the OS test on the simulator with no errors
2014-08-07 18:00:38 -06:00
Gregory Nutt
594083d870
Rename up_timerinit() to up_timer_initailize(); Add prototypes for candidate interfaces for the tickless OS; Don't build existing timer initialization logic if CONFIG_SCHED_TICKLESS is defined.
2014-08-06 16:26:01 -06:00
Gregory Nutt
194f9721f7
SAM3/4: Fix compile of sam_aes.c if CONFIG_CRYPTO_AES is defined. rom Max Nekludov
2014-07-07 08:03:18 -06:00
Gregory Nutt
d7fe256821
NET: emoved all includes of uip.h; added includes of ip.h wherever needed. Tried to fix problems of the now missing sneak inclusions because uip.h was removed. There are probably a few of these that were missed.
2014-07-04 19:13:08 -06:00
Gregory Nutt
99ce3a44d7
Remove all inclusion of uip.h
2014-07-04 16:58:22 -06:00
Gregory Nutt
11e3a21411
NET: More renaming
2014-07-04 15:40:49 -06:00
Gregory Nutt
1211bbd904
Move crypto header files from include/crypto to include/nuttx/crypto
2014-07-03 18:35:08 -06:00
Gregory Nutt
ca1d7d0f32
Correct authorship on a few files
2014-07-03 18:28:26 -06:00
Gregory Nutt
7f5ea07329
Move cypto debug definitions to debug.h with other susbsystem-level debug
2014-07-03 07:58:43 -06:00
Gregory Nutt
4c03534f9c
SAM4 AES driver from Max Neklyudov
2014-07-03 07:26:44 -06:00
Gregory Nutt
fb44a97359
SAM Ethernet: Eliminate a warning
2014-07-02 17:35:41 -06:00
Gregory Nutt
e7aa949380
SAM3/4 and SAMA5 Ethernet: Fix an error in the function that determines the number of free TX descriptors
2014-07-02 10:40:11 -06:00
Gregory Nutt
f5abca3952
SAMA54D-EK: Don't disable any features in the NSH configuration. Comments updated in several files
2014-07-02 08:54:53 -06:00
Gregory Nutt
313982ba18
NET: Rename XYZ_uiptxpoll to just XYZ_txpoll
2014-07-01 18:41:08 -06:00
Gregory Nutt
289dc6dc71
SAMA5D4: Fix error in EMAC driver (plus related EMAC/GMAC drivers)
2014-07-01 11:22:19 -06:00
Gregory Nutt
621ec21bfd
Rename uip_poll->devif_poll and uip_timer->devif_timer
2014-06-30 18:40:41 -06:00
Gregory Nutt
ade8807a61
Rename uip_input to devif_input
2014-06-30 18:11:17 -06:00
Gregory Nutt
e4990dda4d
Rename uip_driver_s net_driver_s
2014-06-27 16:48:12 -06:00
Gregory Nutt
72d8a6a7ef
SAM4CM: Fixes from Macs N
2014-06-27 12:27:02 -06:00
Gregory Nutt
b26d5d2191
SAM4CM: Add IPC register header file. From Macs N
2014-06-27 12:02:30 -06:00
Gregory Nutt
57383ea2f3
Rename ip_eth_hdr to eth_hdr_s
2014-06-25 09:57:52 -06:00
Gregory Nutt
fae790a6dc
Add support for the SAM4CM. From Max Neklyudov
2014-06-25 08:25:52 -06:00
Gregory Nutt
11896e1481
Move the remaining files from include/nuttx/net/uip to include/nuttx/net; Rename *_internal.h header files in net/ to just *.h
2014-06-24 10:14:15 -06:00
Gregory Nutt
b34a1f1e01
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/netdev.h
2014-06-24 09:28:44 -06:00
Gregory Nutt
22a36b7af3
SAMA5D4: Add EMAC driver
2014-06-11 12:23:31 -06:00
Gregory Nutt
407e72b300
Move include/nuttx/net/uip/uip-arch.h to include/nuttx/net/arp.h; rename all uip_arp_ functions to arp_
2014-05-30 12:13:06 -06:00
Gregory Nutt
b77854f245
SAM4E GPIO: Fix some compile errors when CONFIG_DEBUG_GPIO is enabled
2014-05-15 11:41:58 -06:00
Gregory Nutt
43fd4676da
SAM4E: PIO definition clean-up
2014-05-12 18:42:25 -06:00
Gregory Nutt
af2bb81ac2
Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna
2014-05-08 09:00:33 -06:00
Gregory Nutt
f72a873af9
Add SAM3/4 RTT driver. From Bob Doiron
2014-05-05 14:35:37 -06:00
Gregory Nutt
e317cef653
The CONFIG_SYSTEMTICK_EXTCLK selection should only be available on systems that support it
2014-04-30 15:32:06 -06:00
Gregory Nutt
f804bf80e5
Updated system timer logic from Bob Doiron
2014-04-30 14:46:26 -06:00
Gregory Nutt
91d94a0b03
SAM3/4: Enhanced timer/counter driver from Bob Doiron
2014-04-30 14:10:02 -06:00
Gregory Nutt
e4fd434a60
Cosmetic update to comments and README files
2014-04-24 12:44:30 -06:00
Gregory Nutt
f62eef1af6
Fix Bob's name in as many places as possible; Make sure that Bob is an author in as many files as I can think of (might be missing a few)
2014-04-22 13:42:38 -06:00
Gregory Nutt
6e72b0fb0f
Back out a bad change in the last commit + add missing SAM4S Xplained Pro file
2014-04-22 11:04:31 -06:00
Gregory Nutt
6e94a4e1e2
Misc changes to get a clean compilation after incorporating all of Bob Doison's changes
2014-04-22 10:38:08 -06:00
Gregory Nutt
9f9f790d0a
SAM3/4 T/C driver updated to get closer to coding standard
2014-04-22 09:10:32 -06:00
Gregory Nutt
75f64beb80
Various SAM4S related fixes, mostely related to the timer driver driver and the SAM4S timer/counter. All from Bob Doisin
2014-04-22 09:01:20 -06:00
Gregory Nutt
d09c57eade
examples/serialrx added by Bob Doison
2014-04-22 08:40:48 -06:00
Gregory Nutt
13292c70c2
Misc SAM4S-related changes from Bob Doison
2014-04-21 19:32:15 -06:00
Gregory Nutt
f52ff8cf7b
SAM3/4: Add watchdog timer support. From Bob Doisin
2014-04-21 19:10:06 -06:00
Gregory Nutt
5eadd8df7a
SAM3/4: Support for PDC based HSMCI ADMA from Bob Doiron
2014-04-21 17:18:30 -06:00
Gregory Nutt
b0f4941c77
SAM4S: Fix error in macro that disabled peripheral clocking. From Bob Doiron
2014-04-21 17:06:01 -06:00
Gregory Nutt
d16ea614e9
SAM3/4 RTC driver from Bob Doiron
2014-04-21 17:04:22 -06:00
Gregory Nutt
44e7688151
SAM3/4 RTC driver from Bob Doiron
2014-04-21 17:03:57 -06:00
Gregory Nutt
99639f2d48
SAM3/4 Interrupt initialization. Default interrupt priority not being set correctly
2014-04-17 14:02:22 -06:00
Gregory Nutt
fd08872892
Costmetic changes to some comments
2014-04-14 16:36:07 -06:00
Gregory Nutt
25d4ff745b
More trailing whilespace removal
2014-04-13 16:22:22 -06:00
Gregory Nutt
c708eff608
Make sure that there is one space after for
2014-04-12 13:28:22 -06:00
Gregory Nutt
43abe85674
Updated README files and comments
2014-04-07 07:43:28 -06:00
Gregory Nutt
77c968e36a
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
32ca368f16
Fix a warning that happens with debug is disabled
2014-03-26 16:32:38 -06:00
Gregory Nutt
e5360ef5d9
SAM4E CMCC: Fix some errors introducted in last check-in
2014-03-26 16:32:16 -06:00
Gregory Nutt
8f7d58c011
Eliminate some warnings
2014-03-26 16:31:26 -06:00
Gregory Nutt
67695a2248
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
be88e99ec8
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
d2001a1dc3
tools/astyle.sh: Formatting tool based on logic from Lorenz Meier
2014-03-26 08:50:48 -06:00
Gregory Nutt
9a724d8b36
backport a serial console fix from the sam4e to the sama5d3
2014-03-25 14:34:07 -06:00
Gregory Nutt
9b5e800cc0
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
99f9239a00
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
3425d20072
SAM3/4 HSMCI: Update configuration names to match last change to Kconfig
2014-03-24 17:42:28 -06:00
Gregory Nutt
fa3f78c821
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
ff7c62574a
SAM3/4 HSCMI: Another fix for complication with SAM4E
2014-03-24 10:25:02 -06:00
Gregory Nutt
f2d44cd8db
SAM3/4: Changes for clean HSMCI compilation
2014-03-23 15:52:14 -06:00
Gregory Nutt
b8ea1d49a8
SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ
2014-03-23 15:51:08 -06:00
Gregory Nutt
6b4a4c8293
SAM4E-EK: Enable interrupt stack in all configurations
2014-03-23 10:12:57 -06:00
Gregory Nutt
82c9694c5b
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
b6784677d0
Every ARM architecture must export g_instackbase
2014-03-23 10:05:21 -06:00
Gregory Nutt
e5f99798b8
SAM4E-EK UDP: prevent some bad recursive behavior
2014-03-22 17:30:17 -06:00
Gregory Nutt
4f54eb397d
SAM3/4 lowputc: Fix compile errors when there is no serial console
2014-03-22 10:18:06 -06:00
Gregory Nutt
4baa2c294f
SAM4E UDP: Fix handling of GLBSTAT:CONFIG bit. Was not being set
2014-03-21 13:31:45 -06:00
Gregory Nutt
3e177a7ba7
SAM4E UDP: Cosmetic updates to tracing and README
2014-03-21 10:45:12 -06:00
Gregory Nutt
1b5a599fc5
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
788fc5399d
SAM4E UDP: Several fixes related to bulk endpoint transfers
2014-03-20 14:25:56 -06:00
Gregory Nutt
5b9f1f54c2
Add option to dump buffered USB trace data on an assertion
2014-03-20 10:56:30 -06:00
Gregory Nutt
055a134a36
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
7f587876f7
SAM4E: Fix handling of CSR:DIR bit
2014-03-19 13:34:15 -06:00
Gregory Nutt
4b93209d36
SAM4E UDP: Fix to handling of FADDR:FEN and CSR:TXCOMP
2014-03-19 12:20:42 -06:00
Gregory Nutt
fd3318a05e
SAM4E UDP: Fix FIFO reset logic
2014-03-18 17:24:50 -06:00
Gregory Nutt
1da26f8f04
SAM4E UDP: Remove spurious clearing of RXSETUP
2014-03-18 15:19:45 -06:00
Gregory Nutt
82c93c91ea
SAM4E UDP: Now receives one setup packet before dying
2014-03-18 12:38:34 -06:00
Gregory Nutt
7e2436d4cc
SAM4E: Fix a few more UDP bring-up bugs. Still not working
2014-03-18 11:00:20 -06:00
Gregory Nutt
d5364f85b2
SAM4E: Revise board-specific USB MSC support
2014-03-18 09:31:02 -06:00
Gregory Nutt
2e586f04ab
SAM4E: Add USB full speed device (UDP) driver
2014-03-17 12:37:55 -06:00
Gregory Nutt
b74e183dac
SAM3/4: Fleshing out environment to support USB device (UDP)
2014-03-16 14:11:22 -06:00
Gregory Nutt
1d1b0e84c8
SAM3/4: Fix debug logic in DMAC that was causing the loss of interrupts
2014-03-14 11:57:42 -06:00
Gregory Nutt
adcfb40d01
SAM3/4 DMA fixes in general for SPI DMA in particular
2014-03-14 11:25:16 -06:00
Gregory Nutt
483fcdca03
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
d32b85a938
SAM4E-EK: Add support for the SAM4E-EK AT25 serial flash
2014-03-13 14:07:35 -06:00
Gregory Nutt
c0c2fc4afe
Backport SPI driver enhancements from SAMA5 to SAM3/4
2014-03-13 10:34:35 -06:00
Gregory Nutt
a300a46c8d
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
fe9460d314
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
907d273c4a
SAM4E: Add support for the Cortex-M Cache Control block
2014-03-12 12:38:39 -06:00
Gregory Nutt
8e6bfea5aa
SAM4E: Various bring-up fixes. NSH now works
2014-03-12 10:59:19 -06:00
Gregory Nutt
f2f80f0813
SAM4E-EK: Purely cosmetic updates
2014-03-11 10:44:00 -06:00
Gregory Nutt
6638022126
SAM4E-EK: Add basic board support
2014-03-10 15:18:46 -06:00
Gregory Nutt
885a20d929
SAM3/4: Cosmetic updates to ADC register defintion header files
2014-02-27 08:41:03 -06:00
Gregory Nutt
095df26ed3
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
836f83f0c9
SAM4E: Add AES and AFEC register definition header files (AFEC incomplete)
2014-02-26 15:11:20 -06:00
Gregory Nutt
82bd647951
SAM4E: Add CAN and RSWDT register definition header files
2014-02-26 14:14:19 -06:00
Gregory Nutt
07adb58099
SAM4E: Add EMAC register definition header file
2014-02-26 11:57:42 -06:00
Gregory Nutt
28cf673bb0
SAM4E: Add CMCC register definition header file
2014-02-26 09:25:57 -06:00
Gregory Nutt
623b2522ff
SAM4E: UDP register definition header file
2014-02-25 13:39:00 -06:00
Gregory Nutt
3d12bc9830
SAM3/4: Fix some build errors that crept in with the SAM4E support
2014-02-25 12:41:38 -06:00
Gregory Nutt
069f0f2d6a
SAM4E: Update SAM3/4 TC and DMAC register definition header files
2014-02-25 10:56:23 -06:00
Gregory Nutt
e93d2da742
SAM4E: Update SAM3/4 ACC, DACC, and PDC register definition header files
2014-02-24 14:48:33 -06:00
Gregory Nutt
af8760e467
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
47d8cf4e62
SAM4E: Update SAM3/4 SMC and SUPC register definition header files
2014-02-24 10:26:44 -06:00
Gregory Nutt
d20d82b90e
SAM4E: Update SAM3/4 EEFC, MATRIX, and PMC register definition header files
2014-02-24 09:49:02 -06:00
Gregory Nutt
07ae9d60e0
SAM4E: USART/USART header files and drivers updated to support the SAM4E
2014-02-22 13:46:23 -06:00
Gregory Nutt
956314b113
SAM4E: update SAM3/4 Kconfig for SAM4E peripheral selections
2014-02-22 11:56:04 -06:00
Gregory Nutt
291f4e61ca
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
873ceb2d6d
SAM4E: Update PMC and SPI register definition header files
2014-02-22 10:32:28 -06:00
Gregory Nutt
acba69d9a4
SAM4E: Pin multiplex definition header file
2014-02-21 18:10:53 -06:00
Gregory Nutt
ff92f4f81f
SAM4E: Add support for PIO and peripheral clocks
2014-02-21 12:34:04 -06:00
Gregory Nutt
1b0fce86ad
SAM4E: Add memory map header file
2014-02-21 09:33:16 -06:00
Gregory Nutt
159938e6d8
SAM4E: Add vector definition header files
2014-02-21 08:46:16 -06:00
Gregory Nutt
e96a160a24
SAMD20: Now runs, but no serial output
2014-02-17 14:21:22 -06:00
Gregory Nutt
f1b69a0460
Add SAMD20 pin configuration definitions
2014-02-13 10:56:15 -06:00
Gregory Nutt
05cf59feef
Fix typo cloned to many files: SAM32 vs SAM34
2014-02-12 13:00:24 -06:00
Gregory Nutt
b3792fcd86
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
4aee332cd1
Add option to indicatet that data is retained in SDRAM
2014-01-28 10:42:49 -06:00
Gregory Nutt
a26b03d0d0
rename up_led*() functions to board_led_*()
2014-01-24 14:28:49 -06:00
Gregory Nutt
1061e67f14
Fix error in last ARMv7-M up_disable_irq checkin
2014-01-15 15:26:32 -06:00
Gregory Nutt
e43f86071d
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
4de5e40669
Individual IRQs are not longer disabled on each interrupt. See ChangeLog for detailed explanation
2014-01-15 08:09:19 -06:00
Gregory Nutt
f51b69b198
Decoupling NX user interfaces to support NX kernel build (phase 1)
2013-12-27 13:18:20 -06:00
Gregory Nutt
4100de6648
Fix a duplicate label introduce in recent commit
2013-12-23 14:29:25 -06:00
Gregory Nutt
9c2c1e8589
Need to protect state on stack to do nested interrupt handling
2013-12-23 14:11:32 -06:00
Gregory Nutt
29c43b0b24
Fixes a few more high priority, nested interrupt logic
2013-12-23 11:13:56 -06:00
Gregory Nutt
eaed4c04a2
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
3855ce04e8
Beginning of high priority nested interrupt support for the ARMv7-M family
2013-12-21 11:03:38 -06:00
Gregory Nutt
f3198d5812
Cosmetic: Changlog and update to comments
2013-12-20 16:24:22 -06:00
Gregory Nutt
d01808c603
LM: Don't initialize .data if running in SRAM. Global missing intialize type. SAMA5 NAND: Fix for read nand in smaller chunks
2013-12-05 10:37:55 -06:00
Gregory Nutt
60950c760f
SAMA5 I2S Kconfig update
2013-11-11 13:50:25 -06:00
Gregory Nutt
c615f6e6fd
Support for the Atmel SAM4E family. From Mitko
2013-11-11 07:45:09 -06:00
Gregory Nutt
b8085906b9
Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane
2013-11-01 11:16:51 -06:00
Gregory Nutt
4bbe259082
SAM3/4 serial: Same supersitituous change as for SAMA5
2013-10-26 16:17:07 -06:00
Gregory Nutt
49b3366eff
SAMA5: Hook RTC into build system; Finish RTC alarm logic; Verify correct behavior of the basic RTC functionality
2013-10-19 10:41:20 -06:00
Gregory Nutt
05eb7e3da4
SAMA5 ADC: Beginning ADC register definition file
2013-09-29 18:34:09 -06:00
Gregory Nutt
7c81618f2f
Dependency generation fix for directories that keep object files in a sub-directory
2013-09-29 11:46:10 -06:00
Gregory Nutt
f2a5c43b25
SAMA5: Framework for a TWI driver (incomplete)
2013-09-11 12:28:52 -06:00
Gregory Nutt
56f9092a87
Fix all occurrences of "the the" in documentation and comments
2013-08-27 09:40:19 -06:00
Gregory Nutt
9cf1365cde
SAMA5: Some improvements to the HSCMI card removal/insertion logic
2013-08-11 11:13:11 -06:00
Gregory Nutt
3c38992727
SAMA5: Fix HSMCI race condition. Now memory card interface is functional with DMA
2013-08-10 18:01:23 -06:00
Gregory Nutt
6622714c5d
Rearrange configuration settings so that ARCH_HAVE_SDIO is moved to higher, sharable level
2013-08-10 09:06:53 -06:00
Gregory Nutt
a2ba8992a9
SAM3,4,A5 DMA fixes; SAMA5 SPI driver now supports DMA transfers
2013-08-09 13:12:16 -06:00
Gregory Nutt
2b36e7e266
SAMA5: Use RDR/TDR registers for DMA, not FIFO registers; change DMA bit settings to match Atmel example. Still no DMA
2013-08-08 15:51:16 -06:00
Gregory Nutt
53c4a1e647
SAMA5 DMA: Need to flush caches; DMA channel depends upon direction of DMA; the maximum transfer size in bytes depends on the number of bytes per transfer
2013-08-08 13:15:52 -06:00
Gregory Nutt
05242e41ef
More SAMA5 DMAC driver fixes. Still does not work.
2013-08-07 17:19:48 -06:00
Gregory Nutt
e015c6edd6
SAMA3,4,A5: Misc corrections to DMA and HSMCI drivers
2013-08-07 11:32:08 -06:00
Gregory Nutt
159635bc2a
Fix SAM bug: Parmaters reversed in DMA function call
2013-08-06 15:47:09 -06:00
Gregory Nutt
d1da100cf0
SAM3,4,A5 DMAC driver fixes
2013-08-06 13:27:48 -06:00
Gregory Nutt
03f24c7a1d
SAM3,4,A5: Fix some masked status checks that can generate false error reports
2013-08-06 12:36:56 -06:00
Gregory Nutt
cff3e713f1
SAMA5: SPI Driver + AT25 FLASH work; SAM3/4: Correct an error, SPI will not be correctly configured if CONFIG_SPI_OWNBUS=n
2013-08-05 10:29:43 -06:00
Gregory Nutt
d516baa73f
SAMA5: SPI driver now supports both SPI0 and SPI1
2013-08-04 12:50:20 -06:00
Gregory Nutt
8194e6bbcf
SAMA5: Add DMA suppport (untested)
2013-08-04 10:44:18 -06:00
Gregory Nutt
a93b095ce4
SAMA5: Add DMA controller register definitions
2013-08-03 12:13:42 -06:00
Gregory Nutt
8b317e9ea3
Standard configuration variables used to enable interupt controller debug; SAMA5: Correct handling of spurious interrupts
2013-08-03 08:22:37 -06:00
Gregory Nutt
ae6ed8ca52
SAMA5: Fix heap allocation bugs
2013-07-27 11:28:31 -06:00
Gregory Nutt
2f772c84fd
Finally... renamed all CONFIG_DRAM_ settings to CONFIG_RAM_
2013-07-26 10:09:17 -06:00
Gregory Nutt
213780bc43
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
63f136dd7e
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
cb3f394d53
Improve some ARMv7-A/M floating point register save time; Add floating point register save logic for ARMv7-A
2013-07-23 17:52:06 -06:00
Gregory Nutt
ae3f2b2876
Add SAMA5D3 pin multiplexing definitions
2013-07-23 09:47:01 -06:00
Gregory Nutt
e9f8689cee
Add SAMA5 GPIO configuration support
2013-07-22 20:59:47 -06:00
Gregory Nutt
571308c27a
Add SAMA5 clock logic. Cloned from SAM3U and not yet verified
2013-07-22 14:42:05 -06:00
Gregory Nutt
dcb4545afb
prohibit re-entrance into sam_configgpio()
2013-07-05 17:15:54 -06:00
Gregory Nutt
d5f274ac76
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
348304fcb4
Several fixes to get a clean compile of the Arduino touch screen
2013-07-02 13:52:09 -06:00
Gregory Nutt
a954eb76b2
Created new directories to hold SPI-related files
2013-07-01 08:11:54 -06:00
Gregory Nutt
4db87105e9
SAM33/4: Need to disable write protection before modify PIO pin configuration
2013-06-28 15:34:51 -06:00
Gregory Nutt
880d7f261b
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
4fe041a10b
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
8f41963efd
With these changes the Arduino Due port builds without errors
2013-06-27 15:07:07 -06:00
Gregory Nutt
2ecac742b6
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
3910edbf90
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
77b36e0bc1
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
69bd94290a
Add SAM3X/3A pin multiplexing and GPIO encoding header files
2013-06-26 17:02:43 -06:00
Gregory Nutt
87cfee43af
Add SAM3X/3A memory map
2013-06-26 14:37:57 -06:00
Gregory Nutt
ae6dbb9bf9
Add SAM3X/3A peripheral clock controls
2013-06-26 14:00:26 -06:00
Gregory Nutt
8865cf8be0
Add SAM3X/3A interrupt vectors
2013-06-26 12:59:56 -06:00
Gregory Nutt
2812f5be67
Add support for SAM3X and 3A chips, interrupts, and peripheral IDs
2013-06-26 12:28:32 -06:00
Gregory Nutt
64d149233b
Fix integration of RAM test into the build and configuration system
2013-06-26 10:54:12 -06:00
Gregory Nutt
e00a8397bc
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
22c3d49807
SAM4L Xplained SLCD driver is complete
2013-06-23 09:05:20 -06:00
Gregory Nutt
c21986c418
Beginning of a driver for the SAM4L LED1 module
2013-06-21 17:42:09 -06:00
Gregory Nutt
f3781d1eec
Add SAM4L PDCA register definition file
2013-06-19 18:38:31 -06:00
Gregory Nutt
e377bab446
SPI register definition file updated to include a few differences for the SAM4L
2013-06-19 16:03:19 -06:00
Gregory Nutt
c9ed0f9120
SAM4L LCDCS register definitions
2013-06-19 13:59:47 -06:00
Gregory Nutt
49ad89dd70
Fix test of NULL pointer in the SAM3/4 SPI driver
2013-06-18 12:16:52 -06:00
Gregory Nutt
7e372171c2
SAM3/4 SPI phase control (CPHA) is inverted
2013-06-18 09:29:55 -06:00
Gregory Nutt
2d6a50a1ce
Corrections to the Kinetis TSI header file from Alan Carvalho de Assis
2013-06-18 07:14:05 -06:00
Gregory Nutt
db66a5a313
SAM3U-EK: Correct polarity of the PENIRQ signal
2013-06-16 14:31:18 -06:00
Gregory Nutt
ab84bdd2d8
Re-architected SAM3/4 SPI interface; Change BUSY bit handling in the ADS7843E driver
2013-06-16 10:09:21 -06:00
Gregory Nutt
20fdf8161f
Add support for the SAM4L Xplained Pro I/O1 module
2013-06-15 10:56:08 -06:00
Gregory Nutt
d7fb126a61
Fixes for SAM4S and 4L due to recent changes to SAM3S; Updated README files
2013-06-14 08:54:24 -06:00
Gregory Nutt
c5169b092a
SAM3/4S GPIO interrupt changes
2013-06-13 18:53:14 -06:00
Gregory Nutt
f7edd7a31c
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
2bce348e0f
SAM3/4: Some minor design improvements to the SAM3/4 serial driver
2013-06-13 15:16:52 -06:00
Gregory Nutt
9f590e5228
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
e6a3078b77
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
0762d45517
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
30a572d244
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
42e63b437e
Misc updates to SAM3U register definition files for SAM4S compatibility
2013-06-12 12:35:48 -06:00
Gregory Nutt
677365210e
SAM4S: Add NSH configuration. Calibrated delay loops. Port now seems fully functional
2013-06-12 10:56:42 -06:00
Gregory Nutt
c0a0de6593
Correct SAM3S-Xplained load address, FLASH wait states, and UART1 pin configuration
2013-06-12 08:18:42 -06:00
Gregory Nutt
a42a382b70
Use UART1 for the console on the SAM4S-Xplained not USART0
2013-06-11 19:24:47 -06:00
Gregory Nutt
ea776434ba
Changes for a clean build of configs/sam4s-xplained
2013-06-11 17:33:43 -06:00
Gregory Nutt
42a46aa55f
Add configs/sam4s-xplained
2013-06-11 16:29:59 -06:00
Gregory Nutt
1b57fdd7dd
SAM4S: Add macros to manage peripheral clocks
2013-06-11 15:42:30 -06:00
Gregory Nutt
93ee6cb291
SAM4S: Add pin multiplexing definitions
2013-06-11 14:32:07 -06:00
Gregory Nutt
3fb47dae74
SAM4S: GPIO, chip characteristics, peripheral Kconfig
2013-06-11 12:28:31 -06:00
Gregory Nutt
6576156731
SAM4S: Add memory map and interrupt logic
2013-06-10 16:18:47 -06:00
Gregory Nutt
ae4cbd44c7
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
617a0225cc
SAM4L: Extend interrupt support for the larger number of NVIC interrupts of the SAM4L
2013-06-09 13:00:38 -06:00
Gregory Nutt
2f4ae2f2b0
SAM4L: Add an NSH configuration and C++ support
2013-06-09 11:43:20 -06:00
Gregory Nutt
bae87a0ea1
SAM4L: Mic fixes to get the SAM4L Xplained running. The ostest now passes.
2013-06-09 10:57:42 -06:00
Gregory Nutt
91d6ebfa0e
SAM3U/4L changes to hide differences by clocking in those MCUs
2013-06-08 13:50:42 -06:00
Gregory Nutt
04d573e3a8
SAM4L: Add USART/UART register definition header files
2013-06-08 11:39:06 -06:00
Gregory Nutt
c28bf69735
SM4L: USB clock configuration and WDT register definition file
2013-06-08 09:21:20 -06:00
Gregory Nutt
0173b72281
SAM4L: Add logic to configure FLASH read mode and wait states
2013-06-07 18:12:00 -06:00
Gregory Nutt
4538b2c468
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
8d72772a11
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
5dd03676dc
Update SAM4L PLL0 logic
2013-06-07 10:28:06 -06:00
Gregory Nutt
0ddc440df5
Add logic to enable SAM4L clocks
2013-06-06 19:11:32 -06:00
Gregory Nutt
9149253356
Add SAM4L BSCIF register definition file
2013-06-06 16:24:33 -06:00
Gregory Nutt
0678780f2d
Add register definitions for SAM4L BPM and SCIF blocks
2013-06-06 11:19:18 -06:00
Gregory Nutt
4055f6d697
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
3e823e5468
Move SAM4L peripheral clock logic to a separate file
2013-06-05 18:48:30 -06:00
Gregory Nutt
652f78a2eb
Updates to SAM4L clocking. Still not finished
2013-06-05 16:41:52 -06:00
Gregory Nutt
888fc75439
Add power management register defintions and clock control logic for the SAM4L
2013-06-05 13:35:19 -06:00
Gregory Nutt
29319297f7
Add SAM4L FLASHCALW header file
2013-06-05 10:43:33 -06:00
Gregory Nutt
e7048af396
SAM4L GPIO port addressing fixes; SAM4L Xplained LED support; minor documentation updates
2013-06-05 08:54:37 -06:00
Gregory Nutt
c98edc3451
Add configs/sam4l-xplained/src/up_userleds.c
2013-06-04 16:35:43 -06:00
Gregory Nutt
4277a2ffbb
More changes that should have gone with the last commit
2013-06-04 15:23:47 -06:00
Gregory Nutt
a9d4892c91
Add SAM4L GPIO driver
2013-06-04 15:12:56 -06:00
Gregory Nutt
f3ea5221b8
Create SAM4L GPIO driver header file
2013-06-04 13:33:30 -06:00
Gregory Nutt
892211f263
Add SAM4L (and 4S) GPIO register definitions
2013-06-04 11:38:23 -06:00
Gregory Nutt
56045e0dde
SAM4L alternate pin mapping header file; Use USART1 for virtual COM port console
2013-06-03 17:53:05 -06:00
Gregory Nutt
77f84ae94d
Add a skeleton configuration that will eventually support the SAM4L Xplained Pro board
2013-06-03 15:11:56 -06:00
Gregory Nutt
9e8ed732da
Add vector and chip cability definitions for the SAM4L family
2013-06-03 11:23:41 -06:00
Gregory Nutt
d4b3514c85
Add interrupt and memory map definitions for the AT91SAM4L
2013-06-03 09:32:04 -06:00
Gregory Nutt
e9859095dc
Rename sam3u/ architecture directories to sam34/ to include the SAM4L
2013-06-02 13:57:22 -06:00