Kevin O'Connor
f9cd240fb4
armcm_deployer: Rename DEPLOYER_START symbol to FLASH_APPLICATION_ADDRESS
...
Rename the symbol to be more similar to the symbol used in the
upstream Klipper code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-12-22 12:12:24 -05:00
Kevin O'Connor
41067c6a74
armcm_reset: Rename CONFIG_BOOTLOADER_START to CONFIG_FLASH_BOOT_ADDRESS
...
Rename the symbol for better consistency with the upstream Klipper
code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-12-22 12:12:24 -05:00
Kevin O'Connor
7db10a048f
armcm_canboot: Rename CONFIG_APPLICATION_START to CONFIG_LAUNCH_APP_ADDRESS
...
Rename the build symbol to better distinguish it from the start
address of the deployer app.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-12-22 12:12:24 -05:00
sh83
c1ae0b4f1e
reset: fixed rp2040 bootloader entry point
...
Signed-off-by: Alex Malishev <malishev@gmail.com>
2022-10-31 07:23:14 -04:00
Kevin O'Connor
f4ac6470bf
deployer: Add support for a CanBoot "deployer"
...
Support building a "flashing application" that one may run from an
existing bootloader. This flashing application will then flash the
main CanBoot binary to the start of flash.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 12:20:00 -04:00
Eric Callahan
a8c83c519c
stm32g0: add fdcan support from Klipper
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-07-01 14:34:30 -04:00
Eric Callahan
8b010a64a1
build: sync Kconfig and Makefile changes with Klipper
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-07-01 14:34:30 -04:00
Kevin O'Connor
115582ce88
stm32: Add stm32g0 support
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-17 19:29:58 -04:00
Kevin O'Connor
1e6a2de3b1
stm32: Enable support on other stm32f0 chips
...
The remaining stm32f0 chips have flash hardware similar to stm32f1.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-17 19:29:58 -04:00
Kevin O'Connor
5cbc25d676
stm32: Enable support for stm32f2 - it has same flash interface as stm32f4
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-17 19:29:58 -04:00
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