New WIP port: Echo R1

The Echo R1 is a new open-hardware music player design, based
on the STM32H743 microcontroller. Schematics and hardware
documentation for it can be found here:

- https://github.com/amachronic/echoplayer

This is an incomplete port. The bootloader can be loaded using
OpenOCD and it can draw to the LCD using SPI. SDRAM is working
but hasn't been extensively tested.

Change-Id: Ifd2bee15c49868fbc989683d3ca14dce48bf3e18
This commit is contained in:
Aidan MacDonald 2025-02-13 13:56:51 +00:00 committed by Solomon Peachy
parent abae4660e2
commit 83950bf233
44 changed files with 3176 additions and 0 deletions

34
tools/configure vendored
View file

@ -609,6 +609,13 @@ arm7ejscc () {
endian="little"
}
armcortexm7cc () {
findarmgcc
GCCOPTS="$CCOPTS -march=armv7e-m -mcpu=cortex-m7"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
}
mipselcc () {
prefixtools mipsel-elf-
# mips is predefined, but we want it for paths. use __mips instead
@ -1724,6 +1731,8 @@ cat <<EOF
260) Q1 243) X20 (hw3 bl only)
249) Eros Q / K native
(hw4 bl only)
==Echo project==
270) Echo R1 (WIP)
EOF
buildfor=`input`;
@ -4339,6 +4348,31 @@ fi
t_model="shanlingq1"
;;
270|echor1)
target_id=119
modelname="echor1"
target="ECHO_R1"
memory=32
armcortexm7cc
appextra="recorder:gui"
plugins="no"
tool="cp "
boottool="cp "
output="rockbox.echo"
bootoutput="bootloader.echo"
sysfontbl="16-Terminus"
sysfont="14-Rockbox-Mix"
# toolset is the tools within the tools directory that we build for
# this particular target.
toolset="$genericbitmaptools scramble uclpack"
bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
# architecture, manufacturer and model for the target-tree build
t_cpu="arm"
t_manufacturer="stm32"
t_model="echoplayer"
;;
*)
echo "Please select a supported target platform!"
exit 7