Commit Graph

1605 Commits

Author SHA1 Message Date
Gregory Nutt
2be8eee936 Kconfig files: If external graphics initialization is required, it depends on CONFIG_LIB_BOARDCTL and should set CONFIG_BOARDCTL_GRAPHICS 2015-03-31 16:41:48 -06:00
Gregory Nutt
256abd6dba 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
074b57aa69 Update ChangeLogs 2015-03-31 15:06:05 -06:00
Gregory Nutt
39c47ee3f7 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
5e94183319 Update ChangeLogs 2015-03-31 13:26:33 -06:00
Gregory Nutt
9ec66482b6 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
a1195b4528 Update ChangeLogs 2015-03-31 12:16:43 -06:00
Gregory Nutt
9fcd34f1c4 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
22c7d705a3 Update ChangeLog 2015-03-31 10:22:50 -06:00
Gregory Nutt
6bad91308d Rename arch_nshinitialize() to board_app_initialize() 2015-03-31 10:21:31 -06:00
Gregory Nutt
5ca324cad8 Add some missing dependencies in Kconfig files 2015-03-29 15:52:46 -06:00
Gregory Nutt
c9eff799c0 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
d8d4a3486c SAMV7 USB: Updates to early initialization logic 2015-03-24 10:05:21 -06:00
Gregory Nutt
83e4bc2f7d Make sure that FPU test, HID keyboard example, and touchscreen options are only available in the FLAT build 2015-03-23 19:03:51 -06:00
Gregory Nutt
7fccf7de1b Rename up_cxxinitialize.c to stm32_cxxinitialize.c 2015-03-23 14:14:01 -06:00
Gregory Nutt
0e060f5d2c Add Olimexino-STM32 board support from David Sidrane 2015-03-20 18:00:10 -06:00
Gregory Nutt
f81be29c2f Costmetic changes name while debugging a filename issue 2015-03-15 12:22:12 -06:00
Gregory Nutt
99d374aab2 Needs to include nuttx/board.h, not nuttx/arch.h for button interfaces 2015-03-14 11:59:44 -06:00
Gregory Nutt
b7768bea79 Bringing PPPD yet closer to the NuttX coding style 2015-03-11 18:47:04 -06:00
Gregory Nutt
f87fd5118c Add file headers to all PPPD files (still lots of style incompatibilies) 2015-03-11 08:33:57 -06:00
Gregory Nutt
3b3962395f Update ChangeLog 2015-03-11 07:56:37 -06:00
Gregory Nutt
e5a4835f5e Add a PPP daemon. From Max Neklyudov 2015-03-11 07:53:04 -06:00
Gregory Nutt
caf4a7ffc6 Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments 2015-03-05 06:41:14 -06:00
Gregory Nutt
edf876ed1a Add missing options to NSH Library Kconfig. From Freddie Chopin 2015-03-02 06:16:38 -06:00
Gregory Nutt
0ff0aa6d21 Add some Kconfig dependencies to reduce possibility of bad configurations. Suggested by OrbitalFox 2015-02-25 08:43:25 -06:00
Gregory Nutt
7bae01c805 Update ChangeLog 2015-02-20 07:32:53 -06:00
Gregory Nutt
6952cdf8ac OS test: Improved error checking for sem_timedwait() from Juha Niskanen 2015-02-20 07:31:59 -06:00
Gregory Nutt
f5aac7178e 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
1d369fb376 apps/examples/ostest: Sample errno on returns from sem_timedwait(). Otherwise, intervening system calls my change the value of the reported errno. Noted by Juha Niskanen 2015-02-19 08:41:15 -06:00
Gregory Nutt
8d7952d55a Fix typo in Telnet Kconfig. From OrbitalFox 2015-02-19 06:40:18 -06:00
Gregory Nutt
25eee811c1 apps/platform/Makefile: Add a default defintion for DELIM. Apparently it may not be present in certain causes during 'make distclean'. From Michal Ulianko (SourceForge patch #47 2015-02-18 09:49:55 -06:00
Gregory Nutt
ae142c0605 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
fe20f19afe Some files that now include sys/time.h should no longer include timer.h 2015-02-15 16:38:18 -06:00
Gregory Nutt
23dfce6275 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -06:00
Gregory Nutt
5e801986c7 Prep for 7.8 release 2015-02-11 11:05:45 -06:00
Gregory Nutt
d01dc4fb4c 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
52cbfaece4 Update ChangeLog 2015-02-06 10:27:09 -06:00
Gregory Nutt
d32e66b6a2 apps/netutils/netlib: Add utilities to convert to/from prefix lengths from/to 128-bit network masks. Modify the NSH IPv6 ifconfig command to show the network mask in a more standard, human readable way. 2015-02-06 10:23:15 -06:00
Gregory Nutt
dc527f5c9d Fix errors in range of IPv6 netmask range in Kconfig files 2015-02-05 10:47:42 -06:00
Gregory Nutt
1b9d7c1522 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
Gregory Nutt
6273eb0160 ICMPv6: This completes coding of the ICMPv6 auto-configuration feature. It is not yet functional 2015-02-03 15:40:56 -06:00
Gregory Nutt
0ee67383d5 Add an ioctal() that can be used to perform ICMPv6 auto-configuration 2015-02-03 08:54:42 -06:00
Gregory Nutt
dc0492fd21 Update ChangeLog 2015-02-03 08:29:15 -06:00
Gregory Nutt
7b925ccb4c apps/builtin: better fix for building with parallel make
Build-server sometimes fails 'make -j24' with:

 In file included from builtin_list.c:62:0:
 builtin_list.h:1:46: error: 'ts_engine_main' undeclared here (not in a function)
  { "ts_engine", SCHED_PRIORITY_DEFAULT, 2048, ts_engine_main },

or sometimes silently succeeds but generates builds that contain
a random subset of configured NuttX applications. There are two
root causes for this:

1) Recipes for building builtin_list.h and builtin_proto.h are not
   linearizable.
2) Nothing ensures that 'make context' is run first for apps/builtin

This patch addresses both issues.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-02-03 08:24:24 -06:00
Gregory Nutt
5499189417 Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete 2015-02-03 08:01:55 -06:00
Gregory Nutt
3b60c71103 NSH: Fix error in conditional compilation in PS command. From Macs N 2015-02-03 07:21:56 -06:00
Gregory Nutt
13854c8b5a Removed forced enable of CONFIG_READLINE_ECHO in apps/system/readline/readline.h 2015-02-01 13:15:31 -06:00
Gregory Nutt
0724e7ccf3 drivers/ramdisk.c and include/nuttx/fs/ramdisk.h: Add logic to dispose of the drvier and RAM buffer when the RAM disk has been unlinked and all open references to the RAM disk have been closed. Add new parameters to romdisk() to specify what should be done with the RAM/ROM buffer -- Should it be freed or not? Changed all calls to ramdisk() to use these new parameters. 2015-02-01 07:24:16 -06:00
Gregory Nutt
f5558cd10e Unix domain/FIFOs: Fix a race condition between FIFO buffer operations and the opening and closing of FIFOs which necessary when the FIFOs are used to support Unix domain, datagram sockets. The default policy is the deallocate FIFO buffering when the last client closes the pipe. When when used for datagram communicatinos, packets left in the FIFO will be lost. Some like UDP read-ahead is needed: The buffered data in the FIFO needs to be retained until the reader gets a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy. Default (0) is the legacy behavior; Unix domain datagram logic sets the alternative policy so that the packet data persists after the FIFO is closed. 2015-01-30 11:14:24 -06:00
Gregory Nutt
ac103febad apps/ustream and udgram: Change default FIFO path to /dev/fifo 2015-01-30 09:07:22 -06:00