From 574a0a333081f76ccb8282b3e18c8b1f37eb2344 Mon Sep 17 00:00:00 2001 From: Nicolas Stalder Date: Tue, 27 Apr 2021 01:10:20 +0200 Subject: [PATCH] (Re-)Activate flip-link - release 0.1.3 of flip-link fixes previous issues - we want to have stack overflow protection --- README.md | 2 +- runners/lpc55/.cargo/config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index feb180b7..ee123ddc 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ To make pcsclite on Linux work with the Bee, on Debian copy `Info.plist` to `/et - Install [Rust and Cargo](https://www.rust-lang.org/tools/install) for your system. -- Install dependencies such as clang, llvm, arm-none-eabi-gdb +- Install dependencies such as clang, llvm, arm-none-eabi-gdb, flip-link - Get and prepare hardware - Run `make build-dev`. diff --git a/runners/lpc55/.cargo/config b/runners/lpc55/.cargo/config index 7ac0eb5d..bc5e0202 100644 --- a/runners/lpc55/.cargo/config +++ b/runners/lpc55/.cargo/config @@ -1,7 +1,7 @@ [target.'cfg(all(target_arch = "arm", target_os = "none"))'] runner = "arm-none-eabi-gdb -q -x jlink.gdb" rustflags = [ - # "-C", "linker=flip-link", + "-C", "linker=flip-link", "-C", "link-arg=-Tlink.x", ]