aboutsummaryrefslogtreecommitdiff
path: root/stmhal/boards/ESPRUINO_PICO
diff options
context:
space:
mode:
authorDave Hylands2016-10-03 22:28:48 -0700
committerDamien George2016-10-05 11:42:50 +1100
commit7a9c183c20f01eec204b7bb89180aebe9723e576 (patch)
tree1ca3dc7e37f29dde93691d1ba05492caa4e5781b /stmhal/boards/ESPRUINO_PICO
parentcecf6bee97aa55e9376cb7e7fb492fce9afef2fe (diff)
stmhal: Fix ESPRUINO_PICO by adding ld scripts with correct flash size.
Diffstat (limited to 'stmhal/boards/ESPRUINO_PICO')
-rw-r--r--stmhal/boards/ESPRUINO_PICO/mpconfigboard.mk2
-rw-r--r--stmhal/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/stmhal/boards/ESPRUINO_PICO/mpconfigboard.mk b/stmhal/boards/ESPRUINO_PICO/mpconfigboard.mk
index 428b271ab..4c44022c3 100644
--- a/stmhal/boards/ESPRUINO_PICO/mpconfigboard.mk
+++ b/stmhal/boards/ESPRUINO_PICO/mpconfigboard.mk
@@ -1,4 +1,4 @@
MCU_SERIES = f4
CMSIS_MCU = STM32F401xE
AF_FILE = boards/stm32f401_af.csv
-LD_FILE = boards/stm32f401.ld
+LD_FILE = boards/stm32f401xd.ld
diff --git a/stmhal/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h b/stmhal/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h
index fcbb6637a..c68c00d19 100644
--- a/stmhal/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h
+++ b/stmhal/boards/ESPRUINO_PICO/stm32f4xx_hal_conf.h
@@ -54,10 +54,10 @@
*/
#define HAL_MODULE_ENABLED
#define HAL_ADC_MODULE_ENABLED
-#define HAL_CAN_MODULE_ENABLED
+/* #define HAL_CAN_MODULE_ENABLED */
/* #define HAL_CRC_MODULE_ENABLED */
/* #define HAL_CRYP_MODULE_ENABLED */
-#define HAL_DAC_MODULE_ENABLED
+/* #define HAL_DAC_MODULE_ENABLED */
/* #define HAL_DCMI_MODULE_ENABLED */
#define HAL_DMA_MODULE_ENABLED
/* #define HAL_DMA2D_MODULE_ENABLED */
@@ -79,7 +79,7 @@
#define HAL_RNG_MODULE_ENABLED
#define HAL_RTC_MODULE_ENABLED
/* #define HAL_SAI_MODULE_ENABLED */
-#define HAL_SD_MODULE_ENABLED
+/* #define HAL_SD_MODULE_ENABLED */
#define HAL_SPI_MODULE_ENABLED
#define HAL_TIM_MODULE_ENABLED
#define HAL_UART_MODULE_ENABLED