Index: Makefile =================================================================== --- Makefile (nonexistent) +++ Makefile (revision 29462) @@ -0,0 +1,5 @@ +all: + cd ../../src && $(MAKE) mod_import_sch2 + +clean: + rm *.o *.so 2>/dev/null ; true Index: Plug.tmpasm =================================================================== --- Plug.tmpasm (nonexistent) +++ Plug.tmpasm (revision 29462) @@ -0,0 +1,9 @@ +put /local/pcb/mod {import_sch2} +put /local/pcb/mod/OBJS [@ $(PLUGDIR)/import_sch2/import_sch.o @] +put /local/pcb/mod/CONF {$(PLUGDIR)/import_sch2/import_sch_conf.h} + +switch /local/pcb/import_sch/controls + case {buildin} include /local/pcb/tmpasm/buildin; end; + case {plugin} include /local/pcb/tmpasm/plugin; end; + case {disable} include /local/pcb/tmpasm/disable; end; +end Index: import_sch2.pup =================================================================== --- import_sch2.pup (nonexistent) +++ import_sch2.pup (revision 29462) @@ -0,0 +1,9 @@ +$class import +$short import sch v2 +$long Imports footprints and netlist data from the schematics (or some other source). +$state WIP +$fmt-native no +$fmt-feature-r import netlist and footprint info from schematics or netlist +$package import-net +default disable +autoload 1 Index: import_sch_conf.h =================================================================== --- import_sch_conf.h (nonexistent) +++ import_sch_conf.h (revision 29462) @@ -0,0 +1,15 @@ +#ifndef PCB_IMPORT_SCH2_CONF_H +#define PCB_IMPORT_SCH2_CONF_H + +#include + +typedef struct { + const struct { + const struct { + CFT_STRING netlister; /* netlist generator program (command line) */ + CFT_BOOLEAN verbose; /* verbose logging of the import code */ + } import_sch; + } plugins; +} conf_import_sch_t; + +#endif