Commit Graph

3366 Commits

Author SHA1 Message Date
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
4c90c03028 Use the device name assigned by the registration process, not our best guess 2014-08-16 15:14:39 -06:00
Gregory Nutt
8f6f564971 More of the PHY event notification logic change: Fix some compile errors when full feature is enabled; Add some missing ioctol logic 2014-08-16 15:04:09 -06:00
Gregory Nutt
329ae8024d Implement all network ioctls, including the new ioctl to setup PHY event notifications. 2014-08-16 14:09:14 -06:00
Gregory Nutt
85070e057e Modified to support the change to the network ioctl signature changes. Also add support for new ioctl to setup PHY event notifications. 2014-08-16 14:08:58 -06:00
Gregory Nutt
74735bb495 Fix conditional compilation error 2014-08-12 10:00:58 -06:00
Gregory Nutt
511d7bb38a Adds support for localtime. From Max Neklyudov 2014-08-12 06:18:22 -06:00
Gregory Nutt
1474a56014 Fix a computation error in the fix for the last computational error 2014-08-11 12:07:49 -06:00
Gregory Nutt
304b3b547c Correct time conversion, 1000000 not 1000 to convert seconds to microseconds. 2014-08-11 11:14:10 -06:00
Gregory Nutt
6e7cb4be58 Comment out reassessment of timer in the middle of context switches. Need to revisit 2014-08-11 07:05:47 -06:00
Gregory Nutt
bb1213ab89 SAMA5 Tickless: Corrects some logic errors with timer/counter frequency 2014-08-10 19:04:18 -06:00
Gregory Nutt
bffc875d2e Cosmetic 2014-08-10 16:09:45 -06:00
Gregory Nutt
a2ee73235d Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt
77d49f50e0 Don't try to return time remaining if the timespec pointer is NULL 2014-08-10 11:39:16 -06:00
Gregory Nutt
9a4e1f6fdd Move TC debug options to one file 2014-08-10 11:38:44 -06:00
Gregory Nutt
33965a21e3 Update comments 2014-08-10 11:38:08 -06:00
Gregory Nutt
42b1bcdf33 SAMA5: Fix bugs in timer/counter interrupts and one-shot timer 2014-08-10 10:47:38 -06:00
Gregory Nutt
9cb0b680ac SAMA5 Timer/counter repair: Missing sem_post() caused a hang 2014-08-09 18:34:52 -06:00
Gregory Nutt
c61ec08ee8 SAMA5: Use the one-shot and free-running timers to implement tickless OS support for SAMA5 2014-08-09 17:14:51 -06:00
Gregory Nutt
19ee65ac3e SAMA5 free-running timer: Add support for a free-running timer wrapper around the low-level timer/counter logic. 2014-08-09 16:43:48 -06:00
Gregory Nutt
f9601b6801 SAMA5 oneshot: Some clean-up and correction to the initial implementation 2014-08-09 16:42:04 -06:00
Gregory Nutt
e4981b09d9 SAMA5 timer/counter: Add support for a one-shot timer wrapper around the low-level timer/counter logic. This also involved several changes that rippled into the ADC driver (untested). 2014-08-09 15:27:55 -06:00
Gregory Nutt
c7662e3f92 SAMA5 T/C: Can now handle non-constant BOARD_MCK_FREQUENCY. Also now supports methods to attach user interrupt handlers 2014-08-09 10:30:45 -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
c98ece6bec Move task control files from sched/ to sched/task 2014-08-08 16:44:08 -06:00
Gregory Nutt
1c99d53bb1 Move clock functions from sched/ to sched/clock 2014-08-08 14:43:02 -06:00
Gregory Nutt
192f82f380 Move interrupt dispatch logic from sched/ to sched/irq 2014-08-08 14:31:15 -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
d4a29fcf7e SAMA5D3 HSMCI: TX DMA is again disabled 2014-08-05 07:07:39 -06:00
Gregory Nutt
553a16fac5 SAMA5 PCK: Add Main clock as an option for the PCK clock source 2014-08-03 10:17:50 -06:00
Gregory Nutt
1fc8f2b06d SAMA5 SSC: Verify that the requested bit width is supported. Correct some alignment tests that depend upon the data bit width. 2014-08-02 14:26:49 -06:00
Gregory Nutt
715cf207ea SAMA5 WM8904: Fix errors in programmable clock output configuration 2014-08-01 15:18:58 -06:00
Gregory Nutt
5e92347d60 SAMA5 SSC: Start Delay is now configurable 2014-08-01 14:10:37 -06:00
Gregory Nutt
d68a6059e0 SAMA5 SSC: Frame Synch Delay is now configurable 2014-08-01 12:25:31 -06:00
Gregory Nutt
c2c2921901 SAMA5D SSC: Needs to account for data offset in audio buffer. 2014-07-31 19:14:24 -06:00
Gregory Nutt
513329fd24 SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:14:57 -06:00
Gregory Nutt
ffcc0b8da3 SAMA5: Changes needed for a clean SAMA5D3 build after all of the recent SAMA5D4 changes. 2014-07-31 11:09:56 -06:00
Gregory Nutt
c0c4cda763 SAMA5 HSMCI: e-enable TX DMA and verify that DMA writes to the SD card are functional. They are so now TX DMA is re-enabled in the driver. This might affect the SAMA5D3 platforms where the TX DMA problem was found. The SAMA4D3 and 4 use the same HSMCI driver. Much has change since then and it is not surprising that DMA is now functional. However, the has not be re-verified on the SAMA5D3 which has a different DMA controller. 2014-07-30 11:20:06 -06:00
Gregory Nutt
611ea42dbf SAMA5D HSMCI: Fix a problem on card insertion/removal callback handling. Interrupts were being disable so that the callbacks occurred with interrupts disabled. This resulted in loss of some interrupts and some not-so-good behaviors. The solution is to perform all callbacks on the work thread unconditionally (2014-7-29). 2014-07-30 10:19:41 -06:00
Gregory Nutt
059812c872 SAMA5D HSMCI: Add method to do RX transfer without DMA. The 8-byte SCR transfer was failing silently with the DMA transfer, leaving the SD card in single bit mode 2014-07-29 21:13:28 -06:00
Gregory Nutt
e053158f95 SAMA5D-EK: Correct system timer frequency. Input clock is MCK/2, not MCK 2014-07-29 07:12:36 -06:00
Gregory Nutt
29ea8ab0e4 Cosmetic changes to comments 2014-07-29 07:11:16 -06:00
Gregory Nutt
42a975af74 Fixes to last SAMA5 PMIC checkin 2014-07-28 17:09:37 -06:00
Gregory Nutt
99927e918d LPC17xx: DC updates from Max. Also fixes some syntax errors that I introduced in the last commit. 2014-07-28 07:23:49 -06:00
Gregory Nutt
dd4be66f1c ARM: Move L2 cache initialization to much later in the sequence 2014-07-27 10:03:33 -06:00
Gregory Nutt
b57d2182ab ARMv7-A L2 Cache currently depends on EXPERIMENTAL because it does not yet work properly 2014-07-26 18:48:54 -06:00
Gregory Nutt
6f5280d284 ARMv7 L2 Cache: Minor bugfixes/improvements 2014-07-26 18:48:26 -06:00
Gregory Nutt
ee59870325 Enables cache early in boot-up sequence 2014-07-26 18:48:00 -06:00
Gregory Nutt
4e146d2ec2 Change naming from cp_XYZ_cache() to arch_XYP_cache() so that all cache operations will pick up L2 support if it is enabled 2014-07-26 18:47:33 -06:00
Gregory Nutt
873788bf5a New cache.h file. Renames cp15_XYZ_cache() to arch_XYZ_cache() and addes L2 cache support if L2 cache is enabled 2014-07-26 18:46:52 -06:00
Gregory Nutt
2eb526253b Rename ARMv7-A cache.h to cp15_cache.h. Things will be broken on this commit until I get the new cache.h in place. 2014-07-26 16:54:19 -06:00
Gregory Nutt
6d9ca195ee arch/arm/src/armv7-a/arm_l2cc_pl310.c, l2cc.h, l2cc_pl310.h, Kconfig: Add initiali support for the ARM L2CC-PL310 L2 cache. 2014-07-26 16:50:08 -06:00
Gregory Nutt
fcbf89c6f6 ARMv7-A: L2CC PL310 address filtering is an optional feature 2014-07-25 19:46:09 -06:00
Gregory Nutt
a007fa3f5e ARMv7-A: Add missing L2CC PL310 bit definitions 2014-07-25 19:41:35 -06:00
Gregory Nutt
e74f37445b rch/arm/armv7-a/l2cc_pl310.h: Move arch/arm/sama5/chip/sam_l2cc.h to arch/arm/armv7-a/l2cc_pl310.h. Adjust the two corresponding Kconfig files as well. 2014-07-25 17:25:17 -06:00
Gregory Nutt
2ec0ab3b5e 3rd time is a charm. Max is right, the initial priority setting should be NVIC_SYSH_PRIORITY_MIN 2014-07-24 16:51:07 -06:00
Gregory Nutt
1366ce0a02 Oops, should have been NVIC_SYSH_PRIORITY_DEFAULT 2014-07-24 16:42:15 -06:00
Gregory Nutt
a3d20b2fa1 LPC17 Ethernet: Added option to use the kernel worker thread to do most of the workload with CONFIG_NET_WORKER_THREAD option in Kconfig. Eliminated a problem with PHY DP83848C : it doesn't need a specific initialization on mbed. Critical bufix: From time to time (after some hours) the Ethernet receiver would lose one receive interrupt and the IP stack never recover because there is no receive watchdog as the transmit watchdog. From Max 2014-07-24 16:39:18 -06:00
Gregory Nutt
dd74e75d1e Added burstmode ADC conversion mode, with CONFIG_ADC_BURSTMODE option in Kconfig. From Max 2014-07-24 16:23:31 -06:00
Gregory Nutt
21d67c5b1b Mostly cosmetic changes from Max 2014-07-24 16:00:21 -06:00
Gregory Nutt
43a578d2d3 Eliminate warnings. From Max 2014-07-24 15:50:37 -06:00
Gregory Nutt
5e19807250 Correct the initial value of the BASEPRI register. This was apparently never being initialized. From Max 2014-07-24 15:37:13 -06:00
Gregory Nutt
949e002d76 Fix a recently introduced typo that was being masked by some bad conditional compilation 2014-07-22 11:45:14 -06:00
Gregory Nutt
d57c3b4e82 Update ChangeLog 2014-07-22 07:25:01 -06:00
Gregory Nutt
45c03e5a1a STM32 OTGFS device: Various changes to try to reduce that amount of time in interrupts handles and with interrupts disbled. Needs verification on other platforms. From Petteri Aimonen 2014-07-22 07:23:17 -06:00
Gregory Nutt
615b7d6c7a Fix typos in the STM32 DAC header file. From Petteri Aimonen 2014-07-22 07:13:33 -06:00
Gregory Nutt
af8f5f4bdc SAMA5D4 XDMAC: Never sets a channel as secure. Will probably have to revisit this 2014-07-21 17:46:35 -06:00
Gregory Nutt
4ce2e094ba SAMA5D4: Fix some HSMCI issues when XDMAC0 is enabled 2014-07-21 17:45:48 -06:00
Gregory Nutt
80c0b5628d SAMA5 HSMCI: Correct multi-block DMA setup; Fixes related to DMA timeout. Still problems with HSMCI DMA via XDMAC 2014-07-21 16:49:56 -06:00
Gregory Nutt
519c8f3e97 SAMA5 XDMAC: Missing some CUBC bits 2014-07-21 16:47:16 -06:00
Gregory Nutt
2d69c2f519 SAMA4D5 HSMCI: Set burst size to 1, sample DMA registers on timeout, and don't return from transfer until BOTH the HSMCI transfer and DMA complete 2014-07-21 13:24:55 -06:00
Gregory Nutt
c5b58b189c XDMAC register sampling missed CIM register; Should not set SWREQ bit in DMA setup 2014-07-21 13:23:36 -06:00
Gregory Nutt
35ea8f1542 Fix a commented out assertion 2014-07-20 17:06:55 -06:00
Gregory Nutt
b207138be9 Fix typos in comments 2014-07-20 13:09:47 -06:00
Gregory Nutt
7ba2d9ed36 SAMA5D4-EK: PIO Schmitt trigger logic backward 2014-07-20 13:04:30 -06:00
Gregory Nutt
9392953ea1 WM8904 w/NxPlayer: Fix some compile errors and warnings with debug enabled 2014-07-20 09:17:36 -06:00
Gregory Nutt
7c56185006 SAMA5D ADC: Fix some typos in conditional compilation 2014-07-19 13:56:48 -06:00
Gregory Nutt
3c29703c42 SAMA5 SCK: The SAMA5D3 does things a little differently 2014-07-19 13:55:53 -06:00
Gregory Nutt
e82143ac38 SAMA5 PCK: Add support for the slow clock as the PCK clock source 2014-07-19 13:55:08 -06:00
Gregory Nutt
8986bd3976 SAMA5: Update slow clock logic. Things work a little differently on the SAMA5D3 2014-07-19 13:25:59 -06:00
Gregory Nutt
813eade679 SAMA5: Add slow clock support 2014-07-19 13:07:55 -06:00
Gregory Nutt
c7055a4cb8 SAMA5D4-EK: Add WM8904 initialization logic 2014-07-19 11:58:53 -06:00
Gregory Nutt
8055a59d49 SAMA5 LCDC: Back out the delay kludge. Increase the LCDC input clock from MCK to 2*MCK was sufficient for all timing instbility problems 2014-07-12 11:24:14 -06:00
Gregory Nutt
424d47cfee SAMA5D4-EK LCDC: Change source clock to 2*Mck seems to solve stability issues 2014-07-12 09:45:05 -06:00
Gregory Nutt
30603b1021 SAMA5D4-EK LCDC: Adding a delay after enabling the LCD solves lots of start-up timing issues 2014-07-12 08:05:22 -06:00
Gregory Nutt
20493f1212 Lpc17xx Ethernet: Comment out an assertion that is reported to first inappropriately. From Max 2014-07-11 12:25:11 -06:00
Gregory Nutt
67468408ae SAMA5D4-EK LCD: Actual hardware with appears to be RGB888 2014-07-10 12:23:41 -06:00
Gregory Nutt
c7d53cb927 SAMA5D4-EK: LCDC works (with a few color problems) 2014-07-10 12:03:10 -06:00
Gregory Nutt
6563ae07c2 Don't have to set SDA high initially in I2C reset because that is done by the pin configuration 2014-07-09 17:17:32 -06:00
Gregory Nutt
fc973eb512 SAMA5 PIO: Fix a typo in Schmitt trigger configuration; Configure pin as a a vanilla input first so that final pin configuration is more read-able (i.e., easier to debug) 2014-07-09 17:16:43 -06:00
Gregory Nutt
0d4255257d SAMA5 I2C Reset: More changes... still does not work right 2014-07-09 15:09:06 -06:00
Gregory Nutt
c1ca11331d SAMA5 TWI: Some restructured needed by up_i2creset. Also timeout needs to vary with the size of the transfer and if debug is on or not 2014-07-09 13:39:10 -06:00
Gregory Nutt
ee351dc695 Use sam_pio_forceclk() so that we can read the current state of an open-drain output in the TWI reset logic. 2014-07-09 11:31:21 -06:00
Gregory Nutt
c4b9eaa01f Add a new interface sam_pio_forceclk() that can be used to force PIO clocking on. I am afraid I was too conservative with PIO clocking in the initial design; this is the price 2014-07-09 11:26:07 -06:00
Gregory Nutt
6c4f57b0dc SAMA5 TWI: Add support for up_i2creset 2014-07-09 09:51:28 -06:00
Gregory Nutt
446d9daa94 SAMA5D4 LCDC: Adapt the SAMA5D3 LCDC driver to work with the SAMA5D4 which has no hardware cursor 2014-07-08 12:45:16 -06:00
Gregory Nutt
8bc8a86b90 SAMA5D3/4 HEAP: Add a configuration option to reserve DRAM for a framebuffer when executing out of DRAM. 2014-07-08 12:43:38 -06:00
Gregory Nutt
3fe95f83de Fix some cloned errors in SAM GPIO interrupt setup 2014-07-07 15:54:37 -06:00
Gregory Nutt
14c90921b3 SAMA5D3/4: Fix two issues associated with PIO interrupts 2014-07-07 14:16:29 -06:00
Gregory Nutt
ae95f4e4d2 SAMA5D3/4 I2C: Test for read or write operation was reversed. How could this have worked before? 2014-07-07 09:54:43 -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
56629f7fde maXTouch: Fix test of I2C_TRANSFER return value 2014-07-06 08:51:38 -06:00
Gregory Nutt
87055cff08 NET: Standardize naming of all protocal header lengths 2014-07-05 13:04:48 -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
77439f3c75 AMA5 OHCI: Pointers to allocated port values were not being nullified after being deallocated. This caused some assertions when debug was enabled 2014-07-04 08:17:14 -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
2bd5963622 SAMA5 OHCI: Fix an error in a DEBUGASSERT statement. Caused assertion to fire inappropriately when a low- or full-speed device is removed and CONFIG_DEBUG=y 2014-07-03 13:06:28 -06:00
Gregory Nutt
8b2fb4725b SAMA5D3/4: UPLL divisor to generate 48MHz for OHCI is different from the two families. No idea why. 2014-07-03 12:28:11 -06:00
Gregory Nutt
68f83f973e CCM PROCFS: Changed the configuration a bit. I am still not happy about the coupling between procfs, mtd, and now STM32 2014-07-03 08:50:24 -06:00
Gregory Nutt
954048b8e9 Add STM32 CCM heep procfs 2014-07-03 08:18:24 -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
1c0054114e Beginning of a crypto/ subsystem from Max Neklyudov 2014-07-03 07:42:44 -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
596dbc20ef SAMA5D4-EK: NSH should run at 528MHz 2014-07-02 15:31:52 -06:00
Gregory Nutt
30fc821bc8 SAMA5D4-EK: NSH configuration now has TWI0 enabled and supports the I2C tool 2014-07-02 13:51:57 -06:00
Gregory Nutt
a420171a4a SAMA5D4 EMAC: Add a kludge to work around a suspected hardware issue 2014-07-02 12:17:01 -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
a2507acab8 SAMA5D4: Add a configuration option to force EMAC driver debug 2014-07-01 18:00:39 -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
c5f2ec1637 Fix typo/compile error introduced with last HSMCI changes 2014-06-30 16:08:29 -06:00
Gregory Nutt
d8f4b29d5f SAM3/4: Important bugfix. Values read from PIO input pins do not change unless clocking to the PIO block is enabled 2014-06-30 14:26:09 -06:00
Gregory Nutt
03f3f8966c SAMA5D3/4: Fix some logic in conversion of physical and virtal DRAM addresses when running out of DRAM 2014-06-30 11:04:34 -06:00
Gregory Nutt
f6a3d4b728 SAMA5D4: Don't touch ISLR unless PIO is configured as an interrupt 2014-06-30 09:17:42 -06:00
Gregory Nutt
3010eddf11 STM32: Add configuration support fort he STM32F103RC. From Kosma Moczek 2014-06-30 08:16:17 -06:00
Gregory Nutt
ed02593af7 STM32: Reorder MCUs in choice menu; remove duplicates. From Kosma Moczek 2014-06-30 08:13:12 -06:00
Gregory Nutt
48e6f0ba78 STM32: Move temperature ranges from chip selection configuration prompts. From Kosma Moczek 2014-06-30 08:09:19 -06:00
Gregory Nutt
bfff6190d0 Unconfigure GPIO pins when closing a serial port to prevent back effects from back-powering on the TX pin. From Kosma Moczek 2014-06-30 08:02:26 -06:00
Gregory Nutt
a095b1b260 Make variable definitions 'static const' when possible to save RAM usage. From Kosma Moczek 2014-06-30 07:39:51 -06:00
Gregory Nutt
c4ace8244d Fix typos in debug statements 2014-06-30 07:38:02 -06:00
Gregory Nutt
ce710bb94a SAMA5 PIO: Add support for secure interrupts; Fix PIO debug output 2014-06-29 17:46:55 -06:00
Gregory Nutt
e681a582a7 SAMA5: Remove kruft in PIO header file 2014-06-29 17:45:42 -06:00
Gregory Nutt
70fa9ad81d SAMA5D4 HSMCI: Fix a compiler in a debug statement 2014-06-29 12:01:08 -06:00
Gregory Nutt
1384148415 SAMA5D4 XDMA: Fix some typos 2014-06-29 11:24:57 -06:00
Gregory Nutt
9fab30e3b5 Fix system bus IDs for SAMA5D4; Don't use explicit PERIPHID_SHIFT for symmetry with memory 2014-06-29 11:24:10 -06:00
Gregory Nutt
d4f27b9e08 SAMA5D: Don't use explicit DMACH_FLAG_MEMPID_SHIFT; it does not exist in the SAMA5D4 2014-06-29 09:52:07 -06:00
Gregory Nutt
7c8c583722 SAMA5: Add configuration to assign an XDMAC channel to an HSMCI 2014-06-29 08:43:46 -06:00
Gregory Nutt
b7fad79a1d SAMA5D4-EK: Updates to get the at25boot configuration building correctly 2014-06-28 09:39:50 -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
f8e5e82402 Add support for a network device IOCTL to access PHY registers. Ioctls only implemented for STM32. From Lazlo 2014-06-27 09:30:41 -06:00
Gregory Nutt
6a451baa51 SAMA5D4: Add configuration to redirect all interrupts to the AIC 2014-06-26 11:51:39 -06:00
Gregory Nutt
fd7b06c68e STM32 I2C reset. Add missing GPIO configuration. From Alex D 2014-06-25 16:08:31 -06:00
Gregory Nutt
ff97ad1245 Clean-up packet socket naming 2014-06-25 10:34:52 -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
00667926a9 Move include/nuttx/net/uipopt.h to include/nuttx/net/netconfig.h 2014-06-24 08:53:28 -06:00
Gregory Nutt
eb340e683f Add support for the LPCXpresso's RTC, ADC, DAC, Timer, PWM, and MCPWM. All form Max 2014-06-23 12:13:52 -06:00
Gregory Nutt
4e3c794363 SAMA5D4: Add missing mappings for the VDEC and L2CC memory regions 2014-06-21 14:25:47 -06:00
Gregory Nutt
4b9666658e Correct type of SAMA5 arm_decodefiq() return value 2014-06-21 10:34:35 -06:00
Gregory Nutt
0a134f0158 Need to enable FIQ in initial task state; Improve H32/64 test in IRQ handling 2014-06-21 09:55:09 -06:00
Gregory Nutt
40b7ddf68e SAMA5: FIQs should be disabled along with IRQs on most exeptions in most configuratinons. arm_decodefiq and arm_decodeirq are mutually exclusive and, hence, can use the same interrupt stack 2014-06-20 18:49:01 -06:00
Gregory Nutt
c68d2532be SAMA5D4: Add support for secure/FIQ interrupts; SAIC supports need to be be enabled unconditionally 2014-06-20 18:16:41 -06:00
Gregory Nutt
8f4f73884b SAMA5D4: Fix MATRIX32 base address 2014-06-20 18:15:13 -06:00
Gregory Nutt
8fb8774c26 SAMA5D4: Minor fixes to get working with SAMA5D3 again 2014-06-20 16:01:45 -06:00
Gregory Nutt
0a2133b57f SAMA5D4: Add partial support for secure interrupt controller (SAIC) 2014-06-20 15:22:00 -06:00
Gregory Nutt
aecddf9b52 SAMA5D4: USART peripheral clock appears to be MCK/2 2014-06-20 11:40:36 -06:00
Gregory Nutt
b31f34cf94 SAMA5D4-EK: Make sure that the H32MX divider is set; correct sense of bit driver red LED 2014-06-20 10:33:33 -06:00
Gregory Nutt
9869c9b50d SAMA5D4: Fix peripheral clocking macros: AIC and L2CC are continuously clocked 2014-06-19 15:52:42 -06:00
Gregory Nutt
c14d80ee25 SAMA5D4: Initial bring-up fixes 2014-06-19 14:16:36 -06:00
Gregory Nutt
902c1342b9 Cosmetic cleanup 2014-06-18 08:24:53 -06:00
Gregory Nutt
e2ede42d14 SAMA5D4: XDMAC driver now compiles error/warning free (still untested) 2014-06-17 16:31:09 -06:00
Gregory Nutt
4b3342fd96 SAMA5D4: More progress on XDMAC driver (still no complete); Also fixes some critical errors in the SAMA5D3 DMA definitions 2014-06-17 13:18:52 -06:00
Gregory Nutt
5d73322dc7 SAMA5D4: Correct MATRIX register addresses 2014-06-14 10:42:53 -06:00
Gregory Nutt
1a236c13de SAMA5D4: Implement SDRAM initialization 2014-06-14 10:42:26 -06:00
Gregory Nutt
9e7eb2d12d SAMA5D4: Fix some memory remapping issues; updates to comments and README files 2014-06-14 08:02:58 -06:00
Gregory Nutt
cf72b05936 SAMA5: XDMAC update (still not complete) 2014-06-13 11:59:44 -06:00
Gregory Nutt
ab79090ce0 SAMA5D4: Initial XDMAC driver logic; initial check-in is little more the the DMAC driver with some name changes 2014-06-12 16:33:04 -06:00
Gregory Nutt
a2cb59cab8 First check-in of Lazlo's PF_PACKET 'raw' socket implementation 2014-06-12 11:52:06 -06:00
Gregory Nutt
a23245781a STM32: Handle setting of USART CR1_M when 8 bits of data plus parity 2014-06-11 15:49:54 -06:00
Gregory Nutt
5009def270 Typo in last SAMA5D4 commit 2014-06-11 13:43:54 -06:00
Gregory Nutt
bb8fd2fa2c SAMA5: Add support for Micrel KSZ8081 PHY 2014-06-11 13:25:59 -06:00
Gregory Nutt
22a36b7af3 SAMA5D4: Add EMAC driver 2014-06-11 12:23:31 -06:00
Gregory Nutt
288c891ad1 SAMA5D4: Still trying to reconcile Ethernet interfaces 2014-06-11 08:01:48 -06:00
Gregory Nutt
379f516780 SAMA5D3/4: More renaming. Change SAMA5D3 EMAC to EMACA and SAMA5D4 to EMACB so that the configuration and build system can configure them. I might come up with something better later 2014-06-10 17:40:25 -06:00
Gregory Nutt
348e666278 STM32: Expicitly include header file files. From Freddie Chopin 2014-06-10 15:49:48 -06:00
Gregory Nutt
e9aec9fdff SAMA5D4: update MATRIX register definitions for the SAMA5D4 2014-06-10 13:15:29 -06:00
Gregory Nutt
f14775b755 SAMA5D4: Complete MPDDR header file 2014-06-10 11:16:05 -06:00
Gregory Nutt
021122f921 SAMA5D4: Add MPDDRC file (incomplete) 2014-06-10 08:46:14 -06:00
Gregory Nutt
d54b7b733c Move SAMA5D3 MPDDRC definitions to a separate header file 2014-06-10 08:11:31 -06:00
Gregory Nutt
fc343d833a SAMA5D4: Update LCDC header file 2014-06-09 13:27:08 -06:00
Gregory Nutt
3a10623e29 Add logic to select between incompatible SAMA5D3 and SAMA5D4 EMAC header files 2014-06-09 12:24:39 -06:00
Gregory Nutt
48a8ead37b SAMA5: Back out most of commit c37b5b7b97d0644743c04f2c3d9e2b7ef9f5d698. Things are going to have to be done differently 2014-06-09 12:16:16 -06:00
Gregory Nutt
a72cf5ee76 SAMA5D4: Updated EMAC header file 2014-06-09 11:40:11 -06:00
Gregory Nutt
6fb582d1af SAMA5D4: Add EMAC header file 2014-06-09 11:29:02 -06:00
Gregory Nutt
fa3e843ddc SAMA5D4: More header file changes 2014-06-09 10:07:00 -06:00
Gregory Nutt
78c9fcdfb9 SAMA5D4: update ISI register definition header file 2014-06-09 09:29:23 -06:00
Gregory Nutt
979b732f3b SAMA5D4: Completes PMC modifications for the SAMA5D4 2014-06-09 07:55:51 -06:00
Gregory Nutt
b2de85be4e SAMA5D4: Completes L2CC register definition header file 2014-06-08 19:08:11 -06:00
Gregory Nutt
07df0b41f1 SAMA5D4: Update HSMC register definitions 2014-06-08 16:27:58 -06:00
Gregory Nutt
175193788d SAMA5D4: Update PIO register definitions 2014-06-08 15:35:51 -06:00
Gregory Nutt
140bbdb51f SAMA5D4: Update DBGU header file 2014-06-08 14:37:09 -06:00
Gregory Nutt
b43fa3910a SAMA5D4: Update PWM header file 2014-06-08 14:16:50 -06:00
Gregory Nutt
39cb768969 SAMA5D4: Updated HSMCI header file 2014-06-08 12:49:45 -06:00
Gregory Nutt
04430796c4 SAMA5D4: Update ADC register definition header file 2014-06-08 12:19:05 -06:00
Gregory Nutt
256cd0b34c SAMA5D4: Updated RTC header file 2014-06-08 10:14:36 -06:00
Gregory Nutt
f65a238389 SAMA5D4: Update register definitions; add support for TC2 2014-06-08 09:19:50 -06:00
Gregory Nutt
23557d31bb SAMA5: Add TWI3 support 2014-06-08 08:25:39 -06:00
Gregory Nutt
8e1d1db8d1 Updated SAMA5 SFR header file for the SAMA5D4 2014-06-08 07:48:36 -06:00
Gregory Nutt
3e3d3dff9b SAMA5D4: Add support for UART4 2014-06-08 07:47:56 -06:00
Gregory Nutt
e91c27ca5a SAMA5D4: Update one more register definition header files 2014-06-07 14:40:49 -06:00
Gregory Nutt
bc80629149 SAMA5D4: Update some register definition header files. Many more still to be done 2014-06-07 13:36:46 -06:00
Gregory Nutt
07c731d2bb SAMA5D4: Various changes to get the SAMA4D-EK to build 2014-06-06 15:39:40 -06:00
Gregory Nutt
d13fbcc1fc LPC17: Fix a critical error in GPDMA reported by Lizhuoyi 2014-06-06 11:20:28 -06:00
Gregory Nutt
2d3f0f01a0 LPC23xx: Several fixes for typos from Lizhuoyi 2014-06-06 11:06:19 -06:00
Gregory Nutt
c40c8d1924 SAMA5D4: Add L2CC register definition header file (incomplete) 2014-06-05 14:38:08 -06:00
Gregory Nutt
852cf2ee5b Finishes the SAMA5D4 XDMAC register definition header file 2014-06-04 16:59:41 -06:00
Gregory Nutt
74f95efdfc SAMA5D4: Add beginning of XDMAC register definition header file (incomplete) 2014-06-04 14:40:34 -06:00
Gregory Nutt
77c487b1ed SAMA5D4: Has two XDMA modules 2014-06-04 14:39:52 -06:00
Gregory Nutt
975dc5ec46 SAMA5D4: Let's consistently use the name XDMAC for the SAMA5D4 DMA module 2014-06-04 14:39:29 -06:00
Gregory Nutt
7d6633c2a4 Minor naming fix 2014-06-04 13:35:48 -06:00
Gregory Nutt
5ddcb233cc SAMA5: Add pin mux definitions for the SAMA5D4 2014-06-04 12:58:49 -06:00
Gregory Nutt
0342b3f10b SAMA5: Rename most EMAC definitions to EMAC0 to handle the SAMA5D4 which has to EMAC modules and no GMAC 2014-06-04 12:04:24 -06:00
Gregory Nutt
41032b021b SAMA4D4: Basic framework to support the SAMA4D4. Not yet complete 2014-06-03 17:49:51 -06:00
Gregory Nutt
cc369aa3d6 A few build fixes from last, big ARP relocation change 2014-05-30 12:32:20 -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
b3abd30a76 Cosmetic changes 2014-05-28 14:09:58 -06:00
Gregory Nutt
3feabec7d5 STM32 RTC: Add retry to initialization logic. Sometime RTC initialization takes longer. From dlsitzer. 2014-05-27 07:10:53 -06:00
Gregory Nutt
c68f9477cf Back out PX4 fixes that were reverted in PX4 repository 2014-05-25 07:53:00 -06:00
Gregory Nutt
5d3479bbec STM32 I2C: Final fixes from Max Kriegleder et al. 2014-05-23 08:42:14 -06:00
Gregory Nutt
8dbc4714c5 Change all variadic macros to C99 style 2014-05-22 09:01:51 -06:00
Gregory Nutt
9e941f1195 Change bne to bne.n in irqrestore() 2014-05-22 09:01:25 -06:00
Gregory Nutt
bac1ab9a34 Make sure that all references to up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Noted by Make Smith 2014-05-20 17:48:39 -06:00
Gregory Nutt
d2e1d8f6ee STM32 lowputc: Fix an error in conditional compilation. From Sami Pelkonen 2014-05-20 08:12:07 -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
947f31f5a9 SAM4E-EK: Ooops.. two touchscreen drivers(?) 2014-05-14 10:56:03 -06:00
Gregory Nutt
5258e8d9e7 Fix one error that I made in the last check-in (there are probably more) 2014-05-14 08:09:08 -06:00
Gregory Nutt
fb774d677c Add an alternate STM32 I2C driver that works around errata in the F103 chip (and maybe others). From Patrizio Simona 2014-05-14 07:48:47 -06:00
Gregory Nutt
697b0d5b61 correct some columnar alignment and spacing 2014-05-13 14:14:57 -06:00
Gregory Nutt
5d35f07278 STM32 I2C: Cosmetic changes in preparation to merge a change 2014-05-13 13:11:10 -06:00
Gregory Nutt
43fd4676da SAM4E: PIO definition clean-up 2014-05-12 18:42:25 -06:00
Gregory Nutt
d9a20861a6 Updated README and comments 2014-05-10 11:36:20 -06:00
Gregory Nutt
fa7c79712e STM32 I2C: Bring in PX4 fix for I2C in very high noise environments or with rogue perpipherals. Taken from the PX4 commit by Tridge 2014-05-10 10:34:05 -06:00
Gregory Nutt
308d0dbe06 Couple of fixes for the latest STM32 additions / modifications. These are simple fixes dealing with conditional compile based on CONFIG items not being set. From Ken Pettit 2014-05-09 06:41:01 -06:00
Gregory Nutt
02bb1d69b8 Add support for the STM32152 and STM32162 Medium+ density parts (plus miscellaneous other improvements to the original STM32151 logic). From Jussi Kivilinna and Sami Pelkonen 2014-05-08 09:20:11 -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
1cc859405e STM32: Rename pinmap.h files to better reflect the chip naming conventions 2014-05-07 13:05:12 -06:00
Gregory Nutt
6e9df4d5ab STM32: Fix STM32F100CB pin configuration (from Kosma Moczek); and make chip naming a little more consistent 2014-05-07 12:54:27 -06:00
Gregory Nutt
1636d7cb2f Ooops... last (cosmetic) changes were still in the editor 2014-05-06 15:00:39 -06:00
Gregory Nutt
422a9c9bfd Optimized memcpy() functin for the ARMv7-A from David Sidrane 2014-05-06 14:58:48 -06:00
Gregory Nutt
a1871c7045 STM32: Add more complication to STM32 Kconfig so the correct RNG and ETHMAC options presented for the F401RE. There are still invalid peripheral options being presented 2014-05-06 11:35:13 -06:00
Gregory Nutt
ca31e38f7b Nucleo-F401RE: With these changes and the changes from previous commits, the basic Nucleo-F401RE NSH configuration is working. 2014-05-06 11:07:10 -06:00
Gregory Nutt
acd40e73aa The Nucleo-F401RE has no on-board cystal and, hence, must use the on-chip HSI oscillator for the PLL include clock 2014-05-06 10:01:02 -06:00
Gregory Nutt
bfa9df89e2 STM32: Add more complication to STM32 Kconfig so the correct ADC and CAN options presented for the F401RE. There are still invalid peripheral options being presented 2014-05-06 08:32:21 -06:00
Gregory Nutt
27d3a4962a STM32: Add some complication to STM32 Kconfig so the correct USART and TIM options are presented for the F401RE. There are still invalid peripheral options being presented 2014-05-05 17:59:07 -06:00
Gregory Nutt
f72a873af9 Add SAM3/4 RTT driver. From Bob Doiron 2014-05-05 14:35:37 -06:00
Gregory Nutt
449ad68fa1 Correct some typos in STM32 RCC header files noted by Ramtin Amin 2014-05-05 07:23:26 -06:00
Gregory Nutt
42432ab1d0 STM32 F401 has no CCM memory 2014-04-30 16:49:39 -06:00
Gregory Nutt
d7b261eb46 Fix configuration for F401: It has has FSMC and so the option should not be offered. But there are many more options available for the F401 that should be availalbe: CAN, nonexistent timers, etc. These will all need to be addressed 2014-04-30 16:12:36 -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
8be212ccc3 Nucleo-F401RE: Fix memory usage 2014-04-30 08:20:30 -06:00
Gregory Nutt
b252889270 ARMv7-M: Add FPU-related CFLAG settings for the CodeSourcery of Linux toolchain 2014-04-29 15:02:34 -06:00
Gregory Nutt
d43b12c1e1 Sourceforge patch #40. Fix some conditional logic in clock configuration. From Luciano Neri 2014-04-29 11:32:33 -06:00
Gregory Nutt
de7136e69b STM32: More places where up_prioritize_irq is called when CONFIG_ARCH_IRQPRIO is not defined. Sourceforge ticket #26 2014-04-28 07:07:47 -06:00
Gregory Nutt
ae82fa65a6 Fix spelling, only one t in exiting 2014-04-27 15:49:38 -06:00
Gregory Nutt
1745e978fb Sourceforge ticket #26: STM32 up_prioritize_irq should not be called if CONFIG_ARCH_IRQPRIO is not defined 2014-04-25 16:23:00 -06:00
Gregory Nutt
0bf091f2a0 STM32 dmapreflight method must be conditioned on CONFIG_SDIO_PREFLIGHT. From Pelle Windestam 2014-04-25 07:22:14 -06:00
Gregory Nutt
e4fd434a60 Cosmetic update to comments and README files 2014-04-24 12:44:30 -06:00
Gregory Nutt
0d2e525bd4 Updated comments; minor correction in some naming 2014-04-23 14:46:39 -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
9bd0102aae Nucleo F401RE: Remove PX4 cruft that can in with the port 2014-04-22 12:18:08 -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
162662a290 Add support for the STM32F041RE and for the Nucleo-F401RE board. From Frank Bennett 2014-04-20 13:42:23 -06:00
Gregory Nutt
235de5c573 ST32: Make selection of SDIO interrupt priority essentially impossible 2014-04-19 08:05:49 -06:00
Gregory Nutt
c575c00147 LPC17xx: Prioritized interrupts are not supported (although hooks are present to prioritize interrupts). Make LPC17 Ethernet default priority to be the system default, not the highest. If the unsupported feature is enabled, then at least it should do no harm 2014-04-19 07:56:59 -06:00
Gregory Nutt
a1b862580b Fix an error introduced in the last commit 2014-04-19 07:54:52 -06:00
Gregory Nutt
6f26d834b6 LPC17xx, TIVA, and Kinetis interrupt initialization: use the NVIC ICTR register to determine how many interrupt lines/registers are supported by the MCU 2014-04-17 14:51:53 -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
a61c58d50a 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
6492446ac8 STM32 OTGFS Host: Changes from Leo for low-speed devices and interrupt endpoints 2014-04-17 10:52:27 -06:00
Gregory Nutt
0954437084 SAMA5 EMAC: Missing right parens from last change. Noted by Luciano Neri 2014-04-17 09:02:55 -06:00
Gregory Nutt
ebf221945c 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
edc022ff1a Costmetic: Replace spaces with tabs 2014-04-16 16:26:46 -06:00
Gregory Nutt
cb802b02e1 STM32 OTGFS Host: Additional trace points from Leo 2014-04-16 12:56:21 -06:00
Gregory Nutt
b4f11306d3 STM32 F2: Fix SPI2 MOSI pin mapping. From dlsitzer 2014-04-16 12:35:33 -06:00
Gregory Nutt
044f7209f6 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
67bea2d342 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
be1bd45076 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
e654036b5a 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
9d12aa82fe Sourceforge Patch #37: Missing semicolon 2014-04-16 09:43:34 -06:00
Gregory Nutt
a049b6a4c7 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
e26466e6e4 Updates to the STM32 OTGFS host logic from Leo 2014-04-15 08:49:33 -06:00
Gregory Nutt
fd08872892 Costmetic changes to some comments 2014-04-14 16:36:07 -06:00
Gregory Nutt
d4fc5ec41c 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
25d4ff745b More trailing whilespace removal 2014-04-13 16:22:22 -06:00
Gregory Nutt
b7c65adeca Cosmetic changes for coding style; removal of dangling spaces at the end of lines 2014-04-13 13:18:06 -06:00
Gregory Nutt
c708eff608 Make sure that there is one space after for 2014-04-12 13:28:22 -06:00
Gregory Nutt
33d5d24964 Make sure that there is one space between while and condition 2014-04-12 13:09:48 -06:00
Gregory Nutt
eee82879cb Make sure that there is one space between if and condition 2014-04-12 12:53:19 -06:00
Gregory Nutt
65c6c071ff 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
bc144ad5d0 STM32 OTG FS Hose and others: Remove some warnings 2014-04-12 09:58:23 -06:00
Gregory Nutt
7bf7d8ebf6 STM32 OTGFS Host: Fix a logic error introduced in the last check-in 2014-04-12 09:33:52 -06:00
Gregory Nutt
aefb741a6a STM32 OTGFS: Host USB tracing instrumentation added by Leo 2014-04-12 08:44:22 -06:00
Gregory Nutt
27a7636440 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
66df3afd46 mv ramlog.h and syslog.h to new include/nuttx/syslog 2014-04-10 09:29:30 -06:00
Gregory Nutt
1fa5d28754 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
2a1212bf48 Cosmetic changes to comments and README 2014-04-07 15:28:04 -06:00
Gregory Nutt
43abe85674 Updated README files and comments 2014-04-07 07:43:28 -06:00
Gregory Nutt
398bf81c18 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
3e710c0080 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
4993dd6ed3 Cosmetic update to comments 2014-04-05 11:35:05 -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
78607a7ea9 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
0b014faa75 SAMA5 boards: Operation at 528Mhz has been verified 2014-04-04 10:36:53 -06:00
Gregory Nutt
e78f36e229 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
724d2de086 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
38e49b48c5 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
e92eaabb3e SAMA5: Fix SAMA5 so that interpretation of BMS bit is correct. From David Sidrane 2014-04-03 15:47:34 -06:00
Gregory Nutt
489651d041 ARMv7-A: Typo fix from David Sidrane 2014-04-03 15:43:13 -06:00
Gregory Nutt
774a24a2c2 SAMA5: Cosmetic updates to comments and README files 2014-04-03 15:30:00 -06:00
Gregory Nutt
c00a3ce914 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
362d539914 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
e3d2117b29 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
3a1e08bc3c SAMA5: When running from SRAM, vectors must lie in ISRAM 2014-04-02 12:54:15 -06:00
Gregory Nutt
7372485e16 Updated comments and README 2014-04-02 09:03:29 -06:00
Gregory Nutt
df7429add0 SAMA5 DBGU: Add logic to suppress DBGU reconfiguration when started from a bootloader 2014-04-02 09:03:27 -06:00
Gregory Nutt
c6685c7f7d Fix typo introduced to the serial driver when the DBGU driver was added 2014-04-02 09:02:15 -06:00
Gregory Nutt
c0bf638798 SAMA5: Add support for DBGU. Xplained board now uses DBGU for the serial console 2014-04-01 11:24:15 -06:00
Gregory Nutt
cec5d575c0 Cosmetic update to comments and README files 2014-03-31 17:25:39 -06:00
Gregory Nutt
4a37d6b042 SAMA5: Add DBGU register definition header file 2014-03-31 17:25:16 -06:00
Gregory Nutt
cd45038326 Remove double mapping of SDRAM when running from SDRAM 2014-03-31 15:08:04 -06:00
Gregory Nutt
bb7fbad8bd cosmetic updates to comments 2014-03-30 10:25:01 -06:00
Gregory Nutt
9767d1f976 Fix some backward conditional compilation 2014-03-30 08:29:21 -06:00
Gregory Nutt
406e91e262 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
eacf905089 Fix a rounding problem in HSMCI divider calculation 2014-03-29 18:13:00 -06:00
Gregory Nutt
c20f9c71b1 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
ff594d859e 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
797f149481 SAMA5D3 Xplained: Has no NOR flash. Remove all NOR support from board configuration 2014-03-29 15:05:09 -06:00
Gregory Nutt
73f0ff6c47 Documentatin updated; fix errors in some comments 2014-03-28 09:52:07 -06:00
Gregory Nutt
1b11e89c25 Add support for the SAMA5D36 2014-03-28 08:33:01 -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
f1e6ea46ed SAMA5D3: Fix some typos in last blind changes backported from the SAM4e. And verified 2014-03-25 16:11:33 -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
eddfa4222f STM32 EMAC: Add support for IGMP hash table update. From Manuel Stühn 2014-03-24 09:32:48 -06:00
Gregory Nutt
f2d44cd8db SAM3/4: Changes for clean HSMCI compilation 2014-03-23 15:52:14 -06:00
Gregory Nutt
f613048460 SAM3/4: Rename CONFIG_GPIO*_IRQ to CONFIG_SAM34_GPIO*_IRQ 2014-03-23 15:51:34 -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
788d5bb0fc Add logic to check interrupt stack usage 2014-03-23 10:11:58 -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
5ac5506b35 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
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
9e68a2690f LPC17 USB Host: Minor clean-up after performing some regressin testing 2014-03-19 08:33:15 -06:00
Gregory Nutt
f713b4937c Improved description of CONFIG_ARMV7M_USEBASEPRI from Vijay Kumar 2014-03-19 07:16:44 -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
c35470d553 TM4C123G Launchpad: Corrected processor configuration from Daniel Pereira de Carvalho 2014-03-18 11:21:31 -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
dfdad8c95b TM4C: Fix typos in memory map reported by Daniel Pereira de Carvalho 2014-03-12 07:23:58 -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
b25d2ace89 TM4C: A few more changes to get a clean compilation 2014-03-10 11:54:20 -06:00
Gregory Nutt
a659029017 Make sure that every reference to LM4F has corresponding logic for TM4C 2014-03-10 11:23:50 -06:00
Gregory Nutt
4a199188c8 TM4C: Add SYSCONTROL register defintion header file 2014-03-10 10:17:37 -06:00
Gregory Nutt
c9e6775d0c Add support for TM4C GPIOs 2014-03-10 08:12:35 -06:00
Gregory Nutt
967d48fbfb TIVA: Add memory map for the TM4C123 2014-03-09 13:57:35 -06:00
Gregory Nutt
8e08a25f11 Add pin multiplex definitions for the TM4C123 2014-03-09 13:15:09 -06:00
Gregory Nutt
7ac3ada62a TM4C: Add definitions for GPIO interrupts 2014-03-09 10:00:31 -06:00
Gregory Nutt
1c3627901f Add TM4C123 to the configuration system 2014-03-09 09:40:48 -06:00
Gregory Nutt
9889391ab8 Oop.. everything was named TM3C instead of TM4C in the last check-in 2014-03-09 09:26:29 -06:00
Gregory Nutt
b10bc3238b TM3C123: Add chip characteristics and interrupt definition files 2014-03-09 09:21:06 -06:00
Gregory Nutt
cb10073586 Hmmm.. not sure what happened but here is a missing TIVA file 2014-03-08 16:33:56 -06:00
Gregory Nutt
6cd5f3d321 functions and definitions renamed from lm_ to tiva_ 2014-03-08 15:50:26 -06:00
Gregory Nutt
8f5dfc3541 All files and functions beginning with lm_ changed to tiva_ 2014-03-08 13:29:09 -06:00
Gregory Nutt
88c2da5bc1 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
0fb4a075d1 LPC2378: SPI driver from Lizhuoyi 2014-03-08 11:37:50 -06:00
Gregory Nutt
1bdc4273bb LPC2378: I2C driver from Lizhuoyi 2014-03-08 11:03:58 -06:00
Gregory Nutt
729a3020a7 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
88d3bc23e1 onfigs/mx1ads/ostest: Configuration converted to use the kconfig-frontends tools 2014-03-06 09:48:25 -06:00
Gregory Nutt
8fcd60b5df Use common naming for rest of the toolchains too 2014-03-05 16:29:58 -06:00
Gregory Nutt
18a08fe1d1 Use common naming for all buildroot toolchains 2014-03-05 15:37:07 -06:00
Gregory Nutt
40621d42fc Add configuration ettings for the on-demand paging option 2014-03-05 14:25:49 -06:00
Gregory Nutt
6526c47930 configs/ntosd-dm320/nettest: Configuration converted to use the kconfig-frontends tools 2014-03-05 12:16:02 -06:00
Gregory Nutt
c99476c950 configs/stm32f4discovery/pm: Configuration converted to use the kconfig-frontends tools 2014-03-04 08:58:01 -06:00
Gregory Nutt
f3168c222b configs/mcu123-lpc214x/usbmsc: Configuration converted to use the kconfig-frontends tools 2014-03-03 15:40:18 -06:00
Gregory Nutt
216859842a configs/olimex-strp711/nettest: Converted to use kconfig-frontends tools 2014-03-03 10:52:02 -06:00
Gregory Nutt
705a68349b configs/c5471evm/nettest converted use kconfig-frontends. C5471 build updated 2014-03-03 10:05:06 -06:00
Gregory Nutt
74414b9762 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
740a3ce1b9 Removed unused configuratin variable: CONFIG_PGTABLE_VADDR 2014-03-01 16:21:28 -06:00
Gregory Nutt
210fbc3365 configs/lm3s8962-ek/nsh converted to use the kconfig-frontends tools 2014-03-01 13:29:23 -06:00
Gregory Nutt
306271d151 Buildroot EABI (vs OABI) is now the default 2014-02-28 07:49:15 -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