summaryrefslogtreecommitdiff
path: root/chip/stm32/config-stm32f07x.h
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2014-06-18 08:45:30 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-18 21:11:17 +0000
commit635a07ddadc47b649fa24bee6f94c65295eb844d (patch)
treecc1d710f07934626a121da85f4214dcdd5b569c2 /chip/stm32/config-stm32f07x.h
parentb162ac513aa801b53d17a53591b73a303c675bdc (diff)
downloadchrome-ec-635a07ddadc47b649fa24bee6f94c65295eb844d.tar.gz
stm32: update USB buffer size for STM32F0x2
The STM32F0x2 has a 1024-byte dedicated SRAM buffer for USB rather than a 512-byte one as previous parts. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=none BUG=chrome-os-partner:28295 TEST=make buildall Change-Id: I9fc8d76fbaa01f2b4cb0a814314c69192a6cbb95 Reviewed-on: https://chromium-review.googlesource.com/204437 Reviewed-by: Todd Broch <tbroch@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/stm32/config-stm32f07x.h')
-rw-r--r--chip/stm32/config-stm32f07x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/stm32/config-stm32f07x.h b/chip/stm32/config-stm32f07x.h
index a40f0f1057..843f8886bf 100644
--- a/chip/stm32/config-stm32f07x.h
+++ b/chip/stm32/config-stm32f07x.h
@@ -40,3 +40,6 @@
/* Reduced history because of limited RAM */
#undef CONFIG_CONSOLE_HISTORY
#define CONFIG_CONSOLE_HISTORY 3
+
+/* STM32F0 has a larger USB RAM */
+#define CONFIG_USB_RAM_SIZE 1024