Re: [PATCH] bsp/raspberrypi: Move assignment outside if-condition

2015-12-29 Thread Joel Sherrill
Thanks. I suspected that was the issue but wouldn't have dared changed the code without asking. :) Hopefully you are enjoying your holidays. --joel On Tue, Dec 29, 2015 at 6:09 PM, Jan Sommer wrote: > Assignment was misplaced by one line. > --- > c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c | 2

Fwd: Windows 10 Build

2015-12-29 Thread Owen Pan
Hi all, I am trying to bootstrap RTEMS on Windows 10 with MinGW and MSYS, following https://devel.rtems.org/wiki/TBR/UserManual/MinGW_Tools_for_Windows. However, I get the following: http://pastebin.com/yFLfYMzc. Does anyone know how to fix this? Thanks, Owen

[PATCH] bsp/raspberrypi: Move assignment outside if-condition

2015-12-29 Thread Jan Sommer
Assignment was misplaced by one line. --- c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c b/c/src/lib/libbsp/arm/raspberrypi/i2c/i2c.c index 6d9a2cd..9bf90ec 100644 --- a/c/src/lib/libbsp/arm

Re: [PATCH] bsp/raspberrypi: Store the current taskid before waiting for the transient event in i2c-driver

2015-12-29 Thread Joel Sherrill
The code currently in git does not compile. A quick visual inspection shows the obviously incorrect code. This is in raspberrypi/i2c/i2c.c around line 95. I am guessing that the assignment is not intended to be in the conditional expression but Jan needs to confirm that and submit a new patch. Did

Re: Ticker interrupt priority

2015-12-29 Thread Martin Galvan
On Mon, Dec 28, 2015 at 4:11 PM, Martin Galvan wrote: > On Mon, Dec 28, 2015 at 3:26 PM, Joel Sherrill wrote: >> A couple of odd guesses. If there are non-RTEMS interrupts, they must >> be the highest priority. > > Precisely, I'd like to know why the ticker interrupt must always have > a lower pr