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

Newbie Help: compile demo #45

Open
toomanycats opened this issue Dec 7, 2024 · 2 comments
Open

Newbie Help: compile demo #45

toomanycats opened this issue Dec 7, 2024 · 2 comments

Comments

@toomanycats
Copy link

Very excited to try out your project. It's been a dream to have a thin JS8 client.
I'm not very well versed in micro controllers. Can I just also compile this for x86_64 ?

@toomanycats
Copy link
Author

UPDATE:

I cloned and tried out the Makefile. Is CLOCK_REALTIME a uc thing ? Some register to hardware ?

demo/decode_ft8.c:347:31: error: ‘CLOCK_REALTIME’ undeclared (first use in this function)

347 | clock_gettime(CLOCK_REALTIME, &spec);
| ^~~~~~~~~~~~~~

@toomanycats
Copy link
Author

I figured out that CLOCK_REALTIME is a macro in time.h but apparently on for certain C11 implementations.
I found on a solution on SO.

To demo/decode_ft8.c

#define _POSIX_C_SOURCE 1999309L

I can now encode test messages.

I understand this liberary is intended for embedded systems, but I'd be happy with a version that could use JS8 protocol on a PI and not need the bloated JS8Call client. I want to run with a custom built client that is all ASCII and usable on a tiny screen w/o any dependence on QT or anything bloated.

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

No branches or pull requests

1 participant