[hal] Add SystemCore to Java runtime type (#7932)

This commit is contained in:
Thad House
2025-04-28 08:10:32 -07:00
committed by GitHub
parent 36811211be
commit 85a8fc9943
3 changed files with 9 additions and 1 deletions

View File

@@ -43,6 +43,9 @@ public final class HALUtil extends JNIWrapper {
/** Simulation runtime. */
public static final int RUNTIME_SIMULATION = 2;
/** SystemCore. */
public static final int RUNTIME_SYSTEMCORE = 3;
/**
* Returns the FPGA Version number.
*

View File

@@ -35,6 +35,8 @@ static_assert(edu_wpi_first_hal_HALUtil_RUNTIME_ROBORIO2 ==
HAL_Runtime_RoboRIO2);
static_assert(edu_wpi_first_hal_HALUtil_RUNTIME_SIMULATION ==
HAL_Runtime_Simulation);
static_assert(edu_wpi_first_hal_HALUtil_RUNTIME_SYSTEMCORE ==
HAL_Runtime_SystemCore);
static JavaVM* jvm = nullptr;
static JException illegalArgExCls;