Skip to content

Conversation

@utzig
Copy link
Member

@utzig utzig commented Sep 26, 2019

Slinky works, SPI/I2C/TIM under test...

* Internal API for stm32wbxx mcu specific code.
*/
int hal_gpio_init_af(int pin, uint8_t af_type, enum hal_gpio_pull pull, uint8_t
od);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very unusual line break

I2C_TypeDef *hic_i2c;
volatile uint32_t *hic_rcc_reg; /* RCC register to modify */
uint32_t hic_rcc_dev; /* RCC device ID */
uint8_t hic_pin_sda;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for UART pins were int8_t

#include <mcu/stm32_hal.h>
#include "hal/hal_flash_int.h"

#define _FLASH_SIZE (MYNEWT_VAL(STM32_FLASH_SIZE_KB) * 1024)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_FLASH_SIZE defined locally but not use

if (regs == TIM8) {
stm32_tmr_reg_irq(TIM8_CC_IRQn, func);
#if MYNEWT_VAL(MCU_STM32F3) || MYNEWT_VAL(MCU_STM32L4)
#if MYNEWT_VAL(MCU_STM32F3) || MYNEWT_VAL(MCU_STM32L4) || MYNEWT_VAL(MCU_STM32WB)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So far STM32WB does not have TIM8 and TIM10

#endif

#if MYNEWT_VAL(TIMER_1)
hal_timer_init(1, TIM3);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TIM3 is not present on stm32wb55 TIM1, TIM16, TIM17 could be considered

#endif

#if MYNEWT_VAL(TIMER_2)
hal_timer_init(2, TIM4);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no TIM4

(void)rc;

#if MYNEWT_VAL(UART_0)
rc = os_dev_create((struct os_dev *) &hal_uart0, "uart0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this and next line have cast space inconsistency

@utzig utzig force-pushed the stm32wbxx branch 4 times, most recently from 56c84c0 to 72597e9 Compare October 4, 2019 12:02
@utzig utzig changed the title WIP - P-NUCLEO-WB55 P-NUCLEO-WB55 Oct 9, 2019
@utzig
Copy link
Member Author

utzig commented Oct 9, 2019

@kasjer Could you take a look at this again, I think most review issues were tackled, apart from the int vs unsigned for I2c pins and flash suggestions (FLASH_PAGE_SIZE and removing _ prefix). I am not sure what your suggestion is for the first one, but the issue spans across families so I think it would makes more sense to do it in another PR that covers them all. For the flash suggestions, I agree, but would rather send a new PR that changes it on every family. Is that OK?

* (when HSE is used as system clock source, directly or through the PLL).
*/
#if !defined (HSE_VALUE)
#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure it's not 32MHz?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, fixed it (and some related changes with HSE configuration that were broken). My bad, I hadn't really tested this clock source before for this model but it's functional now.

Comment on lines +36 to +64
#define STM32_HAL_WATCHDOG_CUSTOM_INIT(x) \
do { \
(x)->Init.Window = IWDG_WINDOW_DISABLE; \
} while (0)

/* hal_system_start */
#define STM32_HAL_FLASH_REMAP() \
do { \
SYSCFG->MEMRMP = 0; \
__DSB(); \
} while (0)

/* hal_spi */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interleaving includes with definitions is quite unusual in mynewt

value: 0xff

STM32_FLASH_IS_LINEAR:
description: This MCU's Flash has one single sector size.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this sentence is strange.
maybe: all sectors have same size

- "!SPI_0_MASTER"

TRNG:
description: 'True Random Number Generator (RNG)'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe enable word here? like in CRYPTO case

value: 1

STM32_CLOCK_VOLTAGESCALING_CONFIG:
description: Voltage scale
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would not guess what it could be used for. But then I did not studied datasheet.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One can lower the clock when running with low speed clocks, or increase it when maximum performance is desired.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, lower the voltage

#ifdef TIM1
case (uintptr_t)TIM1:
#endif
#ifdef TIM8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are TIM3, 4, 8, 9, 10, 11, 15 here for future chips?

#endif

#if !IS_RCC_HCLKx(MYNEWT_VAL(STM32_CLOCK_AHBCLK2_DIVIDER))
#error ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not much information in #error here

* MSI Oscillator
*/
#if MYNEWT_VAL(STM32_CLOCK_MSI)
# if (MYNEWT_VAL(STM32_CLOCK_MSI_CALIBRATION) > 255)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this kind of indentation is not used in similar cases few lines down


osc_init.OscillatorType |= RCC_OSCILLATORTYPE_LSI2;
osc_init.LSI2CalibrationValue = MYNEWT_VAL(STM32_CLOCK_LSI2_CALIBRATION);
#endif /* MYNEWT_VAL(STM32_CLOCK_LSI2) */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invalid indentation

@utzig
Copy link
Member Author

utzig commented Oct 14, 2019

@kasjer All issues addressed.

utzig added 5 commits October 14, 2019 10:15
Updates the STM32 crypto driver to use the new API introduced when
support for the AES module was added (an AES-only simplified
cryptography driver). This currently works with F4x and WBxx (other
families would required a SDK update).

Signed-off-by: Fabio Utzig <utzig@apache.org>
@apache-mynewt-bot
Copy link

RAT Report (2019-10-14 13:18:09)

New files with unknown licenses

Detailed analysis

New files in this PR

License File
AL hw/bsp/p-nucleo-wb55/boot-p-nucleo-wb55.ld
AL hw/bsp/p-nucleo-wb55/bsp.yml
AL hw/bsp/p-nucleo-wb55/include/bsp/bsp.h
????? hw/bsp/p-nucleo-wb55/include/bsp/stm32wbxx_hal_conf.h
AL hw/bsp/p-nucleo-wb55/p-nucleo-wb55.ld
AL hw/bsp/p-nucleo-wb55/p-nucleo-wb55_debug.cmd
AL hw/bsp/p-nucleo-wb55/p-nucleo-wb55_debug.sh
AL hw/bsp/p-nucleo-wb55/p-nucleo-wb55_download.cmd
AL hw/bsp/p-nucleo-wb55/p-nucleo-wb55_download.sh
AL hw/bsp/p-nucleo-wb55/pkg.yml
????? hw/bsp/p-nucleo-wb55/src/arch/cortex_m4/startup_stm32wb55xx_cm4.s
AL hw/bsp/p-nucleo-wb55/src/hal_bsp.c
AL hw/bsp/p-nucleo-wb55/syscfg.yml
????? hw/mcu/stm/stm32wbxx/include/mcu/cmsis_nvic.h
AL hw/mcu/stm/stm32wbxx/include/mcu/cortex_m4.h
AL hw/mcu/stm/stm32wbxx/include/mcu/mcu.h
AL hw/mcu/stm/stm32wbxx/include/mcu/stm32_hal.h
AL hw/mcu/stm/stm32wbxx/include/mcu/stm32wb_bsp.h
AL hw/mcu/stm/stm32wbxx/include/mcu/stm32wbxx_mynewt_hal.h
AL hw/mcu/stm/stm32wbxx/pkg.yml
????? hw/mcu/stm/stm32wbxx/src/clock_stm32wbxx.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb50xx.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb55xx.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wbxx.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Include/system_stm32wbxx.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Release_Notes.html
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb50xx_flash_cm4.ld
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/linker/stm32wb55xx_flash_cm4.ld
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb50xx_cm4.s
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Source/Templates/gcc/startup_stm32wb55xx_cm4.s
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/Source/Templates/system_stm32wbxx.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/_htmresc/mini-st.css
B hw/mcu/stm/stm32wbxx/src/ext/Drivers/CMSIS/Device/ST/STM32WBxx/_htmresc/st_logo.png
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32_assert_template.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_adc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_adc_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_comp.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_conf_template.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_cortex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_crc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_crc_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_cryp.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_cryp_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_def.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_dma.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_dma_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_exti.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_flash.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_flash_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_gpio.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_gpio_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_hsem.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_i2c.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_i2c_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_ipcc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_irda.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_irda_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_iwdg.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_lcd.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_lptim.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pcd.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pcd_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pka.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pwr.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pwr_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_qspi.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rcc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rcc_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rng.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rtc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rtc_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_sai.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_sai_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_smartcard.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_smartcard_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_smbus.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_spi.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_spi_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_tim.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_tim_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_tsc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_uart.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_uart_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_usart.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_usart_ex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_wwdg.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_adc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_bus.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_comp.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_cortex.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_crc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_crs.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_dma.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_dmamux.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_exti.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_gpio.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_hsem.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_i2c.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_ipcc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_iwdg.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_lptim.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_lpuart.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_pka.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_pwr.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rcc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rng.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rtc.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_spi.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_system.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_tim.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_usart.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_usb.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_utils.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_wwdg.h
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Release_Notes.html
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_adc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_adc_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_comp.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_cortex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_crc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_crc_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_cryp.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_cryp_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_dma.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_dma_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_exti.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_flash.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_flash_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_gpio.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_hsem.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_i2c.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_i2c_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_ipcc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_irda.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_iwdg.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_lcd.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_lptim.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_msp_template.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pcd.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pcd_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pka.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_pwr_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_qspi.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rcc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rcc_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rng.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_rtc_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_sai.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_sai_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_smartcard.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_smartcard_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_smbus.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_spi.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_spi_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tim_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_timebase_rtc_alarm_template.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_timebase_rtc_wakeup_template.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_timebase_tim_template.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_tsc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_uart.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_uart_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_usart.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_usart_ex.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_hal_wwdg.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_adc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_comp.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_crc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_crs.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_dma.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_exti.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_gpio.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_i2c.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_lptim.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_lpuart.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_pka.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_pwr.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rcc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rng.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_rtc.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_spi.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_tim.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_usart.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_usb.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/Src/stm32wbxx_ll_utils.c
????? hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/_htmresc/mini-st.css
B hw/mcu/stm/stm32wbxx/src/ext/Drivers/STM32WBxx_HAL_Driver/_htmresc/st_logo.png
????? hw/mcu/stm/stm32wbxx/src/ext/stm32cube-version.md
AL hw/mcu/stm/stm32wbxx/src/hal_flash.c
AL hw/mcu/stm/stm32wbxx/src/hal_reset_cause.c
AL hw/mcu/stm/stm32wbxx/src/hal_timer_freq.c
????? hw/mcu/stm/stm32wbxx/src/system_stm32wbxx.c
????? hw/mcu/stm/stm32wbxx/stm32wb55.ld
AL hw/mcu/stm/stm32wbxx/syscfg.yml

Copy link
Contributor

@kasjer kasjer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good. I hope it works too.

@utzig utzig merged commit 6845e5a into apache:master Oct 14, 2019
@utzig utzig deleted the stm32wbxx branch October 14, 2019 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants