Loading py393/generated/x393.h +3 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ #include "elphel/x393_types.h" //#include "elphel/x393_defs.h // alternative variant" // init_mmio_ptr() should be called once before using any of the other declared functions int init_mmio_ptr(void); // R/W addresses to set up memory arbiter priorities. For sensors (chn = 8..11), for compressors - 12..15 Loading py393/x393_export_c.py +3 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,9 @@ class X393ExportC(object): # Includes section txt = '\n#include "elphel/x393_types.h"\n' txt +='//#include "elphel/x393_defs.h // alternative variant"\n\n' txt += '// init_mmio_ptr() should be called once before using any of the other declared functions\n\n' txt += 'int init_mmio_ptr(void);\n' for d in ld: fd=self.expand_define_maxi0(d, mode = "func_decl",frmt_spcs = None) if fd: Loading Loading
py393/generated/x393.h +3 −0 Original line number Diff line number Diff line Loading @@ -8,6 +8,9 @@ #include "elphel/x393_types.h" //#include "elphel/x393_defs.h // alternative variant" // init_mmio_ptr() should be called once before using any of the other declared functions int init_mmio_ptr(void); // R/W addresses to set up memory arbiter priorities. For sensors (chn = 8..11), for compressors - 12..15 Loading
py393/x393_export_c.py +3 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,9 @@ class X393ExportC(object): # Includes section txt = '\n#include "elphel/x393_types.h"\n' txt +='//#include "elphel/x393_defs.h // alternative variant"\n\n' txt += '// init_mmio_ptr() should be called once before using any of the other declared functions\n\n' txt += 'int init_mmio_ptr(void);\n' for d in ld: fd=self.expand_define_maxi0(d, mode = "func_decl",frmt_spcs = None) if fd: Loading