[PATCH] Add hardware FPU flags for Raspberry Pi 2 BSP

Alan Cudmore alan.cudmore at gmail.com
Tue Apr 7 20:08:24 UTC 2015


This patch adds hardware FPU support for the RPI 2.
Builds and runs examples on the Pi2. My RKI image whetstone command is
significantly faster.

Alan


On Tue, Apr 7, 2015 at 4:06 PM, Alan Cudmore <alan.cudmore at gmail.com> wrote:

> ---
>  c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg
> b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg
> index 08dda04..a233d34 100644
> --- a/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg
> +++ b/c/src/lib/libbsp/arm/raspberrypi/make/custom/raspberrypi2.cfg
> @@ -3,4 +3,4 @@
>  #
>  include $(RTEMS_ROOT)/make/custom/raspberrypi.inc
>
> -CPU_CFLAGS = -march=armv7-a -mtune=cortex-a7
> +CPU_CFLAGS = -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard
> -mtune=cortex-a7
> --
> 1.9.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150407/af2f08b5/attachment-0002.html>


More information about the devel mailing list