@@ -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
@@ -68,30 +73,28 @@ scan_headers_ignore = [
6873 " hal/simulation/SimCallbackRegistry.h" ,
6974 " hal/simulation/SimDataValue.h" ,
7075
76+ # TODO: might want this in the future
77+ " mrc/*" ,
78+
79+ " src/ds_types_fmt.h" ,
7180 " sim_cb.h" ,
7281 " sim_value_cb.h" ,
7382]
7483
7584[tool .semiwrap .extension_modules ."hal ._wpiHal" ]
7685name = " wpihal"
7786wraps = [" robotpy-native-wpihal" ]
78- depends = [" wpiutil" ]
87+ depends = [" wpiutil" , " ntcore " ]
7988
8089[tool .semiwrap .extension_modules ."hal ._wpiHal" .headers ]
8190# hal
82- Accelerometer = " hal/Accelerometer.h"
8391AddressableLED = " hal/AddressableLED.h"
8492AddressableLEDTypes = " hal/AddressableLEDTypes.h"
85- AnalogAccumulator = " hal/AnalogAccumulator.h"
86- AnalogGyro = " hal/AnalogGyro.h"
8793AnalogInput = " hal/AnalogInput.h"
88- AnalogOutput = " hal/AnalogOutput.h"
89- AnalogTrigger = " hal/AnalogTrigger.h"
9094CAN = " hal/CAN.h"
9195CANAPI = " hal/CANAPI.h"
9296CANAPITypes = " hal/CANAPITypes.h"
9397CTREPCM = " hal/CTREPCM.h"
94- # ChipObject = "hal/ChipObject.h"
9598Constants = " hal/Constants.h"
9699Counter = " hal/Counter.h"
97100DIO = " hal/DIO.h"
@@ -102,32 +105,26 @@ DutyCycle = "hal/DutyCycle.h"
102105Encoder = " hal/Encoder.h"
103106# Errors = "hal/Errors.h"
104107Extensions = " hal/Extensions.h"
105- FRCUsageReporting = " hal/FRCUsageReporting.h"
106108# HAL = "hal/HAL.h"
107109HALBase = " hal/HALBase.h"
108110I2C = " hal/I2C.h"
109111I2CTypes = " hal/I2CTypes.h"
110- Interrupts = " hal/Interrupts .h"
111- LEDs = " hal/LEDs .h"
112+ # IMU = "hal/IMU .h"
113+ # IMUTypes = "hal/IMUTypes .h"
112114Main = " hal/Main.h"
113115Notifier = " hal/Notifier.h"
114116PWM = " hal/PWM.h"
115117Ports = " hal/Ports.h"
116118Power = " hal/Power.h"
117119PowerDistribution = " hal/PowerDistribution.h"
118120REVPH = " hal/REVPH.h"
119- Relay = " hal/Relay.h"
120- SPI = " hal/SPI.h"
121- SPITypes = " hal/SPITypes.h"
122121SerialPort = " hal/SerialPort.h"
123122SimDevice = " hal/SimDevice.h"
124123Threads = " hal/Threads.h"
125124# Types = "hal/Types.h"
126125# Value = "hal/Value.h"
127126
128127# hal/cpp
129- SerialHelper = { header =" hal/cpp/SerialHelper.h" , enable_if =" platform_machine == 'roborio'" }
130- # UnsafeDIO = "hal/cpp/UnsafeDIO.h"
131128# fpga_clock = "hal/cpp/fpga_clock.h"
132129
133130# hal/handles
@@ -139,24 +136,16 @@ HandlesInternal = "hal/handles/HandlesInternal.h"
139136# LimitedHandleResource = "hal/handles/LimitedHandleResource.h"
140137# UnlimitedHandleResource = "hal/handles/UnlimitedHandleResource.h"
141138
142- # hal/roborio
143- # HMB = "hal/roborio/HMB.h"
144- # InterruptManager = "hal/roborio/InterruptManager.h"
145-
146139
147140[tool .semiwrap .extension_modules ."hal .simulation ._simulation" ]
148141name = " hal_simulation"
149142wraps = [" robotpy-native-wpihal" ]
150- depends = [" wpiutil" ]
143+ depends = [" wpiutil" , " ntcore " ]
151144yaml_path = " semiwrap/simulation"
152145
153146[tool .semiwrap .extension_modules ."hal .simulation ._simulation" .headers ]
154- AccelerometerData = " hal/simulation/AccelerometerData.h"
155147AddressableLEDData = " hal/simulation/AddressableLEDData.h"
156- AnalogGyroData = " hal/simulation/AnalogGyroData.h"
157148AnalogInData = " hal/simulation/AnalogInData.h"
158- AnalogOutData = " hal/simulation/AnalogOutData.h"
159- AnalogTriggerData = " hal/simulation/AnalogTriggerData.h"
160149CTREPCMData = " hal/simulation/CTREPCMData.h"
161150# CanData = "hal/simulation/CanData.h"
162151DIOData = " hal/simulation/DIOData.h"
@@ -171,11 +160,8 @@ NotifierData = "hal/simulation/NotifierData.h"
171160PWMData = " hal/simulation/PWMData.h"
172161PowerDistributionData = " hal/simulation/PowerDistributionData.h"
173162REVPHData = " hal/simulation/REVPHData.h"
174- RelayData = " hal/simulation/RelayData.h"
175163Reset = " hal/simulation/Reset.h"
176164RoboRioData = " hal/simulation/RoboRioData.h"
177- SPIAccelerometerData = " hal/simulation/SPIAccelerometerData.h"
178- # SPIData = "hal/simulation/SPIData.h"
179165# SimCallbackRegistry = "hal/simulation/SimCallbackRegistry.h"
180166# SimDataValue = "hal/simulation/SimDataValue.h"
181167SimDeviceData = " hal/simulation/SimDeviceData.h"
0 commit comments