**Список прерываний:**

- TIM_14 - таймер для статистики FreeRTOS, watchdog toogle.
- TIM_5 - статистика пользователя и измерения в мкс.
- TIM_6 - uptime
- UART_6 - терминал
- DMA_2 Stream 0 - ADC
- DMA_2 Stream 2 - SPI_1 RX, FPGA
- DMA_2 Stream 3 - SPI_1 TX, FPGA
- SPI_1 - обмен с FPGA
- DMA_2 Stream 7 - QSPI
- QSPI
- Ethernet
- USB_OTG_FS
```c
HAL_NVIC_SetPriority(TIM8_TRG_COM_TIM14_IRQn, 8, 0);
HAL_NVIC_SetPriority(TIM5_IRQn, 8, 0);
HAL_NVIC_SetPriority(TIM6_DAC_IRQn, 8, 0);
HAL_NVIC_SetPriority(USART6_IRQn, 6, 0);
HAL_NVIC_SetPriority(DMA2_Stream0_IRQn, 5, 0);
HAL_NVIC_SetPriority(DMA2_Stream2_IRQn, 5, 0);
HAL_NVIC_SetPriority(DMA2_Stream3_IRQn, 5, 0);
HAL_NVIC_SetPriority(SPI1_IRQn, 5, 0);
HAL_NVIC_SetPriority(DMA2_Stream7_IRQn, 5, 0);
HAL_NVIC_SetPriority(QUADSPI_IRQn, 0x0F, 0);
HAL_NVIC_SetPriority(ETH_IRQn, 0x7, 0);
HAL_NVIC_SetPriority(OTG_FS_IRQn, 7, 0);
```

<h6>Bootloader</h6>
Sector 0 0x0800 0000 - 0x0800 7FFF - 32 KB
<h6>Main FW (480 кБ)</h6>
Sector 1 0x0800 8000 - 0x0800 FFFF - 32 KB
Sector 2 0x0801 0000 - 0x0801 7FFF - 32 KB
Sector 3 0x0801 8000 - 0x0801 FFFF - 32 KB
Sector 4 0x0802 0000 - 0x0803 FFFF - 128 KB
Sector 5 0x0804 0000 - 0x0807 FFFF - 256 KB
<h6>Свободное место</h6>
Sector 6 0x0808 0000 - 0x080B FFFF - 256 KB
Sector 7 0x080C 0000 - 0x080F FFFF - 256 KB
<h6>TODO</h6>
- Перенести watchdog toogle.
