aboutsummaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2023-07-24 09:07:38 +1000
committerGitHub <[email protected]>2023-07-24 09:07:38 +1000
commit6ba2a5c259a7abd0eb42c0dba50c167ac538792c (patch)
tree0c17cc4a8c3596296cb62d885c97596232c95e59 /source
parentf83ebc8c812f84920f7709c5000144a018205899 (diff)
downloadIronOS-6ba2a5c259a7abd0eb42c0dba50c167ac538792c.tar.gz
IronOS-6ba2a5c259a7abd0eb42c0dba50c167ac538792c.zip
BLE crash fixing (Part ?) (#1756)
* Remap printf * Help to unify formatting --------- Co-authored-by: discip <[email protected]> Co-authored-by: Ivan Zorin <[email protected]>
Diffstat (limited to 'source')
-rw-r--r--source/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/Makefile b/source/Makefile
index 49b86532..3726cce4 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -427,7 +427,9 @@ DEV_LDFLAGS=-nostartfiles \
-L $(PINECILV2_BLE_CRAPWARE_BLOB_DIR) \
-L $(PINECILV2_RF_CRAPWARE_BLOB_DIR) \
-l blecontroller_702_m0s1s \
- -l bl702_rf
+ -l bl702_rf \
+ -Wl,--wrap=printf \
+ -Wl,--defsym=__wrap_printf=bflb_platform_printf
DEV_AFLAGS=
DEV_GLOBAL_DEFS=-DCFG_FREERTOS \