mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-12 10:34:48 +00:00
Merge pull request #3497 from hathach/more-membrowse
Change membrowse target to board/target and clean up workflow
This commit is contained in:
1
.github/workflows/build_util.yml
vendored
1
.github/workflows/build_util.yml
vendored
@ -79,7 +79,6 @@ jobs:
|
||||
|
||||
- name: Membrowse Upload
|
||||
if: inputs.toolchain != 'esp-idf' && inputs.upload-membrowse == true
|
||||
continue-on-error: true # have server busy issue with membrowse
|
||||
env:
|
||||
MEMBROWSE_API_KEY: ${{ secrets.MEMBROWSE_API_KEY }}
|
||||
run: |
|
||||
|
||||
@ -310,7 +310,7 @@ while [ -n \"$pending_ld_scripts\" ]; do \
|
||||
done; \
|
||||
ld_scripts=\"$(echo \"$all_ld_scripts\" | xargs)\"")
|
||||
set(MEMBROWSE_LD_DEFS_CMD
|
||||
"ld_symbols=\"$(${CMAKE_MAKE_PROGRAM} -C ${CMAKE_BINARY_DIR} -t commands ${TARGET} | grep -oP '(?<=--defsym=)[^[:space:]]+' | xargs)\"; \
|
||||
"ld_symbols=\"$(${CMAKE_MAKE_PROGRAM} -C ${CMAKE_BINARY_DIR} -t commands ${TARGET} | grep -oP '(?<=--defsym[=,])[^[:space:]]+' | xargs)\"; \
|
||||
ld_defs=\"\"; \
|
||||
for symbol in $ld_symbols; do \
|
||||
ld_defs=\"$ld_defs --def $symbol\"; \
|
||||
@ -321,13 +321,13 @@ ld_defs=\"$(echo \"$ld_defs\" | xargs)\"")
|
||||
${MEMBROWSE_LD_SCRIPTS_CMD}; \
|
||||
${MEMBROWSE_LD_DEFS_CMD}; \
|
||||
if [ \"$MEMBROWSE_UPLOAD\" = \"1\" ]; then \
|
||||
MEMBROWSE_CMD=\"${MEMBROWSE_EXE} report ${OPTION} \\\"${TARGET_ELF_PATH}\\\" \\\"$ld_scripts\\\" $ld_defs --upload --github --target-name ${FAMILY}/${BOARD}/${TARGET} --api-key $ENV{MEMBROWSE_API_KEY}\"; \
|
||||
MEMBROWSE_CMD=\"${MEMBROWSE_EXE} report ${OPTION} \\\"${TARGET_ELF_PATH}\\\" \\\"$ld_scripts\\\" $ld_defs --upload --github --target-name ${BOARD}/${TARGET} --api-key $ENV{MEMBROWSE_API_KEY}\"; \
|
||||
else \
|
||||
MEMBROWSE_CMD=\"${MEMBROWSE_EXE} report ${OPTION} \\\"${TARGET_ELF_PATH}\\\" \\\"$ld_scripts\\\" $ld_defs\"; \
|
||||
fi; \
|
||||
else \
|
||||
if [ \"$MEMBROWSE_UPLOAD\" = \"1\" ]; then \
|
||||
MEMBROWSE_CMD=\"${MEMBROWSE_EXE} report ${OPTION} --identical --upload --github --target-name ${FAMILY}/${BOARD}/${TARGET} --api-key $ENV{MEMBROWSE_API_KEY}\"; \
|
||||
MEMBROWSE_CMD=\"${MEMBROWSE_EXE} report ${OPTION} --identical --upload --github --target-name ${BOARD}/${TARGET} --api-key $ENV{MEMBROWSE_API_KEY}\"; \
|
||||
else \
|
||||
MEMBROWSE_CMD=\"${MEMBROWSE_EXE} report ${OPTION} --identical\"; \
|
||||
fi; \
|
||||
|
||||
@ -40,6 +40,7 @@ SRC_C += \
|
||||
ifneq ($(filter stm32u545xx stm32u535xx,$(MCU_VARIANT)),)
|
||||
SRC_C += \
|
||||
src/portable/st/stm32_fsdev/dcd_stm32_fsdev.c \
|
||||
src/portable/st/stm32_fsdev/hcd_stm32_fsdev.c \
|
||||
src/portable/st/stm32_fsdev/fsdev_common.c
|
||||
else
|
||||
SRC_C += \
|
||||
|
||||
Reference in New Issue
Block a user