You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/07/18 19:13:37 UTC
[GitHub] [mynewt-core] jipanienko opened a new pull request #2336: add MCU cli for STM32F1
jipanienko opened a new pull request #2336:
URL: https://github.com/apache/mynewt-core/pull/2336
Package adds shell command for display clocks and
peripheral clock.
```
compat> select mcu
mcu> info
015511 Clocks:
015511 SYSCLK: 72000000
015513 source PLL
015515 HSI: off
015516 HSE: on
015518 PLL: on
015519 LSI: on
015521 LSE: on
015523 Peripherals:
015524 AHB HCLK: 72000000
015527 SRAM on
015529 FLITF on
015531 APB1 PCLK1: 36000000
015533 TIM2 on
015535 TIM3 on
015537 USART2 on
015539 PWR on
015541 APB2 PCLK2: 72000000
015544 AFIO on
015546 IOA on
015548 IOB on
015549 IOC on
```
```
mcu> info all
041774 Clocks:
041774 SYSCLK: 72000000
041776 source PLL
041778 HSI: off
041779 HSE: on
041781 PLL: on
041782 LSI: on
041784 LSE: on
041786 Peripherals:
041787 AHB HCLK: 72000000
041790 DMA1 off
041792 SRAM on
041794 FLITF on
041796 APB1 PCLK1: 36000000
041798 TIM2 on
041800 TIM3 on
041802 TIM4 off
041804 WWD off
041806 SPI2 off
041808 USART2 on
041810 USART3 off
041812 I2C1 off
041814 I2C2 off
041816 CAN1 off
041818 BKP off
041820 USB off
041822 PWR on
041824 APB2 PCLK2: 72000000
041827 AFIO on
041829 IOA on
041830 IOB on
041832 IOC on
041834 IOD off
041836 IOE off
041838 ADC1 off
041840 ADC2 off
041842 TIM1 off
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2336: add MCU cli for STM32F1
Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2336:
URL: https://github.com/apache/mynewt-core/pull/2336#issuecomment-660528502
<!-- style-bot -->
## Style check summary
### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
#### hw/mcu/stm/stm32f1xx/mcu_cli/src/mcu_cli.c
<details>
```diff
@@ -27,7 +27,8 @@
static const char *system_clock_source[4] = { "HSI", "HSE", "PLL", "" };
-static const char *on_off_state(uint32_t on)
+static const char *
+on_off_state(uint32_t on)
{
return on ? "on" : "off";
}
```
</details>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2336: add MCU cli for STM32F1
Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on pull request #2336:
URL: https://github.com/apache/mynewt-core/pull/2336#issuecomment-660545846
<!-- style-bot -->
## Style check summary
#### No suggestions at this time!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] apache-mynewt-bot removed a comment on pull request #2336: add MCU cli for STM32F1
Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot removed a comment on pull request #2336:
URL: https://github.com/apache/mynewt-core/pull/2336#issuecomment-660528502
<!-- style-bot -->
## Style check summary
### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
#### hw/mcu/stm/stm32f1xx/mcu_cli/src/mcu_cli.c
<details>
```diff
@@ -27,7 +27,8 @@
static const char *system_clock_source[4] = { "HSI", "HSE", "PLL", "" };
-static const char *on_off_state(uint32_t on)
+static const char *
+on_off_state(uint32_t on)
{
return on ? "on" : "off";
}
```
</details>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] kasjer merged pull request #2336: add MCU cli for STM32F1
Posted by GitBox <gi...@apache.org>.
kasjer merged pull request #2336:
URL: https://github.com/apache/mynewt-core/pull/2336
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org