[hal] Rename HALBase.h to HAL.h (#8668)

This commit is contained in:
Peter Johnson
2026-03-13 17:19:39 -07:00
committed by GitHub
parent ab4700854c
commit 6830c65a15
69 changed files with 73 additions and 72 deletions

View File

@@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/system/WPILibVersion.hpp"
#include "wpi/util/print.hpp"

View File

@@ -20,7 +20,7 @@
#include "wpi/datalog/DataLog.hpp"
#include "wpi/hal/DriverStation.h"
#include "wpi/hal/DriverStationTypes.h"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hal/Power.h"
#include "wpi/nt/BooleanTopic.hpp"
#include "wpi/nt/IntegerTopic.hpp"

View File

@@ -15,7 +15,7 @@
#include "wpi/driverstation/DriverStation.hpp"
#include "wpi/hal/DriverStation.h"
#include "wpi/hal/DriverStationTypes.h"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hal/Notifier.hpp"
#include "wpi/opmode/OpMode.hpp"
#include "wpi/util/SafeThread.hpp"

View File

@@ -8,7 +8,7 @@
#include <utility>
#include "wpi/hal/DriverStation.h"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/util/StackTrace.hpp"
#include "wpi/util/fs.hpp"

View File

@@ -8,7 +8,7 @@
#include <string>
#include "wpi/hal/CAN.h"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hal/Power.h"
#include "wpi/system/Errors.hpp"
#include "wpi/util/string.hpp"

View File

@@ -11,7 +11,7 @@
#include <fmt/format.h>
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hal/Notifier.hpp"
#include "wpi/system/Errors.hpp"
#include "wpi/system/Timer.hpp"

View File

@@ -17,7 +17,7 @@
#include "wpi/cameraserver/CameraServerShared.hpp"
#include "wpi/driverstation/DriverStation.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hal/UsageReporting.hpp"
#include "wpi/math/util/MathShared.hpp"
#include "wpi/nt/NetworkTable.hpp"

View File

@@ -9,7 +9,7 @@
#include <thread>
#include "wpi/hal/DriverStation.h"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hal/Main.h"
#include "wpi/nt/NetworkTable.hpp"
#include "wpi/system/Errors.hpp"

View File

@@ -7,7 +7,7 @@
#include <stdint.h>
#include "wpi/hal/DriverStationTypes.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/units/time.hpp"
namespace wpi::sim {

View File

@@ -3,5 +3,5 @@
// the WPILib BSD license file in the root directory of this project.
#include "wpi/cs/cscore_c.h"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/nt/ntcore.h"

View File

@@ -6,7 +6,7 @@
#include <gtest/gtest.h>
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/simulation/AnalogInputSim.hpp"
#include "wpi/simulation/RoboRioSim.hpp"

View File

@@ -4,7 +4,7 @@
#include <gtest/gtest.h>
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#ifndef __FRC_SYSTEMCORE__
namespace wpi::impl {

View File

@@ -9,7 +9,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/led/AddressableLED.hpp"
namespace wpi::sim {

View File

@@ -13,7 +13,7 @@
#include <gtest/gtest.h>
#include "wpi/driverstation/Alert.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
namespace wpi::sim {

View File

@@ -7,7 +7,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/discrete/AnalogInput.hpp"
namespace wpi::sim {

View File

@@ -7,7 +7,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/discrete/DigitalInput.hpp"
#include "wpi/hardware/discrete/DigitalOutput.hpp"

View File

@@ -7,7 +7,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/discrete/DigitalOutput.hpp"
namespace wpi::sim {

View File

@@ -9,7 +9,7 @@
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/driverstation/DriverStation.hpp"
#include "wpi/hal/DriverStationTypes.h"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
using namespace wpi;
using namespace wpi::sim;

View File

@@ -6,7 +6,7 @@
#include <gtest/gtest.h>
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/rotation/DutyCycleEncoder.hpp"
namespace wpi::sim {

View File

@@ -7,7 +7,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/rotation/DutyCycle.hpp"
namespace wpi::sim {

View File

@@ -7,7 +7,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/rotation/Encoder.hpp"
#include "wpi/util/deprecated.hpp"

View File

@@ -7,7 +7,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hardware/discrete/PWM.hpp"
namespace wpi::sim {

View File

@@ -9,7 +9,7 @@
#include <gtest/gtest.h>
#include "callback_helpers/TestCallbackHelpers.hpp"
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/hal/Ports.h"
#include "wpi/hardware/power/PowerDistribution.hpp"

View File

@@ -6,7 +6,7 @@
#include <gtest/gtest.h>
#include "wpi/hal/HALBase.h"
#include "wpi/hal/HAL.h"
#include "wpi/simulation/AddressableLEDSim.hpp"
#include "wpi/simulation/AnalogInputSim.hpp"
#include "wpi/simulation/CTREPCMSim.hpp"