Skip to content

Commit

Permalink
Commit fix for bootloader step loss.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmarles committed Oct 1, 2022
1 parent c406230 commit 9b37ced
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ int main(void)
{
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
#ifdef HAS_BOOTLOADER
HAL_RCC_DeInit();
HAL_DeInit();
extern uint8_t _FLASH_VectorTable;
__disable_irq();
SCB->VTOR = (uint32_t)&_FLASH_VectorTable;
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ framework = stm32cube
# Do not produce .a files for lib deps (which would prevent them from overriding weak symbols)
lib_archive = no
lib_ldf_mode = off
grblhal_driver_version = 220722_040922.1
grblhal_driver_version = 220722_040930.2
extra_scripts =
post:extra_script.py

Expand Down

0 comments on commit 9b37ced

Please sign in to comment.