Skip to content

Commit 824e0e2

Browse files
committed
Update robotpy-hal
- Add scan_headers_ignore list - Update Notifier API usage
1 parent 7d1ba28 commit 824e0e2

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

subprojects/robotpy-hal/hal/simulation/resethandles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void HALSIM_ResetGlobalHandles() {
1515
HALSIM_GetNotifierInfo(info, sz);
1616

1717
for (int i = 0; i < sz; i++) {
18-
HAL_CleanNotifier(info->handle, nullptr);
18+
HAL_CleanNotifier(info->handle);
1919
}
2020
}
2121

subprojects/robotpy-hal/pyproject.toml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,35 @@ requires = [
1717

1818
[tool.robotpy-build]
1919
base_package = "hal"
20+
scan_headers_ignore = [
21+
"hal/ChipObject.h",
22+
"hal/DMA.h",
23+
"hal/Errors.h",
24+
"hal/HAL.h",
25+
"hal/Types.h",
26+
"hal/Value.h",
27+
28+
"hal/cpp/SerialHelper.h",
29+
"hal/cpp/UnsafeDIO.h",
30+
"hal/cpp/fpga_clock.h",
31+
32+
"hal/handles/DigitalHandleResource.h",
33+
"hal/handles/IndexedClassedHandleResource.h",
34+
"hal/handles/IndexedHandleResource.h",
35+
"hal/handles/LimitedClassedHandleResource.h",
36+
"hal/handles/LimitedHandleResource.h",
37+
"hal/handles/UnlimitedHandleResource.h",
38+
39+
"hal/roborio/HMB.h",
40+
"hal/roborio/InterruptManager.h",
41+
42+
"hal/simulation/CanData.h",
43+
"hal/simulation/I2CData.h",
44+
"hal/simulation/NotifyListener.h",
45+
"hal/simulation/SPIData.h",
46+
"hal/simulation/SimCallbackRegistry.h",
47+
"hal/simulation/SimDataValue.h",
48+
]
2049

2150

2251
[tool.robotpy-build.wrappers."hal".maven_lib_download]

0 commit comments

Comments
 (0)