Skip to content

Commit

Permalink
[POSIX][EXAMPLES] Updated README with information about apple silicon…
Browse files Browse the repository at this point in the history
… target (posix/darwin/arm64)
  • Loading branch information
jlbirccyn committed Nov 7, 2023
1 parent 0608030 commit bfc7e74
Show file tree
Hide file tree
Showing 9 changed files with 65 additions and 15 deletions.
7 changes: 6 additions & 1 deletion examples/posix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ The first time, goil should be called directly. It will generate the appropriate
$ cd examples/posix/periodic
$ goil --target=posix/linux --templates=../../../goil/templates/ periodic.oil

Or if you run the example on OSX instead of Linux,
Or if you run the example on OSX Intel instead of Linux,

$ cd examples/posix/periodic
$ goil --target=posix/darwin --templates=../../../goil/templates/ periodic.oil

Or if you run the example on OSX Apple Silicon

$ cd examples/posix/periodic
$ goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ periodic.oil

Then, the makefile is generated, and it will call goil again when the .oil file is updated

$ ./make.py -s
Expand Down
10 changes: 10 additions & 0 deletions examples/posix/can_demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ On Linux:
goil --target=posix/linux --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Intel:
```
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file
is updated.
```
Expand Down
9 changes: 7 additions & 2 deletions examples/posix/events/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ On linux:
goil --target=posix/linux --templates=../../../goil/templates/ events.oil
```

on darwin (OS X):
On Mac OS X Intel:
```
goil --target=posix/darwin --templates=../../../goil/templates/ events.oil
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file is updated
Expand Down
9 changes: 7 additions & 2 deletions examples/posix/ioc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ On linux:
goil --target=posix/linux --templates=../../../goil/templates/ ioc.oil
```

on darwin:
On Mac OS X Intel:
```
goil --target=posix/darwin --templates=../../../goil/templates/ ioc.oil
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file is updated
Expand Down
9 changes: 7 additions & 2 deletions examples/posix/isr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ On linux:
goil --target=posix/linux --templates=../../../goil/templates/ isr.oil
```

on darwin (OS X):
On Mac OS X Intel:
```
goil --target=posix/darwin --templates=../../../goil/templates/ isr.oil
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file is updated
Expand Down
9 changes: 7 additions & 2 deletions examples/posix/messages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ On linux:
goil --target=posix/linux --templates=../../../goil/templates/ messages.oil
```

on darwin (OS X):
On Mac OS X Intel:
```
goil --target=posix/darwin --templates=../../../goil/templates/ messages.oil
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file is updated
Expand Down
9 changes: 7 additions & 2 deletions examples/posix/one_task/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ On linux:
goil --target=posix/linux --templates=../../../goil/templates/ one_task.oil
```

on darwin (OS X)
On Mac OS X Intel:
```
goil --target=posix/darwin --templates=../../../goil/templates/ one_task.oil
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file is updated
Expand Down
9 changes: 7 additions & 2 deletions examples/posix/periodic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ On linux:
goil --target=posix/linux --templates=../../../goil/templates/ periodic.oil
```

on darwin:
On Mac OS X Intel:
```
goil --target=posix/linux --templates=../../../goil/templates/ periodic.oil
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file is updated
Expand Down
9 changes: 7 additions & 2 deletions examples/posix/trace_test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ On linux:
goil --target=posix/linux --templates=../../../goil/templates/ trace_test.oil
```

on darwin (OS X):
On Mac OS X Intel:
```
goil --target=posix/darwin --templates=../../../goil/templates/ trace_test.oil
goil --target=posix/darwin --templates=../../../goil/templates/ can_demo.oil
```

On Mac OS X Apple Silicon:
```
goil --target=posix/darwin/arm64 --templates=../../../goil/templates/ can_demo.oil
```

Then, the makefile is generated, and it will call goil again when the .oil file is updated
Expand Down

0 comments on commit bfc7e74

Please sign in to comment.