Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in Raspberry pi 3 #6

Open
N3092 opened this issue Aug 24, 2017 · 3 comments
Open

Problem in Raspberry pi 3 #6

N3092 opened this issue Aug 24, 2017 · 3 comments
Assignees

Comments

@N3092
Copy link

N3092 commented Aug 24, 2017

Hi!
I have try your code in raspberry pi 3 but the function gps_location() not work, you must change the PORTNAME in "serial.h" file with "/dev/ttyS0" for raspberry 3.
Many thanks for the great work!!

@wdalmut
Copy link
Owner

wdalmut commented Aug 27, 2017

We have to try to redefine the PORTNAME definition during the compilation step. i will check this in the future

@wdalmut
Copy link
Owner

wdalmut commented Aug 27, 2017

make CFLAGS="-g -Wall -O3 -D PORTNAME=/dev/ttyS0"

@wdalmut
Copy link
Owner

wdalmut commented Aug 27, 2017

The current make structure probably is not suitable to support a configuration phase. Need a complete rewrite using a more common structure to support options and other configurations

Probably with automake or other things

./configure
make
make install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants