Browse Source

dsp5680xx: disable for now, it generates warnings

Use "git revert <commit>" to revert this commit, then build and
repair and post patch to the mailing list.

Warnings generated with:

nios2-elf-gcc (GCC) 3.4.6 (Altera Nios II 9.1 b222)

openocd/src/target/dsp5680xx.c: In function 'eonce_rx_upper_data':
openocd/src/target/dsp5680xx.c:252: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'eonce_rx_lower_data':
openocd/src/target/dsp5680xx.c:268: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'eonce_pc_store':
openocd/src/target/dsp5680xx.c:508: warning: dereferencing type-punned
pointer will break strict-aliasing rules
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_read':
openocd/src/target/dsp5680xx.c:736: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c:737: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write_8':
openocd/src/target/dsp5680xx.c:823: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write':
openocd/src/target/dsp5680xx.c:938: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c:941: warning: cast increases required
alignment of target type
openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_f_wr':
openocd/src/target/dsp5680xx.c:1355: warning: cast increases required
alignment of target type
tags/v0.5.0-rc2
Øyvind Harboe 12 years ago
parent
commit
d567df02b9
4 changed files with 13 additions and 7 deletions
  1. +3
    -1
      src/flash/nor/Makefile.am
  2. +3
    -2
      src/flash/nor/drivers.c
  3. +4
    -2
      src/target/Makefile.am
  4. +3
    -2
      src/target/target.c

+ 3
- 1
src/flash/nor/Makefile.am View File

@@ -30,9 +30,11 @@ NOR_DRIVERS = \
str9x.c \
str9xpec.c \
tms470.c \
dsp5680xx_flash.c \
virtual.c

# Disabled for now, it generates warnings
# dsp5680xx_flash.c

noinst_HEADERS = \
core.h \
cfi.h \


+ 3
- 2
src/flash/nor/drivers.c View File

@@ -43,7 +43,7 @@ extern struct flash_driver faux_flash;
extern struct flash_driver virtual_flash;
extern struct flash_driver stmsmi_flash;
extern struct flash_driver em357_flash;
extern struct flash_driver dsp5680xx_flash;
//extern struct flash_driver dsp5680xx_flash;

/**
* The list of built-in flash drivers.
@@ -72,7 +72,8 @@ static struct flash_driver *flash_drivers[] = {
&virtual_flash,
&stmsmi_flash,
&em357_flash,
&dsp5680xx_flash,
// Disabled for now, it generates warnings
//&dsp5680xx_flash,
NULL,
};



+ 4
- 2
src/target/Makefile.am View File

@@ -33,8 +33,10 @@ libtarget_la_SOURCES = \
$(MIPS32_SRC) \
avrt.c \
dsp563xx.c \
dsp563xx_once.c \
dsp5680xx.c
dsp563xx_once.c
# This file generates warnings, disabled for now, see also target.c
# dsp5680xx.c

TARGET_CORE_SRC = \
algorithm.c \


+ 3
- 2
src/target/target.c View File

@@ -81,7 +81,7 @@ extern struct target_type arm11_target;
extern struct target_type mips_m4k_target;
extern struct target_type avr_target;
extern struct target_type dsp563xx_target;
extern struct target_type dsp5680xx_target;
//extern struct target_type dsp5680xx_target;
extern struct target_type testee_target;
extern struct target_type avr32_ap7k_target;

@@ -104,7 +104,8 @@ static struct target_type *target_types[] =
&mips_m4k_target,
&avr_target,
&dsp563xx_target,
&dsp5680xx_target,
// Disabled for now, it generates warnings
// &dsp5680xx_target,
&testee_target,
&avr32_ap7k_target,
NULL,


Loading…
Cancel
Save