From 4650a52af75dc6f276079ab5f1b8317ac28c374b Mon Sep 17 00:00:00 2001 From: Mateusz Lubecki Date: Sat, 10 Oct 2020 20:18:05 +0200 Subject: [PATCH] compilation fixes 5 - makefiles and new path to the toolchain --- .cproject | 25 +++++++++++----------- .settings/language.settings.xml | 6 +++--- .settings/org.eclipse.cdt.core.prefs | 16 ++++++++++++++ README | 31 +++++++++++++++++++++------- makefile.init | 3 +++ 5 files changed, 58 insertions(+), 23 deletions(-) create mode 100644 .settings/org.eclipse.cdt.core.prefs create mode 100644 makefile.init diff --git a/.cproject b/.cproject index 319a899..f4cce13 100644 --- a/.cproject +++ b/.cproject @@ -14,7 +14,7 @@ - + - + + \ No newline at end of file diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml index 38940f3..7b454e1 100644 --- a/.settings/language.settings.xml +++ b/.settings/language.settings.xml @@ -5,7 +5,7 @@ - + @@ -16,10 +16,10 @@ - + - + \ No newline at end of file diff --git a/.settings/org.eclipse.cdt.core.prefs b/.settings/org.eclipse.cdt.core.prefs new file mode 100644 index 0000000..64abe9d --- /dev/null +++ b/.settings/org.eclipse.cdt.core.prefs @@ -0,0 +1,16 @@ +doxygen/doxygen_new_line_after_brief=true +doxygen/doxygen_use_brief_tag=false +doxygen/doxygen_use_javadoc_tags=true +doxygen/doxygen_use_pre_tag=false +doxygen/doxygen_use_structural_commands=false +eclipse.preferences.version=1 +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.827603628/PATH/delimiter=\: +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.827603628/PATH/operation=replace +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.827603628/PATH/value=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/usr/games\:/usr/local/games\:/snap/bin\:/usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update/bin\:/usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/bin +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.827603628/append=true +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.debug.827603628/appendContributed=true +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.release.1905520139/PATH/delimiter=\: +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.release.1905520139/PATH/operation=append +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.release.1905520139/PATH/value=${PATH}\:/usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.release.1905520139/append=true +environment/project/ilg.gnuarmeclipse.managedbuild.cross.config.elf.release.1905520139/appendContributed=true diff --git a/README b/README index 10ce799..ebb0a69 100644 --- a/README +++ b/README @@ -158,15 +158,30 @@ trasmit channels values each 10 minutes and full channel descriptions each 70 mi 9. TOOLCHAIN AND COMPILATION -To build ParaTNC software 'GNU ARM Embedded Toolchain' is required. This set contains gcc-arm-none-eabi compiler, -gdb debugger, linker, HEX generator and set of libraries. ParaTNC is developed in Xubuntu 16.04LTS using 2016q-3 -version. It shoud work fine in any newer version of the toolchain. The easies way to get everything installed -and configured is to use a packet manager, like aptitude in ubuntu/debian. +To build the ParaTNC software 'GNU ARM Embedded Toolchain' is required. This set contains gcc-arm-none-eabi compiler, +gdb debugger, linker, HEX generator and set of libraries. ParaTNC is developed in Xubuntu 16.04LTS and 20.04LTS +using toolchain in version 2018q-2. Please take note that You have to use 64-bit version of the operation system +as the 32-bit variant of the toolchain is not avaliable. -Information about the toolchain, installation instructions etc can be found here: -https://launchpad.net/gcc-arm-embedded -https://developer.arm.com/open-source/gnu-toolchain/gnu-rm -https://launchpad.net/~team-gcc-arm-embedded/+archive/ubuntu/ppa +Self conatined TAR.BZ2 archive with all required tools can be found here: +https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads +in 'What's new in 7-2018-q2-update' section pulled down from the list located in the middle of this site. +Alternatively You can use this link: http://pogoda.cc/d/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2 + +After download the content of this archive has to be uncompressed into: /usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update/ +so the structure should looks like this + +mateusz@mateusz-ThinkCentre-M720q:/usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update$ ls -la +total 24 +drwxrwxr-x 6 mateusz mateusz 4096 paź 10 08:35 . +drwxr-xr-x 7 root root 4096 paź 10 18:06 .. +drwxr-xr-x 6 mateusz mateusz 4096 cze 22 2018 arm-none-eabi +drwxr-xr-x 2 mateusz mateusz 4096 cze 22 2018 bin +drwxr-xr-x 3 mateusz mateusz 4096 cze 22 2018 lib +drwxr-xr-x 4 mateusz mateusz 4096 cze 22 2018 share +mateusz@mateusz-ThinkCentre-M720q:/usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update$ + +Both a makefile and an Eclipse project are configured to look for toolchain in this directory. When everything is installed the reporistory can be cloned to local harddrive by using a command 'git clone https://github.com/sp8ebc/ParaTNC' diff --git a/makefile.init b/makefile.init new file mode 100644 index 0000000..fedab7d --- /dev/null +++ b/makefile.init @@ -0,0 +1,3 @@ + +PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update/bin:/usr/local/bin/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/bin +$(info PATH is set to: $(PATH))