diff --git a/.travis.yml b/.travis.yml index e011bc3..143127f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,4 +15,4 @@ matrix: fast_finish: true script: - rustup target add thumbv6m-none-eabi - - cargo build --features=$MCU --examples + - cargo build --features=$MCU --examples --release diff --git a/memory.x b/memory.x index 51b2492..da8756c 100644 --- a/memory.x +++ b/memory.x @@ -1,8 +1,8 @@ MEMORY { /* NOTE K = KiBi = 1024 bytes */ - FLASH : ORIGIN = 0x08000000, LENGTH = 32K - RAM : ORIGIN = 0x20000000, LENGTH = 6K + FLASH : ORIGIN = 0x08000000, LENGTH = 16K + RAM : ORIGIN = 0x20000000, LENGTH = 4K } /* This is where the call stack will be allocated. */