-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iot-lab_M3: definitions for implementation of peripheral timer driver #18
iot-lab_M3: definitions for implementation of peripheral timer driver #18
Conversation
Is this in a working condition? |
yes it is |
@authmillenon can you please review? |
@authmillenon (I saw you had the hardware to test this) |
@thomaseichinger which branches do I need of what repository? |
@authmillenon you'll need |
Maybe not related to this PR, but: RIOTBOARD=~/Repositories/RIOT-OS/thirdparty_boards/ RIOTCPU=~/Repositories/RIOT-OS/thirdparty_cpu/ BOARD=iot-lab_M3 make -C ~/Repositories/RIOT-OS/RIOT/tests/test_hwtimer -B clean all flash term
|
hm works for me, I rebased both branches could you try again? |
ok, now it is hard faulting, I'll investigate and come back to you |
@authmillenon You will need to add puts("hwtimer set.");
+while(1);
return 0; to |
The crash on return of main is known, it's fixed in the |
@authmillenon could you try again? Don't know why jenkins fails. |
It seems to fail for all thirdparty_cpu PRs (it can't find RIOTBASE in RIOTCPU for some reason…). I have to look into it. |
|
Cannot flash it (since my udev is not configured correctly anymore… would be nice if we could document this somewhere), but at least all
|
Sorry, hit the wrong button. |
what's the problem with udev? which kind of configuration does it need? |
Sorry, was not a udev problem: see OlegHahm/thirdparty_cpu#32 |
Appart from the afformentioned problem with crash on return (which is not part of this PR imho), all test applications run. |
#define TIMER_0_EN 1 | ||
#define TIMER_1_EN 1 | ||
|
||
/* Timer 0 configuration */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docstring?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually no, these comments were only meant for better readability of the code and not really for doxygen...
If above comments are addressed, I will give my ACK :) |
updated addressing @authmillenon's comments |
ACK, squash and go. |
squashed will merge when @haukepetersen approves OlegHahm/thirdparty_cpu#26 |
@@ -7,4 +7,6 @@ | |||
|
|||
typedef uint8_t radio_packet_length_t; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But a copyright + doxygen header wouldn't hurt here!
Conditional ACK if you add the doxygen and copyright headers. |
updated addressing @haukepetersen's comments |
looking good. ACK |
reworded second commit with tag and GO |
…river_defs iot-lab_M3: definitions for implementation of peripheral timer driver
accompanies PR OlegHahm/thirdparty_cpu#26 by providing definitions for the peripheral timer driver.