add OPT_MCU_MAX32665
This commit is contained in:
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -124,7 +124,7 @@ jobs:
|
|||||||
output: ${{ steps.step1.outputs.sarif-output }}/cpp.sarif
|
output: ${{ steps.step1.outputs.sarif-output }}/cpp.sarif
|
||||||
|
|
||||||
- name: Upload SARIF
|
- name: Upload SARIF
|
||||||
uses: github/codeql-action/upload-sarif@v2
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
with:
|
with:
|
||||||
sarif_file: ${{ steps.step1.outputs.sarif-output }}
|
sarif_file: ${{ steps.step1.outputs.sarif-output }}
|
||||||
category: "/language:${{matrix.language}}"
|
category: "/language:${{matrix.language}}"
|
||||||
|
@@ -1,9 +1,6 @@
|
|||||||
# TODO more docs and example on how to use this file
|
|
||||||
# TINYUSB_TARGET_PREFIX and TINYUSB_TARGET_SUFFIX can be used to change the name of the target
|
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
# Add tinyusb to a existing target
|
# Add tinyusb to a existing target, DCD and HCD drivers are not included
|
||||||
function(tinyusb_target_add TARGET)
|
function(tinyusb_target_add TARGET)
|
||||||
target_sources(${TARGET} PRIVATE
|
target_sources(${TARGET} PRIVATE
|
||||||
# common
|
# common
|
||||||
|
@@ -195,6 +195,7 @@
|
|||||||
|
|
||||||
// Analog Devices
|
// Analog Devices
|
||||||
#define OPT_MCU_MAX32690 2400 ///< ADI MAX32690
|
#define OPT_MCU_MAX32690 2400 ///< ADI MAX32690
|
||||||
|
#define OPT_MCU_MAX32665 2401 ///< ADI MAX32666/5
|
||||||
#define OPT_MCU_MAX32666 2401 ///< ADI MAX32666/5
|
#define OPT_MCU_MAX32666 2401 ///< ADI MAX32666/5
|
||||||
#define OPT_MCU_MAX32650 2402 ///< ADI MAX32650/1/2
|
#define OPT_MCU_MAX32650 2402 ///< ADI MAX32650/1/2
|
||||||
#define OPT_MCU_MAX78002 2403 ///< ADI MAX78002
|
#define OPT_MCU_MAX78002 2403 ///< ADI MAX78002
|
||||||
|
@@ -101,13 +101,13 @@ def cmake_board(board, toolchain, build_flags_on):
|
|||||||
if build_utils.skip_example(example, board):
|
if build_utils.skip_example(example, board):
|
||||||
ret[2] += 1
|
ret[2] += 1
|
||||||
else:
|
else:
|
||||||
rcmd = run_cmd(f'cmake examples/{example} -B {build_dir}/{example} -G "Ninja" '
|
rcmd = run_cmd(f'cmake examples/{example} -B {build_dir}/{example} -G Ninja '
|
||||||
f'-DBOARD={board} {build_flags}')
|
f'-DBOARD={board} {build_flags}')
|
||||||
if rcmd.returncode == 0:
|
if rcmd.returncode == 0:
|
||||||
rcmd = run_cmd(f'cmake --build {build_dir}/{example}')
|
rcmd = run_cmd(f'cmake --build {build_dir}/{example}')
|
||||||
ret[0 if rcmd.returncode == 0 else 1] += 1
|
ret[0 if rcmd.returncode == 0 else 1] += 1
|
||||||
else:
|
else:
|
||||||
rcmd = run_cmd(f'cmake examples -B {build_dir} -G "Ninja" -DBOARD={board} -DCMAKE_BUILD_TYPE=MinSizeRel '
|
rcmd = run_cmd(f'cmake examples -B {build_dir} -G Ninja -DBOARD={board} -DCMAKE_BUILD_TYPE=MinSizeRel '
|
||||||
f'-DTOOLCHAIN={toolchain} {build_flags}')
|
f'-DTOOLCHAIN={toolchain} {build_flags}')
|
||||||
if rcmd.returncode == 0:
|
if rcmd.returncode == 0:
|
||||||
cmd = f"cmake --build {build_dir}"
|
cmd = f"cmake --build {build_dir}"
|
||||||
|
Reference in New Issue
Block a user