Add XS3 support and remove XS1 support

This commit is contained in:
mbanth
2021-06-16 14:47:03 +01:00
parent 0f0e8506b3
commit 4dbe332b2c

View File

@@ -11,13 +11,11 @@
#include "flash_interface.h" #include "flash_interface.h"
#include "dfu_interface.h" #include "dfu_interface.h"
#if (XUD_SERIES_SUPPORT==4) #if defined(__XS3A__)
/* xCORE-200 */ #define FLAG_ADDRESS 0xfffcc
#elif defined(__XS2A__)
/* Note range 0x7FFC8 - 0x7FFFF guarenteed to be untouched by tools */ /* Note range 0x7FFC8 - 0x7FFFF guarenteed to be untouched by tools */
#define FLAG_ADDRESS 0x7ffcc #define FLAG_ADDRESS 0x7ffcc
#else
/* Note range 0x1FFC8 - 0x1FFFF guarenteed to be untouched by tools */
#define FLAG_ADDRESS 0x1ffcc
#endif #endif
/* Store Flag to fixed address */ /* Store Flag to fixed address */