Skip to content

Commit

Permalink
Use the smallest available flash& ram size
Browse files Browse the repository at this point in the history
Build as release so we can be sure they fit
  • Loading branch information
david-sawatzke committed Dec 18, 2018
1 parent b1b5970 commit 56df064
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions memory.x
Original file line number Diff line number Diff line change
@@ -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. */
Expand Down

0 comments on commit 56df064

Please sign in to comment.