Commit e67af6b 1 parent cd5f345 commit e67af6b Copy full SHA for e67af6b
File tree 2 files changed +11
-10
lines changed
2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,6 @@ target_compile_options(BlitEngine PRIVATE -ffunction-sections -fdata-sections)
26
26
27
27
add_subdirectory (../32blit-shared ../32blit-shared)
28
28
29
- # driver helper
30
- # can override driver choice by pre-setting BLIT_x_DRIVER
31
- function (blit_driver DRV NAME )
32
- set (var BLIT_${DRV} _DRIVER)
33
- string (TOUPPER ${var} var)
34
-
35
- if (NOT ${var} )
36
- set (${var} ${NAME} PARENT_SCOPE)
37
- endif ()
38
- endfunction ()
39
29
40
30
add_library (BlitHalPico INTERFACE )
41
31
target_sources (BlitHalPico INTERFACE
Original file line number Diff line number Diff line change
1
+ # driver helper
2
+ # can override driver choice by pre-setting BLIT_x_DRIVER
3
+ function (blit_driver DRV NAME )
4
+ set (var BLIT_${DRV} _DRIVER)
5
+ string (TOUPPER ${var} var)
6
+
7
+ if (NOT ${var} )
8
+ set (${var} ${NAME} PARENT_SCOPE)
9
+ endif ()
10
+ endfunction ()
11
+
1
12
if (DEFINED PICO_ADDON)
2
13
# for boards that don't have a board in the pico sdk
3
14
# (usually because they are an add-on for a regular pico)
You can’t perform that action at this time.
0 commit comments