Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# All files require code owner approval from the firmware lead

## Previous firmware leads are not marked as Code Owners to not get notifications / called on for every PR, but they will have admin on GitHub and can merge PRs without approval

* @dchansen06
7 changes: 6 additions & 1 deletion Lib/Platform/PlatformTemplate/chip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ add_library(${CHIP}_LIB INTERFACE)
# enable_language(C ASM)

# used to strip the last 2 characters of CHIP to make the compile def
string(SUBSTRING ${CHIP} 0 9 TEMP) # FIXME Scary
string(
SUBSTRING ${CHIP}
0
9
TEMP
) # FIXME Scary
target_compile_definitions(
${CHIP}_LIB
INTERFACE
Expand Down
7 changes: 6 additions & 1 deletion Lib/Platform/STM32G474xE/chip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ endfunction()
add_library(${CHIP}_LIB INTERFACE)

# used to strip the last 2 characters of CHIP to make the compile def
string(SUBSTRING ${CHIP} 0 9 TEMP) # FIXME Scary
string(
SUBSTRING ${CHIP}
0
9
TEMP
) # FIXME Scary
target_compile_definitions(
${CHIP}_LIB
INTERFACE
Expand Down
7 changes: 6 additions & 1 deletion Lib/Platform/STM32L476xG/chip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ endfunction()
add_library(${CHIP}_LIB INTERFACE)

# used to strip the last 2 characters of CHIP to make the compile def
string(SUBSTRING ${CHIP} 0 9 TEMP) # FIXME Scary
string(
SUBSTRING ${CHIP}
0
9
TEMP
) # FIXME Scary
target_compile_definitions(
${CHIP}_LIB
INTERFACE
Expand Down
7 changes: 6 additions & 1 deletion Lib/Platform/STM32U5A9xJ/chip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ add_library(${CHIP}_LIB INTERFACE)

# enable_language(C ASM)

string(SUBSTRING ${CHIP} 0 9 TEMP) # FIXME Scary
string(
SUBSTRING ${CHIP}
0
9
TEMP
) # FIXME Scary
target_compile_definitions(
${CHIP}_LIB
INTERFACE
Expand Down
6 changes: 1 addition & 5 deletions Lib/cmake/gr-lib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ function(add_gr_project)
set(COMBINATOR "${GR_PROJECT}")
endif()

cmake_language(
CALL
add_executable_${Platform}
${TARGET_NAME}
)
cmake_language(CALL add_executable_${Platform} ${TARGET_NAME})

# Create unique interface library to avoid conflicts
set(INTERFACE_LIB "${COMBINATOR}_INTERFACE_LIB")
Expand Down