From ca31c844cde7f54a285e3b9da358989e42258f5b Mon Sep 17 00:00:00 2001 From: couriersud Date: Sun, 6 Sep 2020 23:24:21 +0200 Subject: netlist: move to generated header and link support files files. * Removed device and macro header files. * All of those can be generated automatically so going forward there is no need for these any longer. * Introduced the modules concept. Modules are netlists for which automatic lib entries are generated. * Going forward you just store them in macro/modules and they will be automatically registered as device elements. * You need to do a "make generated" is src/lib/netlist/build * Some_device.cpp still needs to be added to netlist.lua * Added documentation on how to add devices to netlist. * Please refer to adding_devices.md for more information. --- src/lib/netlist/generated/nlm_modules_lib.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 src/lib/netlist/generated/nlm_modules_lib.cpp (limited to 'src/lib/netlist/generated/nlm_modules_lib.cpp') diff --git a/src/lib/netlist/generated/nlm_modules_lib.cpp b/src/lib/netlist/generated/nlm_modules_lib.cpp new file mode 100755 index 00000000000..d9fe63979d9 --- /dev/null +++ b/src/lib/netlist/generated/nlm_modules_lib.cpp @@ -0,0 +1,12 @@ +// license:CC0 +// copyright-holders:Couriersud + +// File programmatically created Sat Sep 12 14:42:49 2020 + +#include "devices/net_lib.h" + +NETLIST_START(modules_lib) + + EXTERNAL_LIB_ENTRY(RTEST) + +NETLIST_END() -- cgit v1.2.3-70-g09d2