-
Notifications
You must be signed in to change notification settings - Fork 0
/
flash-sdcard-klipper.sh
53 lines (52 loc) · 1.5 KB
/
flash-sdcard-klipper.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# # CONFIG_LOW_LEVEL_OPTIONS is not set
# # CONFIG_MACH_AVR is not set
# # CONFIG_MACH_ATSAM is not set
# # CONFIG_MACH_ATSAMD is not set
# CONFIG_MACH_LPC176X=y
# # CONFIG_MACH_STM32 is not set
# # CONFIG_MACH_HC32F460 is not set
# # CONFIG_MACH_RP2040 is not set
# # CONFIG_MACH_PRU is not set
# # CONFIG_MACH_AR100 is not set
# # CONFIG_MACH_LINUX is not set
# # CONFIG_MACH_SIMU is not set
# CONFIG_BOARD_DIRECTORY="lpc176x"
# CONFIG_MCU="lpc1768"
# CONFIG_CLOCK_FREQ=100000000
# CONFIG_USBSERIAL=y
# CONFIG_FLASH_SIZE=0x80000
# CONFIG_FLASH_BOOT_ADDRESS=0x0
# CONFIG_RAM_START=0x10000000
# CONFIG_RAM_SIZE=0x7fe0
# CONFIG_STACK_SIZE=512
# CONFIG_FLASH_APPLICATION_ADDRESS=0x4000
# CONFIG_LPC_SELECT=y
# CONFIG_MACH_LPC1768=y
# # CONFIG_MACH_LPC1769 is not set
# CONFIG_LPC_FLASH_START_4000=y
# # CONFIG_LPC_FLASH_START_0000 is not set
# CONFIG_LPC_USB=y
# # CONFIG_LPC_SERIAL_UART0_P03_P02 is not set
# CONFIG_USB=y
# CONFIG_USB_VENDOR_ID=0x1d50
# CONFIG_USB_DEVICE_ID=0x614e
# CONFIG_USB_SERIAL_NUMBER_CHIPID=y
# CONFIG_USB_SERIAL_NUMBER="12345"
# CONFIG_CANBUS_FREQUENCY=500000
# CONFIG_HAVE_GPIO=y
# CONFIG_HAVE_GPIO_ADC=y
# CONFIG_HAVE_GPIO_SPI=y
# CONFIG_HAVE_GPIO_I2C=y
# CONFIG_HAVE_GPIO_HARD_PWM=y
# CONFIG_HAVE_GPIO_BITBANGING=y
# CONFIG_HAVE_STRICT_TIMING=y
# CONFIG_HAVE_CHIPID=y
# CONFIG_HAVE_STEPPER_BOTH_EDGE=y
# CONFIG_HAVE_BOOTLOADER_REQUEST=y
# CONFIG_INLINE_STEPPER_HACK=y
cd ~/klipper
make clean
make
sudo service klipper stop
./scripts/flash-sdcard.sh /dev/ttyACM0 btt-skr-v1.3
sudo service klipper start