|
|
|
@ -34,7 +34,7 @@ open Idents
|
|
|
|
|
open Obc
|
|
|
|
|
open Obc_utils
|
|
|
|
|
open Types
|
|
|
|
|
open Async_posix
|
|
|
|
|
open Async_avr
|
|
|
|
|
|
|
|
|
|
open Modules
|
|
|
|
|
open Signature
|
|
|
|
@ -891,8 +891,8 @@ let cdefs_and_cdecls_of_class_def cd =
|
|
|
|
|
let step_fun_def = fun_def_of_step_fun cd.cd_name
|
|
|
|
|
cd.cd_objs cd.cd_mems cd.cd_objs step_m in
|
|
|
|
|
(* TODO(Arduino): let the user choose the backend they want *)
|
|
|
|
|
let copy_in_def = PosixBackend.gen_copy_func_in cd in
|
|
|
|
|
let copy_out_def = PosixBackend.gen_copy_func_out cd in
|
|
|
|
|
let copy_in_def = AvrBackend.gen_copy_func_in cd in
|
|
|
|
|
let copy_out_def = AvrBackend.gen_copy_func_out cd in
|
|
|
|
|
let async_step_fun_def = async_fun_def_of_step_fun cd.cd_name
|
|
|
|
|
cd.cd_objs cd.cd_mems cd.cd_objs step_m (cdef_name copy_in_def)
|
|
|
|
|
(cdef_name copy_out_def) in
|
|
|
|
|