FLASH_PAGE_SIZE
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 13 Aug 2012 05:24:41 +0000 (14:24 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 13 Aug 2012 05:24:41 +0000 (14:24 +0900)
src/config.h.in
src/configure

index 0f15d78..eadbdfb 100644 (file)
@@ -1 +1,2 @@
 @DFU_DEFINE@
+#define FLASH_PAGE_SIZE        @FLASH_PAGE_SIZE@
index 0afece6..876c0ed 100755 (executable)
@@ -131,5 +131,6 @@ sed -e "s/@ORIGIN@/$ORIGIN/" -e "s/@FLASH_SIZE@/$FLASH_SIZE/" \
     -e "s/@FLASH_PAGE_SIZE@/$FLASH_PAGE_SIZE/" \
        < neug.ld.in > neug.ld
 sed -e "s/@DFU_DEFINE@/$DFU_DEFINE/" \
+    -e "s/@FLASH_PAGE_SIZE@/$FLASH_PAGE_SIZE/" \
        < config.h.in > config.h
 exit 0