From bb026b1d99f70c6ae3320eab8673160d3b045f97 Mon Sep 17 00:00:00 2001 From: jzlv Date: Mon, 12 Jul 2021 17:03:18 +0800 Subject: [PATCH] [fix][examples/adc] add adc demo float support --- examples/adc/adc_key/cdk/adc_key.cdkproj | 25 +++++++++++++++--------- examples/adc/adc_key/readme.md | 2 +- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/examples/adc/adc_key/cdk/adc_key.cdkproj b/examples/adc/adc_key/cdk/adc_key.cdkproj index f3ab7fe2..3508f45a 100644 --- a/examples/adc/adc_key/cdk/adc_key.cdkproj +++ b/examples/adc/adc_key/cdk/adc_key.cdkproj @@ -189,13 +189,20 @@ Board: bl70x_iot - - - - - - - + + + + + + + + + + + + + + @@ -395,7 +402,7 @@ Board: bl70x_iot $(ProjectPath)../../../../drivers/bl702_driver/bl702_flash.ld c - --specs=nano.specs + --specs=nano.specs -u _printf_float no @@ -586,7 +593,7 @@ Board: bl70x_iot $(ProjectPath)../../../../drivers/bl702_driver/bl702_flash.ld c - --specs=nano.specs + --specs=nano.specs -u _printf_float no diff --git a/examples/adc/adc_key/readme.md b/examples/adc/adc_key/readme.md index 8c47be8c..6cbd0e7b 100644 --- a/examples/adc/adc_key/readme.md +++ b/examples/adc/adc_key/readme.md @@ -1,5 +1,5 @@ ```bash -$ make APP=adc_key BOARD=bl706_iot +$ make APP=adc_key BOARD=bl706_iot SUPPORT_FLOAT=y ``` \ No newline at end of file