Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
verimag
synchrone
lutin
Commits
cc6125c5
Commit
cc6125c5
authored
May 04, 2018
by
erwan
Browse files
Some cleaning in the exemples directory
parent
8e78a39a
Pipeline
#7382
passed with stages
in 7 minutes and 54 seconds
Changes
228
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
examples/
lutin/
external_code/foo.c
→
examples/external_code/foo.c
View file @
cc6125c5
File moved
examples/
lutin/
external_code/polar.lut
→
examples/external_code/polar.lut
View file @
cc6125c5
File moved
examples/
lutin/
ocaml/Makefile
→
examples/
from_
ocaml/Makefile
View file @
cc6125c5
File moved
examples/from_ocaml/README.org
0 → 100644
View file @
cc6125c5
Test that make sure that lutin can be called from ocaml
examples/
lutin/
ocaml/call_foo.ml
→
examples/
from_
ocaml/call_foo.ml
View file @
cc6125c5
...
...
@@ -11,7 +11,7 @@ open RdbgPlugin
let
_
=
let
inputs
,
outputs
,
kill
,
step
,
step_dbg
,
mems_i
,
mems_o
=
let
args
=
Array
.
of_list
[
"
../../../bin/
lutin"
;
"foo.lut"
;
"-n"
;
"main"
;
"-seed"
;
"1"
]
in
let
args
=
Array
.
of_list
[
"lutin"
;
"foo.lut"
;
"-n"
;
"main"
;
"-seed"
;
"1"
]
in
let
plugin
=
LutinRun
.
make
args
in
plugin
.
inputs
,
plugin
.
outputs
,
plugin
.
kill
,
plugin
.
step
,
plugin
.
step_dbg
,
plugin
.
init_inputs
,
plugin
.
init_outputs
...
...
examples/
lutin/
ocaml/foo.lut
→
examples/
from_
ocaml/foo.lut
View file @
cc6125c5
File moved
examples/
lutin/
luciole/Makefile
→
examples/luciole/Makefile
View file @
cc6125c5
ifndef
LUTIN
LUTIN
=
../../
../
_build/lutin/src/main.native
LUTIN
=
../../_build/lutin/src/main.native
endif
...
...
examples/
lutin/
luciole/env.lut
→
examples/luciole/env.lut
View file @
cc6125c5
File moved
examples/
lutin/
lurette
top
/4.06.1/test1.rif.exp
→
examples/lurette
_old
/4.06.1/test1.rif.exp
View file @
cc6125c5
File moved
examples/
lutin/
lurette
top
/4.06.1/test2.rif.exp
→
examples/lurette
_old
/4.06.1/test2.rif.exp
View file @
cc6125c5
File moved
examples/
lutin/
lurette
top
/4.06.1/test4.rif.exp
→
examples/lurette
_old
/4.06.1/test4.rif.exp
View file @
cc6125c5
File moved
examples/
lutin/
lurette
top
/Makefile
→
examples/lurette
_old
/Makefile
View file @
cc6125c5
...
...
@@ -109,18 +109,18 @@ utest: utest1 utest2 utest4
test
:
test1 test2 test4
%.ec
:
%.lus
../../
../
bin/lus2lic
$(EXE)
-ec
$^
-n
$*
-o
$@
../../bin/lus2lic
$(EXE)
-ec
$^
-n
$*
-o
$@
.PHONY
:
heater_control$(EXE)
heater_control$(EXE)
:
heater_control.ec
../../
../
bin/ec2c
$(EXE)
-loop
heater_control.ec
../../bin/ec2c
$(EXE)
-loop
heater_control.ec
gcc heater_control.c heater_control_loop.c
-o
$@
%.c
:
%.ec
../../
../
bin/ec2c
$(EXE)
-loop
$^
../../bin/ec2c
$(EXE)
-loop
$^
LIB
=
-I
../../
../
lib graphics.cmxa ocaml2c.cmx ocamlRM.cmx
-I
+rdbg-plugin rdbg-plugin.cmxa
XXX
=
-I
../../
../
source/obj-linux/
LIB
=
-I
../../lib graphics.cmxa ocaml2c.cmx ocamlRM.cmx
-I
+rdbg-plugin rdbg-plugin.cmxa
XXX
=
-I
../../source/obj-linux/
# Essai pour appeler via des cmxs du code C généré par lus2c
# Bon, ca semble ne pas marcher (au 4/11/2013)
...
...
examples/lurette_old/README.org
0 → 100644
View file @
cc6125c5
Testing the old version of lurette (calling conventions changed)
examples/
lutin/
lurette
top
/degradable-sensors.lut
→
examples/lurette
_old
/degradable-sensors.lut
View file @
cc6125c5
File moved
examples/
lutin/
lurette
top
/env.lut
→
examples/lurette
_old
/env.lut
View file @
cc6125c5
File moved
examples/
lutin/
lurette
top
/heater_control.lus
→
examples/lurette
_old
/heater_control.lus
View file @
cc6125c5
File moved
examples/
lutin
/C/3.12.0/test1.rif.exp
→
examples/
untested
/C/3.12.0/test1.rif.exp
View file @
cc6125c5
File moved
examples/
lutin
/C/Makefile
→
examples/
untested
/C/Makefile
View file @
cc6125c5
File moved
examples/
lutin
/C/call_foo.c
→
examples/
untested
/C/call_foo.c
View file @
cc6125c5
File moved
examples/
lutin
/C/call_foo_sock.c
→
examples/
untested
/C/call_foo_sock.c
View file @
cc6125c5
File moved
Prev
1
2
3
4
5
6
…
12
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment