From e045709d9f4f9725bbe35826d1807dc2fbdc18f0 Mon Sep 17 00:00:00 2001 From: Elias Bakken Date: Mon, 30 Oct 2023 13:42:09 +0100 Subject: [PATCH] Clean before compiling again. Clean folder to reset sed command --- roles/install_klipper/tasks/recore.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/roles/install_klipper/tasks/recore.yml b/roles/install_klipper/tasks/recore.yml index bef5df69..33217011 100644 --- a/roles/install_klipper/tasks/recore.yml +++ b/roles/install_klipper/tasks/recore.yml @@ -203,8 +203,9 @@ - name: Recore - Compile STM32 binary with 32 KB flash shell: | + make clean make olddefconfig - make + make -j args: chdir: "{{ klipper_home }}" @@ -217,6 +218,12 @@ remote_src: yes force: no +- name: Recore - reset folder + shell: | + git reset --hard + args: + chdir: "{{ klipper_home }}" + - name: Recore - Install stm32 flasher script copy: src: "{{ role_path }}/files/flash-stm32"