Skip to content

sdl: use controller accelerometer for tilt if available #1270

sdl: use controller accelerometer for tilt if available

sdl: use controller accelerometer for tilt if available #1270

Triggered via push January 24, 2025 17:31
Status Success
Total duration 9m 10s
Artifacts 9

cmake.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

70 warnings
STM32: 32blit-stm32/Src/fatfs_sd.c#L214
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
STM32: 32blit-stm32/Src/fatfs_sd.c#L216
dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
STM32: 32blit-stm32/Src/fatfs_sd.c#L216
unused variable 'crc' [-Wunused-variable]
STM32: 32blit-stm32/Src/quadspi.c#L180
'QSPI_DummyCyclesCfg' defined but not used [-Wunused-function]
STM32
format '%i' expects argument of type 'int', but argument 5 has type 'int32_t' {aka 'long int'} [-Wformat=]
STM32: 32blit-stm32/Src/SystemMenu/firmware_menu.cpp#L35
type 'MenuItem' violates the C++ One Definition Rule [-Wodr]
STM32: 32blit-stm32/Src/32blit.cpp#L345
'memset' writing 153600 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]
Visual Studio: 32blit/graphics/tilemap.hpp#L27
nonstandard extension used: zero-sized array in struct/union [D:\a\32blit-beta\build\32blit\BlitEngine.vcxproj]
Visual Studio: 32blit/graphics/tilemap.hpp#L27
nonstandard extension used: zero-sized array in struct/union [D:\a\32blit-beta\build\32blit\BlitEngine.vcxproj]
Visual Studio: launcher-shared/executable.hpp#L56
nonstandard extension used: zero-sized array in struct/union [D:\a\32blit-beta\build\launcher-shared\LauncherShared.vcxproj]
Visual Studio: 32blit/graphics/tilemap.hpp#L27
nonstandard extension used: zero-sized array in struct/union [D:\a\32blit-beta\build\32blit-sdl\BlitHalSDL.vcxproj]
Visual Studio: 32blit/graphics/tilemap.hpp#L27
nonstandard extension used: zero-sized array in struct/union [D:\a\32blit-beta\build\examples\tunnel\tunnel.vcxproj]
Visual Studio
declaration of 'mipmap_index' hides previous local declaration [D:\a\32blit-beta\build\examples\tunnel\tunnel.vcxproj]
Visual Studio
declaration of 'texture_origin' hides previous local declaration [D:\a\32blit-beta\build\examples\tunnel\tunnel.vcxproj]
Visual Studio
declaration of 'texture_size' hides previous local declaration [D:\a\32blit-beta\build\examples\tunnel\tunnel.vcxproj]
Visual Studio
declaration of 'mipmap_index' hides previous local declaration [D:\a\32blit-beta\build\examples\tunnel\tunnel.vcxproj]
Visual Studio
declaration of 'texture_origin' hides previous local declaration [D:\a\32blit-beta\build\examples\tunnel\tunnel.vcxproj]
Linux: 32blit/audio/audio.cpp#L141
Division by zero [clang-analyzer-core.DivideZero]
Linux: 32blit/engine/profiler.hpp#L123
use default member initializer for 'm_uStartUs' [modernize-use-default-member-init]
Linux: 32blit/engine/profiler.hpp#L125
use default member initializer for 'm_pRunningAverage' [modernize-use-default-member-init]
Linux: 32blit/engine/profiler.hpp#L128
use default member initializer for 'm_uGraphTimeUs' [modernize-use-default-member-init]
Linux: 32blit/engine/running_average.hpp#L95
use default member initializer for 'm_uIndex' [modernize-use-default-member-init]
Linux: 32blit/engine/running_average.hpp#L97
use default member initializer for 'm_bFull' [modernize-use-default-member-init]
Linux: 32blit/types/point.hpp#L35
avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
Linux: 32blit/types/rect.hpp#L23
avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
Linux: 32blit/types/rect.hpp#L43
avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
Linux: 32blit/types/rect.hpp#L100
avoid repeating the return type from the declaration; use a braced initializer list instead [modernize-return-braced-init-list]
macOS: 32blit-sdl/System.cpp#L28
suggest braces around initialization of subobject [-Wmissing-braces]
macOS: 32blit-sdl/System.cpp#L28
suggest braces around initialization of subobject [-Wmissing-braces]
macOS
variable 'tick_count' set but not used [-Wunused-but-set-variable]
macOS
variable 'lerp_value' set but not used [-Wunused-but-set-variable]
macOS
variable 'tick_count' set but not used [-Wunused-but-set-variable]
macOS
variable 'lerp_value' set but not used [-Wunused-but-set-variable]
macOS
variable 'x' set but not used [-Wunused-but-set-variable]
macOS
variable 'x' set but not used [-Wunused-but-set-variable]
macOS
variable 'x' set but not used [-Wunused-but-set-variable]
macOS
variable 'tick' set but not used [-Wunused-but-set-variable]
PicoSystem (.blit)
format '%i' expects argument of type 'int', but argument 5 has type 'int32_t' {aka 'long int'} [-Wformat=]
PicoSystem (.blit): 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem (.blit): 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoVision: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoVision: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoVision: 32blit-pico/display.cpp#L67
variable 'min_buffers' set but not used [-Wunused-but-set-variable]
PicoVision: 32blit-pico/display.cpp#L67
variable 'min_buffers' set but not used [-Wunused-but-set-variable]
PicoVision: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoVision: 32blit-pico/display.cpp#L67
variable 'min_buffers' set but not used [-Wunused-but-set-variable]
PicoVision: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoVision: 32blit-pico/display.cpp#L67
variable 'min_buffers' set but not used [-Wunused-but-set-variable]
PicoVision: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoVision: 32blit-pico/display.cpp#L67
variable 'min_buffers' set but not used [-Wunused-but-set-variable]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
PicoSystem: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
VGA Board: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
VGA Board: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
VGA Board
comparison of integer expressions of different signedness: 'uint32_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
VGA Board
comparison of integer expressions of different signedness: 'io_ro_32' {aka 'const volatile long unsigned int'} and 'int' [-Wsign-compare]
VGA Board
comparison of integer expressions of different signedness: 'uint32_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
VGA Board
comparison of integer expressions of different signedness: 'io_ro_32' {aka 'const volatile long unsigned int'} and 'int' [-Wsign-compare]
VGA Board: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
VGA Board: 32blit-pico/blit_launch.cpp#L61
'uint32_t find_flash_offset(uint32_t)' defined but not used [-Wunused-function]
VGA Board
comparison of integer expressions of different signedness: 'uint32_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
VGA Board
comparison of integer expressions of different signedness: 'io_ro_32' {aka 'const volatile long unsigned int'} and 'int' [-Wsign-compare]

Artifacts

Produced during runtime
Name Size
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-
4.08 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-LIN64
4.23 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-MinGW
27.5 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-PicoSystem
3.86 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-PicoSystem-blit
2.56 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-PicoVision
5.52 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-STM32
2.92 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-WIN64
4.12 MB
32blit-beta-22b247966e339f60e9b1dd758620ddecf2f81f32-macOS
165 MB