Commit Graph

29 Commits

Author SHA1 Message Date
iabdalkader
d655642847 Add bootloader QSPI flash support. 2019-12-28 02:01:41 +02:00
iabdalkader
32205dc5c4 Add bootloader QSPI flash driver. 2019-12-27 22:08:13 +02:00
iabdalkader
54b8132949 License update. 2019-09-05 22:17:50 +02:00
iabdalkader
d47c039b8f Add string0 to bootloader sources.
* Required to init structs to zero.
2019-04-22 23:01:41 +02:00
iabdalkader
014942a75b Fix bootloader version. 2018-03-24 00:45:32 +02:00
iabdalkader
f5a30c5301 Implement bootloader V2 flash layout command. 2018-03-23 00:14:55 +02:00
iabdalkader
1d6defa15b Use volatile flash_offset. 2018-03-14 16:49:28 +02:00
iabdalkader
2f194aa877 Fix bootloader flash bug. 2018-03-14 16:48:48 +02:00
iabdalkader
e429386620 Make bootloader flash index volatile. 2018-03-14 16:32:01 +02:00
iabdalkader
1fa990b96a Update the bootloader to support the H7 flash. 2018-03-12 20:10:27 +02:00
iabdalkader
0d59d7584e Disable SRAM1/2/3 in bootloader.
* Not actually used
2018-03-12 16:39:19 +02:00
iabdalkader
6880482afd Enable D2 SRAM1/2/3 clocks. 2018-03-12 01:36:45 +02:00
iabdalkader
50d27dacee Enable USB clock during sleep. 2018-03-12 01:35:50 +02:00
iabdalkader
92b617877c Move USB headers to usbdev to avoid including MP USB headers. 2018-03-09 20:21:18 +02:00
iabdalkader
6d396b809a Enable auto dependency generation. 2018-02-04 18:31:39 +02:00
iabdalkader
e1fa2371bb Add missing H7 flash constants. 2017-12-24 22:14:02 +02:00
iabdalkader
a51e0de410 Copy USB code to bootloader.
* The bootloader will be more self-contained.
2017-12-24 21:24:25 +02:00
iabdalkader
ed7cb98b86 Fix bootloader linker script. 2017-12-18 23:38:23 +02:00
iabdalkader
f79c6ba8d2 Move linker script variables to board config files. 2017-12-04 20:43:49 +02:00
iabdalkader
d1a5f72a95 Add new cam support files. 2017-10-17 14:14:08 +02:00
iabdalkader
cfc677ed40 Improve bootloader timing
* Detect when VBUS is connected and wait for enumeration, the IDE
  timeout is only started after enumeration.
* A 2s timeout for enumeration is used so the cam doesn't get stuck
  if it's connected to a charger or a power bank.
2017-01-10 00:58:15 +02:00
iabdalkader
3e41450d97 Add support for OpenMV3 2016-11-27 19:32:09 +02:00
iabdalkader
b4aeb32e1b Add build option to enable stack protection. 2016-11-15 19:07:50 +02:00
iabdalkader
53df7fed4f Update bootloader to support M7. 2016-08-12 23:03:11 +02:00
iabdalkader
d8359a99e1 Define MAIN_FW_ADDR. 2016-05-01 15:51:20 +02:00
iabdalkader
0d5aaf5064 Fix USB descriptors.
* This fix makes the bootloader+fw image enumerate correctly on Linux and Windows.
2016-04-28 12:47:21 +02:00
iabdalkader
794bb367ae Fix Bootloader CDC descriptors.
* Removed some unused descriptors, but mainly set the CDC interface number to (1)
  same as MP, as Windows doesn't like different interface numbers for the same device.
2016-04-27 19:38:44 +02:00
iabdalkader
130fcbf162 Pass wValue to control requests. 2016-04-27 08:34:20 +02:00
iabdalkader
87740c0170 Add CDC bootloader source dir 2016-04-25 18:17:21 +02:00