Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tools and docs and tool skeleton #596

Merged
merged 4 commits into from
Dec 22, 2024
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
6 changes: 3 additions & 3 deletions .github/workflows/real-time-cpp-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ jobs:
fetch-depth: '0'
- name: update-tools
run: |
wget --no-check-certificate https://buildbot.embecosm.com/job/riscv32-gcc-ubuntu2204-release/10/artifact/riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz
tar -xzf riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz -C ${{ runner.workspace }}
wget --no-check-certificate https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-3/xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64.tar.gz
tar -xzf xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64.tar.gz -C ${{ runner.workspace }}
working-directory: ./
- name: benchmark_builds-riscv
run: |
PATH="${{ runner.workspace }}/riscv32-embecosm-ubuntu2204-gcc13.2.0/bin:$PATH"
PATH="${{ runner.workspace }}/xpack-riscv-none-elf-gcc-14.2.0-3/bin:$PATH"
./target/build/test_app_benchmarks_riscv.sh ${{ matrix.standard }}
working-directory: ./ref_app/
benchmark_single-stm32f446:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/real-time-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -220,12 +220,12 @@ jobs:
fetch-depth: '0'
- name: update-tools
run: |
wget --no-check-certificate https://buildbot.embecosm.com/job/riscv32-gcc-ubuntu2204-release/10/artifact/riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz
tar -xzf riscv32-embecosm-ubuntu2204-gcc13.2.0.tar.gz -C ${{ runner.workspace }}
wget --no-check-certificate https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-3/xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64.tar.gz
tar -xzf xpack-riscv-none-elf-gcc-14.2.0-3-linux-x64.tar.gz -C ${{ runner.workspace }}
working-directory: ./
- name: target-riscvfe310-${{ matrix.suite }}
- name: target-riscv-${{ matrix.suite }}
run: |
PATH="${{ runner.workspace }}/riscv32-embecosm-ubuntu2204-gcc13.2.0/bin:$PATH"
PATH="${{ runner.workspace }}/xpack-riscv-none-elf-gcc-14.2.0-3/bin:$PATH"
./target/build/build.sh ${{ matrix.suite }} rebuild
ls -la ./bin/ref_app.elf ./bin/ref_app.hex ./bin/ref_app.map ./bin/ref_app.s19
working-directory: ./ref_app/
Expand Down
38 changes: 19 additions & 19 deletions ref_app/target/build/test_app_benchmarks_riscv.sh

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions ref_app/target/micros/riscvfe310/make/riscvfe310_flags.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# compiler flags for the target architecture
# ------------------------------------------------------------------------------

GCC_TARGET := riscv32-unknown-elf
GCC_PREFIX := riscv32-unknown-elf
GCC_TARGET := riscv-none-elf
GCC_PREFIX := riscv-none-elf

GCC_VERSION := 13.2.0
GCC_VERSION := 14.2.0

TGT_SUFFIX = elf

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# compiler flags for the target architecture
# ------------------------------------------------------------------------------

GCC_TARGET := riscv32-unknown-elf
GCC_PREFIX := riscv32-unknown-elf
GCC_TARGET := riscv-none-elf
GCC_PREFIX := riscv-none-elf

GCC_VERSION := 13.2.0
GCC_VERSION := 14.2.0

TGT_SUFFIX = elf

Expand Down
4 changes: 2 additions & 2 deletions ref_app/tools/AVR/avrdude/avrdude-v8.0-windows-x64/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ building the reference application `ref_app`, will be found in the `bin` directo
These instructions are for modern `Win*`.

The programming device being used is the AVRISP mkII, which is an older USB-based
programmer. Drivers can be installed along with with ATMEL(R) Studio or alternative
open source USB driver-options are available.
programmer. Drivers can be installed along with with ATMEL(R) Studio.
Also alternative open source USB driver-options are available.

## Getting Started

Expand Down
26 changes: 26 additions & 0 deletions ref_app/tools/Util/msys64/usr/bin/_readme_GnuTools.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Update 2024-01-31

- Simply use tools from "UnxUtils" including
echo, mkdir, rm, sed. See also:
https://sourceforge.net/projects/unxutils

- The make.exe stays the same as the one below.

- Begin building cross-compilers on msys2
with a completely standalone, static MinGW
(from nuwen). These do not require and DLLs.

-------------------------------------------------------

- The source of echo, mkdir, rm, sed is mingw64/msys2.
- Their associated DLLs msys-2.0, msys-iconv-2 and
msys-intl-8 are taken from mingw64/msys2.

- GCC toolchains are in the "local" directory and
its subdirectories. The DLL libwinpthread-1
is needed for these GCC ports. This DLL has
also been taken from mingw64/msys2.

- The make.exe program GNUmake 4.2.1 built for Windows
with MSVC 14.2. See also the repository for this ar:
https://github.com/ckormanyos/real-time-cpp-toolchains
Binary file added ref_app/tools/Util/msys64/usr/bin/echo.exe
Binary file not shown.
Binary file added ref_app/tools/Util/msys64/usr/bin/make.exe
Binary file not shown.
Binary file added ref_app/tools/Util/msys64/usr/bin/mkdir.exe
Binary file not shown.
Binary file added ref_app/tools/Util/msys64/usr/bin/rm.exe
Binary file not shown.
Binary file added ref_app/tools/Util/msys64/usr/bin/sed.exe
Binary file not shown.
13 changes: 13 additions & 0 deletions ref_app/tools/Util/msys64/usr/local/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
real-time-cpp-toolchains - Individual Toolchains
==================

| GCC target | location |
| ---------------------- | --------------------- |
| `arm-none-eabi` | [ARM(R) GNU Toolchain](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads) |
| `avr` | [ckormanyos/avr-gcc-build](https://github.com/ckormanyos/avr-gcc-build) |
| `riscv-none-elf` | [xpack-dev-tools/riscv-none-elf-gcc-xpack](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack) |
| `rl78-unknown-elf` | [ckormanyos/gcc-rl78-unknown-elf](https://github.com/ckormanyos/gcc-rl78-unknown-elf) |
| `rx-elf` | [ckormanyos/gcc-rx-elf](https://github.com/ckormanyos/gcc-rx-elf) |
| `v850-unknown-elf` | [ckormanyos/gcc-v850-unknown-elf](https://github.com/ckormanyos/gcc-v850-unknown-elf) |
| `x86_64-w64-mingw32` | [nuwen distro](https://nuwen.net/mingw.html) |
| `xtensa-esp32-elf` | [espressif/crosstool-NG](https://github.com/espressif/crosstool-NG) |
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
`gcc-rl78-unknown-elf`
==================

See also
[ckormanyos/gcc-rl78-unknown-elf](https://github.com/ckormanyos/gcc-rl78-unknown-elf)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
`gcc-rx-elf`
==================

See also
[ckormanyos/gcc-rx-elf](https://github.com/ckormanyos/gcc-rx-elf)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
`gcc-v850-unknown-elf`
==================

See also
[ckormanyos/gcc-v850-unknown-elf](https://github.com/ckormanyos/gcc-v850-unknown-elf)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
`gcc-x86_64-w64-mingw32`
==================

See also
[nuwen distro](https://nuwen.net/mingw.html)
Loading
Loading