docs(swan_r5): misc comments/formatting

This commit is contained in:
Matthew McGowan 2021-09-28 09:53:26 -07:00
parent 599368373e
commit 7b7b4997a4
3 changed files with 6 additions and 2 deletions

View File

@ -37,6 +37,10 @@ void stm32_peripherals_gpio_init(void) {
__HAL_RCC_GPIOF_CLK_ENABLE();
__HAL_RCC_GPIOG_CLK_ENABLE();
// These ports are not used on the Swan R5 but may need to be enabeld on other boards
//__HAL_RCC_GPIOH_CLK_ENABLE();
//__HAL_RCC_GPIOI_CLK_ENABLE();
// Never reset pins
never_reset_pin_number(2,14); // PC14 OSC32_IN
never_reset_pin_number(2,15); // PC15 OSC32_OUT

View File

@ -332,7 +332,7 @@ mp_uint_t supervisor_flash_write_blocks(const uint8_t *src, uint32_t block_num,
return false;
}
// unlock flash - // mdm why? the flash is only locked again
// unlock flash
HAL_FLASH_Unlock();
uint32_t sector_size;

View File

@ -415,4 +415,4 @@ size_t usb_vendor_add_descriptor(uint8_t *descriptor_buf, descriptor_counts_t *d
#endif
#endif