Misc changes for clean compilation of freedom-kl25z config
This commit is contained in:
parent
774664e1df
commit
307010c110
@ -137,15 +137,13 @@ config ARCH_BOARD_EZ80F910200ZCO
|
||||
development kit, eZ80F091 part, and the Zilog ZDS-II Windows command line
|
||||
tools. The development environment is Cygwin under WinXP.
|
||||
|
||||
config ARCH_BOARD_FIRE_STM32
|
||||
bool "M3 Wildfire STM3 board (v2 or v3)"
|
||||
depends on ARCH_CHIP_STM32F103VET6
|
||||
config ARCH_BOARD_FREEDOM_KL25Z
|
||||
bool "Freescale Freedom KL25Z"
|
||||
depends on ARCH_CHIP_MKL25Z128
|
||||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
select ARCH_HAVE_IRQBUTTONS
|
||||
---help---
|
||||
A configuration for the M3 Wildfile board. This board is based on the
|
||||
STM32F103VET6 chip. See http://firestm32.taobao.com
|
||||
This is the configuration for the Freescale Freedom KL25Z board. This
|
||||
board has the K25Z120LE3AN chip with a built-in SDA debugger.
|
||||
|
||||
config ARCH_BOARD_HYMINI_STM32V
|
||||
bool "HY-Mini STM32v board"
|
||||
@ -708,6 +706,7 @@ config ARCH_BOARD
|
||||
default "ez80f910200kitg" if ARCH_BOARD_EZ80F910200KITG
|
||||
default "ez80f910200zco" if ARCH_BOARD_EZ80F910200ZCO
|
||||
default "fire-stm32v2" if ARCH_BOARD_FIRE_STM32
|
||||
default "freedom-kl25z" if ARCH_BOARD_FREEDOM_KL25Z
|
||||
default "hymini-stm32v" if ARCH_BOARD_HYMINI_STM32V
|
||||
default "kwikstik-k40" if ARCH_BOARD_KWIKSTIK_K40
|
||||
default "lincoln60" if ARCH_BOARD_LINCOLN60
|
||||
|
@ -2,8 +2,8 @@ README.txt
|
||||
==========
|
||||
|
||||
This is the README file for the port of NuttX to the Freescale
|
||||
Freedom K25Z board. This board has the K25Z120LE3AN chip
|
||||
with a built-in NuLink debugger.
|
||||
Freedom KL25Z board. This board has the K25Z120LE3AN chip
|
||||
with a built-in SDA debugger.
|
||||
|
||||
Contents
|
||||
========
|
||||
@ -95,16 +95,16 @@ LEDs
|
||||
Serial Console
|
||||
==============
|
||||
|
||||
As with most NuttX configurations, the Freedom K25Z configurations
|
||||
As with most NuttX configurations, the Freedom KL25Z configurations
|
||||
depend on having a serial console to interact with the software. The
|
||||
Freedom K25Z, however, has not on-board RS-232 drivers so will be
|
||||
necessary to connect the Freedom K25Z UART pins to an external
|
||||
Freedom KL25Z, however, has not on-board RS-232 drivers so will be
|
||||
necessary to connect the Freedom KL25Z UART pins to an external
|
||||
RS-232 driver board or TTL-to-Serial USB adaptor.
|
||||
|
||||
By default UART1 is used as the serial console on these boards. K25Z120LE3AN
|
||||
is provided as an LQFP48 package and, for this case, the UART1 RX signal
|
||||
(RXD1) is on PB.4, pin 8, and the TX signal (TXD1) is on PB.5, pin 9.
|
||||
These pins are available on the Freedom K25Z JP5.
|
||||
These pins are available on the Freedom KL25Z JP5.
|
||||
|
||||
NOTE: The TX vs RX labeling may be confusing. On one RS-232 driver board,
|
||||
I had to connect the K25Z120 TXD0 pin to the driver boards RXD pin. How
|
||||
@ -112,7 +112,7 @@ These pins are available on the Freedom K25Z JP5.
|
||||
|
||||
UART0 is an alternative that can be selected by modifying the default
|
||||
configuation. UART0 RX (RXD0) is on PB.0, pin 17, and the TX signal (TXD0)
|
||||
is on PB.1, pin 18. These pins are available on the Freedom K25Z JP1.
|
||||
is on PB.1, pin 18. These pins are available on the Freedom KL25Z JP1.
|
||||
|
||||
NOTE: PB.0, pin 17, is also used to control the user LED on board (labeled
|
||||
"IO"). CONFIG_ARCH_LED should not be selected if UART0 is used.
|
||||
@ -122,7 +122,7 @@ The K25Z120LE3AN does not support UART2.
|
||||
Debugging
|
||||
=========
|
||||
|
||||
The Freedom K25Z includes a built-in NuLink debugger. Unfortunately,
|
||||
The Freedom KL25Z includes a built-in SDA debugger. Unfortunately,
|
||||
full debug support is available only with the Keil and IAR toolchains.
|
||||
There is, however, a free program called ICP (In-Circuit Programmer). It
|
||||
can be used to burn programs into FLASH (aka APROM).
|
||||
|
@ -266,16 +266,16 @@ extern "C" {
|
||||
* Public Function Prototypes
|
||||
************************************************************************************/
|
||||
/************************************************************************************
|
||||
* Name: kinetis_boardinitialize
|
||||
* Name: kl_boardinitialize
|
||||
*
|
||||
* Description:
|
||||
* All STM32 architectures must provide the following entry point. This entry point
|
||||
* is called early in the intitialization -- after all memory has been configured
|
||||
* and mapped but before any devices have been initialized.
|
||||
* All Kinetis L architectures must provide the following entry point. This entry
|
||||
* point is called early in the intitialization -- after all memory has been
|
||||
* configured and mapped but before any devices have been initialized.
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
EXTERN void kinetis_boardinitialize(void);
|
||||
void kl_boardinitialize(void);
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
|
@ -12,10 +12,6 @@ CONFIG_HOST_LINUX=y
|
||||
# CONFIG_HOST_OSX is not set
|
||||
# CONFIG_HOST_WINDOWS is not set
|
||||
# CONFIG_HOST_OTHER is not set
|
||||
# CONFIG_WINDOWS_NATIVE is not set
|
||||
# CONFIG_WINDOWS_CYGWIN is not set
|
||||
# CONFIG_WINDOWS_MSYS is not set
|
||||
# CONFIG_WINDOWS_OTHER is not set
|
||||
|
||||
#
|
||||
# Build Configuration
|
||||
@ -42,8 +38,7 @@ CONFIG_RAW_BINARY=y
|
||||
#
|
||||
# Debug Options
|
||||
#
|
||||
CONFIG_DEBUG=y
|
||||
CONFIG_DEBUG_SCHED=y
|
||||
# CONFIG_DEBUG is not set
|
||||
# CONFIG_DEBUG_SYMBOLS is not set
|
||||
|
||||
#
|
||||
@ -70,13 +65,14 @@ CONFIG_ARCH="arm"
|
||||
# CONFIG_ARCH_CHIP_DM320 is not set
|
||||
# CONFIG_ARCH_CHIP_IMX is not set
|
||||
# CONFIG_ARCH_CHIP_KINETIS is not set
|
||||
CONFIG_ARCH_CHIP_KL=y
|
||||
# CONFIG_ARCH_CHIP_LM is not set
|
||||
# CONFIG_ARCH_CHIP_LPC17XX is not set
|
||||
# CONFIG_ARCH_CHIP_LPC214X is not set
|
||||
# CONFIG_ARCH_CHIP_LPC2378 is not set
|
||||
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
||||
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
||||
CONFIG_ARCH_CHIP_KL=y
|
||||
# CONFIG_ARCH_CHIP_NUC1XX is not set
|
||||
# CONFIG_ARCH_CHIP_SAM3U is not set
|
||||
# CONFIG_ARCH_CHIP_STM32 is not set
|
||||
# CONFIG_ARCH_CHIP_STR71X is not set
|
||||
@ -86,93 +82,74 @@ CONFIG_ARCH_CHIP="kl"
|
||||
CONFIG_ARCH_HAVE_CMNVECTOR=y
|
||||
# CONFIG_ARMV7M_CMNVECTOR is not set
|
||||
# CONFIG_ARCH_HAVE_MPU is not set
|
||||
CONFIG_BOARD_LOOPSPERMSEC=2988
|
||||
# CONFIG_ARCH_CALIBRATION is not set
|
||||
|
||||
#
|
||||
# ARMV6M Configuration Options
|
||||
#
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_ATOLLIC is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDW is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_DEVKITARM is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABI=y
|
||||
CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT=y
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_GNU_EABI is not set
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
|
||||
#
|
||||
# KL25Z128/120 Configuration Options
|
||||
# Kinetis Configuration Options
|
||||
#
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD2AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD3AN is not set
|
||||
CONFIG_ARCH_CHIP_MKL25Z128=y
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD2AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VE3AN is not set
|
||||
CONFIG_ARCH_FAMILY_L20=y
|
||||
CONFIG_ARCH_FAMILY_KL2X=y
|
||||
|
||||
#
|
||||
# KL25Z Peripheral Support
|
||||
# Kinetis Peripheral Support
|
||||
#
|
||||
# CONFIG_KL_PDMA is not set
|
||||
# CONFIG_KL_FMC is not set
|
||||
# CONFIG_KL_EBI is not set
|
||||
# CONFIG_KL_WDT is not set
|
||||
# CONFIG_KL_RTC is not set
|
||||
# CONFIG_KL_TMR0 is not set
|
||||
# CONFIG_KL_TMR1 is not set
|
||||
# CONFIG_KL_TIMR2 is not set
|
||||
# CONFIG_KL_TIMR3 is not set
|
||||
# CONFIG_KL_I2C0 is not set
|
||||
# CONFIG_KL_I2C1 is not set
|
||||
# CONFIG_KL_TRACE is not set
|
||||
# CONFIG_KL_FLEXBUS is not set
|
||||
CONFIG_KL_UART0=y
|
||||
# CONFIG_KL_UART1 is not set
|
||||
# CONFIG_KL_UART2 is not set
|
||||
# CONFIG_KL_UART3 is not set
|
||||
# CONFIG_KL_UART4 is not set
|
||||
# CONFIG_KL_UART5 is not set
|
||||
# CONFIG_KL_FLEXCAN0 is not set
|
||||
# CONFIG_KL_FLEXCAN1 is not set
|
||||
# CONFIG_KL_SPI0 is not set
|
||||
# CONFIG_KL_SPI1 is not set
|
||||
# CONFIG_KL_SPI2 is not set
|
||||
# CONFIG_KL_SPI3 is not set
|
||||
# CONFIG_KL_PWM0 is not set
|
||||
# CONFIG_KL_PWM1 is not set
|
||||
# CONFIG_KL_PWM2 is not set
|
||||
# CONFIG_KL_PWM3 is not set
|
||||
# CONFIG_KL_PWM4 is not set
|
||||
# CONFIG_KL_PWM5 is not set
|
||||
# CONFIG_KL_PWM6 is not set
|
||||
# CONFIG_KL_PWM7 is not set
|
||||
CONFIG_KL_UART0=y
|
||||
# CONFIG_KL_UART1 is not set
|
||||
# CONFIG_KL_USBD is not set
|
||||
# CONFIG_KL_ACMP is not set
|
||||
# CONFIG_KL_ADC is not set
|
||||
# CONFIG_KL_PS2 is not set
|
||||
# CONFIG_KL_I2C0 is not set
|
||||
# CONFIG_KL_I2C1 is not set
|
||||
# CONFIG_KL_I2S is not set
|
||||
CONFIG_KL_INTHI=y
|
||||
# CONFIG_KL_DAC0 is not set
|
||||
# CONFIG_KL_DAC1 is not set
|
||||
# CONFIG_KL_ADC0 is not set
|
||||
# CONFIG_KL_ADC1 is not set
|
||||
# CONFIG_KL_CMP is not set
|
||||
# CONFIG_KL_VREF is not set
|
||||
# CONFIG_KL_SDHC is not set
|
||||
# CONFIG_KL_FTM0 is not set
|
||||
# CONFIG_KL_FTM1 is not set
|
||||
# CONFIG_KL_FTM2 is not set
|
||||
# CONFIG_KL_LPTIMER is not set
|
||||
# CONFIG_KL_RTC is not set
|
||||
# CONFIG_KL_EWM is not set
|
||||
# CONFIG_KL_CMT is not set
|
||||
# CONFIG_KL_USBOTG is not set
|
||||
# CONFIG_KL_USBDCD is not set
|
||||
# CONFIG_KL_LLWU is not set
|
||||
# CONFIG_KL_TSI is not set
|
||||
# CONFIG_KL_FTFL is not set
|
||||
# CONFIG_KL_DMA is not set
|
||||
# CONFIG_KL_CRC is not set
|
||||
# CONFIG_KL_PDB is not set
|
||||
# CONFIG_KL_PIT is not set
|
||||
CONFIG_KL_SYSTICK_CORECLK=y
|
||||
# CONFIG_KL_SYSTICK_XTALHI is not set
|
||||
# CONFIG_KL_SYSTICK_XTALLO is not set
|
||||
# CONFIG_KL_SYSTICK_XTALHId2 is not set
|
||||
# CONFIG_KL_SYSTICK_HCLKd2 is not set
|
||||
# CONFIG_KL_SYSTICK_INTHId2 is not set
|
||||
# CONFIG_KL_UARTCLK_XTALHI is not set
|
||||
# CONFIG_KL_UARTCLK_PLL is not set
|
||||
CONFIG_KL_UARTCLK_INTHI=y
|
||||
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
|
||||
#
|
||||
# Kinetis UART Configuration
|
||||
#
|
||||
# CONFIG_KL_UARTFIFOS is not set
|
||||
|
||||
#
|
||||
# External Memory Configuration
|
||||
@ -191,10 +168,12 @@ CONFIG_ARCH_HAVE_VFORK=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
# CONFIG_ENDIAN_BIG is not set
|
||||
# CONFIG_ARCH_HAVE_RAMFUNCS is not set
|
||||
# CONFIG_ARCH_HAVE_RAMVECTORS is not set
|
||||
|
||||
#
|
||||
# Board Settings
|
||||
#
|
||||
CONFIG_BOARD_LOOPSPERMSEC=2988
|
||||
# CONFIG_ARCH_CALIBRATION is not set
|
||||
CONFIG_DRAM_START=0x1FFFF000
|
||||
CONFIG_DRAM_SIZE=16384
|
||||
@ -236,9 +215,7 @@ CONFIG_MSEC_PER_TICK=10
|
||||
CONFIG_RR_INTERVAL=200
|
||||
# CONFIG_SCHED_INSTRUMENTATION is not set
|
||||
CONFIG_TASK_NAME_SIZE=0
|
||||
CONFIG_SCHED_HAVE_PARENT=y
|
||||
CONFIG_SCHED_CHILD_STATUS=y
|
||||
CONFIG_PREALLOC_CHILDSTATUS=0
|
||||
# CONFIG_SCHED_HAVE_PARENT is not set
|
||||
# CONFIG_JULIAN_TIME is not set
|
||||
CONFIG_START_YEAR=2013
|
||||
CONFIG_START_MONTH=2
|
||||
@ -249,7 +226,6 @@ CONFIG_DEV_CONSOLE=y
|
||||
# CONFIG_FDCLONE_DISABLE is not set
|
||||
# CONFIG_FDCLONE_STDIO is not set
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
# CONFIG_SCHED_WORKQUEUE is not set
|
||||
CONFIG_SCHED_WAITPID=y
|
||||
# CONFIG_SCHED_STARTHOOK is not set
|
||||
# CONFIG_SCHED_ATEXIT is not set
|
||||
@ -257,10 +233,10 @@ CONFIG_SCHED_WAITPID=y
|
||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
||||
CONFIG_DISABLE_OS_API=y
|
||||
# CONFIG_DISABLE_CLOCK is not set
|
||||
# CONFIG_DISABLE_POSIX_TIMERS is not set
|
||||
CONFIG_DISABLE_POSIX_TIMERS=y
|
||||
# CONFIG_DISABLE_PTHREAD is not set
|
||||
# CONFIG_DISABLE_SIGNALS is not set
|
||||
# CONFIG_DISABLE_MQUEUE is not set
|
||||
CONFIG_DISABLE_MQUEUE=y
|
||||
CONFIG_DISABLE_ENVIRON=y
|
||||
|
||||
#
|
||||
@ -276,15 +252,15 @@ CONFIG_SIG_SIGCONDTIMEDOUT=16
|
||||
#
|
||||
CONFIG_MAX_TASKS=8
|
||||
CONFIG_MAX_TASK_ARGS=4
|
||||
CONFIG_NPTHREAD_KEYS=4
|
||||
CONFIG_NFILE_DESCRIPTORS=8
|
||||
CONFIG_NFILE_STREAMS=8
|
||||
CONFIG_NPTHREAD_KEYS=0
|
||||
CONFIG_NFILE_DESCRIPTORS=6
|
||||
CONFIG_NFILE_STREAMS=6
|
||||
CONFIG_NAME_MAX=32
|
||||
CONFIG_PREALLOC_MQ_MSGS=4
|
||||
CONFIG_MQ_MAXMSGSIZE=32
|
||||
CONFIG_PREALLOC_MQ_MSGS=0
|
||||
CONFIG_MQ_MAXMSGSIZE=0
|
||||
CONFIG_MAX_WDOGPARMS=2
|
||||
CONFIG_PREALLOC_WDOGS=4
|
||||
CONFIG_PREALLOC_TIMERS=4
|
||||
CONFIG_PREALLOC_TIMERS=0
|
||||
|
||||
#
|
||||
# Stack and heap information
|
||||
@ -320,10 +296,11 @@ CONFIG_DEV_NULL=y
|
||||
# CONFIG_SENSORS is not set
|
||||
# CONFIG_SERCOMM_CONSOLE is not set
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_DEV_LOWCONSOLE=y
|
||||
# CONFIG_DEV_LOWCONSOLE is not set
|
||||
# CONFIG_16550_UART is not set
|
||||
CONFIG_ARCH_HAVE_UART0=y
|
||||
CONFIG_MCU_SERIAL=y
|
||||
CONFIG_STANDARD_SERIAL=y
|
||||
CONFIG_UART0_SERIAL_CONSOLE=y
|
||||
# CONFIG_NO_SERIAL_CONSOLE is not set
|
||||
|
||||
@ -378,6 +355,7 @@ CONFIG_DISABLE_MOUNTPOINT=y
|
||||
#
|
||||
# Memory Management
|
||||
#
|
||||
# CONFIG_MM_MULTIHEAP is not set
|
||||
CONFIG_MM_SMALL=y
|
||||
CONFIG_MM_REGIONS=1
|
||||
# CONFIG_GRAN is not set
|
||||
@ -385,10 +363,7 @@ CONFIG_MM_REGIONS=1
|
||||
#
|
||||
# Binary Formats
|
||||
#
|
||||
# CONFIG_BINFMT_DISABLE is not set
|
||||
# CONFIG_NXFLAT is not set
|
||||
# CONFIG_ELF is not set
|
||||
# CONFIG_BUILTIN is not set
|
||||
CONFIG_BINFMT_DISABLE=y
|
||||
# CONFIG_PIC is not set
|
||||
# CONFIG_SYMTAB_ORDEREDBYNAME is not set
|
||||
|
||||
@ -401,7 +376,7 @@ CONFIG_MM_REGIONS=1
|
||||
#
|
||||
CONFIG_STDIO_BUFFER_SIZE=0
|
||||
CONFIG_STDIO_LINEBUFFER=y
|
||||
CONFIG_NUNGET_CHARS=2
|
||||
CONFIG_NUNGET_CHARS=0
|
||||
# CONFIG_LIBM is not set
|
||||
# CONFIG_NOPRINTF_FIELDWIDTH is not set
|
||||
# CONFIG_LIBC_FLOATINGPOINT is not set
|
||||
@ -409,7 +384,6 @@ CONFIG_NUNGET_CHARS=2
|
||||
# CONFIG_EOL_IS_LF is not set
|
||||
# CONFIG_EOL_IS_BOTH_CRLF is not set
|
||||
CONFIG_EOL_IS_EITHER_CRLF=y
|
||||
# CONFIG_LIBC_EXECFUNCS is not set
|
||||
CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=1024
|
||||
CONFIG_TASK_SPAWN_DEFAULT_STACKSIZE=1536
|
||||
# CONFIG_LIBC_STRERROR is not set
|
||||
@ -420,8 +394,9 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
|
||||
# CONFIG_ARCH_OPTIMIZED_FUNCTIONS is not set
|
||||
|
||||
#
|
||||
# Non-standard Helper Functions
|
||||
# Non-standard Library Support
|
||||
#
|
||||
# CONFIG_SCHED_WORKQUEUE is not set
|
||||
# CONFIG_LIB_KBDCODEC is not set
|
||||
|
||||
#
|
||||
@ -489,6 +464,11 @@ CONFIG_EXAMPLES_NSH=y
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
#
|
||||
# Graphics Support
|
||||
#
|
||||
# CONFIG_TIFF is not set
|
||||
|
||||
#
|
||||
# Interpreters
|
||||
#
|
||||
@ -604,6 +584,11 @@ CONFIG_NSH_CONSOLE=y
|
||||
#
|
||||
# CONFIG_SYSTEM_INSTALL is not set
|
||||
|
||||
#
|
||||
# RAM Test
|
||||
#
|
||||
# CONFIG_SYSTEM_RAMTEST is not set
|
||||
|
||||
#
|
||||
# readline()
|
||||
#
|
||||
@ -633,19 +618,3 @@ CONFIG_READLINE_ECHO=y
|
||||
#
|
||||
# USB Monitor
|
||||
#
|
||||
|
||||
# Application configuration
|
||||
|
||||
|
||||
# Application configuration
|
||||
|
||||
|
||||
# Application configuration
|
||||
|
||||
|
||||
# Application configuration
|
||||
|
||||
|
||||
# Application configuration
|
||||
|
||||
CONFIG_APPS_DIR="../apps"
|
||||
|
@ -39,7 +39,24 @@ CONFIG_RAW_BINARY=y
|
||||
# Debug Options
|
||||
#
|
||||
CONFIG_DEBUG=y
|
||||
# CONFIG_DEBUG_VERBOSE is not set
|
||||
|
||||
#
|
||||
# Subsystem Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG_MM is not set
|
||||
CONFIG_DEBUG_SCHED=y
|
||||
# CONFIG_DEBUG_FS is not set
|
||||
# CONFIG_DEBUG_LIB is not set
|
||||
# CONFIG_DEBUG_BINFMT is not set
|
||||
# CONFIG_DEBUG_GRAPHICS is not set
|
||||
|
||||
#
|
||||
# Driver Debug Options
|
||||
#
|
||||
# CONFIG_DEBUG_LEDS is not set
|
||||
# CONFIG_DEBUG_ANALOG is not set
|
||||
# CONFIG_DEBUG_GPIO is not set
|
||||
# CONFIG_DEBUG_SYMBOLS is not set
|
||||
|
||||
#
|
||||
@ -66,13 +83,14 @@ CONFIG_ARCH="arm"
|
||||
# CONFIG_ARCH_CHIP_DM320 is not set
|
||||
# CONFIG_ARCH_CHIP_IMX is not set
|
||||
# CONFIG_ARCH_CHIP_KINETIS is not set
|
||||
CONFIG_ARCH_CHIP_KL=y
|
||||
# CONFIG_ARCH_CHIP_LM is not set
|
||||
# CONFIG_ARCH_CHIP_LPC17XX is not set
|
||||
# CONFIG_ARCH_CHIP_LPC214X is not set
|
||||
# CONFIG_ARCH_CHIP_LPC2378 is not set
|
||||
# CONFIG_ARCH_CHIP_LPC31XX is not set
|
||||
# CONFIG_ARCH_CHIP_LPC43XX is not set
|
||||
CONFIG_ARCH_CHIP_KL=y
|
||||
# CONFIG_ARCH_CHIP_NUC1XX is not set
|
||||
# CONFIG_ARCH_CHIP_SAM3U is not set
|
||||
# CONFIG_ARCH_CHIP_STM32 is not set
|
||||
# CONFIG_ARCH_CHIP_STR71X is not set
|
||||
@ -82,93 +100,74 @@ CONFIG_ARCH_CHIP="kl"
|
||||
CONFIG_ARCH_HAVE_CMNVECTOR=y
|
||||
# CONFIG_ARMV7M_CMNVECTOR is not set
|
||||
# CONFIG_ARCH_HAVE_MPU is not set
|
||||
CONFIG_BOARD_LOOPSPERMSEC=2988
|
||||
# CONFIG_ARCH_CALIBRATION is not set
|
||||
|
||||
#
|
||||
# ARMV6M Configuration Options
|
||||
#
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_ATOLLIC is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_BUILDROOT is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDW is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYW is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_DEVKITARM is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODEREDL is not set
|
||||
# CONFIG_ARMV6M_TOOLCHAIN_CODESOURCERYL is not set
|
||||
CONFIG_ARMV6M_TOOLCHAIN_GNU_EABI=y
|
||||
# CONFIG_GPIO_IRQ is not set
|
||||
|
||||
#
|
||||
# KL25Z128/120 Configuration Options
|
||||
# Kinetis Configuration Options
|
||||
#
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD2AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RC1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD1BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD2BN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128LD3AN is not set
|
||||
CONFIG_ARCH_CHIP_MKL25Z128=y
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128RE3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD2AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VD3AN is not set
|
||||
# CONFIG_ARCH_CHIP_KL25Z128VE3AN is not set
|
||||
CONFIG_ARCH_FAMILY_L20=y
|
||||
CONFIG_ARCH_FAMILY_KL2X=y
|
||||
|
||||
#
|
||||
# KL25Z Peripheral Support
|
||||
# Kinetis Peripheral Support
|
||||
#
|
||||
# CONFIG_KL_PDMA is not set
|
||||
# CONFIG_KL_FMC is not set
|
||||
# CONFIG_KL_EBI is not set
|
||||
# CONFIG_KL_WDT is not set
|
||||
# CONFIG_KL_RTC is not set
|
||||
# CONFIG_KL_TMR0 is not set
|
||||
# CONFIG_KL_TMR1 is not set
|
||||
# CONFIG_KL_TIMR2 is not set
|
||||
# CONFIG_KL_TIMR3 is not set
|
||||
# CONFIG_KL_I2C0 is not set
|
||||
# CONFIG_KL_I2C1 is not set
|
||||
# CONFIG_KL_TRACE is not set
|
||||
# CONFIG_KL_FLEXBUS is not set
|
||||
CONFIG_KL_UART0=y
|
||||
# CONFIG_KL_UART1 is not set
|
||||
# CONFIG_KL_UART2 is not set
|
||||
# CONFIG_KL_UART3 is not set
|
||||
# CONFIG_KL_UART4 is not set
|
||||
# CONFIG_KL_UART5 is not set
|
||||
# CONFIG_KL_FLEXCAN0 is not set
|
||||
# CONFIG_KL_FLEXCAN1 is not set
|
||||
# CONFIG_KL_SPI0 is not set
|
||||
# CONFIG_KL_SPI1 is not set
|
||||
# CONFIG_KL_SPI2 is not set
|
||||
# CONFIG_KL_SPI3 is not set
|
||||
# CONFIG_KL_PWM0 is not set
|
||||
# CONFIG_KL_PWM1 is not set
|
||||
# CONFIG_KL_PWM2 is not set
|
||||
# CONFIG_KL_PWM3 is not set
|
||||
# CONFIG_KL_PWM4 is not set
|
||||
# CONFIG_KL_PWM5 is not set
|
||||
# CONFIG_KL_PWM6 is not set
|
||||
# CONFIG_KL_PWM7 is not set
|
||||
CONFIG_KL_UART0=y
|
||||
# CONFIG_KL_UART1 is not set
|
||||
# CONFIG_KL_USBD is not set
|
||||
# CONFIG_KL_ACMP is not set
|
||||
# CONFIG_KL_ADC is not set
|
||||
# CONFIG_KL_PS2 is not set
|
||||
# CONFIG_KL_I2C0 is not set
|
||||
# CONFIG_KL_I2C1 is not set
|
||||
# CONFIG_KL_I2S is not set
|
||||
CONFIG_KL_INTHI=y
|
||||
# CONFIG_KL_DAC0 is not set
|
||||
# CONFIG_KL_DAC1 is not set
|
||||
# CONFIG_KL_ADC0 is not set
|
||||
# CONFIG_KL_ADC1 is not set
|
||||
# CONFIG_KL_CMP is not set
|
||||
# CONFIG_KL_VREF is not set
|
||||
# CONFIG_KL_SDHC is not set
|
||||
# CONFIG_KL_FTM0 is not set
|
||||
# CONFIG_KL_FTM1 is not set
|
||||
# CONFIG_KL_FTM2 is not set
|
||||
# CONFIG_KL_LPTIMER is not set
|
||||
# CONFIG_KL_RTC is not set
|
||||
# CONFIG_KL_EWM is not set
|
||||
# CONFIG_KL_CMT is not set
|
||||
# CONFIG_KL_USBOTG is not set
|
||||
# CONFIG_KL_USBDCD is not set
|
||||
# CONFIG_KL_LLWU is not set
|
||||
# CONFIG_KL_TSI is not set
|
||||
# CONFIG_KL_FTFL is not set
|
||||
# CONFIG_KL_DMA is not set
|
||||
# CONFIG_KL_CRC is not set
|
||||
# CONFIG_KL_PDB is not set
|
||||
# CONFIG_KL_PIT is not set
|
||||
CONFIG_KL_SYSTICK_CORECLK=y
|
||||
# CONFIG_KL_SYSTICK_XTALHI is not set
|
||||
# CONFIG_KL_SYSTICK_XTALLO is not set
|
||||
# CONFIG_KL_SYSTICK_XTALHId2 is not set
|
||||
# CONFIG_KL_SYSTICK_HCLKd2 is not set
|
||||
# CONFIG_KL_SYSTICK_INTHId2 is not set
|
||||
# CONFIG_KL_UARTCLK_XTALHI is not set
|
||||
# CONFIG_KL_UARTCLK_PLL is not set
|
||||
CONFIG_KL_UARTCLK_INTHI=y
|
||||
|
||||
#
|
||||
# Kinetis GPIO Interrupt Configuration
|
||||
#
|
||||
|
||||
#
|
||||
# Kinetis UART Configuration
|
||||
#
|
||||
# CONFIG_KL_UARTFIFOS is not set
|
||||
|
||||
#
|
||||
# External Memory Configuration
|
||||
@ -187,10 +186,12 @@ CONFIG_ARCH_HAVE_VFORK=y
|
||||
CONFIG_ARCH_STACKDUMP=y
|
||||
# CONFIG_ENDIAN_BIG is not set
|
||||
# CONFIG_ARCH_HAVE_RAMFUNCS is not set
|
||||
# CONFIG_ARCH_HAVE_RAMVECTORS is not set
|
||||
|
||||
#
|
||||
# Board Settings
|
||||
#
|
||||
CONFIG_BOARD_LOOPSPERMSEC=2988
|
||||
# CONFIG_ARCH_CALIBRATION is not set
|
||||
CONFIG_DRAM_START=0x1FFFF000
|
||||
CONFIG_DRAM_SIZE=16384
|
||||
@ -234,6 +235,7 @@ CONFIG_TASK_NAME_SIZE=0
|
||||
CONFIG_SCHED_HAVE_PARENT=y
|
||||
CONFIG_SCHED_CHILD_STATUS=y
|
||||
CONFIG_PREALLOC_CHILDSTATUS=0
|
||||
# CONFIG_DEBUG_CHILDSTATUS is not set
|
||||
# CONFIG_JULIAN_TIME is not set
|
||||
CONFIG_START_YEAR=2013
|
||||
CONFIG_START_MONTH=2
|
||||
@ -244,7 +246,6 @@ CONFIG_DEV_CONSOLE=y
|
||||
# CONFIG_FDCLONE_DISABLE is not set
|
||||
# CONFIG_FDCLONE_STDIO is not set
|
||||
CONFIG_SDCLONE_DISABLE=y
|
||||
# CONFIG_SCHED_WORKQUEUE is not set
|
||||
CONFIG_SCHED_WAITPID=y
|
||||
# CONFIG_SCHED_STARTHOOK is not set
|
||||
# CONFIG_SCHED_ATEXIT is not set
|
||||
@ -264,6 +265,7 @@ CONFIG_DISABLE_ENVIRON=y
|
||||
CONFIG_SIG_SIGUSR1=1
|
||||
CONFIG_SIG_SIGUSR2=2
|
||||
CONFIG_SIG_SIGALARM=3
|
||||
CONFIG_SIG_SIGCHLD=4
|
||||
CONFIG_SIG_SIGCONDTIMEDOUT=16
|
||||
|
||||
#
|
||||
@ -373,6 +375,7 @@ CONFIG_DISABLE_MOUNTPOINT=y
|
||||
#
|
||||
# Memory Management
|
||||
#
|
||||
# CONFIG_MM_MULTIHEAP is not set
|
||||
CONFIG_MM_SMALL=y
|
||||
CONFIG_MM_REGIONS=1
|
||||
# CONFIG_GRAN is not set
|
||||
@ -415,8 +418,9 @@ CONFIG_LIB_SENDFILE_BUFSIZE=512
|
||||
# CONFIG_ARCH_OPTIMIZED_FUNCTIONS is not set
|
||||
|
||||
#
|
||||
# Non-standard Helper Functions
|
||||
# Non-standard Library Support
|
||||
#
|
||||
# CONFIG_SCHED_WORKQUEUE is not set
|
||||
# CONFIG_LIB_KBDCODEC is not set
|
||||
|
||||
#
|
||||
@ -490,6 +494,11 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=1
|
||||
# CONFIG_EXAMPLES_USBTERM is not set
|
||||
# CONFIG_EXAMPLES_WATCHDOG is not set
|
||||
|
||||
#
|
||||
# Graphics Support
|
||||
#
|
||||
# CONFIG_TIFF is not set
|
||||
|
||||
#
|
||||
# Interpreters
|
||||
#
|
||||
@ -518,7 +527,7 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=1
|
||||
# CONFIG_NETUTILS_WEBCLIENT is not set
|
||||
|
||||
#
|
||||
# FreeModbus
|
||||
# FreeModBus
|
||||
#
|
||||
# CONFIG_MODBUS is not set
|
||||
|
||||
@ -549,6 +558,11 @@ CONFIG_EXAMPLES_OSTEST_RR_RUNS=1
|
||||
#
|
||||
# CONFIG_SYSTEM_INSTALL is not set
|
||||
|
||||
#
|
||||
# RAM Test
|
||||
#
|
||||
# CONFIG_SYSTEM_RAMTEST is not set
|
||||
|
||||
#
|
||||
# readline()
|
||||
#
|
||||
|
@ -1,115 +0,0 @@
|
||||
/****************************************************************************
|
||||
* configs/freedom-kl25z/scripts/ld.script
|
||||
*
|
||||
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
*
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in
|
||||
* the documentation and/or other materials provided with the
|
||||
* distribution.
|
||||
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||
* used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
||||
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
* COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
* OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
||||
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/* The MKL25Z128 has 128Kb of FLASH beginning at address 0x0000:0000 and
|
||||
* 16Kb of SRAM at address 0x20000000.
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
flash (rx) : ORIGIN = 0x00000000, LENGTH = 128K
|
||||
sram (rwx) : ORIGIN = 0x1FFFF000, LENGTH = 16K
|
||||
}
|
||||
|
||||
OUTPUT_ARCH(arm)
|
||||
EXTERN(_vectors)
|
||||
ENTRY(_stext)
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
.text : {
|
||||
_stext = ABSOLUTE(.);
|
||||
*(.vectors)
|
||||
*(.text .text.*)
|
||||
*(.fixup)
|
||||
*(.gnu.warning)
|
||||
*(.rodata .rodata.*)
|
||||
*(.gnu.linkonce.t.*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.got)
|
||||
*(.gcc_except_table)
|
||||
*(.gnu.linkonce.r.*)
|
||||
_etext = ABSOLUTE(.);
|
||||
} > flash
|
||||
|
||||
.init_section : {
|
||||
_sinit = ABSOLUTE(.);
|
||||
*(.init_array .init_array.*)
|
||||
_einit = ABSOLUTE(.);
|
||||
} > flash
|
||||
|
||||
.ARM.extab : {
|
||||
*(.ARM.extab*)
|
||||
} > flash
|
||||
|
||||
__exidx_start = ABSOLUTE(.);
|
||||
.ARM.exidx : {
|
||||
*(.ARM.exidx*)
|
||||
} > flash
|
||||
__exidx_end = ABSOLUTE(.);
|
||||
|
||||
_eronly = ABSOLUTE(.);
|
||||
|
||||
.data : {
|
||||
_sdata = ABSOLUTE(.);
|
||||
*(.data .data.*)
|
||||
*(.gnu.linkonce.d.*)
|
||||
CONSTRUCTORS
|
||||
_edata = ABSOLUTE(.);
|
||||
} > sram AT > flash
|
||||
|
||||
.bss : {
|
||||
_sbss = ABSOLUTE(.);
|
||||
*(.bss .bss.*)
|
||||
*(.gnu.linkonce.b.*)
|
||||
*(COMMON)
|
||||
_ebss = ABSOLUTE(.);
|
||||
} > sram
|
||||
|
||||
/* Stabs debugging sections. */
|
||||
.stab 0 : { *(.stab) }
|
||||
.stabstr 0 : { *(.stabstr) }
|
||||
.stab.excl 0 : { *(.stab.excl) }
|
||||
.stab.exclstr 0 : { *(.stab.exclstr) }
|
||||
.stab.index 0 : { *(.stab.index) }
|
||||
.stab.indexstr 0 : { *(.stab.indexstr) }
|
||||
.comment 0 : { *(.comment) }
|
||||
.debug_abbrev 0 : { *(.debug_abbrev) }
|
||||
.debug_info 0 : { *(.debug_info) }
|
||||
.debug_line 0 : { *(.debug_line) }
|
||||
.debug_pubnames 0 : { *(.debug_pubnames) }
|
||||
.debug_aranges 0 : { *(.debug_aranges) }
|
||||
}
|
Loading…
Reference in New Issue
Block a user