comparison packages/io/flash/current/src/legacy_dev.c @ 1750:fac0499dabd6

Move legacy macros from a public to an internal header file, to facilitate future clean-ups
author bartv
date Mon, 22 Nov 2004 13:25:23 +0000
parents 80232dbac7fb
children 61fbcc1cb232
comparison
equal deleted inserted replaced
1749:80232dbac7fb 1750:fac0499dabd6
58 #include <cyg/hal/hal_cache.h> 58 #include <cyg/hal/hal_cache.h>
59 #include <string.h> 59 #include <string.h>
60 60
61 #define _FLASH_PRIVATE_ 61 #define _FLASH_PRIVATE_
62 #include <cyg/io/flash.h> 62 #include <cyg/io/flash.h>
63 #include "flash_legacy.h"
63 64
64 // When this flag is set, do not actually jump to the relocated code. 65 // When this flag is set, do not actually jump to the relocated code.
65 // This can be used for running the function in place (RAM startup only), 66 // This can be used for running the function in place (RAM startup only),
66 // allowing calls to diag_printf() and similar. 67 // allowing calls to diag_printf() and similar.
67 #undef RAM_FLASH_DEV_DEBUG 68 #undef RAM_FLASH_DEV_DEBUG