From c3989f76f7b9b570f0fee66d15e2427e4c3f900e Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Mon, 26 Sep 2022 11:51:54 +0000 Subject: [PATCH] Add WinIDEA-FRISMS --- roles/winroom/tasks/VN-63728.yml | 2 +- roles/winroom/tasks/winidea-frisms.yml | 34 ++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 roles/winroom/tasks/winidea-frisms.yml diff --git a/roles/winroom/tasks/VN-63728.yml b/roles/winroom/tasks/VN-63728.yml index e486355..1fb0ac1 100644 --- a/roles/winroom/tasks/VN-63728.yml +++ b/roles/winroom/tasks/VN-63728.yml @@ -3,5 +3,5 @@ # Windows, Logisim Evolution, RAVINOR, WinIdea 9.12.256 (FRISMS kompatibilna), LTSpice - include_tasks: logisim.yml -- include_tasks: winidea.yml +- include_tasks: winidea-frisms.yml - include_tasks: ltspice.yml diff --git a/roles/winroom/tasks/winidea-frisms.yml b/roles/winroom/tasks/winidea-frisms.yml new file mode 100644 index 0000000..2e64ffd --- /dev/null +++ b/roles/winroom/tasks/winidea-frisms.yml @@ -0,0 +1,34 @@ +- name: Check WinIDEA-FRISMS install status + win_stat: + path: C:\iSYSTEM\winIDEA_FRISMS\winIDEA.exe + register: file + +- when: not file.stat.exists + block: + - name: Install WinIDEA-FRISMS + win_package: + path: "https://www.isystem.com/downloads/winIDEA/setup/winIDEA(x64)9_12_256.exe" + arguments: /q APPDIR=c:\iSYSTEM\winIDEA_FRISMS + + - name: Download GCC for WinIDEA-FRISMS + win_get_url: + url: "https://launchpadlibrarian.net/143626040/gcc-arm-none-eabi-4_7-2013q2-20130614-win32.zip" + dest: C:\iSYSTEM\winIDEA_FRISMS\ + register: download + + - name: Unpack GCC for WinIDEA-FRISMS + win_unzip: + src: "{{ download.dest }}" + dest: C:\iSYSTEM\winIDEA_FRISMS\gcc + delete_archive: yes + + - name: Install GCC for WinIDEA-FRISMS + win_copy: + dest: C:\iSYSTEM\winIDEA_FRISMS\gcc\arm + src: C:\iSYSTEM\winIDEA_FRISMS\gcc\GNU Tools ARM Embedded\4.7 2013q2\ + remote_src: yes + + - name: Remove source files + win_file: + path: C:\iSYSTEM\winIDEA_FRISMS\gcc\GNU Tools ARM Embedded + state: absent