@@ -43,6 +43,9 @@ scan_headers_ignore = [
4343 " hal/DMA.h" ,
4444 " hal/Errors.h" ,
4545 " hal/HAL.h" ,
46+ " hal/IMU.h" ,
47+ " hal/IMUTypes.h" ,
48+ " hal/SystemServer.h" ,
4649 " hal/UsageReporting.h" ,
4750 " hal/Types.h" ,
4851 " hal/Value.h" ,
@@ -58,6 +61,8 @@ scan_headers_ignore = [
5861 " hal/handles/LimitedHandleResource.h" ,
5962 " hal/handles/UnlimitedHandleResource.h" ,
6063
64+ " hal/proto/*" ,
65+
6166 " hal/roborio/HMB.h" ,
6267 " hal/roborio/InterruptManager.h" ,
6368
@@ -75,23 +80,17 @@ scan_headers_ignore = [
7580[tool .semiwrap .extension_modules ."hal ._wpiHal" ]
7681name = " wpihal"
7782wraps = [" robotpy-native-wpihal" ]
78- depends = [" wpiutil" ]
83+ depends = [" wpiutil" , " ntcore " ]
7984
8085[tool .semiwrap .extension_modules ."hal ._wpiHal" .headers ]
8186# hal
82- Accelerometer = " hal/Accelerometer.h"
8387AddressableLED = " hal/AddressableLED.h"
8488AddressableLEDTypes = " hal/AddressableLEDTypes.h"
85- AnalogAccumulator = " hal/AnalogAccumulator.h"
86- AnalogGyro = " hal/AnalogGyro.h"
8789AnalogInput = " hal/AnalogInput.h"
88- AnalogOutput = " hal/AnalogOutput.h"
89- AnalogTrigger = " hal/AnalogTrigger.h"
9090CAN = " hal/CAN.h"
9191CANAPI = " hal/CANAPI.h"
9292CANAPITypes = " hal/CANAPITypes.h"
9393CTREPCM = " hal/CTREPCM.h"
94- # ChipObject = "hal/ChipObject.h"
9594Constants = " hal/Constants.h"
9695Counter = " hal/Counter.h"
9796DIO = " hal/DIO.h"
@@ -102,32 +101,26 @@ DutyCycle = "hal/DutyCycle.h"
102101Encoder = " hal/Encoder.h"
103102# Errors = "hal/Errors.h"
104103Extensions = " hal/Extensions.h"
105- FRCUsageReporting = " hal/FRCUsageReporting.h"
106104# HAL = "hal/HAL.h"
107105HALBase = " hal/HALBase.h"
108106I2C = " hal/I2C.h"
109107I2CTypes = " hal/I2CTypes.h"
110- Interrupts = " hal/Interrupts .h"
111- LEDs = " hal/LEDs .h"
108+ # IMU = "hal/IMU .h"
109+ # IMUTypes = "hal/IMUTypes .h"
112110Main = " hal/Main.h"
113111Notifier = " hal/Notifier.h"
114112PWM = " hal/PWM.h"
115113Ports = " hal/Ports.h"
116114Power = " hal/Power.h"
117115PowerDistribution = " hal/PowerDistribution.h"
118116REVPH = " hal/REVPH.h"
119- Relay = " hal/Relay.h"
120- SPI = " hal/SPI.h"
121- SPITypes = " hal/SPITypes.h"
122117SerialPort = " hal/SerialPort.h"
123118SimDevice = " hal/SimDevice.h"
124119Threads = " hal/Threads.h"
125120# Types = "hal/Types.h"
126121# Value = "hal/Value.h"
127122
128123# hal/cpp
129- SerialHelper = { header =" hal/cpp/SerialHelper.h" , enable_if =" platform_machine == 'roborio'" }
130- # UnsafeDIO = "hal/cpp/UnsafeDIO.h"
131124# fpga_clock = "hal/cpp/fpga_clock.h"
132125
133126# hal/handles
@@ -139,24 +132,16 @@ HandlesInternal = "hal/handles/HandlesInternal.h"
139132# LimitedHandleResource = "hal/handles/LimitedHandleResource.h"
140133# UnlimitedHandleResource = "hal/handles/UnlimitedHandleResource.h"
141134
142- # hal/roborio
143- # HMB = "hal/roborio/HMB.h"
144- # InterruptManager = "hal/roborio/InterruptManager.h"
145-
146135
147136[tool .semiwrap .extension_modules ."hal .simulation ._simulation" ]
148137name = " hal_simulation"
149138wraps = [" robotpy-native-wpihal" ]
150- depends = [" wpiutil" ]
139+ depends = [" wpiutil" , " ntcore " ]
151140yaml_path = " semiwrap/simulation"
152141
153142[tool .semiwrap .extension_modules ."hal .simulation ._simulation" .headers ]
154- AccelerometerData = " hal/simulation/AccelerometerData.h"
155143AddressableLEDData = " hal/simulation/AddressableLEDData.h"
156- AnalogGyroData = " hal/simulation/AnalogGyroData.h"
157144AnalogInData = " hal/simulation/AnalogInData.h"
158- AnalogOutData = " hal/simulation/AnalogOutData.h"
159- AnalogTriggerData = " hal/simulation/AnalogTriggerData.h"
160145CTREPCMData = " hal/simulation/CTREPCMData.h"
161146# CanData = "hal/simulation/CanData.h"
162147DIOData = " hal/simulation/DIOData.h"
@@ -171,11 +156,8 @@ NotifierData = "hal/simulation/NotifierData.h"
171156PWMData = " hal/simulation/PWMData.h"
172157PowerDistributionData = " hal/simulation/PowerDistributionData.h"
173158REVPHData = " hal/simulation/REVPHData.h"
174- RelayData = " hal/simulation/RelayData.h"
175159Reset = " hal/simulation/Reset.h"
176160RoboRioData = " hal/simulation/RoboRioData.h"
177- SPIAccelerometerData = " hal/simulation/SPIAccelerometerData.h"
178- # SPIData = "hal/simulation/SPIData.h"
179161# SimCallbackRegistry = "hal/simulation/SimCallbackRegistry.h"
180162# SimDataValue = "hal/simulation/SimDataValue.h"
181163SimDeviceData = " hal/simulation/SimDeviceData.h"
0 commit comments