Kevin O'Connor
3d924f52ec
stm32: Support 16KiB application start on stm32f4
...
The default remains 32KiB, but a smaller size bootloader may be useful
for testing.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-16 20:38:56 -04:00
Kevin O'Connor
9820445b92
stm32: Default to 8KiB application start on stm32f0 and stm32f1
...
Using 8KiB is a better default for most users.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-16 20:38:56 -04:00
Kevin O'Connor
4d969764f1
flash: Write each block individually
...
Don't gather "blocks" into flash pages. Instead, write each "block"
to flash on each flash_write_block() request.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-16 19:21:51 -04:00
Kevin O'Connor
d6c874b0ad
stm32: Support 4KiB application start
...
Allow the application start address to be configurable from "make
menuconfig".
Add a build check to verify the final binary can fit within the
configured size.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-16 14:08:54 -04:00
Eric Callahan
d36b696ce2
stm32: enable STM32F4 devices in KConfig
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-05-16 09:04:45 -04:00
Kevin O'Connor
ad566230c9
stm32: Add support for flashing over USB and serial
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-13 06:16:08 -04:00
Kevin O'Connor
5279c33ea0
flash: Autodetect stm32f103 flash page size
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-05 14:06:43 -04:00
Eric Callahan
c5163674ed
src: remove references to the magic key
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-26 08:26:45 -04:00
Eric Callahan
b5ff2ce29b
kconfig: fix page size description
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-14 17:22:51 -04:00
Eric Callahan
0f1bd588a8
kconfig: fix stm32f072 flash size
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-14 09:15:32 -04:00
Eric Callahan
3a29a4d0da
kconfig: disable stm32f4 choices
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-14 08:55:09 -04:00
Eric Callahan
26b12a658b
src: update stm32 source
...
Bring in the latest changes from Klipper. The STM32F4 variants are
still unsupported at this time.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-11 19:59:56 -04:00
Arksine
4cd17a6f5e
stm32f0: intiial attempt at canboot support
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-02-07 14:29:00 -05:00
Arksine
2762299895
canboot: initial source commit
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-02-06 20:04:47 -05:00