From 8f2c7d7f7670d696479e64daada86a9386bd1a31 Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Tue, 31 May 2016 09:01:56 -0700 Subject: [PATCH] jerry: Free up flash space Remove console command help strings to free flash space. BUG=None TEST=Build for jerry, verify free flash space goes from ~40 bytes to ~2500 bytes. BRANCH=None Signed-off-by: Shawn Nematbakhsh Change-Id: I3e250c86420978446ae0b348ded7646b13272486 Reviewed-on: https://chromium-review.googlesource.com/348073 Reviewed-by: Mary Ruthven --- board/jerry/board.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/board/jerry/board.h b/board/jerry/board.h index 1d73e1dd90..e5c263b432 100644 --- a/board/jerry/board.h +++ b/board/jerry/board.h @@ -44,8 +44,10 @@ #define CONFIG_STM_HWTIMER32 #define CONFIG_UART_RX_DMA #define CONFIG_VBOOT_HASH -#undef CONFIG_WATCHDOG_HELP + +#undef CONFIG_CONSOLE_CMDHELP #undef CONFIG_CONSOLE_HISTORY +#undef CONFIG_WATCHDOG_HELP #define CONFIG_HIBERNATE_WAKEUP_PINS (STM32_PWR_CSR_EWUP1 | STM32_PWR_CSR_EWUP6)