source: rtems/c/src/aclocal/rtems-cpu-subdirs.m4 @ 2d7ae960

4.115
Last change on this file since 2d7ae960 was 2d7ae960, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 11, 2012 at 6:37:29 PM

v850 port: Initial addition with BSP for simulator in GDB

Port

+ v850 does not have appear to have any optimized bit scan instructions
+ v850 does have single instructions for wap u16 and u32
+ Code path optimization preferences set
+ Add BSP variants for each GCC CPU model flag and a README

  • v850e1 variant does not work (fails during BSP initialization)

BSP for GDB v850 Simulator

+ linkcmds matches defaults in GDB simulator with RTEMS mods
+ crt1.c added from v850 newlib port for main()
+ BSP exits cleanly
+ printk and console I/O work
+ uses clock tick from IDLE task
+ Tests not requiring real clock ISR work

Documentation

+ CPU Supplment chapter for v850 added

  • Property mode set to 100644
File size: 932 bytes
Line 
1AC_DEFUN([_RTEMS_CPU_SUBDIR],
2[
3$1 )    if test -d ${srcdir}/ifelse([$2],,[$1],[$2/$1]) ; then
4  AC_CONFIG_SUBDIRS(ifelse([$2],,[$1],[$2/$1]))
5  fi
6])
7
8## RTEMS_CPU_SUBDIRS([PREFIX])
9AC_DEFUN([RTEMS_CPU_SUBDIRS],
10[
11## EDIT: If adding a new cpu to RTEMS, add it to the case block below.
12case $RTEMS_CPU in
13_RTEMS_CPU_SUBDIR([arm],[$1]);;
14_RTEMS_CPU_SUBDIR([bfin],[$1]);;
15_RTEMS_CPU_SUBDIR([avr],[$1]);;
16_RTEMS_CPU_SUBDIR([h8300],[$1]);;
17_RTEMS_CPU_SUBDIR([i386],[$1]);;
18_RTEMS_CPU_SUBDIR([lm32],[$1]);;
19_RTEMS_CPU_SUBDIR([m32c],[$1]);;
20_RTEMS_CPU_SUBDIR([m32r],[$1]);;
21_RTEMS_CPU_SUBDIR([m68k],[$1]);;
22_RTEMS_CPU_SUBDIR([mips],[$1]);;
23_RTEMS_CPU_SUBDIR([nios2],[$1]);;
24_RTEMS_CPU_SUBDIR([no_cpu],[$1]);;
25_RTEMS_CPU_SUBDIR([powerpc],[$1]);;
26_RTEMS_CPU_SUBDIR([sh],[$1]);;
27_RTEMS_CPU_SUBDIR([sparc],[$1]);;
28_RTEMS_CPU_SUBDIR([sparc64],[$1]);;
29_RTEMS_CPU_SUBDIR([v850],[$1]);;
30*) AC_MSG_ERROR([Invalid RTEMS_CPU <[$]{RTEMS_CPU}>])
31esac
32])
Note: See TracBrowser for help on using the repository browser.