mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Move the Kryoflux and Catweasel stuff into external.
This commit is contained in:
		
							
								
								
									
										4
									
								
								build.py
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								build.py
									
									
									
									
									
								
							| @@ -34,7 +34,6 @@ cxxlibrary( | ||||
|         "./lib/fluxsink/scpfluxsink.cc", | ||||
|         "./lib/fluxsink/vcdfluxsink.cc", | ||||
|         "./lib/fluxsource/a2rfluxsource.cc", | ||||
|         "./lib/fluxsource/catweasel.cc", | ||||
|         "./lib/fluxsource/cwffluxsource.cc", | ||||
|         "./lib/fluxsource/dmkfluxsource.cc", | ||||
|         "./lib/fluxsource/erasefluxsource.cc", | ||||
| @@ -43,7 +42,6 @@ cxxlibrary( | ||||
|         "./lib/fluxsource/flx.cc", | ||||
|         "./lib/fluxsource/flxfluxsource.cc", | ||||
|         "./lib/fluxsource/hardwarefluxsource.cc", | ||||
|         "./lib/fluxsource/kryoflux.cc", | ||||
|         "./lib/fluxsource/kryofluxfluxsource.cc", | ||||
|         "./lib/fluxsource/memoryfluxsource.cc", | ||||
|         "./lib/fluxsource/scpfluxsource.cc", | ||||
| @@ -144,10 +142,8 @@ cxxlibrary( | ||||
|         "lib/decoders/rawbits.h": "./lib/decoders/rawbits.h", | ||||
|         "lib/encoders/encoders.h": "./lib/encoders/encoders.h", | ||||
|         "lib/fluxsink/fluxsink.h": "./lib/fluxsink/fluxsink.h", | ||||
|         "lib/fluxsource/catweasel.h": "lib/fluxsource/catweasel.h", | ||||
|         "lib/fluxsource/fluxsource.h": "lib/fluxsource/fluxsource.h", | ||||
|         "lib/fluxsource/flx.h": "lib/fluxsource/flx.h", | ||||
|         "lib/fluxsource/kryoflux.h": "lib/fluxsource/kryoflux.h", | ||||
|         "lib/imagereader/imagereader.h": "./lib/imagereader/imagereader.h", | ||||
|         "lib/imagewriter/imagewriter.h": "./lib/imagewriter/imagewriter.h", | ||||
|         "lib/readerwriter.h": "./lib/readerwriter.h", | ||||
|   | ||||
							
								
								
									
										4
									
								
								lib/external/build.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								lib/external/build.py
									
									
									
									
										vendored
									
									
								
							| @@ -9,12 +9,16 @@ cxxlibrary( | ||||
|     srcs=[ | ||||
|         "./ldbs.cc", | ||||
|         "./fl2.cc", | ||||
|         "./kryoflux.cc", | ||||
|         "./catweasel.cc", | ||||
|     ], | ||||
|     hdrs={ | ||||
|         "lib/external/ldbs.h": "./ldbs.h", | ||||
|         "lib/external/a2r.h": "./a2r.h", | ||||
|         "lib/external/scp.h": "./scp.h", | ||||
|         "lib/external/fl2.h": "./fl2.h", | ||||
|         "lib/external/kryoflux.h": "./kryoflux.h", | ||||
|         "lib/external/catweasel.h": "./catweasel.h", | ||||
|     }, | ||||
|     deps=["lib/core", ".+fl2_proto_lib", "lib/data"], | ||||
| ) | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| #include "lib/core/globals.h" | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "lib/core/bytes.h" | ||||
| #include "lib/fluxsource/catweasel.h" | ||||
| #include "lib/external/catweasel.h" | ||||
| 
 | ||||
| std::unique_ptr<Fluxmap> decodeCatweaselData( | ||||
|     const Bytes& bytes, nanoseconds_t clock) | ||||
| @@ -1,6 +1,6 @@ | ||||
| #include "lib/core/globals.h" | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "kryoflux.h" | ||||
| #include "lib/external/kryoflux.h" | ||||
| #include "protocol.h" | ||||
| #include <fstream> | ||||
| #include <sys/types.h> | ||||
| @@ -2,7 +2,7 @@ | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "lib/fluxsource/fluxsource.pb.h" | ||||
| #include "lib/fluxsource/fluxsource.h" | ||||
| #include "lib/fluxsource/catweasel.h" | ||||
| #include "lib/external/catweasel.h" | ||||
| #include "lib/config/proto.h" | ||||
| #include <fstream> | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "lib/fluxsource/fluxsource.pb.h" | ||||
| #include "lib/fluxsource/fluxsource.h" | ||||
| #include "lib/fluxsource/catweasel.h" | ||||
| #include "lib/external/catweasel.h" | ||||
| #include "lib/config/proto.h" | ||||
| #include "lib/core/logger.h" | ||||
| #include <fstream> | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #include "lib/core/globals.h" | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "kryoflux.h" | ||||
| #include "lib/external/kryoflux.h" | ||||
| #include "protocol.h" | ||||
| #include "lib/fluxsource/flx.h" | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #include "lib/core/globals.h" | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "kryoflux.h" | ||||
| #include "lib/external/kryoflux.h" | ||||
| #include "lib/fluxsource/fluxsource.pb.h" | ||||
| #include "lib/fluxsource/fluxsource.h" | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| #include "lib/core/globals.h" | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "kryoflux.h" | ||||
| #include "lib/external/kryoflux.h" | ||||
| #include "lib/fluxsource/fluxsource.pb.h" | ||||
| #include "lib/core/utils.h" | ||||
| #include "lib/fluxsource/fluxsource.h" | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
| #include <stdlib.h> | ||||
| #include "lib/core/globals.h" | ||||
| #include "lib/data/fluxmap.h" | ||||
| #include "lib/fluxsource/kryoflux.h" | ||||
| #include "lib/external/kryoflux.h" | ||||
|  | ||||
| static void test_convert(const Bytes& kryofluxbytes, const Bytes& fluxmapbytes) | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user