Commit Graph

3914 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
8bb8f47d0b PIC32MZ Ethernet: Enable PBCLK5 and MII divider for PHY. From Kistopher Tate 2015-03-29 07:14:09 -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
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
66670c1738 SAMV7 Ethernet+USB Updates 2015-03-27 10:47:03 -06:00
Gregory Nutt
3c433f7f35 Updated comments/README 2015-03-26 12:33:03 -06:00
Gregory Nutt
dd06cef845 SAMV7 USB: more updates 2015-03-25 15:56:10 -06:00
Gregory Nutt
3875e86436 SAMV7: Add framework for USB DCD. Initial check-in is just the SAMA5 USB DCD with naming changes to get a clean compilation. Needs careful review and comparison with datasheet and, of course, testing 2015-03-23 14:06:53 -06:00
Gregory Nutt
1802d50e3e Refresh Configurations 2015-03-23 11:20:38 -06:00
Gregory Nutt
52d1d425c0 Calvin's changes to the tm4c123g-launchpad 2015-03-23 10:05:50 -06:00
Gregory Nutt
6a9e2946a8 Update README.txt 2015-03-22 16:34:43 -06:00
Gregory Nutt
d3ff495ebf Update PIC32MZ README and board.h comments 2015-03-22 09:24:04 -06:00
Gregory Nutt
8276012a96 PIC32MZ: change defaults to match the MEBII board. From Kristopher Tate 2015-03-22 08:35:36 -06:00
Gregory Nutt
750bd36c21 PIC32MZ: Minor change to setenv.sh so that you can change tools correctly 2015-03-22 08:12:53 -06:00
Gregory Nutt
4cdb6e8fa6 More changes for PIC32MZ build under XC32 2015-03-21 16:38:24 -06:00
Gregory Nutt
5ed5187175 PIC23MX Starter Kit: Looks like we need to use a different linker script with Pinguino 2015-03-21 15:40:22 -06:00
Gregory Nutt
95c2b350b3 All kernel 1st pass builds: Rename files for better conformance to naming conventions 2015-03-21 15:01:32 -06:00
Gregory Nutt
b297a057f5 Neuros OSD: Rename files for better conformance to naming conventions 2015-03-21 14:51:30 -06:00
Gregory Nutt
c5511412d5 US7032EVB1: Rename files for better conformance to naming conventions 2015-03-21 14:48:48 -06:00
Gregory Nutt
19d33fb3f7 SKP16C26: Rename files for better conformance to naming conventions 2015-03-21 14:46:44 -06:00
Gregory Nutt
a975215465 Olimex-STRP711: Rename files for better conformance to naming conventions 2015-03-21 14:42:30 -06:00
Gregory Nutt
cfc53740e3 Clean up some misnamed garbage in Makefiles 2015-03-21 14:38:23 -06:00
Gregory Nutt
8c2efb7485 ZP214XPA: Rename files for better conformance to naming conventions 2015-03-21 14:32:35 -06:00
Gregory Nutt
18d145f8df MCU-123 LPC2148: Rename files for better conformance to naming conventions 2015-03-21 14:28:58 -06:00
Gregory Nutt
4be89aa031 c5471 EVM: Rename files for better conformance to naming conventions 2015-03-21 14:25:19 -06:00
Gregory Nutt
e1bdd3de9e LPC4330 Xplorer: Rename files for better conformance to naming conventions 2015-03-21 14:23:07 -06:00
Gregory Nutt
8deb619c59 EA3152: Rename files for better conformance to naming conventions 2015-03-21 14:18:32 -06:00
Gregory Nutt
b9523c623a Update comment 2015-03-21 14:13:46 -06:00
Gregory Nutt
5bcbadecaf EA3131: Rename files for better conformance to naming conventions 2015-03-21 14:12:58 -06:00
Gregory Nutt
06af626082 MX1 ADS: Rename files for better conformance to naming conventions 2015-03-21 14:08:07 -06:00
Gregory Nutt
1bd49ceb87 NE64BADGE: Rename files for better conformance to naming conventions 2015-03-21 14:05:26 -06:00
Gregory Nutt
c0ef46df80 DMEO9S12NE64: Rename files for better conformance to naming conventions 2015-03-21 14:02:26 -06:00
Gregory Nutt
720cce524e Kwikstick-K40: Rename files for better conformance to naming conventions 2015-03-21 13:56:50 -06:00
Gregory Nutt
cc8bb6dc7e TWR-K60N512: Rename files for better conformance to naming conventions 2015-03-21 13:52:45 -06:00
Gregory Nutt
08e8f45b08 AVR32DEV1: Rename files for better conformance to naming conventions 2015-03-21 13:48:34 -06:00
Gregory Nutt
70b576b638 Teensy: Rename files for better conformance to naming conventions 2015-03-21 13:41:49 -06:00
Gregory Nutt
212ec2f639 Micropendous 3: Rename files for better conformance to naming conventions 2015-03-21 13:38:26 -06:00
Gregory Nutt
286e614b4e Amber: Rename files for better conformance to naming conventions 2015-03-21 13:35:00 -06:00
Gregory Nutt
30c5c7a95a LM3S8962-EK: Rename files for better conformance to naming conventions 2015-03-21 11:01:59 -06:00
Gregory Nutt
7eb27e5f37 LM3S6965-EK: Rename files for better conformance to naming conventions 2015-03-21 10:58:58 -06:00
Gregory Nutt
7239f9af8a LM3S6432-S2E: Rename files for better conformance to naming conventions 2015-03-21 10:55:09 -06:00
Gregory Nutt
492c9eec2b EKK-LM3S9B96: Rename files for better conformance to naming conventions 2015-03-21 10:51:54 -06:00
Gregory Nutt
5a0bfad78c Eagle100: Rename files for better conformance to naming conventions 2015-03-21 10:48:16 -06:00
Gregory Nutt
c9cf3775f1 Nucleus 2G: Rename files for better conformance to naming conventions 2015-03-21 10:33:26 -06:00
Gregory Nutt
3e0a59623e LPCXpresso LPC1768: Rename files for better conformance to naming conventions 2015-03-21 10:29:46 -06:00
Gregory Nutt
976a8277aa Lincoln60: Rename files for better conformance to naming conventions 2015-03-21 10:24:24 -06:00
Gregory Nutt
74bb756742 zkit lpc1768: Rename files for better conformance to naming conventions 2015-03-21 10:20:42 -06:00
Gregory Nutt
eec8f58f02 Mirtoo: Rename files for better conformance to naming conventions 2015-03-21 10:10:17 -06:00
Gregory Nutt
771395520b PIC32MX7 MMB: Rename files for better conformance to naming conventions 2015-03-21 10:06:33 -06:00
Gregory Nutt
fb4331b41d UBW32: Rename files for better conformance to naming conventions 2015-03-21 09:59:52 -06:00
Gregory Nutt
61c6d3b0f2 CloudCtrl: Rename files for better conformance to naming conventions 2015-03-21 09:54:40 -06:00
Gregory Nutt
df2b0cec2f Fire STM32v2: Rename files for better conformance to naming conventions 2015-03-21 09:48:31 -06:00
Gregory Nutt
a1c887c7ed Hymini STM32F4: Rename files for better conformance to naming conventions 2015-03-21 09:42:09 -06:00
Gregory Nutt
d2c2203f38 Mikroe STM32F4: Rename files for better conformance to naming conventions 2015-03-21 09:35:04 -06:00
Gregory Nutt
148c16c75e Spark: Rename files for better conformance to naming conventions 2015-03-21 09:26:53 -06:00
Gregory Nutt
95964ec50d Olimex STM32 P107: Rename files for better conformance to naming conventions 2015-03-21 09:20:56 -06:00
Gregory Nutt
6ddf1acab2 Olimex STM32 P207: Rename files for better conformance to naming conventions 2015-03-21 09:17:03 -06:00
Gregory Nutt
7859a83213 Shenzhou: Rename files for better conformance to naming conventions 2015-03-21 09:10:42 -06:00
Gregory Nutt
689d35ad4b STM32 Tiny: Rename files for better conformance to naming conventions 2015-03-21 09:01:18 -06:00
Gregory Nutt
6143eaec62 mbed: Rename files for better conformance to naming conventions 2015-03-21 08:31:05 -06:00
Gregory Nutt
12aabb985f STM3220G-EVAL: Rename files for better conformance to naming conventions 2015-03-21 08:22:00 -06:00
Gregory Nutt
06f39f6af6 Maple: Rename files for better conformance to standards 2015-03-21 07:35:40 -06:00
Gregory Nutt
e83339891e SAM3U-EK: Rename to better conform to naming standard 2015-03-21 06:52:32 -06:00
Gregory Nutt
9671a123cf STM32F3 Discovery: Rename files to conform better with naming convention 2015-03-21 06:36:28 -06:00
Gregory Nutt
56e24b561f Add Olimexino-STM32 board support from David Sidrane 2015-03-20 18:00:10 -06:00
Gregory Nutt
8712f8b587 Refresh Configuration 2015-03-20 17:45:10 -06:00
Gregory Nutt
6156d5f2fe SAMV71-XULT: Add support for a ConfigData device on the 256 AT24 EEPROM 2015-03-19 14:53:05 -06:00
Gregory Nutt
dd50e03666 SAMV7: Add a sneak internal interface that will allow us to set the MAC address before NSH even starts 2015-03-18 17:23:40 -06:00
Gregory Nutt
6763128345 SAMV7: Updates to Ethernet driver based on comparison with Atmel sample code. Add configuration for other PHY GPIOs. Still no Ethernet interrupts 2015-03-18 15:55:00 -06:00
Gregory Nutt
e7c09fe9cb PIC32MZ: More updates from David Sidrane 2015-03-18 07:34:39 -06:00
Gregory Nutt
480bb3c395 Cosmetic update to README 2015-03-17 17:10:44 -06:00
Gregory Nutt
6dd93c801d PIC32MZ: Changes that will permit building of the PIC32MZ Start Kit configuration using MPLAB and the XC32 toolchain. From David Sidrane 2015-03-17 14:50:11 -06:00
Gregory Nutt
714af6ebb8 SAMV7 Ethernet: Support getting IP address from the XULT AT24 EEPROM 2015-03-17 14:29:41 -06:00
Gregory Nutt
32aadd9cc2 SAMV7: Quick'n'dirty port of the SAMA5D4 Ethernet MAC driver to the SAMV7. Still some unresovled issues with DCache handling 2015-03-16 13:51:37 -06:00
Gregory Nutt
f60f22258a Trivial update to FAT, comments, README 2015-03-15 15:06:17 -06:00
Gregory Nutt
28ead380ea This commit enables HSMCI functionality in the SAMV71-XULT. TX DMA is, unfortunately, currently disabled. 2015-03-15 12:17:39 -06:00
Gregory Nutt
ccc19408f2 Update README files 2015-03-15 10:22:14 -06:00
Gregory Nutt
5fcdb09791 SAMA5: Fix a bug in SAMA5 HSMCI. The bitfield mask and shift values were reversed resulting in a trashed value for the number of blocks in the BLOCKR register. This was sufficient to prevent DMA writes from working. 2015-03-15 09:35:48 -06:00
Gregory Nutt
85b9a7f1a5 SAMV7: Costmetic changes to SDRAM logic 2015-03-14 13:58:34 -06:00
Gregory Nutt
3b0615ece8 SAMV7: More SDRAM logic. It does still does not work 2015-03-14 13:27:00 -06:00
Gregory Nutt
cc497202ed SAMV71-XULT: Add support for SDRAM (unverified) 2015-03-14 11:00:46 -06:00
Gregory Nutt
d5377842ea SAMV7-XULT: Build support for SDRAM (SDRAM init still missing) 2015-03-14 09:16:27 -06:00
Gregory Nutt
4ebeeecb7b Fix some typos in comments and conditioned out code 2015-03-14 09:14:51 -06:00
Gregory Nutt
fbf36e2b1e Update README 2015-03-14 07:50:03 -06:00
Gregory Nutt
361d4a3fac SAMV71-XULT: Bring HSMCI and auto-mounter support from SAMA5D4-EK 2015-03-13 09:27:16 -06:00
Gregory Nutt
639a2c7fd2 Update to PIC32MZ README from David Sidrane 2015-03-13 06:57:58 -06:00
Gregory Nutt
4580af6d0b SAMV7: Quick'n'dirty port of the SAMA5 HSMCI driver to the SAMV7 2015-03-12 18:03:41 -06:00
Gregory Nutt
743fd5ac50 SAMV71: Quick'n'dirty port of the SAMA5 SSC driver to the SAM7. The IP is compatible but there are still some DMA- and Cache-related issues that need to be worked out. 2015-03-12 16:00:38 -06:00
Gregory Nutt
b4b59f928f Minor update to README 2015-03-12 13:43:54 -06:00
Gregory Nutt
da3233a527 SAMV71-XULT: Enable I2C and the I2C tool in the NSH configuration 2015-03-12 12:27:06 -06:00
Gregory Nutt
90bc4b81ee SAMV7-XULT: Integrate button support and apps/examples/buttons into the NSH configuration 2015-03-11 14:41:58 -06:00
Gregory Nutt
1a68ee6824 Update README 2015-03-11 12:32:00 -06:00
Gregory Nutt
ca8165dd10 SAMV71-XULT: Enable 64-bit floating point support 2015-03-11 12:30:14 -06:00
Gregory Nutt
da844f1a88 SAMV71-XULT: Switch to the ARM GNU tools for Embbeded tools that actually support Cortex-M7 2015-03-11 12:16:27 -06:00
Gregory Nutt
508d96b571 SAMV7-XULT: Enable I- and D-caches, correct polaty of LEDs 2015-03-11 11:23:19 -06:00
Gregory Nutt
e8e357cc1d PIC32MZ: Fixes from Kristopher Tate 2015-03-11 10:25:51 -06:00
Gregory Nutt
e2a6b7f5b0 SAMV7-XULT: Switch back to the CodeSourcery tools 2015-03-11 10:24:43 -06:00
Gregory Nutt
834072815b SAMV71-XULT: Some bugfixes from early bring-up work 2015-03-10 16:11:28 -06:00
Gregory Nutt
caea44a624 Fix a case in mq_timedsend() where the return errno value was being overwritten 2015-03-10 12:05:33 -06:00
Gregory Nutt
4c6057eca1 mq_timedsend(): Do check for time errors if the message queue is not full. Noted by Freddie Chopin 2015-03-10 09:42:35 -06:00
Gregory Nutt
36e88e504a SAMV7: Update floating point and TCM configuration options. Update TODO list. Update comments. Refresh a configuration 2015-03-10 07:50:32 -06:00
Gregory Nutt
1b4e32ef20 Update README 2015-03-09 19:58:59 -06:00
Gregory Nutt
d3033efa9c Cortex-M7: Add cache operations 2015-03-09 15:41:48 -06:00
Gregory Nutt
cfca6b08c5 SAMV71-XULT: Add support for on-board LEDs. Includes partial support for on-board buttons. Some corrections fo to egg-stk37000 and sam4e-ek discovered during leveraging. Add board READEM.txt file 2015-03-09 08:23:09 -06:00
Gregory Nutt
2cb3c03678 SAMV7: Add serial driver 2015-03-08 10:15:42 -06:00
Gregory Nutt
3f35f7ff07 SAMV7-XULT: At 3.3V/300MHz, FLASH should require only 4 wait states 2015-03-08 08:41:35 -06:00
Gregory Nutt
967e8bbc7b SAMV71-XULT: Add heap allocation logic 2015-03-07 11:46:54 -06:00
Gregory Nutt
1b193454d7 SAMV7-XULT: Disable networking for now 2015-03-07 11:21:22 -06:00
Gregory Nutt
e2b7dde641 SAMV71-XULT: Switch to the devkitARM toolchain 2015-03-07 11:15:49 -06:00
Gregory Nutt
b3403dee6a SAMV7: Add basic clock and timer ISR configuration logic 2015-03-07 10:32:47 -06:00
Gregory Nutt
4e516beccf SAMV71-XULT: Add linker scripts 2015-03-06 12:46:12 -06:00
Gregory Nutt
36d161fc2b SAMV71: More updates on the way to a clean build. Still more to do to complete that journey 2015-03-06 12:13:09 -06:00
Gregory Nutt
4cde63eead Cortex-M7/SAMV71-XULT: Various fixes for building Cortex-M7 with SAMV71. 2015-03-06 10:53:57 -06:00
Gregory Nutt
d18ed4569c Add a bare bones framework that will do nothing more than support configuration for the Atmel SAMV71 Xplained Ultra board. Very much a work in progress. 2015-03-06 08:56:44 -06:00
Gregory Nutt
e11e731b22 Refresh configuration 2015-03-06 08:26:01 -06:00
Gregory Nutt
9bbad2a56c Refresh configuration 2015-03-05 11:25:10 -06:00
Gregory Nutt
76007d28f5 Add support for dumping board-specific information on assertion. From David Sidrane 2015-03-04 07:00:29 -06:00
Gregory Nutt
74ab89d6fb PIC32MX SPI: Fix typos in Kconfig; Move constant SPI config data to ROM-able const structure 2015-03-03 10:06:49 -06:00
Gregory Nutt
ffee793745 PIC32MZ: Default SPI configuration setting is backward; refresh configuration 2015-03-03 09:16:10 -06:00
Gregory Nutt
3df273658c PIC32MZ Starter Kit: Add support for on-board buttons 2015-03-02 10:01:10 -06:00
Gregory Nutt
a68f1558f5 Update README 2015-03-01 10:52:44 -06:00
Gregory Nutt
dd288446e5 Update README file 2015-03-01 09:44:44 -06:00
Gregory Nutt
06f8baf709 PIC32MZ: Add ability to select flash ECC options 2015-03-01 09:08:44 -06:00
Gregory Nutt
e2e7c791c1 Refreshed Spark Configurations 2015-02-28 15:44:58 -06:00
Gregory Nutt
64e8b5624c PIC32MZ: Fix reserved RAM for MPLABX; Revert FPLLRNG calculation; Fix maximum DMTCNT value 2015-02-28 12:49:03 -06:00
Gregory Nutt
80f298ebf7 PIC32MZ: Fix some configuration settings and POSC mode should be external clock 2015-02-28 11:54:47 -06:00
Gregory Nutt
6f6d73d757 PIC32MZ: Add an option to use the MIPS32 or the microMIPS ISA 2015-02-28 08:22:37 -06:00
Gregory Nutt
503d2915c6 Rename all use of up_boardinitialize(). Should not use common microprocessing naming convention but rather the microprocessor-specific naming conventioni 2015-02-28 07:14:37 -06:00
Gregory Nutt
12d61531aa Move board_ prototypes from arch.h to board.h 2015-02-27 20:02:03 -06:00
Gregory Nutt
f75184b5ac configs/: board function prototypes are now in include/nuttx/board.h. Remove from board header file; Add inclusion of nuttx/board.h to all files referencing board functions 2015-02-27 18:49:24 -06:00
Gregory Nutt
d80455bbce configs/: Remove prototypes of board_led* functions from all board header files 2015-02-27 17:32:01 -06:00
Gregory Nutt
55e21bf045 PIC32MZ: Correct a few more DEVCFG issues 2015-02-27 16:20:28 -06:00
Gregory Nutt
98d34e4cf8 Minor correction to toolchain path, comments 2015-02-27 13:14:41 -06:00
Gregory Nutt
eabf54e7d8 PIC32MZ: Review DEVCFG setting; adjust a few to match example code 2015-02-27 10:54:18 -06:00