Skip to content

Commit

Permalink
Merge pull request #1 from erlingrj/v3.3.0
Browse files Browse the repository at this point in the history
Update Zephyr version t v3.3.0
  • Loading branch information
erlingrj authored Jun 9, 2023
2 parents 80b7775 + ae6133c commit 47f440b
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 12 deletions.
11 changes: 0 additions & 11 deletions application/src/HelloWorld.lf

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions apps/src/HelloWorld.lf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
target C {
platform: "Zephyr",
threading: false,
};

main reactor {
preamble {=
#include <zephyr/kernel.h>
=}
timer t(0, 1 sec)

reaction(t) {=
// k_busy_wait(1000000);
int log = lf_time_logical_elapsed();
// int phy = lf_time_physical_elapsed();
uint32_t now = k_cycle_get_32();
instant_t phy;
lf_clock_gettime(&phy);
lf_print("tag=%i phy=%i cyc=%u", log, (int) phy ,now);
=}
}

File renamed without changes.
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ manifest:
projects:
- name: zephyr
remote: zephyrproject-rtos
revision: v3.2.0
revision: v3.3.0
import:
path-prefix: deps

0 comments on commit 47f440b

Please sign in to comment.