Skip to content

Commit

Permalink
hw/mcu/stm32f4: Add shell command to show clocks
Browse files Browse the repository at this point in the history
This adds package that can display all enabled clocks.
Similar to what was already done for stm32f1

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
  • Loading branch information
kasjer committed Dec 20, 2024
1 parent fc8e949 commit 1cb3382
Show file tree
Hide file tree
Showing 3 changed files with 495 additions and 0 deletions.
35 changes: 35 additions & 0 deletions hw/mcu/stm/stm32f4xx/mcu_cli/pkg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# 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.
#

pkg.name: hw/mcu/stm/stm32f4xx/mcu_cli
pkg.description: MCU cli for STM32F4 chips.
pkg.author: "Apache Mynewt <dev@mynewt.apache.org>"
pkg.keywords:
- stm32
- stm32f4

pkg.deps:
- "@apache-mynewt-core/hw/mcu/stm/stm32f4xx"
- "@apache-mynewt-core/kernel/os"

pkg.req_apis:
- console

pkg.init:
mcu_cli_init: 'MYNEWT_VAL(MCU_CLI_SYSINIT_STAGE)'
Loading

0 comments on commit 1cb3382

Please sign in to comment.