TrampolineRTOS / trampoline

Trampoline is a static RTOS for small embedded systems. Its API is aligned with OSEK/VDX OS and AUTOSAR OS 4.2 standards.
GNU General Public License v2.0
615 stars 268 forks source link

python build system does not run under python 3.x #33

Closed mbriday closed 8 years ago

mbriday commented 8 years ago

The python build system is limited to python 2.x

KamelHacene commented 8 years ago

Made it "work" with python 3.* with this patch.

0001-enhancement-Fixes-33.patch.txt

By "work", i mean it compiles and produces an usable binary, however terminationSemaphore.acquire() doesn't see that a job has finished (so that a specific file has finished its compilation) so I had to manually stop and launch again the scripts each time a sequence of files had finished their compilation. It may be due to this computer's python environment though (ArchLinux python 3.5.1).

jlbirccyn commented 8 years ago

Updated to the latest version of the script which is now compatible with Python 2 and Python 3. If someone could check it is ok with Python 3 (I do not have Python 3 installed on my computer).

KamelHacene commented 8 years ago

Commit 7b22091 : Copied the modifications of makefile.py plus a minor change in generic_galgas_makefile.py to support python3 in goil's compilation steps. Minor change too for the generation of build.py. Everything seems to work fine (Python V3.5.1)

jlbirccyn commented 8 years ago

Thanks ! Do we consider this issue is fixed ?

jlbirccyn commented 8 years ago

FIxed in 2839a7a059914501f4bdf47ff9f7751f70a8514e