Hi,
I added the Posix simulator to the trunk, it was missing since version 2.6.
It works on Linux Mint 64 bits, it would be nice if somebody could test it in Linux 32 bits and OS X.
Note, I had to create a link under /usr/include in order to compile: asm -> generic-asm. There must be a problem in header files, not sure if this is required in other distributions.
Giovanni
[INFO] Posix simulator restored
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
-
- Posts: 9
- Joined: Tue Apr 05, 2016 2:52 pm
- Location: Torgon, Switzerland
- Been thanked: 1 time
Re: [INFO] Posix simulator restored
Hi Giovanni,
Here are two test results for trying to build the POSIX demo on OSX.
1. When I try to build the POSIX demo using 'make' or 'gnumake' I get the error:
Compiling chsys.c
clang: error: unsupported argument '-alms=build/lst/chsys.lst' to option 'Wa,'
2. In the past I was able to build the simulator with a managed build project in eclipse in which I specified the include and source files manually. Now that doesn't work anymore. If I try to build the posix simulator I get an error message because the file chcore_timer.h can't be found. I saw there is such a file for the other ports, but not for SIMIA32. Which one should the simulator use?
I'm using OSX 10.11.6 (El Capitan) and ChibiOS 18.2.1
Kind regards,
Marcel
Here are two test results for trying to build the POSIX demo on OSX.
1. When I try to build the POSIX demo using 'make' or 'gnumake' I get the error:
Compiling chsys.c
clang: error: unsupported argument '-alms=build/lst/chsys.lst' to option 'Wa,'
2. In the past I was able to build the simulator with a managed build project in eclipse in which I specified the include and source files manually. Now that doesn't work anymore. If I try to build the posix simulator I get an error message because the file chcore_timer.h can't be found. I saw there is such a file for the other ports, but not for SIMIA32. Which one should the simulator use?
I'm using OSX 10.11.6 (El Capitan) and ChibiOS 18.2.1
Kind regards,
Marcel
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: [INFO] Posix simulator restored
Hi,
It is tested using GCC, clang requires changes to the makefile (remove that option).
Giovanni
It is tested using GCC, clang requires changes to the makefile (remove that option).
Giovanni
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 11 guests