NIL Test Case 1.1

Discussions and support about ChibiOS/NIL, the almost nil RTOS.
Marco
Posts: 128
Joined: Tue Apr 16, 2013 8:22 pm
Has thanked: 4 times
Been thanked: 11 times

NIL Test Case 1.1

Postby Marco » Wed Jul 02, 2014 10:37 pm

Hello Giovanni,

Today I used with NIL for the first time on my port of chibios and, as promised, it is realy small :)

The kernel is running and blinking 3 leds on different speeds.

When I run the ChibiOS/NIL Test Suite on my port it hangs in test case 1.1: System Tick Counter functionality. I looked in the test suite code and it looks like the system tick uses the function st_lld_get_counter(), but when using the classic periodic tick (NIL_CFG_ST_TIMEDELTA = 0) the counter won't get a new value. (Tickless mode is not implemented yet)

Is this a bug or am I doing something wrong?

Marco

User avatar
Giovanni
Site Admin
Posts: 11382
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 430 times
Been thanked: 362 times
Contact:

Re: NIL Test Case 1.1

Postby Giovanni » Thu Jul 03, 2014 8:09 am

I think it is a problem in the test case, may be a volatile missing. The OS appears to work correctly even with that setting.

Giovanni


Return to “ChibiOS/NIL”

Who is online

Users browsing this forum: No registered users and 1 guest