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/06/23 08:01:44 UTC

[GitHub] [mynewt-core] brianwyld commented on a change in pull request #2319: Add tickles sleep for STM32F1 CPU

brianwyld commented on a change in pull request #2319:
URL: https://github.com/apache/mynewt-core/pull/2319#discussion_r444036307



##########
File path: hw/mcu/stm/stm32_common/src/hal_os_tick.c
##########
@@ -76,3 +79,111 @@ os_tick_init(uint32_t os_ticks_per_sec, int prio)
     DBGMCU->CR |= (DBGMCU_CR_DBG_STOP | DBGMCU_CR_DBG_STANDBY);
 #endif
 }
+

Review comment:
       IMHO such a large block of STM32F1 specific code should not be the stm32_common files. Should be in the specific MCU directory instead... especially if we then have tickless code for the STM32L1 (as per my PR), STM32L0/L4, etc etc as each one requires a different approach.




----------------------------------------------------------------
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