Compile Issues #33
Replies: 6 comments 10 replies
-
OK - I think I fixed this ... |
Beta Was this translation helpful? Give feedback.
-
And if I had read the manual properly ... I would have seen this: Anyway - I have a Pico W arriving so will be swapping to that to get NTP support shortly. |
Beta Was this translation helpful? Give feedback.
-
Hi André
Many thanks for the quick reply.
I'm in the UK, England.
I saw the Pico-RBG-Matrix, might take a look at that ... For now, I like the simplicity of the Green Clock.
I used to be a decent C programmer 30 years ago and can remember most of the basics ... So might have a go at disabling the blinking dots as a test of my C coding skills.
Or even add a new option for the user to control the blinking dots.
Are you still updating this project yourself ?
If I do make changes - is there a process to get them back to you to consider for including in your project ?
Thanks
Ian
…________________________________
From: André St-Louys ***@***.***>
Sent: 03 December 2024 15:12
To: astlouys/Pico-Green-Clock ***@***.***>
Cc: ian-hargreaves ***@***.***>; Author ***@***.***>
Subject: Re: [astlouys/Pico-Green-Clock] Compile Issues (Discussion #33)
Hello Ian,
It looks like you found the problem. Congratulations !
I could have tuned the CMakeLists.txt to make it the only thing to modify to differentiate the Pico VS PicoW, but I thought it could happen, for some reason, that someone using a PicoW may want to turn Off NTP (and by the way, the DS3231 proved to keep a very good precision on the long term). You will appreciate the PicoW. If you want to go a step further, take a look at the Pico-RGB-Matrix (and the corresponding Firmware in my repository). It makes a good start for a Smart Home system.
May I ask you in which country you are ?
André
—
Reply to this email directly, view it on GitHub<#33 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASH3TYC6DJZ5ID4B3YOJ2W32DXC4DAVCNFSM6AAAAABS5HQDSKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNBUHE4DGNQ>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
-
I'm trying to compile the source for my Pico_W ... home/ian-h/pico/Pico-Green-Clock-main/picow_ntp_client.c:21:10: fatal error: lwip/dns.h: No such file or directory I've tried for a couple of hours to google answers and not found something that fixes it for me ... Guessing some stnadard libraries are not being included or some environment variable is missing. |
Beta Was this translation helpful? Give feedback.
-
Our messages were sent at the same time... Great that you find the solution ! |
Beta Was this translation helpful? Give feedback.
-
And in case someone else thinks there's a problem - switching to the Pico W I notice a much longer start up time for the Pico. The green LED flashes for a long time. |
Beta Was this translation helpful? Give feedback.
-
Hi there
I'm new, but learning fast to get Green Clock running
I have the basics sorted and can compile the original source code for the clock and deploy my own UF2
I've downloaded this repository and get errors trying to compile.
I have a basic Pico so copied CMakeLists.txt.Pico to CMakeLists.txt
CMAKE worrks, but MAKE -j4 fails.
It looks like its trying to reference the Pico W version or I have some files missing from my setup?
Thank you to all who have helped this project.
Much appreciated.
Ian
[ 13%] Built target picotoolBuild
[ 16%] Building C object CMakeFiles/Pico-Green-Clock.dir/Pico-Green-Clock.c.o
[ 16%] Building C object CMakeFiles/Pico-Green-Clock.dir/home/ian-h/pico/pico-sdk/src/rp2_common/hardware_gpio/gpio.c.o
[ 16%] Building C object CMakeFiles/Pico-Green-Clock.dir/Ds3231.c.o
[ 16%] Building C object CMakeFiles/Pico-Green-Clock.dir/home/ian-h/pico/pico-sdk/src/rp2_common/pico_stdlib/stdlib.c.o
/home/ian-h/pico/Pico-Green-Clock-main/Pico-Green-Clock.c:313:2: warning: #warning Built as RELEASE_VERSION [-Wcpp]
313 | #warning Built as RELEASE_VERSION
| ^~~~~~~
[ 17%] Building C object CMakeFiles/Pico-Green-Clock.dir/home/ian-h/pico/pico-sdk/src/rp2040/pico_platform/platform.c.o
In file included from /home/ian-h/pico/Pico-Green-Clock-main/Pico-Green-Clock.c:811:
/home/ian-h/pico/Pico-Green-Clock-main/picow_ntp_client.h:11:10: fatal error: pico/cyw43_arch.h: No such file or directory
11 | #include "pico/cyw43_arch.h"
Beta Was this translation helpful? Give feedback.
All reactions