Commit Graph

10898 Commits

Author SHA1 Message Date
Gregory Nutt
da57730440 Remove carriage returns from file 2015-04-03 07:20:28 -06:00
Gregory Nutt
e9e386ac6e Add ILI9488 header file 2015-04-03 07:12:11 -06:00
Gregory Nutt
3311bdcecb SAMV7: Fixes to WM8904 build 2015-04-02 18:24:55 -06:00
Gregory Nutt
89c9c48391 Update ChangeLog 2015-04-02 13:02:07 -06:00
Gregory Nutt
e78e762dd6 Add a very basic driver for the CS2100-CP Fractional-N Multipler chip. 2015-04-02 13:00:10 -06:00
Gregory Nutt
06866bb2c5 Fix some missing inclusions in include/nuttx/board.h 2015-04-01 18:35:46 -06:00
Gregory Nutt
6667517c24 Header file for the CS2100-CP 2015-04-01 16:56:27 -06:00
Gregory Nutt
10e6738abe Update ChangeLog 2015-04-01 12:38:32 -06:00
Gregory Nutt
0ec67181c9 Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/. 2015-04-01 12:37:44 -06:00
Gregory Nutt
6342459cdb SAMV7 WM8904: Leverage WM8904 logic from the SAMA5D4-EK 2015-04-01 12:13:51 -06:00
Gregory Nutt
97acb5d9ee Update Documentation 2015-04-01 09:05:43 -06:00
Gregory Nutt
526739a74e Update ChangeLogs 2015-03-31 17:05:05 -06:00
Gregory Nutt
f6e6dacb17 Rename pwm_devinit() to board_pwm_setup(). Add CONFIG_BOARDCTL_PWMTEST that will enable calling board_pwm_setup() from boardctl(). Replace calls to pwm_devinit() in apps/examples/pwm with calls to boardctl(). In all configurations that enable the apps/examples/pwm test, make sure that boardctl() suppoprt is properly enabled. 2015-03-31 16:59:22 -06:00
Gregory Nutt
fa35aa59e2 Update ChangeLog 2015-03-31 16:31:35 -06:00
Gregory Nutt
2b0202e6d7 Update several defconfig files. Make sure that every defconfig file that requires external graphics initialization also approprietly initializes boardctl(). 2015-03-31 16:29:40 -06:00
Gregory Nutt
ded2001121 Rename up_nxdrvinit() to board_graphics_setup(). Add CONFIG_BOARDCTL_GRAPHICS that will enabled calls to board_graphics_setup() from boardctrl(). In apps/ and NxWidgts/, replace all calls to up_nxdrvinit with calls to boardctl(). 2015-03-31 16:20:21 -06:00
Gregory Nutt
6abae1202f Update ChangeLogs 2015-03-31 15:06:05 -06:00
Gregory Nutt
4212b9b385 Rename adc_devinit() to board_adc_setup(). Add support to the boardctl() interface so that it can call board_adc_setup() on behalf of an application. Change apps/examples/adc to that is now calls boardctl() instead of adc_devinit() in order to initalize the ADC device. 2015-03-31 15:00:23 -06:00
Gregory Nutt
ba169b69f9 Update ChangeLogs 2015-03-31 13:26:33 -06:00
Gregory Nutt
cf95d1a995 rch_tcinitialize() and arch_tcunitinitialize() renamed to board_tsc_setup() and board_tsc_teardown(). These are not long called directly by applications but only indirectly throught the crappy boardctl() OS interface. 2015-03-31 13:21:25 -06:00
Gregory Nutt
dd7d6d269c Update ChangeLogs 2015-03-31 12:16:43 -06:00
Gregory Nutt
4a8e0e2359 NSH initialization now calls boardctl(BOARDIOC_INIT) instead of board_app_initaliaze. Modify all configurations: Make sure that CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do that operation 2015-03-31 12:14:16 -06:00
Gregory Nutt
d5eec39096 Fix some problems with a preceding commit 2015-03-31 11:59:16 -06:00
Gregory Nutt
cc5c243fb8 Update ChangeLog 2015-03-31 11:32:00 -06:00
Gregory Nutt
b4b40d338a boardctl(): Add a new non-standard OS interface. This is similar to a driver IOCTL call. But this is an IOCTL call directly on the board logic. This function will eventually replace all of the ad hoc OS interfaces that are current used to perform application specific intialiation and application driver test confifuration. It essentially formalizes and institutionalizes these rogue interface in to at least a single crazy call. 2015-03-31 11:25:52 -06:00
Gregory Nutt
cf77f8f28f Update ChangeLog 2015-03-31 10:22:50 -06:00
Gregory Nutt
9c0441e2da Rename arch_nshinitialize() to board_app_initialize() 2015-03-31 10:21:31 -06:00
Gregory Nutt
eb21ad0cf2 SAMV71-XULT: Add option to support connection of the maXTouch Xplained Pro on the 50-pin LCD connector 2015-03-31 09:01:38 -06:00
Gregory Nutt
c76373280b SAMV71-XULT: Add a configuration for testing the maXTouch Xplained Pro connected to the board 2015-03-30 15:31:53 -06:00
Gregory Nutt
157c56d081 Update README 2015-03-30 07:33:48 -06:00
Gregory Nutt
8aa133029f SAMV7 Ethernet: Fix a write-past-end-of-buffer and trash-the-heap problem 2015-03-29 16:45:05 -06:00
Gregory Nutt
805be6fee2 Update ChangeLog 2015-03-29 15:39:08 -06:00
Gregory Nutt
f1c79423e1 The STM32F4Discovery board doesn't come with a Low speed external oscillator so the default LSE source for the RTC doesn't work.
In stm32_rtcc.c the up_rtcinitialize() logic doesn't work with the LSI. The check on RTC_MAGIC on the BK0R register lead to rtc_setup() call that rightfully enables the lsi clock; but the next times, when the rtc is already setup, the rtc_resume() call does NOT start the lsi clock!

