Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/tools/configure b/tools/configure
- index 12025ba..ce1892b 100755
- --- a/tools/configure
- +++ b/tools/configure
- @@ -721,6 +721,15 @@ androidcc () {
- prefixtools $gcctarget
- }
- +armcortexm4 () {
- + prefixtools arm-none-eabi-
- + gccchoice="4.8.3"
- +
- + GCCOPTS="$CCOPTS -mthumb -march=armv7e-m -mtune=cortex-m4"
- + GCCOPTIMIZE="-fomit-frame-pointer" endian="little"
- + arch_profile="m"
- +}
- +
- whichadvanced () {
- atype=`echo "$1" | cut -c 2-`
- ##################################################################
- @@ -1344,6 +1353,9 @@ cat <<EOF
- 230) 760
- 231) 960
- +==Unknown==
- + 250) Nautilus
- +
- EOF
- buildfor=`input`;
- @@ -3744,6 +3756,26 @@ fi
- t_model="ihifi"
- ;;
- + 250|Nautilus)
- + target_id=90
- + modelname="nautilus"
- + target="NAUTILUS"
- + memory=16
- + bmp2rb_mono="$rootdir/tools/bmp2rb -f 0"
- + bmp2rb_native="$rootdir/tools/bmp2rb -f 4"
- + tool="$rootdir/tools/scramble -add=stm"
- + output="nautilus.fw"
- + bootoutput="boot.stm"
- + appextra="gui:recorder"
- + plugins=""
- + swcodec="yes"
- + toolset=$scramblebitmaptools
- + t_cpu="arm"
- + t_manufacturer="ST"
- + t_model="nautilus"
- + armcortexm4
- + ;;
- +
- *)
- echo "Please select a supported target platform!"
- exit 7
- @@ -4103,6 +4135,11 @@ elif [ "$ARG_CCACHE" != "0" ]; then
- fi
- fi
- +if [ -n "$arch_profile" ]; then
- + arch_profile="arch_profile_$arch_profile"
- + Darch_profile="#define ARCH_PROFILE $arch_profile"
- +fi
- +
- # figure out the full path to the various commands if possible
- HOSTCC=`findtool gcc --lit`
- HOSTAR=`findtool ar --lit`
- @@ -4212,10 +4249,16 @@ cat > autoconf.h <<EOF
- #define arch_amd64 6
- #define ARCH_AMD64 6
- +
- ++#define arch_profile_m 0
- ++#define ARCH_PROFILE_M 0
- +
- /* Define target machine architecture */
- #define ARCH ${arch}
- /* Optionally define architecture version */
- ${Darch_version}
- +/* Optionally define architecture profile */
- +${Darch_profile}
- /* Define endianess for the target or simulator platform */
- #define ${defendian} 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement