diff --git a/docs/assets/code/c/src/test/SlowingClockTest.lf b/docs/assets/code/c/src/test/SlowingClockTest.lf
index 2c38b64c6..082181eb4 100644
--- a/docs/assets/code/c/src/test/SlowingClockTest.lf
+++ b/docs/assets/code/c/src/test/SlowingClockTest.lf
@@ -17,11 +17,11 @@ main reactor(start:time(100 msec), incr:time(100 msec)) {
=}
reaction(a) -> a {=
instant_t elapsed_logical_time = lf_time_logical_elapsed();
- printf("Logical time since start: \%lld nsec.\n",
+ printf("Logical time since start: %lld nsec.\n",
elapsed_logical_time
);
if (elapsed_logical_time != self->expected_time) {
- printf("ERROR: Expected time to be: \%lld nsec.\n",
+ printf("ERROR: Expected time to be: %lld nsec.\n",
self->expected_time
);
exit(1);
@@ -33,7 +33,7 @@ main reactor(start:time(100 msec), incr:time(100 msec)) {
reaction(shutdown) {=
if (self->expected_time != MSEC(1500)) {
printf("ERROR: Expected the next expected time to be: 1500000000 nsec.\n");
- printf("It was: \%lld nsec.\n", self->expected_time);
+ printf("It was: %lld nsec.\n", self->expected_time);
exit(2);
} else {
printf("Test passes.\n");
diff --git a/docs/assets/code/uc/src/test/SlowingClockTest.lf b/docs/assets/code/uc/src/test/SlowingClockTest.lf
index 2b7c040a3..a6df42cb7 100644
--- a/docs/assets/code/uc/src/test/SlowingClockTest.lf
+++ b/docs/assets/code/uc/src/test/SlowingClockTest.lf
@@ -4,24 +4,24 @@
* The use of the logical action ensures the elapsed time jumps exactly from
* 0 to 100, 300, 600, and 1000 msec.
*/
-target uC {
- timeout: 1 sec,
- fast: true,
-};
-main reactor(start:time(100 msec), incr:time(100 msec)) {
+target uC
+@platform("Native")
+@timeout(1 sec)
+@fast(true)
+main reactor(start:time = 100 msec, incr:time = 100 msec) {
logical action a;
- state interval:time(start);
- state expected_time:time(start);
+ state interval:time = start;
+ state expected_time:time = start;
reaction(startup) -> a {=
lf_schedule(a, self->start);
=}
reaction(a) -> a {=
- instant_t elapsed_logical_time = lf_time_logical_elapsed();
- printf("Logical time since start: \%lld nsec.\n",
+ interval_t elapsed_logical_time = env->get_elapsed_logical_time(env);
+ printf("Logical time since start: %lld nsec.\n",
elapsed_logical_time
);
if (elapsed_logical_time != self->expected_time) {
- printf("ERROR: Expected time to be: \%lld nsec.\n",
+ printf("ERROR: Expected time to be: %lld nsec.\n",
self->expected_time
);
exit(1);
@@ -33,7 +33,7 @@ main reactor(start:time(100 msec), incr:time(100 msec)) {
reaction(shutdown) {=
if (self->expected_time != MSEC(1500)) {
printf("ERROR: Expected the next expected time to be: 1500000000 nsec.\n");
- printf("It was: \%lld nsec.\n", self->expected_time);
+ printf("It was: %lld nsec.\n", self->expected_time);
exit(2);
} else {
printf("Test passes.\n");
diff --git a/docs/reference/security.mdx b/docs/reference/security.mdx
index aac09ee67..06479daa7 100644
--- a/docs/reference/security.mdx
+++ b/docs/reference/security.mdx
@@ -9,7 +9,7 @@ import {
ShowIf, ShowIfs, ShowOnly
} from '@site/src/components/LinguaFrancaMultiTargetUtils';
-
+
By default, there is no secure authentication when a federate joins a federation, and data exchanged between federates is not encrypted. For targets that support it, Lingua Franca provides robust, end-to-end communication security that encrypts all message exchanges and ensures only authorized federates can participate.
diff --git a/docs/reference/target-declaration.mdx b/docs/reference/target-declaration.mdx
index bab48452c..7c23acf46 100644
--- a/docs/reference/target-declaration.mdx
+++ b/docs/reference/target-declaration.mdx
@@ -9,7 +9,7 @@ import {
ShowIf, ShowIfs, ShowOnly,
} from '@site/src/components/LinguaFrancaMultiTargetUtils';
-
+
# Target Declaration
@@ -89,27 +89,6 @@ c={
workers: ,
};`
}
-uc={
-`target uC {
- auth:
- build: ,
- build-type: ,
- cmake-args: