This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
146 lines (129 loc) · 4.5 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[tool.robotpy-build.metadata]
name = "robotpy-hal"
description = "Binary wrapper for FRC HAL"
author = "RobotPy Development Team"
author_email = "[email protected]"
url = "https://github.com/robotpy/robotpy-hal"
license = "BSD-3-Clause"
install_requires = [
"robotpy-wpiutil~=2023.4.3",
]
[build-system]
requires = [
"robotpy-build<2024.0.0,>=2023.1.1",
"robotpy-wpiutil~=2023.4.3",
]
[tool.robotpy-build]
base_package = "hal"
[tool.robotpy-build.wrappers."hal".maven_lib_download]
artifact_id = "hal-cpp"
group_id = "edu.wpi.first.hal"
# repo_url = "https://frcmaven.wpi.edu/artifactory/release"
repo_url = "https://frcmaven.wpi.edu/artifactory/release"
version = "2023.4.3"
libs = ["wpiHal"]
[tool.robotpy-build.wrappers."hal"]
name = "wpiHal"
sources = [
"hal/src/hal.cpp"
]
generation_data = "gen"
depends = ["wpiutil"]
[tool.robotpy-build.wrappers."hal".autogen_headers]
# hal
Accelerometer = "hal/Accelerometer.h"
AddressableLED = "hal/AddressableLED.h"
AddressableLEDTypes = "hal/AddressableLEDTypes.h"
AnalogAccumulator = "hal/AnalogAccumulator.h"
AnalogGyro = "hal/AnalogGyro.h"
AnalogInput = "hal/AnalogInput.h"
AnalogOutput = "hal/AnalogOutput.h"
AnalogTrigger = "hal/AnalogTrigger.h"
CAN = "hal/CAN.h"
CANAPI = "hal/CANAPI.h"
CANAPITypes = "hal/CANAPITypes.h"
CTREPCM = "hal/CTREPCM.h"
# ChipObject = "hal/ChipObject.h"
Constants = "hal/Constants.h"
Counter = "hal/Counter.h"
DIO = "hal/DIO.h"
# DMA = "hal/DMA.h"
DriverStation = "hal/DriverStation.h"
DriverStationTypes = "hal/DriverStationTypes.h"
DutyCycle = "hal/DutyCycle.h"
Encoder = "hal/Encoder.h"
# Errors = "hal/Errors.h"
Extensions = "hal/Extensions.h"
FRCUsageReporting = "hal/FRCUsageReporting.h"
# HAL = "hal/HAL.h"
HALBase = "hal/HALBase.h"
I2C = "hal/I2C.h"
I2CTypes = "hal/I2CTypes.h"
Interrupts = "hal/Interrupts.h"
Main = "hal/Main.h"
Notifier = "hal/Notifier.h"
PWM = "hal/PWM.h"
Ports = "hal/Ports.h"
Power = "hal/Power.h"
PowerDistribution = "hal/PowerDistribution.h"
REVPH = "hal/REVPH.h"
Relay = "hal/Relay.h"
SPI = "hal/SPI.h"
SPITypes = "hal/SPITypes.h"
SerialPort = "hal/SerialPort.h"
SimDevice = "hal/SimDevice.h"
Threads = "hal/Threads.h"
# Types = "hal/Types.h"
# Value = "hal/Value.h"
# hal/cpp
# SerialHelper = "hal/cpp/SerialHelper.h"
# UnsafeDIO = "hal/cpp/UnsafeDIO.h"
# fpga_clock = "hal/cpp/fpga_clock.h"
# hal/handles
# DigitalHandleResource = "hal/handles/DigitalHandleResource.h"
HandlesInternal = "hal/handles/HandlesInternal.h"
# IndexedClassedHandleResource = "hal/handles/IndexedClassedHandleResource.h"
# IndexedHandleResource = "hal/handles/IndexedHandleResource.h"
# LimitedClassedHandleResource = "hal/handles/LimitedClassedHandleResource.h"
# LimitedHandleResource = "hal/handles/LimitedHandleResource.h"
# UnlimitedHandleResource = "hal/handles/UnlimitedHandleResource.h"
[tool.robotpy-build.wrappers."hal".autogen_headers.override.platform_linux_athena]
SerialHelper = "hal/cpp/SerialHelper.h"
[tool.robotpy-build.wrappers."hal.simulation"]
name = "hal_simulation"
extension = "_simulation"
sources = [
"hal/simulation/main.cpp",
"hal/simulation/resethandles.cpp",
]
generation_data = "gen/simulation"
depends = ["wpiutil", "wpiHal"]
[tool.robotpy-build.wrappers."hal.simulation".autogen_headers]
AccelerometerData = "hal/simulation/AccelerometerData.h"
AddressableLEDData = "hal/simulation/AddressableLEDData.h"
AnalogGyroData = "hal/simulation/AnalogGyroData.h"
AnalogInData = "hal/simulation/AnalogInData.h"
AnalogOutData = "hal/simulation/AnalogOutData.h"
AnalogTriggerData = "hal/simulation/AnalogTriggerData.h"
CTREPCMData = "hal/simulation/CTREPCMData.h"
# CanData = "hal/simulation/CanData.h"
DIOData = "hal/simulation/DIOData.h"
DigitalPWMData = "hal/simulation/DigitalPWMData.h"
DriverStationData = "hal/simulation/DriverStationData.h"
DutyCycleData = "hal/simulation/DutyCycleData.h"
EncoderData = "hal/simulation/EncoderData.h"
# I2CData = "hal/simulation/I2CData.h"
MockHooks = "hal/simulation/MockHooks.h"
NotifierData = "hal/simulation/NotifierData.h"
# NotifyListener = "hal/simulation/NotifyListener.h"
PWMData = "hal/simulation/PWMData.h"
PowerDistributionData = "hal/simulation/PowerDistributionData.h"
REVPHData = "hal/simulation/REVPHData.h"
RelayData = "hal/simulation/RelayData.h"
Reset = "hal/simulation/Reset.h"
RoboRioData = "hal/simulation/RoboRioData.h"
SPIAccelerometerData = "hal/simulation/SPIAccelerometerData.h"
# SPIData = "hal/simulation/SPIData.h"
# SimCallbackRegistry = "hal/simulation/SimCallbackRegistry.h"
# SimDataValue = "hal/simulation/SimDataValue.h"
SimDeviceData = "hal/simulation/SimDeviceData.h"