Eric Callahan
94e4255d32
stm32: sync stm32h7 and Kconfig updates from Klipper
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-05-31 05:37:31 -04:00
Eric Callahan
87eb491666
stm32: add deployer option for stm32g0
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-05-20 19:46:36 -04:00
Kevin O'Connor
cdb5b56911
stm32: Add support for stm32g431 chips
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-05-19 14:55:00 -04:00
FrY Sennberg
b734c57d3e
stm32 CAN: restricted PH13/14 CAN to stm32h743
...
Signed-off-by: Christoph Frei <fryakatkop@gmail.com>
2025-03-27 19:26:44 -04:00
FrY Sennberg
8c86fe02c1
stm32 CAN: Added PH13/14 CAN pin option
...
Added the option to select PH13/PH14 as CAN pins.
Signed-off-by: Christoph Frei <fryakatkop@gmail.com>
2025-03-27 19:26:44 -04:00
Ella Fox
081918ad76
stm32/Kconfig: Add option for 32MHz crystals
...
Certain STM32 Nucleo development boards (eg. F429Zi) come pre-installed with a 32MHz quartz crystal, which is now exposed as an option when selecting STM32 chips.
Signed-off-by: Ella Fox <ella@fox.gal>
2024-10-24 05:22:27 -04:00
Eric Callahan
562fc2fafb
stm32: enable PB5/PB6 pins for STM32G0B1 CAN
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2024-08-08 07:49:09 -04:00
Diana
3855b34e94
module: stm32, sync fdcan with upstream klipper code
...
Syncs the stm32 fdcan and Kconfig to enable BTT U2C and PB12/PB13 FDCAN2 support STM32G0B1 with boards such as the BTT E3EZ.
Signed-off-by: Diana Moore <dmoore@xn4p4lm.com>
2023-12-15 12:18:18 -05:00
Eric Callahan
5e794c05d9
build: rename references from CanBoot to Katapult
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2023-07-30 10:35:54 -04:00
Kevin O'Connor
88e208a083
stm32: Add support for flashing stm32h7 boards
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-12-22 12:18:23 -05:00
Kevin O'Connor
bcff5ca488
stm32: Resync stm32 code with upstream Klipper code
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-12-22 12:12:24 -05:00
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