From c10906ba3ed9fd04b6ff04e574dcd0ad92071596 Mon Sep 17 00:00:00 2001 From: Ravikiran Chollangi Date: Fri, 8 Nov 2024 11:50:51 -0800 Subject: [PATCH] Add power_data resource to device.xml (#1717) * Add power_data resource to device.xml * Incremented patch version * Fix the code format --------- Co-authored-by: ravikiranchollangi --- CMakeLists.txt | 2 +- src/Compiler/CompilerOpenFPGA.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 039cf58fc..fa14f45a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ set(VERSION_MINOR 0) # Add the spdlog directory to the include path include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third_party/spdlog/include ${CMAKE_CURRENT_SOURCE_DIR}/third_party/exprtk ${CMAKE_CURRENT_SOURCE_DIR}/third_party/scope_guard) -set(VERSION_PATCH 437) +set(VERSION_PATCH 438) option( diff --git a/src/Compiler/CompilerOpenFPGA.cpp b/src/Compiler/CompilerOpenFPGA.cpp index a3f661200..f6acf0689 100644 --- a/src/Compiler/CompilerOpenFPGA.cpp +++ b/src/Compiler/CompilerOpenFPGA.cpp @@ -4049,6 +4049,8 @@ bool CompilerOpenFPGA::LoadDeviceData( BaseDeviceName(name); // field is used for identify base for custom device // no action so far + } else if (file_type == "power_data") { + // field will be used for power data config, skip for now. } else { ErrorMessage("Invalid device config type: " + file_type + "\n"); status = false;