9
0
Fork 0
Commit Graph

10826 Commits

Author SHA1 Message Date
Gregory Nutt b81919576c SPI: Add a board-specific SPI device value 2015-03-02 10:17:12 -06:00
Gregory Nutt 7d48dc09f3 PIC32MZ Starter Kit: Add support for on-board buttons 2015-03-02 10:01:10 -06:00
Gregory Nutt 3b95bac0ac Update ChangeLog 2015-03-02 09:59:08 -06:00
Gregory Nutt acdc8c1dcc PIC32MZ: Implement support for IO port interrupts 2015-03-02 09:24:43 -06:00
Gregory Nutt bfd5cedbe4 Update README 2015-03-01 10:52:44 -06:00
Gregory Nutt 62a3d745e7 Update README file 2015-03-01 09:44:44 -06:00
Gregory Nutt 33ec7cbf43 PIC32MZ: Add ability to select flash ECC options 2015-03-01 09:08:44 -06:00
Gregory Nutt a983a4ab7c Refreshed Spark Configurations 2015-02-28 15:44:58 -06:00
Gregory Nutt 42f742c4be PIC32MZ: Fix yet another error in DEVCFG settings 2015-02-28 14:35:40 -06:00
Gregory Nutt 1453d08016 PIC32MZ: More fixups to DEVCFG settings. Still can't debug 2015-02-28 14:18:22 -06:00
Gregory Nutt 362f0c882a PIC32MZ: Ooops DMTCNT maximum value still bad 2015-02-28 13:48:16 -06:00
Gregory Nutt 22326445ec PIC32MZ: Fix reserved RAM for MPLABX; Revert FPLLRNG calculation; Fix maximum DMTCNT value 2015-02-28 12:49:03 -06:00
Gregory Nutt 3e7f22d582 PIC32MZ: Fix some configuration settings and POSC mode should be external clock 2015-02-28 11:54:47 -06:00
Gregory Nutt 5f990259ed PIC32MZ: Add an option to use the MIPS32 or the microMIPS ISA 2015-02-28 08:22:37 -06:00
Gregory Nutt 3c73217003 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 87994b5856 Update comment and documentation for board interfaces 2015-02-28 06:46:19 -06:00
Gregory Nutt 06c1f6195d Remove some prototypes from arch.h that do not belong there 2015-02-27 20:06:11 -06:00
Gregory Nutt 29d8eb786a Move board_ prototypes from arch.h to board.h 2015-02-27 20:02:03 -06:00
Gregory Nutt 12da94c354 Minor documentation update 2015-02-27 18:51:47 -06:00
Gregory Nutt aa622de663 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 f29a691c03 configs/: Remove prototypes of board_led* functions from all board header files 2015-02-27 17:32:01 -06:00
Gregory Nutt 3de897cd20 Update ChangeLog 2015-02-27 17:23:00 -06:00
Gregory Nutt b2f95886d4 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 09e5fb9178 included/nuttx/board.h: Move all board common prototypes to this header file 2015-02-27 17:17:42 -06:00
Gregory Nutt fce03703d1 PIC32MZ: Correct a few more DEVCFG issues 2015-02-27 16:20:28 -06:00
Gregory Nutt f3b8fe7cf0 Minor correction to toolchain path, comments 2015-02-27 13:14:41 -06:00
Gregory Nutt 5e3a3cbca8 PIC32MZ: Review DEVCFG setting; adjust a few to match example code 2015-02-27 10:54:18 -06:00
Gregory Nutt 9f92936a07 Update ChangeLog 2015-02-27 08:27:25 -06:00
Gregory Nutt 798444f612 Networking: Improve the network device registration logic. When multiple link types are used, modify how each interface number is assigned to the device name by incrementing the device number individually for each interface link type. From Max Neklyudov. 2015-02-27 08:23:14 -06:00
Gregory Nutt 76fd203ea4 Fix a list handling error in netdev_unregister(). From Max Neklyudov 2015-02-27 08:01:31 -06:00
Gregory Nutt d4e59915c6 PIC32MZ: Fix some repeated typos and work around an issue with passing defined parameters to a macro that takes multiple parameters 2015-02-26 15:39:57 -06:00
Gregory Nutt 8fb4981a49 PIC32MZ: Add logic to configure peripheral pins for the selecte UARTs 2015-02-26 15:05:11 -06:00
Gregory Nutt aaf210950f PIC32MZ: Add peripheral pin selection register definitions 2015-02-26 13:19:40 -06:00
Gregory Nutt dc4cb98d12 Costmetic updates comments and style; Add NFS dependency on IPv4 2015-02-26 06:04:23 -06:00
Gregory Nutt 30ede997c3 Add BSD and SYSV types to sys/types to simplify porting. From Max Neklyudov 2015-02-25 14:01:14 -06:00
Gregory Nutt 552e511b1d Tiva ADC: Drive updates from Calvin Maguranis 2015-02-25 13:38:22 -06:00
Gregory Nutt dea1852c9f PIC32MX/Z: Partial review of PIC32MZ cp0 register -- need to do more; Also found issues with definitions for PIC32MX -- need to be retested 2015-02-25 13:33:09 -06:00
Gregory Nutt 3dab31e5fd PIC32MZ: Add file for GPIO interrupt support. There are issues so configuration is EXPERIMENTAL for now 2015-02-25 11:09:04 -06:00
Gregory Nutt 1851c98ac7 PIC32MZ: Add IOPort header file and GPIO configuration logic 2015-02-25 10:43:12 -06:00
Gregory Nutt 28fe426d29 Adjust microMIPS compile options to enable interlinking with 32-bit code 2015-02-25 09:54:48 -06:00
Gregory Nutt b332890dce Add some definitions expected by NFS. Noted by Orbital Fox 2015-02-25 08:59:16 -06:00
Gregory Nutt f877262f7c Fix NFS compile problem with CONFIG_NFS_STATISTICS=y 2015-02-25 08:58:30 -06:00
Gregory Nutt e67abe226d Add some Kconfig dependencies to reduce possibility of bad configurations. Suggested by OrbitalFox 2015-02-25 08:43:25 -06:00
Gregory Nutt af6c065d45 netinet/in.h: Add some IPv6 macros 2015-02-25 08:26:40 -06:00
Gregory Nutt 189bbe6081 SAM4CM free-running time: Change overflow type from uint16 to uint32. From Max Neklyudov. 2015-02-25 08:12:31 -06:00
Gregory Nutt c02ffa0fc1 Update ChangeLog 2015-02-25 08:07:55 -06:00
Gregory Nutt ee5b0f8111 Extend the fd_set type definition so that it can handle more than 32 descriptors (if so configured). From Max Neklyudov 2015-02-25 08:05:42 -06:00
Gregory Nutt f82b6d2871 Eliminate some warnings 2015-02-25 08:05:35 -06:00
Gregory Nutt 3081418946 Update ChangeLog 2015-02-25 07:48:02 -06:00
Gregory Nutt f9aaaea355 Fix places where the errno value was being overwritten by subsequent actions so that the returned errno value was incorrect. From Max Neklyudov. 2015-02-25 07:45:04 -06:00
Gregory Nutt d007ca9840 Update ChangeLog 2015-02-25 07:26:07 -06:00
Gregory Nutt 319b419c23 When an RTC is used, clock_systimespec() must subtract the basetime from the RTC time 2015-02-25 07:24:03 -06:00
Gregory Nutt 83bb4ede66 Refresh configuration 2015-02-25 07:22:58 -06:00
Gregory Nutt 57113a3ec8 Update ChangeLog 2015-02-24 20:28:01 -06:00
Gregory Nutt ad0da85e6e Fix PTHREAD_COND_INITIALIZER 2015-02-24 20:26:42 -06:00
Gregory Nutt 327a500d8b PIC32MZ: Add serial driver 2015-02-24 19:44:25 -06:00
Gregory Nutt 5978ab011d PIC32MZ: Add low level UART support 2015-02-24 17:23:56 -06:00
Gregory Nutt 20855bdf14 PIC32MZ: Add UART register definition header file 2015-02-24 17:00:14 -06:00
Gregory Nutt 458bbf4f79 PIC32MZ: Add error exception handling and interrupt decode logic 2015-02-24 16:11:30 -06:00
Gregory Nutt ab08c57a4a PIC32MZ: Add support for a timer interrupt 2015-02-24 15:36:08 -06:00
Gregory Nutt a60dde4b23 PIC32MZ: Add interrupt controller support 2015-02-24 14:50:54 -06:00
Gregory Nutt 1c414cf98f PIC32MZ: Add interrupt controller register definitions 2015-02-24 13:16:04 -06:00
Gregory Nutt ef4f3d4338 PIC32MX: Standardize of naming in comments 2015-02-24 11:32:15 -06:00
Gregory Nutt 11209a27ac PIC32MZ: Add Oscillator header file; Add logic to set up peripheral clocks on reset 2015-02-24 11:16:32 -06:00
Gregory Nutt d8874e37bd PIC32MZ: Add beginnings of CPU initialization logic. Still some bad logic for setting up peripheral clocking 2015-02-24 09:30:30 -06:00
Gregory Nutt 39191816f6 Update ChangeLog 2015-02-24 07:30:45 -06:00
Gregory Nutt 9fb079bae0 fs/aio: Corrrect some backward tests in aio_read() and aio_write(): Socket descriptors have higher numbers than file descriptors. In aio_contain(), Copy u.ptr (void *) when initializing aioc and not the case specific u.aioc_filep. From Michal Ulianko. 2015-02-24 07:29:47 -06:00
Gregory Nutt 62d3709a59 Merge commit '45e0cf1f4a7664974933db2a408ccea6acad4eff' 2015-02-24 07:13:48 -06:00
Gregory Nutt 4aff813b3c Trivial update to some comments 2015-02-24 06:41:28 -06:00
sauttefk 45e0cf1f4a Fix SSI TX and RX legacy mapping of TM4C1294NC 2015-02-24 03:31:12 +01:00
sauttefk eda82a31de EK-TM4C1294XL Launchpad has no SD-card socket 2015-02-24 03:29:02 +01:00
Gregory Nutt 5ef1c7139a CAN driver: Another Ooops... Cannot save the updated driver open count if the we fail to initialize the CAN driver, causing the open to fail 2015-02-23 20:14:39 -06:00
Gregory Nutt 53344c97c1 CAN driver: Oop. unlink method does not exist if there operaions on the pseudo filesystem are disabled 2015-02-23 19:49:19 -06:00
sauttefk 814696561e Fixed cut & paste error. corrected naming of Tiva series developement
boards.
2015-02-24 02:36:37 +01:00
Gregory Nutt 701fc273a5 Update ChangeLog 2015-02-23 19:31:59 -06:00
Gregory Nutt eeb943acd6 in nuttx/drivers/can.c can_open function:
this line "dev->cd_ocount = tmp;" needs to be moved a few lines down otherwise the open count will only be incremented from 0 to 1. This causes problems when trying to open the can bus from two different tasks.

SourceForge Patch #46 from Anonymous
2015-02-23 19:28:52 -06:00
Gregory Nutt 1693e3393f PIC32MZ: Fix some PLL setup logic 2015-02-23 17:27:28 -06:00
Gregory Nutt 7a127f8451 PIC32MZ: Fix an error in the branch target of the hard-coded power up reset branch 2015-02-23 17:09:57 -06:00
Gregory Nutt a7bdb1603e PIC32MZ: Most related to start up file a FLASH device configuration setup 2015-02-23 16:36:35 -06:00
Gregory Nutt 36f3e47e3d PIC32MZ: Make sure that the microMIPS ISA is selected on all common MIPS32 assembly files when the PIC21MZ is selected 2015-02-23 12:09:34 -06:00
Gregory Nutt 39c38f8382 PIC32MZ: Resolve a PIC32 dependency in the generic MIPS32 code 2015-02-23 11:56:16 -06:00
Gregory Nutt 8742d74882 Some typos noted by David Sidrane 2015-02-23 11:49:02 -06:00
Gregory Nutt a2a22ce33d Update ChangeLog 2015-02-23 11:07:06 -06:00
Gregory Nutt add4b0c53d sfrtime: Missing implementation of %C (was being treated as %y). From Freddie Chopin 2015-02-23 11:05:07 -06:00
Gregory Nutt 33be1d058f Finishes PIC32MZ device configuration definitions 2015-02-23 09:58:34 -06:00
Gregory Nutt 7de6c3660e PIC32MZ: Add memorymap and devcfg header files 2015-02-22 16:21:12 -06:00
Gregory Nutt b34469d6c9 PIC32MZ: Framework for startup function. Still has too much PIC32MX garbage in it to be credible 2015-02-22 14:30:53 -06:00
Gregory Nutt 599650330f MIPS: Add some build support for the M14K and also for the PIC32MZ Starter Kit. Still a long way to go 2015-02-22 13:45:59 -06:00
Gregory Nutt 2f19e3752d Remove support for obsolete PIC32 toolchain configuration names 2015-02-22 12:14:20 -06:00
Gregory Nutt 8d978e686b Update ChangeLog 2015-02-22 10:55:23 -06:00
Gregory Nutt c7a488cb35 PIC32MZ: Add just enough PIC32MZ logic that we can run 'make menuconfig' 2015-02-22 10:53:24 -06:00
Gregory Nutt e3c3da17d3 Update ChangeLog 2015-02-22 08:48:11 -06:00
Gregory Nutt fccbe4f3c5 Add basic board support for the PIC32MZ (can't build yet of course because there is not yet any PIC32MZ support) 2015-02-22 08:47:09 -06:00
Gregory Nutt 2f194dab8d Update ChangeLog 2015-02-21 19:45:31 -06:00
Gregory Nutt c90b4c2815 Add path for Pinguino tools. Need to be careful because bin directory has an incompatible make.exe in it 2015-02-21 19:42:46 -06:00
Gregory Nutt 151afb5128 Fix a typo that prevents building PIC32... How long has that been there? 2015-02-21 19:41:59 -06:00
Gregory Nutt f640800a29 Current Pinguino toolchain uses prefix p32 instead of mips 2015-02-21 19:41:26 -06:00
Gregory Nutt 3dcd6ea600 pic32mx-starterkit: Move scripts to common directory. Pinguino build needs to use a different linker script 2015-02-21 19:40:50 -06:00
Gregory Nutt 0b43c145c2 pic32mx-starterkit: Move scripts to common directory. Pinguino build needs to use a different linker script 2015-02-21 19:40:22 -06:00
Gregory Nutt 394bddff31 Refresh configurations 2015-02-21 19:38:56 -06:00
Gregory Nutt f04539dec3 Rename pic32-starterkit to pic32mx-starterkit to make room in the namespace for the pic32mz-starterkit 2015-02-21 18:41:17 -06:00
Gregory Nutt 5c1d7cc02a STM32: Fix for compilation introduced by last backup RAM change. Not sure it it is correct, be now things do compile 2015-02-21 17:51:03 -06:00
Gregory Nutt db3ba2bf09 Fix some minor typos in the uClibc++ install script 2015-02-21 15:54:11 -06:00
Gregory Nutt 8762c7a0b6 Oops.. accidentally deleted a line from the ChangeLog 2015-02-21 15:46:13 -06:00
Gregory Nutt 18b3c169f7 Update ChangeLog 2015-02-21 15:19:13 -06:00
Gregory Nutt e3e07e56e2 Adds the ability to use the STM32F2 and STM32F4 Battery Backedup SRAM in the file system. With an option to Save Panic context to one of the files. From David Sidrane. 2015-02-21 15:15:51 -06:00
Gregory Nutt 38eb8e9302 Changes to support fully write protecting the backup domain. N.B. stm32_pwr_enablebkp did not account for the delay from enable to the domain being writable. The KISS solution is a up_udelay. A more complex solution would be a negated write test with restore. From David Sidrane. 2015-02-21 14:53:33 -06:00
Gregory Nutt 5e36852209 Update ChangeLog 2015-02-20 13:42:27 -06:00
Gregory Nutt cfc4072b4f Tiva GPIO clean-up by Calvin Maguranis 2015-02-20 13:40:25 -06:00
Gregory Nutt ec664110c6 Update ChangeLog 2015-02-20 13:32:37 -06:00
Gregory Nutt 33197bf2cf Tiva: Move GPIIO prototypes out of arch/arm/include/tiva/irq.h to arch/arm/tiva/tiva_gpio.h where they belong 2015-02-20 13:31:43 -06:00
Gregory Nutt 5384efbef2 Update ChagneLog 2015-02-20 12:33:32 -06:00
Gregory Nutt 49a52a7b52 tm4c123g-launchpad: Add board button interrupt logic. From Calvin Maguranis 2015-02-20 12:32:39 -06:00
Gregory Nutt bc27c0d83f Porting Guide: Reorder some paragraphs for a clearer distinction of driver types 2015-02-20 11:36:56 -06:00
Gregory Nutt ed9901e15e Update porting guide to include some trivial description of the touchscreen controller interfaces 2015-02-20 10:41:09 -06:00
Gregory Nutt dd9e6b363a Update ChangeLog 2015-02-20 07:09:30 -06:00
Gregory Nutt 8d0aef2bb6 Fix some time value changes; mostly changing greater than 1000000000 to greater than or equal to 1000000000. From Juha Niskanen 2015-02-20 07:07:36 -06:00
Gregory Nutt 07b5b43b32 Add some comments 2015-02-19 11:47:34 -06:00
Gregory Nutt def91b011f Back out definition of mbstate_t. That is a mistake 2015-02-19 09:56:53 -06:00
Gregory Nutt db02980097 Add mbstate_t to wchar.h and cwchar 2015-02-19 09:21:35 -06:00
Gregory Nutt b971a1d237 Add an empty cwchar file 2015-02-19 06:32:10 -06:00
Gregory Nutt 5074467fa7 C++: Remove 'using ::timeval' from ctime. struct timeval was recently move to sys/time.h where it belongs. Now there are problems when it is referenced in ctime. Fixed by just removing it from ctime. Is that correct? or should ctime include sys/time.h? Noted by David Sidrane 2015-02-18 20:51:11 -06:00
Gregory Nutt 3d06cf2483 Update ChangeLog 2015-02-18 09:38:04 -06:00
Gregory Nutt dbc81f57aa VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled. 2015-02-18 09:34:58 -06:00
Gregory Nutt c875dcfd8a The RTC ioctl() method is now a configuration option 2015-02-18 08:23:10 -06:00
Gregory Nutt 1aa475c18f Add an IOCTL method to the RTC interface 2015-02-18 08:05:31 -06:00
Gregory Nutt 2393757b0b Fix a couple of typos in recent commit. Found by David Sidrane 2015-02-17 19:21:07 -06:00
Gregory Nutt 181f22ad0f Update ChangeLog 2015-02-17 17:00:12 -06:00
Gregory Nutt bd80b14e94 mkfatfs: use DMA memory for mkfatfs when needed
this makes mkfatfs use fat_dma_alloc() when CONFIG_FAT_DMAMEMORY is
set. This is needed to ensure mkfatfs operates with boards that use
DMA for microSD

From Andrew Tridgell via the PX4/NuttX repository
2015-02-17 16:57:15 -06:00
Gregory Nutt 3f741fa5ce Tiva ADC: Should not have its own ADC debug. Should use the common Analog debug 2015-02-17 14:54:56 -06:00
Gregory Nutt 685e23b288 Update ChangeLog 2015-02-17 13:53:33 -06:00
Gregory Nutt 1cdc318ab5 tm4c123g-launchad: Add ADC support. From Calvin Maguranis. 2015-02-17 13:52:17 -06:00
Gregory Nutt d1018d2050 Tiva: Updated files to allow for ADC triggering by the timer. I’ve cleaned up some parts of the ADC code, too, and fleshed out the PWM triggering ioctl. From Calvin Maguranis 2015-02-17 13:50:30 -06:00
Gregory Nutt 7be2bcbe43 NSH: The default priority of the network initialization thread should be lower. It is CPU intensive and can interfere with other operations 2015-02-17 13:14:50 -06:00
Gregory Nutt aa6fff4954 Ooops... accidentally backed out a good change. Must have had the wrong version in the editor 2015-02-17 12:47:48 -06:00
Gregory Nutt 688dc079a8 Tiva SPI: Cosmetic improvements 2015-02-17 12:45:47 -06:00
Gregory Nutt b9db9fd1bf Fix a typo: include vs incldue 2015-02-17 12:44:51 -06:00
Gregory Nutt ec161ddef3 include, not incldue 2015-02-17 09:56:43 -06:00
Gregory Nutt 53c6d40e29 Update ChangeLog 2015-02-17 08:28:15 -06:00
Gregory Nutt 6e65e8a115 Add a mostly-commented-out version of the standard netdb.h header file 2015-02-17 08:27:12 -06:00
Gregory Nutt b64e6efd81 Add support for the restrict keyword 2015-02-17 08:24:20 -06:00
Gregory Nutt 480fa9b477 Move some useful internal logic from recvfrom.c and udp_callback.c and put them in ip.h where they can be used more generally 2015-02-17 07:37:44 -06:00
Gregory Nutt 25392034e9 Move some useful internal macros from udp_send.c and put them in ip.h where they can be used more generally 2015-02-17 07:08:11 -06:00
Gregory Nutt 10f755ecba Update ChangeLog 2015-02-16 15:48:09 -06:00
Gregory Nutt 26c0c82e18 EFM32 USB Device: Is not basically functional with this change. From Pierre-noel Bouteville. 2015-02-16 15:45:49 -06:00
Gregory Nutt 98895db17d Purely cosmetic changes resulting from last review IPv6 UDP change 2015-02-16 15:23:02 -06:00
Gregory Nutt 32d8bf804b IPv4 mapping to IPv6 implementation. Just for UDP. From Macs Neklyudov 2015-02-16 14:33:58 -06:00
Gregory Nutt 3099a88d97 Fix a compilation error. From Macs Neklyudov 2015-02-16 14:30:15 -06:00
Gregory Nutt c9da991b3f Standardize some header files 2015-02-16 14:29:43 -06:00
Gregory Nutt 5ff06f08e4 Missed a Kconfig definition in the last commit 2015-02-16 10:41:12 -06:00
Gregory Nutt 2b0df9965c Updata ChangeLog 2015-02-16 07:20:04 -06:00
Gregory Nutt 20ec3d5e91 STM32 RTC: Extend the RTC interface to support reading subseconds. From Jussi Kivilinna 2015-02-16 07:18:09 -06:00
Gregory Nutt 2eba8afab5 Some files that now include sys/time.h should no longer include timer.h 2015-02-15 16:38:18 -06:00
Gregory Nutt 1169d36fd1 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
Gregory Nutt 0b34873242 Update ChangeLog 2015-02-15 13:02:29 -06:00
Gregory Nutt 093c95eb39 Move struct timveval from include/time.h to include/sys/time.h where it belongs. 2015-02-15 13:00:44 -06:00
Gregory Nutt edffe515d9 Add some trivial documentation for the RTC driver 2015-02-15 10:31:11 -06:00
Gregory Nutt 4c809d5ca1 Add support for RTC driver to the STM32F4-Discovery board 2015-02-15 10:11:01 -06:00
Gregory Nutt 5d9b977ff2 Remove an unused variable 2015-02-15 08:51:39 -06:00
Gregory Nutt 214bc50965 RTC: A little more clean-up of the RTC driver 2015-02-15 08:19:23 -06:00
Gregory Nutt 2724d87aed Stray semicolon caused compile failure when IPv6 enabled 2015-02-14 09:30:22 -06:00
Gregory Nutt 6053c8eb49 Update ChangeLog 2015-02-14 06:41:42 -06:00
Gregory Nutt 45cd51e3fc Networking: Divide net_intiialize() into net_setup() and net_initialize() to solve a chicken-and-egg problem. net_setup() must be caleld before up_initialize() is called so that networking data structures are ready to register new network devices.
net_initialize() now does only timer related operations and is called AFTER up_initialize() where the timers are configured.  This is really.
2015-02-14 06:36:53 -06:00
Gregory Nutt 0faee4135b Update ChangeLog 2015-02-13 18:39:43 -06:00
Gregory Nutt 71dc1af081 Back out commit d998cbdfa6 2015-02-13 18:32:15 -06:00
Gregory Nutt f32a6053b4 STM32 RTC: Implement the rdtime() method of the RTC lower half interface 2015-02-13 13:56:22 -06:00
Gregory Nutt 8eaf8c0dd5 Update ChangeLog 2015-02-13 13:46:20 -06:00
Gregory Nutt 5ec2a6aa5f Add some inclusions of nuttx/net.h to two files. Without these there can be compilation errors in certain configurations. From Max Neklyudov. 2015-02-13 13:43:19 -06:00
Gregory Nutt d998cbdfa6 Move the initialization of the networking subsystem to AFTER up_initialize is called. Fromo Macs Neklyudov. 2015-02-13 13:41:21 -06:00
Gregory Nutt 4bac7ce020 STM32 RTC driver lower half: Implement the settime method of the RTC interface 2015-02-13 13:36:15 -06:00
Gregory Nutt 9a5662c529 Update ChangeLog 2015-02-13 13:00:56 -06:00
Gregory Nutt 76f926df00 Break out a new internal interface, stm32_rtc_setdatetime(). This eliminates some un-necessary time conversions. From Freddie Chopin.
Add a skeleton implementation of the RTC lower half interface at arch/arm/src/stm32/stm32_rtc_lowerhalf.c.  This is just the framework for the RTC lower half.  None of the interface methods have yet been implemetned.
2015-02-13 12:56:58 -06:00
Gregory Nutt f610f38759 Update ChangeLog 2015-02-13 11:49:20 -06:00
Gregory Nutt 95436927da Add an RTC upper half driver. This is the driver that is documented in include/nutt/rtc.h 2015-02-13 11:49:04 -06:00
Gregory Nutt 7b6682a837 Move timer-related drivers from drivers/ to drivers/timers. 2015-02-13 10:30:06 -06:00
Gregory Nutt 08593d6ff6 Update ChangeLog 2015-02-13 10:10:11 -06:00
Gregory Nutt 7a6cb3b984 Removed all of the old, malformed RTC interface definitions from include/nuttx/rtc.h. The necessary prototypes have been removed, renamed, scattered to the wind, hidden under rocks, -- whatever it takes to make it clear that there is no RTC interface callable from application code. 2015-02-13 10:07:23 -06:00
Gregory Nutt 2437b86c55 Forgot to add a file in the last commit 2015-02-13 10:05:10 -06:00
Gregory Nutt b3260ea37b RTC: Remove all backdoor interfaces from rtc.h 2015-02-13 08:41:34 -06:00
Gregory Nutt dca2ea2ae2 Update ChangeLog 2015-02-13 06:22:35 -06:00
Gregory Nutt 2800ba8789 Fix a problem in clock_systimer64 that occurs when (1) the 64-bit system time is enabled, and (2) the value of CONFIG_USEC_PER_TICK is less than 1 millisconds (such as when using the tickless mode of operation). In that case, the convertion of time to 64-bit millisecond value in clock_systmer64() causes some bad times to be returned. Time was converted to milliseconds, then to configured ticks. Precision was lost in the millisecond convertion.
The fix is to first convert time to a 64-bit microsecond value, then to the configured tick value.

Noted by David Sidrane.
2015-02-13 06:13:47 -06:00
Gregory Nutt e3e15b1918 Update dates in all skeleton files 2015-02-13 06:13:34 -06:00
Gregory Nutt 4d8e351783 Cosmetic updates to comments 2015-02-12 13:44:22 -06:00
Gregory Nutt 5c502e90c2 Renamed SPIDEV_GSENSOR to SPIDEV_ACCELEROMETER just because it looks better beside SPIDEV_BAROMETER 2015-02-12 12:26:19 -06:00
Gregory Nutt 573890a3a6 Update ChangeLog 2015-02-12 12:21:05 -06:00
Gregory Nutt 50e1925028 Add driver for the Feescale MPL115A baramoter. From Alan Carvalho de Assis 2015-02-12 12:18:43 -06:00
Gregory Nutt b2cee6ced0 Viewtool STM32F107: Add support for an optional, add-on Freescale MPL115A baramoter. From Alan Carvalho de Assis 2015-02-12 12:08:06 -06:00
Gregory Nutt 0ba0ab5086 Update ChangeLog 2015-02-12 11:17:23 -06:00
Gregory Nutt 7881095dcc gettimeofday() and settimeofday(): Move gittimeofdady() from sched/clock to libc/time. All remove gettimeofday() from NuttX system calls. It is only a wrapper around clock_settime() and does not need a trap. gettimeofday() is no longer tried as a core OS interface.
gettimeofday has been decremented in POSIX 2008.  settimeofday() was never part of POSIX, but I decided to add it to libc as well just for symmetry.
2015-02-12 11:10:46 -06:00
Gregory Nutt 3d8e5f1f98 More updates to README files 2015-02-12 09:06:35 -06:00
Gregory Nutt 5a09b5ff89 Updated README files 2015-02-12 07:29:11 -06:00
Gregory Nutt acd2ff7526 Purely costmetic updates 2015-02-12 07:05:28 -06:00
Gregory Nutt 76fb8f5f29 The TM4C1294 Launchpad has no on-board TMP100 temperature sensor 2015-02-12 06:49:11 -06:00
Gregory Nutt 2534662256 Refresh configurations 2015-02-12 06:48:18 -06:00
Gregory Nutt 05b78b1beb Update ChangeLog 2015-02-11 18:30:01 -06:00
Gregory Nutt 58f170a945 Review/update of the TM4C1294 Launchpad code 2015-02-11 18:27:38 -06:00
Gregory Nutt 24beb4b587 Merge commit 'd000b0ac237cb6b17e3d355b55250c3ca7e9f2d6' 2015-02-11 18:07:03 -06:00
sauttefk d000b0ac23 Add TI EK-TM4C1294XL launchpad support 2015-02-12 00:30:38 +01:00
Gregory Nutt e3257dea51 Prep for 7.8 release 2015-02-11 11:05:45 -06:00
Gregory Nutt 8727159fa3 Networking: Fix a compilation error recently introduced into the raw packet logic 2015-02-11 09:30:30 -06:00
Gregory Nutt 5591e68682 Update Documentation 2015-02-11 07:26:26 -06:00
Gregory Nutt a6f4d89498 Update ChangeLog 2015-02-11 07:18:40 -06:00
Gregory Nutt 1c35a18d92 Add support for Freedom KL26Z board. From Derek B. NoonBurg 2015-02-11 07:18:06 -06:00
Gregory Nutt 2f0aafaf6c Kinetis: Add architectural support for the K26Z128VLH4. From Derek B. Noonburg 2015-02-11 07:15:45 -06:00
Gregory Nutt bbd0fd719b Update ChangeLog 2015-02-11 06:37:40 -06:00
Gregory Nutt df682c6c14 Some extensions to netinet/in.h adding some Linux compatible defintions. From Macs N. 2015-02-11 06:35:34 -06:00
Gregory Nutt 3116daedca LP17 Ethernet Driver: Fix some compile problems when IPv6 is enabled 2015-02-10 15:23:11 -06:00
Gregory Nutt 7351534e40 Update ChangeLog 2015-02-10 14:06:07 -06:00
Gregory Nutt c1a49b010c LPC17xx: Add IPv6 support to the LPC17 Ethernet driver. Untested... I no longer have a proper environment for LPC17 debug. 2015-02-10 14:04:08 -06:00
Gregory Nutt bfece6b55c Added a forward reference to struct inode to avoid warning about mismatching types in assignemnt 2015-02-10 13:41:49 -06:00
Gregory Nutt 083df51e2d Update ChangeLog 2015-02-10 11:13:59 -06:00
Gregory Nutt a8b9ffdf7d 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 ca68256599 Refresh configurations 2015-02-10 08:48:02 -06:00
Gregory Nutt 5924f10d51 Update ChangeLog 2015-02-10 06:56:20 -06:00
Gregory Nutt 9298ea5fce Networking: Fix several build errors/warning with IPv4 + IPv6 + multiple networks are enabled. 2015-02-10 06:54:10 -06:00
Gregory Nutt 87ce2109b5 Refresh configuration 2015-02-10 06:28:41 -06:00
Gregory Nutt 48366f31fa Update changelog 2015-02-10 06:28:09 -06:00
Gregory Nutt 637fd9c6bb IOB Configuration: Default number of IOB changes must be more than zero is UDP read-ahead is enabled. 2015-02-10 06:25:55 -06:00
Gregory Nutt 56d4fb4702 Fix some warning 2015-02-09 18:24:31 -06:00
Gregory Nutt 765b9a40c8 Refresh Configuration 2015-02-09 18:24:11 -06:00
Gregory Nutt d42bb9dfb1 Update ChangeLog 2015-02-09 18:21:12 -06:00
Gregory Nutt ebe0263238 net/: Lots of build problems introduced into multiple NIC support. Many places where conditional logic based on CONFIG_NETDEV_MULTINIC is confused with CONFIG_NET_MULTILINK. Lots of code changed with IPv6 that was never compiled with MULTINIC enabled. Still some problem with parameter passing. 2015-02-09 18:15:34 -06:00
Gregory Nutt 8f6349163c Update ChangeLog 2015-02-09 17:19:06 -06:00
Gregory Nutt 0fbe06eb15 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 44b3a3bcae Update ChangeLog 2015-02-09 16:37:01 -06:00
Gregory Nutt 0cc86a9d2e mtd/ramtron.c: Table of parts is not terminated properly if CONFIG_RAMTRON_FRAM_NON_JEDEC is not defined 2015-02-09 16:35:58 -06:00
Gregory Nutt a591d36f94 Update ChangeLog 2015-02-09 16:18:24 -06:00
Gregory Nutt 87b3ae4e29 Big, very risky change: Remove all occurrences of up_maskack_irq() that disable and enable interrupts with up_ack_irq() that only acknowledges the interrupts. This is only used in interrupt decoding logic. Also remove the logic that unconditionally re-enables interrupts with the interrupt exits. This interferes with the drivers ability to control the interrupt state. This is a necessary, sweeping, global change and unfortunately impossible to test. 2015-02-09 16:12:11 -06:00
Gregory Nutt 90a6366442 Update ChangeLog 2015-02-09 15:30:09 -06:00
Gregory Nutt 1ed7961661 SAMA5D4-EK: CONFIG_NET_NOINTS is now enabled in the nsh and ipv6 configurations. 2015-02-09 15:27:14 -06:00
Gregory Nutt 28801220ae SAMA5D Ethernet: Add support for CONFIG_NET_NOTINTS so that the driver can operate from the work queue thread instead of doing everything from the interrupt level. 2015-02-09 15:26:05 -06:00
Gregory Nutt 5367a46ad6 ARMv7-A interrupt handler: Should not automatically re-enable interrupts on interrupt return. That interferes with the driver's ability to manage interrupts. 2015-02-09 15:24:31 -06:00
Gregory Nutt 4dd93ba43f Oops... Conditioned on IPv4 wheren IPv6 was intended 2015-02-09 14:16:32 -06:00
Gregory Nutt 0b91dfa266 Fix IPv4-dependend debug output 2015-02-09 13:18:31 -06:00
Gregory Nutt bdbe6f2755 Fix some warnings in audio code causing by fixing the prototypes of mq_send() and mq_receive() 2015-02-09 12:50:04 -06:00
Gregory Nutt 516a190ae2 Networkin: Fix an error in network driver skeleton file 2015-02-09 12:49:09 -06:00
Gregory Nutt cf4b239ab7 Oop.. forgot a semicolon in a preceding commit 2015-02-09 11:16:01 -06:00
Gregory Nutt 77ad0082f4 Update ChangeLog 2015-02-09 10:53:22 -06:00
Gregory Nutt 700fbf5aa3 SAMA5D4-EK: Add a configuration for testing IPv6 2015-02-09 10:51:05 -06:00
Gregory Nutt b3ccbe0ec4 SAMA5D4 EMAC: Add support for Multicast address matching and IPv6 2015-02-09 10:50:38 -06:00
Gregory Nutt 748282dba2 Update ChangeLog 2015-02-09 08:53:52 -06:00
Gregory Nutt b8734eef5f execl(): Fix bad logic in counting the number of arguments. This could never have worked. Noted by Pierre-noel Bouteville 2015-02-09 08:53:00 -06:00
Gregory Nutt d68949a6aa Update TODO 2015-02-09 08:51:27 -06:00
Gregory Nutt 118a4ae5e0 Update ChangeLog 2015-02-09 08:37:28 -06:00
Gregory Nutt ee202f14fc Convert all STM32F4-Discovery configurations (with base board) to configure the Ethernet driver to use the work queue (vs. interrupt level processing). 2015-02-09 08:34:52 -06:00
Gregory Nutt 0aa6421dec Add logic so that STM32 Ethernet drivier can avoid interrupt level processing and, instead, execute on the work thread. 2015-02-09 08:33:29 -06:00
Gregory Nutt e1f5738a8d Networking: Clean up and consolidate some clunky stuff by adding new net_timedwait() function 2015-02-09 07:50:10 -06:00
Gregory Nutt 933eaea874 Correct a attribution in a comment 2015-02-09 07:27:43 -06:00
Gregory Nutt ee85df5074 Update ChangeLog 2015-02-08 06:58:23 -06:00
Gregory Nutt baf972771e SYSLOG: Add an option to use the syslog'ing device as the system consolution. This option enables a low-level, write-only console device at /dev/console (similar to the low-level UART console device). From Pierre-noel Bouteville. 2015-02-08 06:53:24 -06:00
Gregory Nutt 3531542145 STM32 SPI: Clean-up asymmetric configuration of SPI6 2015-02-07 18:59:06 -06:00
Gregory Nutt ae389d6e72 Update ChangeLog 2015-02-07 14:02:08 -06:00
Gregory Nutt 59f3ab529a STM32 SPI: The source clock for SPI 4,5, and 6 should be PCLK2, not PCLK1 (for F411, F427, and F429). Per David Sidrane. 2015-02-07 13:59:45 -06:00
Gregory Nutt 75356d82da Updated Tiva ADC files 2015-02-06 16:56:12 -06:00
Gregory Nutt efccc9d987 Networking: Fix some errors that crept in with IPv6 2015-02-06 13:34:19 -06:00
Gregory Nutt a9d48ad618 Remove nutts/tools/astyle.sh 2015-02-06 12:48:01 -06:00
Gregory Nutt 98fc285af4 Remove inclusion of some un-necessary header files. 2015-02-06 08:50:53 -06:00
Gregory Nutt 0de29b3390 IPv6: Separate function that converts prefix lengths to a netmask 2015-02-06 08:11:09 -06:00
Gregory Nutt 1986e06406 Tiva ADC: Add Kconfig options for ADC. From Calvin Maguranis 2015-02-05 19:05:13 -06:00
Gregory Nutt 24be0995e3 Update ChangeLog 2015-02-05 18:01:57 -06:00
Gregory Nutt 7fb0573936 Forgot to add file in previous commit 2015-02-05 18:01:46 -06:00
Gregory Nutt 96e8334a10 Tiva ADC: Partial build support. Still missing Kconfg changes 2015-02-05 18:01:18 -06:00
Gregory Nutt 7e9b03ff1e tmv4c123g-launchpad: Add Tiva ADC support to the TM4C123G-Launchpad. From Calvin Maguranis. 2015-02-05 17:58:17 -06:00
Gregory Nutt 13779aa214 nuttx/configs/tm4c123g-launchpad/src/Makefile 2015-02-05 17:57:31 -06:00
Gregory Nutt 7337a859f8 Update ChangeLog 2015-02-05 17:42:52 -06:00
Gregory Nutt efecbbfd1b Tiva ADC: Adds a Tiva ADC driver. From Calvin Maguranis 2015-02-05 17:36:23 -06:00
Gregory Nutt f6ef06113d Tiva ADC: Register definitiona header file from Calvin Maguranis 2015-02-05 16:29:17 -06:00
Gregory Nutt 9fd3c5194a Make some conditional compilation consistent 2015-02-05 14:26:11 -06:00
Gregory Nutt a9e59ac77d Update ChangeLog 2015-02-05 13:55:36 -06:00
Gregory Nutt 834b92bbe9 Adds support for TM4C123G timers; integrates with the TM4C123G Launchpad. From Calvin Maguranis 2015-02-05 13:51:32 -06:00
Gregory Nutt e7496374b0 Update ChangeLog 2015-02-05 12:51:01 -06:00
Gregory Nutt 8ccaaec478 IPv6 fixes: Both ICMPv6 autonomous auto-configuration and the ICMPv6 router function appear to be fully functional. 2015-02-05 12:48:02 -06:00
Gregory Nutt 91477eb5e4 Update README files 2015-02-05 12:07:21 -06:00
Gregory Nutt ccee7b8646 Networking: Changes need to build ICMPv6 'router' configuration on STM32 with network debug enabled 2015-02-05 11:47:56 -06:00
Gregory Nutt 89cf65c01b Update ChangeLog 2015-02-05 11:24:11 -06:00
Gregory Nutt 022ae0b603 Update README 2015-02-05 11:23:55 -06:00
Gregory Nutt 03855b3a06 STM32: Add an IPv6 configuration for the STM32F4-Discovery board (witht he STM32-DISCO_BB base board). Verify that the STM32 Ethernet driver works with IPv6. 2015-02-05 11:21:04 -06:00
Gregory Nutt 91aed02a09 Fix an error in IPv6 netmask caused by a bad range in the Kconfig file 2015-02-05 10:50:25 -06:00
Gregory Nutt a3e328fed5 Add IPv6 support to network driver skeleton and to SAMA5D4 Ethernet driver (which, unfortunately is still missing address filtering logi) 2015-02-05 10:49:32 -06:00
Gregory Nutt aec8c163bd Refresh configuration 2015-02-05 10:07:31 -06:00
Gregory Nutt 9291014268 Update ChangeLog 2015-02-05 09:45:50 -06:00
Gregory Nutt f048a71681 ICMPv6: Add logic to behave like a router (if so configured): NuttX will not send the router advertisement message in response to any router solicitation messages. 2015-02-05 09:43:29 -06:00
Gregory Nutt 0c356bb870 Forgot to add this file before a previous commit 2015-02-05 09:43:07 -06:00
Gregory Nutt 0baa34b697 Update ChangeLog 2015-02-05 09:30:35 -06:00
Gregory Nutt b29e8a4bf8 ICMPv6: Add option to send Router Advertisement Messages. 2015-02-05 09:28:00 -06:00
Gregory Nutt a3f5cbc4fe IPv6: Add a netmaks for the local link address 2015-02-05 05:43:57 -06:00
Gregory Nutt 3a7f97ac9e Minor logic simplification 2015-02-04 21:06:11 -06:00
Gregory Nutt 03f2ef027f ICMPv6 Auto-configuration: If no router reponds to the Router Solicitation, claim the link local address by sending the Neighbor Advertisement and return success 2015-02-04 16:13:27 -06:00
Gregory Nutt 74e258a6b5 ICMPv6: Separate out Neighbor Advertise message so that we can reuse it 2015-02-04 15:43:54 -06:00
Gregory Nutt 8eb7c93aa4 Remove unnecessary, inappropriate inclusion of ARP head file in IPv6 code 2015-02-04 14:52:46 -06:00
Gregory Nutt a9af54279a Networking: Break out Ethernet definitions into a separate file; add IPv6 multicast addresses as common globals, Ethernet drivers need to filter link-local, all nodes Ethernet address 2015-02-04 14:51:20 -06:00
Gregory Nutt 40082facd8 Minor update to Kconfig file selections 2015-02-04 08:21:32 -06:00
Gregory Nutt be435dbd93 Missed a part of the last change 2015-02-04 07:28:43 -06:00
Gregory Nutt 60a2b6cda7 Update ChangeLog 2015-02-04 07:27:58 -06:00
Gregory Nutt 0549cdfccd Re-arrange condition logic from the last change to avoid having STM32-specific conditional logic outside of the STM32 sandbox. 2015-02-04 07:24:19 -06:00
Gregory Nutt ca83154fa5 STM32: Add driver for STM32L162XX AES peripheral. Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com> 2015-02-04 06:49:05 -06:00
Gregory Nutt 0b2fa13458 Forgot to add a file from a previous commit 2015-02-03 17:45:24 -06:00
Gregory Nutt 5e9c8b90af ICMPv6: Fix some multi-cast addresses 2015-02-03 17:26:05 -06:00
Gregory Nutt f63d4fc76b Minor updates to comments, debug messages, documentation 2015-02-03 17:01:48 -06:00
Gregory Nutt 75ef2d9d0b ICMPv6: Some initial bugfix from first tests of the ICMPv6 auto-configuration logic. so far so good but a lot more testing is needed 2015-02-03 16:19:08 -06:00