Closed jmz52 closed 4 years ago
Tested on X and K, it's working fine.
@mapfde can test Lerdge S - there won't be LCD support with this, but you should be able to build and flash for Lerdge S and connect to serial (you are welcome to reinstate your pins changes for the thermocouple).
Works for Lerdge-S (build with LERDGES environment). @jmz52
I've changed bootloader handling somewhere along the way. Bootloader support and encryption were separated to create a single unified bootloader script for HAL STM32.
Bootloader script handles linker's variables used in .ld file, sets VECT_TAB_OFFSET build parameter and optionally creates unencrypted firmware with custom name (needed for SKR Mini and Alfawise Ux0 boards). Firmare offset is defined by
build.offset
board's parameter. This parameter can be configured in json file with board definition or in platformio.iniFirmware's filename parameter was moved from build parameters to board's parameter
build.firmware
. Encryption script uses this parameter to save encrypted firmware into specific file. I've createdmks_encrypt.py
scrypt to handle encryption for all variants on MKS Robin boards.Please test this code before merging. I've tested it on SKR Mini and MSK Robin boards but I have no hardware to test Lerdge environments.