@@ -43,6 +43,7 @@ scan_headers_ignore = [
43
43
" hal/DMA.h" ,
44
44
" hal/Errors.h" ,
45
45
" hal/HAL.h" ,
46
+ " hal/SystemServer.h" ,
46
47
" hal/UsageReporting.h" ,
47
48
" hal/Types.h" ,
48
49
" hal/Value.h" ,
@@ -58,6 +59,8 @@ scan_headers_ignore = [
58
59
" hal/handles/LimitedHandleResource.h" ,
59
60
" hal/handles/UnlimitedHandleResource.h" ,
60
61
62
+ " hal/proto/*" ,
63
+
61
64
" hal/roborio/HMB.h" ,
62
65
" hal/roborio/InterruptManager.h" ,
63
66
@@ -75,23 +78,17 @@ scan_headers_ignore = [
75
78
[tool .semiwrap .extension_modules ."hal ._wpiHal" ]
76
79
name = " wpihal"
77
80
wraps = [" robotpy-native-wpihal" ]
78
- depends = [" wpiutil" ]
81
+ depends = [" wpiutil" , " ntcore " ]
79
82
80
83
[tool .semiwrap .extension_modules ."hal ._wpiHal" .headers ]
81
84
# hal
82
- Accelerometer = " hal/Accelerometer.h"
83
85
AddressableLED = " hal/AddressableLED.h"
84
86
AddressableLEDTypes = " hal/AddressableLEDTypes.h"
85
- AnalogAccumulator = " hal/AnalogAccumulator.h"
86
- AnalogGyro = " hal/AnalogGyro.h"
87
87
AnalogInput = " hal/AnalogInput.h"
88
- AnalogOutput = " hal/AnalogOutput.h"
89
- AnalogTrigger = " hal/AnalogTrigger.h"
90
88
CAN = " hal/CAN.h"
91
89
CANAPI = " hal/CANAPI.h"
92
90
CANAPITypes = " hal/CANAPITypes.h"
93
91
CTREPCM = " hal/CTREPCM.h"
94
- # ChipObject = "hal/ChipObject.h"
95
92
Constants = " hal/Constants.h"
96
93
Counter = " hal/Counter.h"
97
94
DIO = " hal/DIO.h"
@@ -102,32 +99,24 @@ DutyCycle = "hal/DutyCycle.h"
102
99
Encoder = " hal/Encoder.h"
103
100
# Errors = "hal/Errors.h"
104
101
Extensions = " hal/Extensions.h"
105
- FRCUsageReporting = " hal/FRCUsageReporting.h"
106
102
# HAL = "hal/HAL.h"
107
103
HALBase = " hal/HALBase.h"
108
104
I2C = " hal/I2C.h"
109
105
I2CTypes = " hal/I2CTypes.h"
110
- Interrupts = " hal/Interrupts.h"
111
- LEDs = " hal/LEDs.h"
112
106
Main = " hal/Main.h"
113
107
Notifier = " hal/Notifier.h"
114
108
PWM = " hal/PWM.h"
115
109
Ports = " hal/Ports.h"
116
110
Power = " hal/Power.h"
117
111
PowerDistribution = " hal/PowerDistribution.h"
118
112
REVPH = " hal/REVPH.h"
119
- Relay = " hal/Relay.h"
120
- SPI = " hal/SPI.h"
121
- SPITypes = " hal/SPITypes.h"
122
113
SerialPort = " hal/SerialPort.h"
123
114
SimDevice = " hal/SimDevice.h"
124
115
Threads = " hal/Threads.h"
125
116
# Types = "hal/Types.h"
126
117
# Value = "hal/Value.h"
127
118
128
119
# hal/cpp
129
- SerialHelper = { header =" hal/cpp/SerialHelper.h" , enable_if =" platform_machine == 'roborio'" }
130
- # UnsafeDIO = "hal/cpp/UnsafeDIO.h"
131
120
# fpga_clock = "hal/cpp/fpga_clock.h"
132
121
133
122
# hal/handles
@@ -139,24 +128,16 @@ HandlesInternal = "hal/handles/HandlesInternal.h"
139
128
# LimitedHandleResource = "hal/handles/LimitedHandleResource.h"
140
129
# UnlimitedHandleResource = "hal/handles/UnlimitedHandleResource.h"
141
130
142
- # hal/roborio
143
- # HMB = "hal/roborio/HMB.h"
144
- # InterruptManager = "hal/roborio/InterruptManager.h"
145
-
146
131
147
132
[tool .semiwrap .extension_modules ."hal .simulation ._simulation" ]
148
133
name = " hal_simulation"
149
134
wraps = [" robotpy-native-wpihal" ]
150
- depends = [" wpiutil" ]
135
+ depends = [" wpiutil" , " ntcore " ]
151
136
yaml_path = " semiwrap/simulation"
152
137
153
138
[tool .semiwrap .extension_modules ."hal .simulation ._simulation" .headers ]
154
- AccelerometerData = " hal/simulation/AccelerometerData.h"
155
139
AddressableLEDData = " hal/simulation/AddressableLEDData.h"
156
- AnalogGyroData = " hal/simulation/AnalogGyroData.h"
157
140
AnalogInData = " hal/simulation/AnalogInData.h"
158
- AnalogOutData = " hal/simulation/AnalogOutData.h"
159
- AnalogTriggerData = " hal/simulation/AnalogTriggerData.h"
160
141
CTREPCMData = " hal/simulation/CTREPCMData.h"
161
142
# CanData = "hal/simulation/CanData.h"
162
143
DIOData = " hal/simulation/DIOData.h"
@@ -171,11 +152,8 @@ NotifierData = "hal/simulation/NotifierData.h"
171
152
PWMData = " hal/simulation/PWMData.h"
172
153
PowerDistributionData = " hal/simulation/PowerDistributionData.h"
173
154
REVPHData = " hal/simulation/REVPHData.h"
174
- RelayData = " hal/simulation/RelayData.h"
175
155
Reset = " hal/simulation/Reset.h"
176
156
RoboRioData = " hal/simulation/RoboRioData.h"
177
- SPIAccelerometerData = " hal/simulation/SPIAccelerometerData.h"
178
- # SPIData = "hal/simulation/SPIData.h"
179
157
# SimCallbackRegistry = "hal/simulation/SimCallbackRegistry.h"
180
158
# SimDataValue = "hal/simulation/SimDataValue.h"
181
159
SimDeviceData = " hal/simulation/SimDeviceData.h"
0 commit comments