Re: [crisos] DarwinFox SDK |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/crisos Archives
]
- To: crisos@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [crisos] DarwinFox SDK
- From: Claudio <claudyus84@xxxxxxxxx>
- Date: Wed, 18 Feb 2009 14:08:52 +0100
- Cc: Sergio Tanzilli <tanzilli@xxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=q0nAmdBtOKD0bx5BC7n3Qz4TfYUW8/jUoa9emMYazD8=; b=Cw1WilTLtcDGz/aAUCwUqMy4zWgDtdrcuJ0E6i2l7jd7qBFhG8pDDDW+GNPRn02u9A MqzqWc35+Ex9UJjfmyYo40kZ5CxmIK/kW9sh2k2Tbm60kMv7GPmNwXZ75O1+274dt9J7 3+FNrMDMnkXlHrOj+1inQcDQV3QFkcL60pbtE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wPIeMarucTunOzLuDoZjnC5qm7VNCtn3DcsOWAO9PPk6g8J9lCLrCm3L7fj5rGiOS/ iNT49xHEsVaLCX+ejUOD9Wzne7r+KtzcVisVsiCeHglkXHIRx2w0oTfU+IN2pzIpBahk AnEDCYjnhaq5bQNZ5GjYOutkXWPT2vLkFQpH0=
Hi
2009/2/15 Douglas Gilbert <dgilbert@xxxxxxxxxxxx>:
> Frederic AYRAULT wrote:
>>
>> Hi all,
>>
>> I am trying to connect a LCD display
>> (http://foxlx.acmesystems.it/?id=8021)
>> and a temperature sensor (http://foxlx.acmesystems.it/?id=89)
>> on my Fox running darwinfox 8.09-4.
>
> Be warned the temperature sensor code has one very nasty
> bug. It is nasty because it looks like it is working
> but gives temperatures that are off by up to 2 C sometimes.
>
> The C type of Lsb and Msb cannot be "char"! That causes
> this to happen after sign extension (for example):
> Msb = 0x2
> Lsb = 0x80
>
> (Msb << 8) + Lsb -----> res
> (0x2 << 8) + 0x80 -----> 0x180
> Ouch! Change the type of Lsb to "unsigned char" and the sum
> is 0x280 as expected.
>
Thanks fixed in r121 (packages feed).
> I emailed Sergio T. and he said that he would correct the web
> page but it ain't happened yet.
>
> BTW My testing was on the Phrozen SDK. I expect the same
> bug would show up in Crisos.
>
>
> Doug Gilbert
>
>
>> I am just able to test gpio with a LED and a switch using setbits and
>> readbits (http://foxlx.acmesystems.it/?id=17)
>>
>> I would like to do the same tests using GPIO syscalls
>> (http://foxlx.acmesystems.it/?id=22)
>> but when I try to get the SDK using svn co
>> svn://svn.tuxfamily.org/svnroot/crisos/svn/target/darwinfox,
>> I do not get the openwrt trunk : A darwinfox/helper
>> A darwinfox/helper/patch
>> A darwinfox/patches
>> A darwinfox/patches/900-crypto_workaround.patch
>> A darwinfox/patches/N0003-add-patch-for-2.6.28.patch
>> A darwinfox/patches/800-enable_ipkg.patch
>> A
>> darwinfox/patches/N0002-fix-typo-and-make-subtarget-appear-in-menuconfig.patch
>> A darwinfox/patches/001-base-files.patch
>> A darwinfox/patches/N0007-netus-now-override-at91.patch
>> A darwinfox/patches/N0004-XXX-Da-reingegnarizzare.patch
>> A darwinfox/patches/N0001-initial-import-for-netus.patch
>> A darwinfox/patches/N0005-XXX-DA-reingegnerizzare-2.patch
>> A darwinfox/patches/N0006-fix-netus-build.patch
>> A darwinfox/README.map
>> A darwinfox/Makefile
>> A darwinfox/README
>> U darwinfox
>> Checked out revision 118.
>>
>> Thank you for your help.
>>
>> Regards,
>>
>> Frederic.
>>
>> PS : Thank you Claudio for CrisOs
>>
>>
>> ---
>> CrisOs mailing list
>> Official multi-language http://www.crisos.org/ mailing list
>>
>> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx
>> with subject unsubscribe.
>>
>
>
> ---
> CrisOs mailing list
> Official multi-language http://www.crisos.org/ mailing list
>
> For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with
> subject unsubscribe.
>
---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list
For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.