hi i modified the read functions and got rid of the casting warnings. been trying the changes, and everything seems to work ok.
the first patch has the changes to get rid of the warnings, and the second patch re-enables the target. salú! On Tue, Jun 28, 2011 at 9:31 AM, Øyvind Harboe <[email protected]> wrote: > dsp5680xx.c generates warnings. Could someone submit a patch to fix this? > > I'll disable this source file meanwhile. > > 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 > > > -- > Øyvind Harboe - Can Zylin Consulting help on your project? > US toll free 1-866-980-3434 / International +47 51 87 40 27 > http://www.zylin.com/ > _______________________________________________ > Openocd-development mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/openocd-development > -- Rodrigo.
0001-fix-warnings.patch
Description: Binary data
0002-re-enable-dsp5680xx.patch
Description: Binary data
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
