mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 18:27:05 +08:00
Add support for the Atollic 'Lite' toolchain in all STM32 F4 configurations
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4417 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -2493,3 +2493,5 @@
|
|||||||
was ignored because its sequence number looked wrong. Fix was, obviously,
|
was ignored because its sequence number looked wrong. Fix was, obviously,
|
||||||
to only increment the recevied sequence number if the TCP data was
|
to only increment the recevied sequence number if the TCP data was
|
||||||
accepted.
|
accepted.
|
||||||
|
* configs/stm3240g-eval, configs/stm32f40discovery, and arch/*/src/Makefile:
|
||||||
|
Add changes to support building with the Atollic "Lite" toolchain.
|
||||||
|
|||||||
@@ -119,11 +119,6 @@ endif
|
|||||||
@$(NM) $(NUTTX)$(EXEEXT) | \
|
@$(NM) $(NUTTX)$(EXEEXT) | \
|
||||||
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
||||||
sort > $(TOPDIR)/System.map
|
sort > $(TOPDIR)/System.map
|
||||||
@export vflashstart=`$(OBJDUMP) --all-headers $(NUTTX)$(EXEEXT) | grep _vflashstart | cut -d' ' -f1`; \
|
|
||||||
if [ ! -z "$$vflashstart" ]; then \
|
|
||||||
$(OBJCOPY) $(OBJCOPYARGS) --adjust-section-vma=.vector=0x$$vflashstart $(NUTTX)$(EXEEXT) $(NUTTX).flashimage; \
|
|
||||||
mv $(NUTTX).flashimage $(NUTTX)$(EXEEXT); \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This is part of the top-level export target
|
# This is part of the top-level export target
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* arch/arm/src/c5471/c5471_irq.c
|
* arch/arm/src/c5471/c5471_irq.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -65,17 +65,15 @@ volatile uint32_t *current_regs;
|
|||||||
* Private Data
|
* Private Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* The value of _vflashstart is defined in ld.script. It
|
/* The value of _svectors is defined in ld.script. It could be hard-coded
|
||||||
* could be hard-coded because we know that correct IRAM
|
* because we know that correct IRAM area is 0xffc00000.
|
||||||
* area is 0xffc00000.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern int _svectors; /* Type does not matter */
|
extern int _svectors; /* Type does not matter */
|
||||||
|
|
||||||
/* The C5471 has FLASH at the low end of memory. The
|
/* The C5471 has FLASH at the low end of memory. The rrload bootloaer will
|
||||||
* rrload bootloaer will catch all interrupts and re-vector
|
* catch all interrupts and re-vector them to vectors stored in IRAM. The
|
||||||
* them to vectors stored in IRAM. The following table is
|
* following table is used to initialize those vectors.
|
||||||
* used to initialize those vectors.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static up_vector_t g_vectorinittab[] =
|
static up_vector_t g_vectorinittab[] =
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/************************************************************************
|
/************************************************************************
|
||||||
* arch/arm/src/dm320/dm320_irq.c
|
* arch/arm/src/dm320/dm320_irq.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -63,9 +63,8 @@ volatile uint32_t *current_regs;
|
|||||||
* Private Data
|
* Private Data
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
/* The value of _vflashstart is defined in ld.script. It
|
/* The value of _svectors is defined in ld.script. It could be hard-
|
||||||
* could be hard-coded because we know that correct IRAM
|
* coded because we know that correct IRAM area is 0xffc00000.
|
||||||
* area is 0xffc00000.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern int _svectors; /* Type does not matter */
|
extern int _svectors; /* Type does not matter */
|
||||||
|
|||||||
@@ -119,11 +119,6 @@ nuttx: $(HEAD_OBJ) board/libboard$(LIBEXT)
|
|||||||
@$(NM) $(NUTTX)$(EXEEXT) | \
|
@$(NM) $(NUTTX)$(EXEEXT) | \
|
||||||
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
||||||
sort > $(TOPDIR)/System.map
|
sort > $(TOPDIR)/System.map
|
||||||
@export vflashstart=`$(OBJDUMP) --all-headers $(NUTTX)$(EXEEXT) | grep _vflashstart | cut -d' ' -f1`; \
|
|
||||||
if [ ! -z "$$vflashstart" ]; then \
|
|
||||||
$(OBJCOPY) $(OBJCOPYARGS) --adjust-section-vma=.vector=0x$$vflashstart $(NUTTX)$(EXEEXT) $(NUTTX).flashimage; \
|
|
||||||
mv $(NUTTX).flashimage $(NUTTX)$(EXEEXT); \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This is part of the top-level export target
|
# This is part of the top-level export target
|
||||||
|
|
||||||
|
|||||||
@@ -115,11 +115,6 @@ endif
|
|||||||
@$(NM) $(NUTTX)$(EXEEXT) | \
|
@$(NM) $(NUTTX)$(EXEEXT) | \
|
||||||
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
||||||
sort > $(TOPDIR)/System.map
|
sort > $(TOPDIR)/System.map
|
||||||
@export vflashstart=`$(OBJDUMP) --all-headers $(NUTTX)$(EXEEXT) | grep _vflashstart | cut -d' ' -f1`; \
|
|
||||||
if [ ! -z "$$vflashstart" ]; then \
|
|
||||||
$(OBJCOPY) $(OBJCOPYARGS) --adjust-section-vma=.vector=0x$$vflashstart $(NUTTX)$(EXEEXT) $(NUTTX).flashimage; \
|
|
||||||
mv $(NUTTX).flashimage $(NUTTX)$(EXEEXT); \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This is part of the top-level export target
|
# This is part of the top-level export target
|
||||||
|
|
||||||
|
|||||||
@@ -108,11 +108,6 @@ nuttx: $(HEAD_OBJ) board/libboard$(LIBEXT)
|
|||||||
@$(NM) $(NUTTX)$(EXEEXT) | \
|
@$(NM) $(NUTTX)$(EXEEXT) | \
|
||||||
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
||||||
sort > $(TOPDIR)/System.map
|
sort > $(TOPDIR)/System.map
|
||||||
@export vflashstart=`$(OBJDUMP) --all-headers $(NUTTX)$(EXEEXT) | grep _vflashstart | cut -d' ' -f1`; \
|
|
||||||
if [ ! -z "$$vflashstart" ]; then \
|
|
||||||
$(OBJCOPY) $(OBJCOPYARGS) --adjust-section-vma=.vector=0x$$vflashstart $(NUTTX)$(EXEEXT) $(NUTTX).flashimage; \
|
|
||||||
mv $(NUTTX).flashimage $(NUTTX)$(EXEEXT); \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This is part of the top-level export target
|
# This is part of the top-level export target
|
||||||
|
|
||||||
|
|||||||
@@ -93,11 +93,6 @@ endif
|
|||||||
@$(NM) $(TOPDIR)/$@ | \
|
@$(NM) $(TOPDIR)/$@ | \
|
||||||
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
||||||
sort > $(TOPDIR)/System.map
|
sort > $(TOPDIR)/System.map
|
||||||
@export vflashstart=`$(OBJDUMP) --all-headers $(TOPDIR)/$@ | grep _vflashstart | cut -d' ' -f1`; \
|
|
||||||
if [ ! -z "$$vflashstart" ]; then \
|
|
||||||
$(OBJCOPY) --adjust-section-vma=.vector=0x$$vflashstart $(TOPDIR)/$@ $(TOPDIR)/$@.flashimage; \
|
|
||||||
mv $(TOPDIR)/$@.flashimage $(TOPDIR)/$@; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This is part of the top-level export target
|
# This is part of the top-level export target
|
||||||
|
|
||||||
|
|||||||
@@ -121,11 +121,6 @@ endif
|
|||||||
@$(NM) $(NUTTX)$(EXEEXT) | \
|
@$(NM) $(NUTTX)$(EXEEXT) | \
|
||||||
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
grep -v '\(compiled\)\|\(\$(OBJEXT)$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
|
||||||
sort > $(TOPDIR)/System.map
|
sort > $(TOPDIR)/System.map
|
||||||
@export vflashstart=`$(OBJDUMP) --all-headers $(NUTTX)$(EXEEXT) | grep _vflashstart | cut -d' ' -f1`; \
|
|
||||||
if [ ! -z "$$vflashstart" ]; then \
|
|
||||||
$(OBJCOPY) $(OBJCOPYARGS) --adjust-section-vma=.vector=0x$$vflashstart $(NUTTX)$(EXEEXT) $(NUTTX).flashimage; \
|
|
||||||
mv $(NUTTX).flashimage $(NUTTX)$(EXEEXT); \
|
|
||||||
fi
|
|
||||||
|
|
||||||
# This is part of the top-level export target
|
# This is part of the top-level export target
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/************************************************************
|
/************************************************************
|
||||||
* ld.script
|
* ld.script
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -39,7 +39,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
/* Interrupt vector trampoline and command line parameters
|
/* Interrupt vector trampoline and command line parameters
|
||||||
* are provided in IRAM by the rrload bootloader. Vectors will be
|
* are provided in IRAM by the rrload bootloader. Vectors will be
|
||||||
* copied into _svectors from _vflashstart.
|
* copied into _svectors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
. = 0xffc00000;
|
. = 0xffc00000;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/************************************************************
|
/************************************************************
|
||||||
* ld.script
|
* ld.script
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -39,7 +39,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
/* Interrupt vector trampoline and command line parameters
|
/* Interrupt vector trampoline and command line parameters
|
||||||
* are provided in IRAM by the rrload bootloader. Vectors will be
|
* are provided in IRAM by the rrload bootloader. Vectors will be
|
||||||
* copied into _svectors from _vflashstart.
|
* copied into _svectors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
. = 0xffc00000;
|
. = 0xffc00000;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/************************************************************
|
/************************************************************
|
||||||
* ld.script
|
* ld.script
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -39,7 +39,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
/* Interrupt vector trampoline and command line parameters
|
/* Interrupt vector trampoline and command line parameters
|
||||||
* are provided in IRAM by the rrload bootloader. Vectors will be
|
* are provided in IRAM by the rrload bootloader. Vectors will be
|
||||||
* copied into _svectors from _vflashstart.
|
* copied into _svectors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
. = 0xffc00000;
|
. = 0xffc00000;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/************************************************************
|
/************************************************************
|
||||||
* ld.script
|
* ld.script
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2011 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -39,7 +39,7 @@ SECTIONS
|
|||||||
{
|
{
|
||||||
/* Interrupt vector trampoline and command line parameters
|
/* Interrupt vector trampoline and command line parameters
|
||||||
* are provided in IRAM by the rrload bootloader. Vectors will be
|
* are provided in IRAM by the rrload bootloader. Vectors will be
|
||||||
* copied into _svectors from _vflashstart.
|
* copied into _svectors.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
. = 0xffc00000;
|
. = 0xffc00000;
|
||||||
|
|||||||
@@ -36,17 +36,19 @@ GNU Toolchain Options
|
|||||||
toolchain options.
|
toolchain options.
|
||||||
|
|
||||||
1. The CodeSourcery GNU toolchain,
|
1. The CodeSourcery GNU toolchain,
|
||||||
2. The devkitARM GNU toolchain,
|
2. The Atollic Toolchain,
|
||||||
3. Raisonance GNU toolchain, or
|
3. The devkitARM GNU toolchain,
|
||||||
4. The NuttX buildroot Toolchain (see below).
|
4. Raisonance GNU toolchain, or
|
||||||
|
5. The NuttX buildroot Toolchain (see below).
|
||||||
|
|
||||||
All testing has been conducted using the CodeSourcery toolchain for Windows. To use
|
All testing has been conducted using the CodeSourcery toolchain for Windows. To use
|
||||||
the devkitARM, Raisonance GNU, or NuttX buildroot toolchain, you simply need to
|
the Atollic, devkitARM, Raisonance GNU, or NuttX buildroot toolchain, you simply need to
|
||||||
add one of the following configuration options to your .config (or defconfig)
|
add one of the following configuration options to your .config (or defconfig)
|
||||||
file:
|
file:
|
||||||
|
|
||||||
CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows
|
CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows
|
||||||
CONFIG_STM32_CODESOURCERYL=y : CodeSourcery under Linux
|
CONFIG_STM32_CODESOURCERYL=y : CodeSourcery under Linux
|
||||||
|
CONFIG_STM32_ATOLLIC=y : Atollic toolchain under Windows
|
||||||
CONFIG_STM32_DEVKITARM=y : devkitARM under Windows
|
CONFIG_STM32_DEVKITARM=y : devkitARM under Windows
|
||||||
CONFIG_STM32_RAISONANCE=y : Raisonance RIDE7 under Windows
|
CONFIG_STM32_RAISONANCE=y : Raisonance RIDE7 under Windows
|
||||||
CONFIG_STM32_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default)
|
CONFIG_STM32_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default)
|
||||||
@@ -54,7 +56,7 @@ GNU Toolchain Options
|
|||||||
If you change the default toolchain, then you may also have to modify the PATH in
|
If you change the default toolchain, then you may also have to modify the PATH in
|
||||||
the setenv.h file if your make cannot find the tools.
|
the setenv.h file if your make cannot find the tools.
|
||||||
|
|
||||||
NOTE: the CodeSourcery (for Windows), devkitARM, and Raisonance toolchains are
|
NOTE: the CodeSourcery (for Windows), Atollic, devkitARM, and Raisonance toolchains are
|
||||||
Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot
|
Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot
|
||||||
toolchains are Cygwin and/or Linux native toolchains. There are several limitations
|
toolchains are Cygwin and/or Linux native toolchains. There are several limitations
|
||||||
to using a Windows based toolchain in a Cygwin environment. The three biggest are:
|
to using a Windows based toolchain in a Cygwin environment. The three biggest are:
|
||||||
@@ -89,11 +91,31 @@ GNU Toolchain Options
|
|||||||
If you have problems with the dependency build (for example, if you are not
|
If you have problems with the dependency build (for example, if you are not
|
||||||
building on C:), then you may need to modify tools/mkdeps.sh
|
building on C:), then you may need to modify tools/mkdeps.sh
|
||||||
|
|
||||||
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
|
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
|
||||||
level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with
|
level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with
|
||||||
-Os.
|
-Os.
|
||||||
|
|
||||||
NOTE 2: The devkitARM toolchain includes a version of MSYS make. Make sure that
|
NOTE 2: The free, "Lite" version of the Atollic toolchain does not support C++
|
||||||
|
nor does it support ar, nm, objdump, or objdcopy. If you use the Atollic "Lite"
|
||||||
|
toolchain, you will have to set:
|
||||||
|
|
||||||
|
CONFIG_HAVE_CXX=n
|
||||||
|
|
||||||
|
In order to compile successfully. Otherwise, you will get errors like:
|
||||||
|
|
||||||
|
"C++ Compiler only available in TrueSTUDIO Professional"
|
||||||
|
|
||||||
|
The make may then fail in some of the post link processing because of some of
|
||||||
|
the other missing tools. The Make.defs file replaces the ar and nm with
|
||||||
|
the default system x86 tool versions and these seem to work okay. Disable all
|
||||||
|
of the following to avoid using objcopy:
|
||||||
|
|
||||||
|
CONFIG_RRLOAD_BINARY=n
|
||||||
|
CONFIG_INTELHEX_BINARY=n
|
||||||
|
CONFIG_MOTOROLA_SREC=n
|
||||||
|
CONFIG_RAW_BINARY=n
|
||||||
|
|
||||||
|
NOTE 3: The devkitARM toolchain includes a version of MSYS make. Make sure that
|
||||||
the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM
|
the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM
|
||||||
path or will get the wrong version of make.
|
path or will get the wrong version of make.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm3240g-eval/dhcpd/Make.defs
|
# configs/stm3240g-eval/dhcpd/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm3240g-eval/dhcpd/defconfig
|
# configs/stm3240g-eval/dhcpd/defconfig
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=n
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=y
|
CONFIG_STM32_CODESOURCERYW=y
|
||||||
CONFIG_STM32_CODESOURCERYL=n
|
CONFIG_STM32_CODESOURCERYL=n
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# configs/stm3240g-eval/dhcpd/setenv.sh
|
# configs/stm3240g-eval/dhcpd/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm3240g-eval/nettest/Make.defs
|
# configs/stm3240g-eval/nettest/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm3240g-eval/nettest/defconfig
|
# configs/stm3240g-eval/nettest/defconfig
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=n
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=y
|
CONFIG_STM32_CODESOURCERYW=y
|
||||||
CONFIG_STM32_CODESOURCERYL=n
|
CONFIG_STM32_CODESOURCERYL=n
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# configs/stm3240g-eval/nettest/setenv.sh
|
# configs/stm3240g-eval/nettest/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm3240g-eval/nsh/Make.defs
|
# configs/stm3240g-eval/nsh/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=n
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=y
|
CONFIG_STM32_CODESOURCERYW=y
|
||||||
CONFIG_STM32_CODESOURCERYL=n
|
CONFIG_STM32_CODESOURCERYL=n
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# configs/stm3240g-eval/nsh/setenv.sh
|
# configs/stm3240g-eval/nsh/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=y
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=y
|
CONFIG_STM32_CODESOURCERYW=y
|
||||||
CONFIG_STM32_CODESOURCERYL=n
|
CONFIG_STM32_CODESOURCERYL=n
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm3240g-eval/ostest/Make.defs
|
# configs/stm3240g-eval/ostest/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm3240g-eval/ostest/defconfig
|
# configs/stm3240g-eval/ostest/defconfig
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=n
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=y
|
CONFIG_STM32_CODESOURCERYW=y
|
||||||
CONFIG_STM32_CODESOURCERYL=n
|
CONFIG_STM32_CODESOURCERYL=n
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# configs/stm3240g-eval/ostest/setenv.sh
|
# configs/stm3240g-eval/ostest/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=n
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=y
|
CONFIG_STM32_CODESOURCERYW=y
|
||||||
CONFIG_STM32_CODESOURCERYL=n
|
CONFIG_STM32_CODESOURCERYL=n
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
@@ -35,17 +35,19 @@ GNU Toolchain Options
|
|||||||
toolchain options.
|
toolchain options.
|
||||||
|
|
||||||
1. The CodeSourcery GNU toolchain,
|
1. The CodeSourcery GNU toolchain,
|
||||||
2. The devkitARM GNU toolchain,
|
2. The Atollic Toolchain,
|
||||||
3. Raisonance GNU toolchain, or
|
3. The devkitARM GNU toolchain,
|
||||||
4. The NuttX buildroot Toolchain (see below).
|
4. Raisonance GNU toolchain, or
|
||||||
|
5. The NuttX buildroot Toolchain (see below).
|
||||||
|
|
||||||
All testing has been conducted using the CodeSourcery toolchain for Windows. To use
|
All testing has been conducted using the CodeSourcery toolchain for Windows. To use
|
||||||
the devkitARM, Raisonance GNU, or NuttX buildroot toolchain, you simply need to
|
the Atollic, devkitARM, Raisonance GNU, or NuttX buildroot toolchain, you simply need to
|
||||||
add one of the following configuration options to your .config (or defconfig)
|
add one of the following configuration options to your .config (or defconfig)
|
||||||
file:
|
file:
|
||||||
|
|
||||||
CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows
|
CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows
|
||||||
CONFIG_STM32_CODESOURCERYL=y : CodeSourcery under Linux
|
CONFIG_STM32_CODESOURCERYL=y : CodeSourcery under Linux
|
||||||
|
CONFIG_STM32_ATOLLIC=y : Atollic toolchain under Windows
|
||||||
CONFIG_STM32_DEVKITARM=y : devkitARM under Windows
|
CONFIG_STM32_DEVKITARM=y : devkitARM under Windows
|
||||||
CONFIG_STM32_RAISONANCE=y : Raisonance RIDE7 under Windows
|
CONFIG_STM32_RAISONANCE=y : Raisonance RIDE7 under Windows
|
||||||
CONFIG_STM32_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default)
|
CONFIG_STM32_BUILDROOT=y : NuttX buildroot under Linux or Cygwin (default)
|
||||||
@@ -53,7 +55,7 @@ GNU Toolchain Options
|
|||||||
If you change the default toolchain, then you may also have to modify the PATH in
|
If you change the default toolchain, then you may also have to modify the PATH in
|
||||||
the setenv.h file if your make cannot find the tools.
|
the setenv.h file if your make cannot find the tools.
|
||||||
|
|
||||||
NOTE: the CodeSourcery (for Windows), devkitARM, and Raisonance toolchains are
|
NOTE: the CodeSourcery (for Windows), Atollic, devkitARM, and Raisonance toolchains are
|
||||||
Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot
|
Windows native toolchains. The CodeSourcey (for Linux) and NuttX buildroot
|
||||||
toolchains are Cygwin and/or Linux native toolchains. There are several limitations
|
toolchains are Cygwin and/or Linux native toolchains. There are several limitations
|
||||||
to using a Windows based toolchain in a Cygwin environment. The three biggest are:
|
to using a Windows based toolchain in a Cygwin environment. The three biggest are:
|
||||||
@@ -88,11 +90,31 @@ GNU Toolchain Options
|
|||||||
If you have problems with the dependency build (for example, if you are not
|
If you have problems with the dependency build (for example, if you are not
|
||||||
building on C:), then you may need to modify tools/mkdeps.sh
|
building on C:), then you may need to modify tools/mkdeps.sh
|
||||||
|
|
||||||
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
|
NOTE 1: The CodeSourcery toolchain (2009q1) does not work with default optimization
|
||||||
level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with
|
level of -Os (See Make.defs). It will work with -O0, -O1, or -O2, but not with
|
||||||
-Os.
|
-Os.
|
||||||
|
|
||||||
NOTE 2: The devkitARM toolchain includes a version of MSYS make. Make sure that
|
NOTE 2: The free, "Lite" version of the Atollic toolchain does not support C++
|
||||||
|
nor does it support ar, nm, objdump, or objdcopy. If you use the Atollic "Lite"
|
||||||
|
toolchain, you will have to set:
|
||||||
|
|
||||||
|
CONFIG_HAVE_CXX=n
|
||||||
|
|
||||||
|
In order to compile successfully. Otherwise, you will get errors like:
|
||||||
|
|
||||||
|
"C++ Compiler only available in TrueSTUDIO Professional"
|
||||||
|
|
||||||
|
The make may then fail in some of the post link processing because of some of
|
||||||
|
the other missing tools. The Make.defs file replaces the ar and nm with
|
||||||
|
the default system x86 tool versions and these seem to work okay. Disable all
|
||||||
|
of the following to avoid using objcopy:
|
||||||
|
|
||||||
|
CONFIG_RRLOAD_BINARY=n
|
||||||
|
CONFIG_INTELHEX_BINARY=n
|
||||||
|
CONFIG_MOTOROLA_SREC=n
|
||||||
|
CONFIG_RAW_BINARY=n
|
||||||
|
|
||||||
|
NOTE 3: The devkitARM toolchain includes a version of MSYS make. Make sure that
|
||||||
the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM
|
the paths to Cygwin's /bin and /usr/bin directories appear BEFORE the devkitARM
|
||||||
path or will get the wrong version of make.
|
path or will get the wrong version of make.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm32f4discovery/nsh/Make.defs
|
# configs/stm32f4discovery/nsh/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=n
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=n
|
CONFIG_STM32_CODESOURCERYW=n
|
||||||
CONFIG_STM32_CODESOURCERYL=y
|
CONFIG_STM32_CODESOURCERYL=y
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# configs/stm32f4discovery/nsh/setenv.sh
|
# configs/stm32f4discovery/nsh/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
############################################################################
|
############################################################################
|
||||||
# configs/stm32f4discovery/ostest/Make.defs
|
# configs/stm32f4discovery/ostest/Make.defs
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -40,30 +40,42 @@ include ${TOPDIR}/.config
|
|||||||
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYW),y)
|
||||||
# CodeSourcery under Windows
|
# CodeSourcery under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
ifeq ($(CONFIG_STM32_CODESOURCERYL),y)
|
||||||
# CodeSourcery under Linux
|
# CodeSourcery under Linux
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -O2
|
MAXOPTIMIZATION = -O2
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_STM32_ATOLLIC),y)
|
||||||
|
# Atollic toolchain under Windows
|
||||||
|
CROSSDEV = arm-atollic-eabi-
|
||||||
|
ARCROSSDEV =
|
||||||
|
WINTOOL = y
|
||||||
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
ifeq ($(CONFIG_STM32_DEVKITARM),y)
|
||||||
# devkitARM under Windows
|
# devkitARM under Windows
|
||||||
CROSSDEV = arm-eabi-
|
CROSSDEV = arm-eabi-
|
||||||
|
ARCROSSDEV = arm-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
ifeq ($(CONFIG_STM32_RAISONANCE),y)
|
||||||
# Raisonance RIDE7 under Windows
|
# Raisonance RIDE7 under Windows
|
||||||
CROSSDEV = arm-none-eabi-
|
CROSSDEV = arm-none-eabi-
|
||||||
|
ARCROSSDEV = arm-none-eabi-
|
||||||
WINTOOL = y
|
WINTOOL = y
|
||||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
||||||
# NuttX buildroot under Linux or Cygwin
|
# NuttX buildroot under Linux or Cygwin
|
||||||
CROSSDEV = arm-elf-
|
CROSSDEV = arm-elf-
|
||||||
|
ARCROSSDEV = arm-elf-
|
||||||
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
|
||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
@@ -91,8 +103,8 @@ CC = $(CROSSDEV)gcc
|
|||||||
CXX = $(CROSSDEV)g++
|
CXX = $(CROSSDEV)g++
|
||||||
CPP = $(CROSSDEV)gcc -E
|
CPP = $(CROSSDEV)gcc -E
|
||||||
LD = $(CROSSDEV)ld
|
LD = $(CROSSDEV)ld
|
||||||
AR = $(CROSSDEV)ar rcs
|
AR = $(ARCROSSDEV)ar rcs
|
||||||
NM = $(CROSSDEV)nm
|
NM = $(ARCROSSDEV)nm
|
||||||
OBJCOPY = $(CROSSDEV)objcopy
|
OBJCOPY = $(CROSSDEV)objcopy
|
||||||
OBJDUMP = $(CROSSDEV)objdump
|
OBJDUMP = $(CROSSDEV)objdump
|
||||||
|
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ CONFIG_ARCH_DMA=n
|
|||||||
#
|
#
|
||||||
CONFIG_STM32_CODESOURCERYW=n
|
CONFIG_STM32_CODESOURCERYW=n
|
||||||
CONFIG_STM32_CODESOURCERYL=y
|
CONFIG_STM32_CODESOURCERYL=y
|
||||||
|
CONFIG_STM32_ATOLLIC=n
|
||||||
CONFIG_STM32_DEVKITARM=n
|
CONFIG_STM32_DEVKITARM=n
|
||||||
CONFIG_STM32_RAISONANCE=n
|
CONFIG_STM32_RAISONANCE=n
|
||||||
CONFIG_STM32_BUILDROOT=n
|
CONFIG_STM32_BUILDROOT=n
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# configs/stm32f4discovery/ostest/setenv.sh
|
# configs/stm32f4discovery/ostest/setenv.sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
|
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
#
|
#
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
@@ -57,6 +57,11 @@ fi
|
|||||||
# the CodeSourcery toolchain in any other location
|
# the CodeSourcery toolchain in any other location
|
||||||
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++ Lite/bin"
|
||||||
|
|
||||||
|
# This the Cygwin path to the location where I installed the Atollic
|
||||||
|
# toolchain under windows. You will also have to edit this if you install
|
||||||
|
# the CodeSourcery toolchain in any other location
|
||||||
|
#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
|
||||||
|
|
||||||
# This the Cygwin path to the location where I build the buildroot
|
# This the Cygwin path to the location where I build the buildroot
|
||||||
# toolchain.
|
# toolchain.
|
||||||
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
#export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user