Skip to content

Commit 168fdd8

Browse files
Use the smallest available flash& ram size
Build as release so we can be sure they fit
1 parent 9c864d8 commit 168fdd8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ matrix:
1515
fast_finish: true
1616
script:
1717
- rustup target add thumbv6m-none-eabi
18-
- cargo build --features=$MCU --examples
18+
- cargo build --features=$MCU --examples --release

memory.x

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
MEMORY
22
{
33
/* NOTE K = KiBi = 1024 bytes */
4-
FLASH : ORIGIN = 0x08000000, LENGTH = 32K
5-
RAM : ORIGIN = 0x20000000, LENGTH = 6K
4+
FLASH : ORIGIN = 0x08000000, LENGTH = 16K
5+
RAM : ORIGIN = 0x20000000, LENGTH = 4K
66
}
77

88
/* This is where the call stack will be allocated. */

0 commit comments

Comments
 (0)