Browse Source

copied json.hpp

subDesTagesMitExtraKaese 3 years ago
parent
commit
d839b063df
4 changed files with 24661 additions and 7 deletions
  1. 1 1
      c++/include/entrypoint.hpp
  2. 24659 0
      c++/include/json.hpp
  3. 0 1
      c++/tests/main.cpp
  4. 1 5
      config.json

+ 1 - 1
c++/include/entrypoint.hpp

@@ -2,7 +2,7 @@
 #define ENTRY_FPGA_H
 
 #include <fstream>
-#include "../lib/json/single_include/nlohmann/json.hpp"
+#include "json.hpp"
 
 #include "tensorflow/core/framework/op.h"
 #include "tensorflow/core/framework/shape_inference.h"

File diff suppressed because it is too large
+ 24659 - 0
c++/include/json.hpp


+ 0 - 1
c++/tests/main.cpp

@@ -52,7 +52,6 @@ int main(void)
     
     connectionManager.addFPGA("192.168.1.33", 1234);
     connectionManager.addFPGA("192.168.1.34", 1234);
-    connectionManager.addFPGA("192.168.1.35", 1234);
 
     connectionManager.setSendDelay(microseconds(50));
 

+ 1 - 5
config.json

@@ -5,11 +5,7 @@
       "port": 1234
     },
     {
-      "ip":   "192.168.1.35",
-      "port": 1234
-    },
-    {
-      "ip":   "192.168.1.36",
+      "ip":   "192.168.1.34",
       "port": 1234
     }
   ]