From dd1ef395973e4ab66fea26c543856e7c29e794cf Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 25 Aug 2011 03:13:28 +0000 Subject: Fix nxgl_splitline bug git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3912 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/ChangeLog | 4 +++- nuttx/Documentation/NXGraphicsSubsystem.html | 10 +++++--- nuttx/Documentation/NuttX.html | 36 ++++++++++++++++++---------- nuttx/TODO | 20 ++-------------- nuttx/configs/twr-k60n512/README.txt | 28 ++++++++++++++++++++++ nuttx/configs/twr-k60n512/nsh/defconfig | 2 ++ nuttx/graphics/nxglib/nxglib_splitline.c | 9 ++++--- 7 files changed, 72 insertions(+), 37 deletions(-) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index c4350e244..ee0c57f87 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -2020,5 +2020,7 @@ Initially check-in is just a crude port of the STM32 SDIO driver. Much more is needed. * graphics/, include/nuttx/nx: Add new NX interfaces for drawing - circles -- both circular outlines and filled circles. + circles -- both circular outlines and filled circles. + * graphic/nxglib/nxglib_spitline.c: Add a "fudge factor" that eliminates + some problems for rendering nearly horizontal, wide lines. diff --git a/nuttx/Documentation/NXGraphicsSubsystem.html b/nuttx/Documentation/NXGraphicsSubsystem.html index 121301030..419890574 100644 --- a/nuttx/Documentation/NXGraphicsSubsystem.html +++ b/nuttx/Documentation/NXGraphicsSubsystem.html @@ -3591,10 +3591,14 @@ make nxgl_splitline - - Verified by apps/examples/nxlines. + + Verified using apps/examples/nxlines. + Generally works well, but has some accuracy/overflow problems wide lines + that are nearly horizontal. + There is a "fudge factor" that seems to eliminate the problem, + but there could still be issues in some configurations. - YES + YES nxgl_circlepts diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html index 47a484cb3..c50e43884 100644 --- a/nuttx/Documentation/NuttX.html +++ b/nuttx/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: August 19, 2011

+

Last Updated: August 24, 2011

@@ -900,7 +900,7 @@
  • LPC17xx CAN driver. LPC17xx CAN driver extended to support both CAN1 and CAN2 (submitted by Li Zhuoy (Lzzy)). A Semaphore overflow problem was also corrected in the - CAN driver (reported by Li Zhouy (Lzzy)). + CAN driver (reported by Li Zhouy (Lzzy)).
  • Signal-related bugfixes. Fixed several critical bugs related to signal handling initialization and @@ -1551,12 +1551,13 @@

    FreeScale Kinetics K40. - This port uses the Freescale Kinetis KwiStick K40. + This port uses the Freescale Kinetis KwikStik K40. Refer to the Freescale web site for further information about this board. The Kwikstik is used with the FreeScale Tower System (mostly just to provide a simple UART connection)

    STATUS: + The unverified KwikStik K40 first appeared in NuttX-6.8 As of this writing, the basic port is complete but I accidentally locked my board during the initial bringup. Further development is stalled unless I learn how to unlock the device (or until I get another K40). Additional work remaining includes, among other things: (1) complete the basic bring-up, @@ -1583,12 +1584,12 @@ As of this writing, the basic port is complete and passes the NuttX OS test. An additional, validated configuration exists for the NuttShell (NSH, see the NSH User Guide). - And Ethernet driver also exists, but has not yet been integrated. - Additional work remaining includes: (1) integrate the Ethernet driver, - (3) develop support for the SDHC-based SD card, and - (4) develop support for USB host and device. - NOTE: Most of these remaining tasks (excluding the Ethernet driver) are the - same as the pending K40 tasks described above. + This basic TWR-K60N512 first appeared in NuttX-6.8. + Ethernet and SD card (SDHC) drivers also exist: + The SDHC driver is partially integrated in to the NSH configuration but has some outstanding issues; + the Ethernet driver is completely untested. + Additional work remaining includes: (1) integrate the Ethernet and SDHC drivers, and (2) develop support for USB host and device. + NOTE: Most of these remaining tasks (excluding the Ethernet driver) are the same as the pending K40 tasks described above.

    @@ -2514,7 +2515,7 @@ Other memory: