blob: 19b872bc75619d0e4e2cab5bc779a2d4393ea32e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_EC_CHIP_CONFIG_H
#define __CROS_EC_CHIP_CONFIG_H
/* use variant specific configuration for flash / UART / IRQ */
#if defined(CHIP_VARIANT_stm32l15x)
#include "config-stm32l15x.h"
#elif defined(CHIP_VARIANT_stm32f100)
#include "config-stm32f100.h"
#else
#error "Unsupported chip variant"
#endif
/* System stack size */
#define CONFIG_STACK_SIZE 1024
/* support programming on-chip flash */
#define CONFIG_FLASH
/* build with assertions and debug messages */
#define CONFIG_DEBUG
/* Compile for running from RAM instead of flash */
/* #define COMPILE_FOR_RAM */
#endif /* __CROS_EC_CHIP_CONFIG_H */
|