Commit Graph

632 Commits

Author SHA1 Message Date
Gregory Nutt
829fa21e89 drawline/drawLine should not take a boolean to select non lines caps or capping at both ends. drawline/drawLine also needs to be able to put a line cap on one one end of a line 2015-04-05 16:53:51 -06:00
Gregory Nutt
f0b5f4a80f Add a 'capped' boolean parameter to all drawline/drawLine functions/methods. The idea is that this will produce better joining between lines 2015-04-05 08:50:01 -06:00
Gregory Nutt
3bbd9b6f41 More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize 2015-04-04 11:49:15 -06:00
Gregory Nutt
e6294dfe41 Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/. 2015-04-01 12:37:44 -06:00
Gregory Nutt
08f57f5d90 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
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
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
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
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
99d374aab2 Needs to include nuttx/board.h, not nuttx/arch.h for button interfaces 2015-03-14 11:59:44 -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
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
23dfce6275 Suffer the consequences of moving struct timeval to its correct location 2015-02-15 15:18:35 -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
5499189417 Add netlib and application hooks for ICMPv6 auto-configuration (still incomplete 2015-02-03 08:01:55 -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
Gregory Nutt
dcce1649e3 Cosmetic updates to comments 2015-01-29 15:26:03 -06:00
Gregory Nutt
c335a7fe87 Unix domain: Various fixes to get apps/examplex/udgram working 2015-01-29 11:05:04 -06:00
Gregory Nutt
1593229612 Reorder statements: printf clobbers errno value 2015-01-29 10:08:04 -06:00
Gregory Nutt
542363e630 apps/examples/udgram: Add option to configure program name and task properties 2015-01-29 09:33:06 -06:00
Gregory Nutt
b437cadc03 Minor fixes after initial tests with apps/examples/udgram 2015-01-28 15:27:54 -06:00
Gregory Nutt
e6f43d2ed8 apps/examples/udgram: Improve some size tests and improve error reporting 2015-01-28 14:58:22 -06:00
Gregory Nutt
f429f54aa2 apps/examples/udgram: Add a simple test of Unix domain datagram sockets 2015-01-28 14:28:11 -06:00
Gregory Nutt
1c2cb493e6 Unix domain: More fixes. With these changes, apps/examples/ustream works 2015-01-28 08:39:48 -06:00
Gregory Nutt
f6499a4813 apps/examples/ustream: Fix error in Makefile 2015-01-27 14:46:01 -06:00
Gregory Nutt
e894bd703a Add a simple test of the Unix domain sockets 2015-01-27 13:41:45 -06:00
Gregory Nutt
d91ae1cd0e Add to .depend dependencies to eliminate an error at dependency generation time 2015-01-23 08:03:53 -06:00
Gregory Nutt
5987ae25af Add config.h to .gitignore 2015-01-23 07:13:18 -06:00
Gregory Nutt
a49685c155 apps/examples/udp: The UDP test example has been extend to support IPv6 domain sockets 2015-01-22 15:30:23 -06:00
Gregory Nutt
2949e13237 Merge remote-tracking branch 'origin/master' into ipv6 2015-01-21 08:05:41 -06:00
Gregory Nutt
9a7cac88b9 apps/examples/nettest: Fix address initializaiton, HTONS not HTNOL 2015-01-21 08:04:22 -06:00
Gregory Nutt
36703532e5 Should fix some errors reported by Travis 2015-01-20 20:54:51 -06:00
Gregory Nutt
8c02b30555 apps/examples/nettest: Update test so that it can be used to test IPv6 TCP sockets 2015-01-20 18:12:27 -06:00
Gregory Nutt
953c0fb069 Rename IPv4 netlib functions and files to make room in the namespace for corresponding IPv6 functions and files 2015-01-18 14:17:00 -06:00
Gregory Nutt
981ca845cd apps/examples/udp/Kconfig: Default setting is backward 2015-01-17 11:55:50 -06:00
Gregory Nutt
9a23be0cd2 Tiva Timer: Timer test must attach a timer handler or the timer is stopped at the first interrupt 2015-01-13 15:55:54 -06:00
Gregory Nutt
da7402f174 apps/exemples/timer: Add a trivial test of the timer driver 2015-01-13 12:57:26 -06:00
Gregory Nutt
221f65d460 stm32: update description and code documentation. Also fixes a few code formattings.
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-29 09:59:46 -06:00
Gregory Nutt
e67bd189a3 STM32 LTDC: Move ltdc.h from include/nuttx/video to arch/arm/include/stm32; Trivial updates after general review 2014-12-19 14:52:17 -06:00
Gregory Nutt
2caba712f6 example: add ltdc test example
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
2014-12-19 14:32:08 -06:00
Gregory Nutt
e6927cfcac Traveler: Add support for analog joystick 2014-12-14 08:55:18 -06:00
Gregory Nutt
0d8247ef29 apps/examples/ostest: Missing prototype for nsem_test() 2014-12-06 07:33:40 -06:00
Gregory Nutt
308ba69e7c Add graphic device initialize logic (incomplete) 2014-12-03 16:48:05 -06:00
Gregory Nutt
cfe59305b6 SAMA5D3 Xplained: A few fixes for the AJoystick driver (still not working) 2014-12-03 14:33:00 -06:00
Gregory Nutt
c7a8631954 Add an analog joystick test/example 2014-12-03 09:34:47 -06:00