Hi,
I have a strange behaviour regarding memory access between my user application
and the driver i have developed I'd like to get some clarification on.
The development is all used on or1k arch.
On the application side, I have a buffer declared as:
#define PACKET_SIZE 256
volatile uint8_t __at
Indy
From: devel [devel-boun...@rtems.org] on behalf of Sebastian Huber
[sebastian.hu...@embedded-brains.de]
Sent: 11 September 2015 10:18
To: devel@rtems.org
Subject: Re: rtems_set_errno_and_return_minus_one in driver not returning
correct value
On 11/09/15 10:10, Inderjit Singh wrote:
&g
Hi,
Can I presume that using errno with RTEMS does not work? To me I'm baffled that
a RTEMS_SUCCESSFULL value must be returned in order to retain the errno value.
regards,
Indy
From: Inderjit Singh
Sent: 24 August 2015 15:07
To: Chris Johns; devel@rtem
un...@rtems.org] on behalf of Inderjit Singh
[inderjit.si...@aacmicrotec.com]
Sent: 24 August 2015 09:08
To: Chris Johns; devel@rtems.org
Subject: RE: rtems_set_errno_and_return_minus_one in driver not returning
correct value
Hi Chris,
I am pretty sure the driver is working fine yes. I had this
From: Chris Johns [chr...@rtems.org]
Sent: 24 August 2015 01:19
To: Inderjit Singh; devel@rtems.org
Subject: Re: rtems_set_errno_and_return_minus_one in driver not returning
correct value
On 21/08/2015 10:22 pm, Inderjit Singh wrote:
> Hi,
>
> In my RTEMS driver
Hi,
In my RTEMS driver I set and return error value by following macro:
rtems_set_errno_and_return_minus_one(EALREADY);
But in my rtems app when I print the error out by:
fd = open(RTEMS_SYSFLASH_DEVICE_NAME, O_RDWR);
if(fd < 0) {
printk("Couldn't Open device (%d:%d:%s).", fd, errno, strerror
Hi,
I put some debug macos in my driver and when building the rtems, i get failure
in telned. Any idea why?
RTEMS version 4.10.99 from git some time from May.
My configuration: ../rtems/configure --target=or1k-rtems4.11
--enable-rtemsbsp=or1k-bb --enable-test=samples
--prefix=/home/indy/devel/
ked the BSP at boot
time. So all is good. However, I'm unsure if this is the way to do it. Properly
i mean. Is there any doc on this or have I missed it?
From: Hesham ALMatary [heshamelmat...@gmail.com]
Sent: 02 July 2015 10:44
To: Inderjit Singh
C
CONFIGURE_APPLICATION_NEEDS_MY_DRIVER
AAC_MYDRIVER_DRIVER,
#endif
...
And then in the application:
#define CONFIGURE_APPLICATION_NEEDS_MY_DRIVER
Is this correct?
From: Joel Sherrill [joel.sherr...@oarcorp.com]
Sent: 01 July 2015 17:53
To: Inderjit Singh; devel
Hi,
I'm trying to initialize (get up) my driver for a or1k target. I reused the the
hello sample program to see if the driver ckicks in but nothing in th console
(except the hello msg in Init fiunction. Does anyone know why?
I updated the file as shown below. At this point I am only interested
10 matches
Mail list logo