blob: 5007f54df3d3c0f897cf51acaf5a7f9c72d00ad1 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# Package: hw/mcu/stm/stm32f3xx
syscfg.defs:
MCU_FLASH_MIN_WRITE_SIZE:
description: >
Specifies the required alignment for internal flash writes.
Used internally by the newt tool.
value: 2
MCU_STM32F3:
description: MCUs are of STM32F3xx family
value: 1
STM32_HAL_SPI_HAS_FIFO:
description: This MCU has a SPI with FIFO
value: 1
STM32_HAL_I2C_HAS_CLOCKSPEED:
description: This MCU's I2C has no clock speed register (has TIMINGR)
value: 0
STM32_HAL_UART_HAS_SR:
description: This MCU's UART uses ISR register (not SR) for status.
value: 0
MCU_SYSCLK_PLL_HSI:
description: Configure PLL as sysclock driven by HSI.
value: 0
SPI_0_MASTER:
description: 'SPI 0 master'
value: 0
restrictions:
- "!SPI_0_SLAVE"
SPI_0_SLAVE:
description: 'SPI 0 slave'
value: 0
restrictions:
- "!SPI_0_MASTER"
SPI_0:
description: 'SPI 0 enable'
value: 'MYNEWT_VAL_SPI_0_MASTER || MYNEWT_VAL_SPI_0_SLAVE'
SPI_1_MASTER:
description: 'SPI 1 master'
value: 0
restrictions:
- "!SPI_1_SLAVE"
SPI_1_SLAVE:
description: 'SPI 1 slave'
value: 0
restrictions:
- "!SPI_1_MASTER"
SPI_1:
description: 'SPI 1 enable'
value: 'MYNEWT_VAL_SPI_1_MASTER || MYNEWT_VAL_SPI_1_SLAVE'
I2C_0:
description: 'I2C (TWI) interface 0'
value: 0