The right place to put LSE/LSI initialisation is inside stm32_stdclockconfig() in stm32fxxxxx_rcc.c.  Doing this I checked the possible uses of the LSI and the LSE sources: the LSI can be used for RTC and/or the IWDG, while the LSE only for the RTC (and to output the MCO1 pin)..

This change is not verifed for any other platforms.

From Leo Aloe3132
2015-03-29 15:34:48 -06:00
Gregory Nutt
eb304951b4 Minor Documentation update 2015-03-29 14:46:52 -06:00
Gregory Nutt
dab3dbc75b Cortex-M7: Add support for enabled the D-Cache in write only mode.
SAMV7 Ethernet:  I- and D-Cache are now enabled in the netnsh/ configuration.  D-Cache is enabled in write-though mode.  This mode is necessary because the DMA descriptors are each 8-bytes in size but the D-Cache cache line is 32-bits in size. So it is impossible make coherency for every 8-byte DMA descriptor without write-through.
2015-03-29 14:42:03 -06:00
Gregory Nutt
4593fe3797 SAMV7/Cortex-M7: Add support for write through D-Cache. SAMV7 Ethernet look like it needs this 2015-03-29 13:09:22 -06:00
Gregory Nutt
f67c489756 Update documentation 2015-03-29 07:52:52 -06:00
Gregory Nutt
c221547be4 PIC32MZ Ethernet: Add support for LAN4720A and fix IRQ namespace. From Kristopher Tate 2015-03-29 07:18:17 -06:00
Gregory Nutt
e8b232fc41 PIC32MZ: Correct the base address of Ethernet registers. From Kristopher Tate 2015-03-29 07:15:29 -06:00
Gregory Nutt
8bb8f47d0b PIC32MZ Ethernet: Enable PBCLK5 and MII divider for PHY. From Kistopher Tate 2015-03-29 07:14:09 -06:00
Gregory Nutt
6b3c199d9f PIC32MZ: Rename Ethernet files to proper convention. From Kristopher Tate. 2015-03-29 07:10:13 -06:00
Gregory Nutt
312ae5713e PIC32MZ Ethernet: Add support for LAN8740A PHY 2015-03-29 07:05:30 -06:00
Gregory Nutt
b1dcacebe7 Minor update to a README 2015-03-29 07:04:39 -06:00
Gregory Nutt
ce34402dac SAMV71-XULT: netnsh configuration is back to -O2 2015-03-28 14:54:30 -06:00
Gregory Nutt
a60fa12e86 Clean up pointer handling to make code more readability. This re-introduces the compiler optimization problem but this is the correct thing to do. I will have to drop back from -Os to -O2. 2015-03-28 14:46:35 -06:00
Gregory Nutt
d2fd139ebc SAMV7 EMAC: Fix alignment issue: RX buffers need to be invalidated. This means the alignment of buffers must be at least to the data cache line size at both ends of the buffer 2015-03-28 13:09:01 -06:00
Gregory Nutt
d7dbdfef58 SAMV7 EMAC: Sometimes TX is not started when TSTART is set??? Workaround seems to be to set it twice. Restored full optimization. Also CONFIG_NET_NOINTS is set so that interrupt level provessing is avoided 2015-03-28 09:42:45 -06:00
Gregory Nutt
756d19ff28 SAMV71-XULT: Add a network-enabled NSH configuration 2015-03-27 14:18:13 -06:00
Gregory Nutt
79734c3c13 SAMV7 Ethernet: Fix some errors in circular queue handling 2015-03-27 13:04:43 -06:00
Gregory Nutt
72c923ff0b Fix another typo in the modified assertion logi 2015-03-27 13:02:46 -06:00