Skip to content

Commit

Permalink
build(Examples,Tools): Upgrade RISC-V Toolchain, Update Project Files (
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter authored Jun 22, 2023
1 parent 2f92c4a commit 295cae5
Show file tree
Hide file tree
Showing 1,685 changed files with 15,921 additions and 107,511 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/Build_Examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,20 @@ jobs:
# Add riscv tools to path
echo "/home/runner/riscv-none-embed-gcc/$TOOL_VER/.content/bin" >> $GITHUB_PATH
- name: Install RISCV GCC Toolchain (riscv-none-elf-gcc)
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' }}
run: |
# Install RISCV tools (updated)
npm install --global xpm@latest
# https://www.npmjs.com/package/@xpack-dev-tools/riscv-none-elf-gcc
TOOL_VER=12.2.0-3.1
xpm install --global @xpack-dev-tools/riscv-none-elf-gcc@$TOOL_VER
cp -r /home/runner/.local/xPacks/@xpack-dev-tools/riscv-none-elf-gcc /home/runner/riscv-none-elf-gcc
# Add riscv tools to path
echo "/home/runner/riscv-none-elf-gcc/$TOOL_VER/.content/bin" >> $GITHUB_PATH
- name: Install ccache
if: ${{ steps.check_watch.outputs.RUN_TEST == '1' }}
run: |
Expand Down
150 changes: 11 additions & 139 deletions Examples/MAX32520/AES/.vscode/README.md

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Examples/MAX32520/AES/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"RV_OCD_target_file":"${config:target}_riscv.cfg",

"v_Arm_GCC":"10.3",
"v_xPack_GCC":"10.2.0-1.2",
"v_xPack_GCC":"12.2.0-3.1",

"OCD_path":"${config:MAXIM_PATH}/Tools/OpenOCD",
"ARM_GCC_path":"${config:MAXIM_PATH}/Tools/GNUTools/${config:v_Arm_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-embed-gcc/${config:v_xPack_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-elf-gcc/${config:v_xPack_GCC}",
"Make_path":"${config:MAXIM_PATH}/Tools/MSYS2/usr/bin",

"C_Cpp.default.includePath": [
Expand Down Expand Up @@ -67,10 +67,10 @@
"${config:MAXIM_PATH}/Libraries/MiscDrivers"
],
"C_Cpp.default.defines": [
"${config:board}",
"TARGET=${config:target}",
"TARGET_REV=0x4131",
"__GNUC__"

],
"C_Cpp.default.forcedInclude": [
"${workspaceFolder}/build/project_defines.h"
]
}

150 changes: 11 additions & 139 deletions Examples/MAX32520/ARM-DSP/arm_bayes_example/.vscode/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"RV_OCD_target_file":"${config:target}_riscv.cfg",

"v_Arm_GCC":"10.3",
"v_xPack_GCC":"10.2.0-1.2",
"v_xPack_GCC":"12.2.0-3.1",

"OCD_path":"${config:MAXIM_PATH}/Tools/OpenOCD",
"ARM_GCC_path":"${config:MAXIM_PATH}/Tools/GNUTools/${config:v_Arm_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-embed-gcc/${config:v_xPack_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-elf-gcc/${config:v_xPack_GCC}",
"Make_path":"${config:MAXIM_PATH}/Tools/MSYS2/usr/bin",

"C_Cpp.default.includePath": [
Expand Down Expand Up @@ -72,11 +72,10 @@
"C_Cpp.default.defines": [
"ARM_MATH_CM4",
"__FPU_PRESENT",
"SEMIHOSTING",
"${config:board}",
"TARGET=${config:target}",
"TARGET_REV=0x4131",
"__GNUC__"
"SEMIHOSTING"
],
"C_Cpp.default.forcedInclude": [
"${workspaceFolder}/build/project_defines.h"
]
}

150 changes: 11 additions & 139 deletions Examples/MAX32520/ARM-DSP/arm_class_marks_example/.vscode/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"RV_OCD_target_file":"${config:target}_riscv.cfg",

"v_Arm_GCC":"10.3",
"v_xPack_GCC":"10.2.0-1.2",
"v_xPack_GCC":"12.2.0-3.1",

"OCD_path":"${config:MAXIM_PATH}/Tools/OpenOCD",
"ARM_GCC_path":"${config:MAXIM_PATH}/Tools/GNUTools/${config:v_Arm_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-embed-gcc/${config:v_xPack_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-elf-gcc/${config:v_xPack_GCC}",
"Make_path":"${config:MAXIM_PATH}/Tools/MSYS2/usr/bin",

"C_Cpp.default.includePath": [
Expand Down Expand Up @@ -72,11 +72,10 @@
"C_Cpp.default.defines": [
"ARM_MATH_CM4",
"__FPU_PRESENT",
"SEMIHOSTING",
"${config:board}",
"TARGET=${config:target}",
"TARGET_REV=0x4131",
"__GNUC__"
"SEMIHOSTING"
],
"C_Cpp.default.forcedInclude": [
"${workspaceFolder}/build/project_defines.h"
]
}

150 changes: 11 additions & 139 deletions Examples/MAX32520/ARM-DSP/arm_convolution_example/.vscode/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
"RV_OCD_target_file":"${config:target}_riscv.cfg",

"v_Arm_GCC":"10.3",
"v_xPack_GCC":"10.2.0-1.2",
"v_xPack_GCC":"12.2.0-3.1",

"OCD_path":"${config:MAXIM_PATH}/Tools/OpenOCD",
"ARM_GCC_path":"${config:MAXIM_PATH}/Tools/GNUTools/${config:v_Arm_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-embed-gcc/${config:v_xPack_GCC}",
"xPack_GCC_path":"${config:MAXIM_PATH}/Tools/xPack/riscv-none-elf-gcc/${config:v_xPack_GCC}",
"Make_path":"${config:MAXIM_PATH}/Tools/MSYS2/usr/bin",

"C_Cpp.default.includePath": [
Expand Down Expand Up @@ -72,11 +72,10 @@
"C_Cpp.default.defines": [
"ARM_MATH_CM4",
"__FPU_PRESENT",
"SEMIHOSTING",
"${config:board}",
"TARGET=${config:target}",
"TARGET_REV=0x4131",
"__GNUC__"
"SEMIHOSTING"
],
"C_Cpp.default.forcedInclude": [
"${workspaceFolder}/build/project_defines.h"
]
}

Loading

0 comments on commit 295cae5

Please sign in to comment.