You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/10/20 20:22:09 UTC
[10/10] incubator-mynewt-core git commit: nucleo syscfg.yml;
add items for BSP configurables. These control which HAL drivers are
configured.
nucleo syscfg.yml; add items for BSP configurables. These control
which HAL drivers are configured.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/a3d78fb9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/a3d78fb9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/a3d78fb9
Branch: refs/heads/develop
Commit: a3d78fb9b1881aa587c3f0da2e6bebc4d78c25b9
Parents: 8e190fe
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Oct 20 13:20:26 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Oct 20 13:20:26 2016 -0700
----------------------------------------------------------------------
hw/bsp/nucleo-f401re/syscfg.yml | 65 ++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a3d78fb9/hw/bsp/nucleo-f401re/syscfg.yml
----------------------------------------------------------------------
diff --git a/hw/bsp/nucleo-f401re/syscfg.yml b/hw/bsp/nucleo-f401re/syscfg.yml
new file mode 100644
index 0000000..021a913
--- /dev/null
+++ b/hw/bsp/nucleo-f401re/syscfg.yml
@@ -0,0 +1,65 @@
+#
+# 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.
+#
+
+syscfg.defs:
+ CLOCK_FREQ:
+ description: 'TBD'
+ value: 1000000
+
+ UART_0:
+ description: 'TBD'
+ value: 1
+
+ I2C_0:
+ description: 'I2C0'
+ value: 0
+
+ SPI_0:
+ description: 'TBD'
+ value: 0
+
+ SPI_0_MASTER:
+ description: 'TBD'
+ value: 0
+ restrictions:
+ - SPI_0
+
+ SPI_0_SLAVE:
+ description: 'TBD'
+ value: 0
+ restrictions:
+ - SPI_0
+
+ TIMER_0:
+ description: 'TIMER_0'
+ value: 0
+
+ TIMER_0_INTERRUPT_PRIORITY:
+ description: 'Interrupt priority for HAL timer 0'
+ value: 1
+
+ TIMER_0_UNIT:
+ description: 'MCU timer unit assigned as HAL timer0'
+ value: TIM9
+
+syscfg.vals:
+ REBOOT_LOG_FLASH_AREA: FLASH_AREA_REBOOT_LOG
+ CONFIG_FCB_FLASH_AREA: FLASH_AREA_NFFS
+ NFFS_FLASH_AREA: FLASH_AREA_NFFS
+ COREDUMP_FLASH_AREA: FLASH_AREA_IMAGE_1