Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:23 09 May 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Compile PicoMite VSCode

Author Message
Mark
Regular Member

Joined: 26/11/2022
Location: United States
Posts: 85
Posted: 02:16am 26 Dec 2024
Copy link to clipboard 
Print this post

Never Mind. I had to do do Configure Make and Switch Board from the Pico Extensions options

I've downloaded the source project into VSCode with the Raspberry Pi Pico extension. I think all the extensions are working. The Pico SDK is 2.1.0. This is on a M2 Mac mini with OSX Sonoma 14.7.

When I try to compile for VGAUSB or PICO (those are the only two I've tried, I get errors:

In Hardware_Includes.h:
 #include errors detected. Consider updating your compile_commands.json or includePath
 unknown type name 'datetime_t'

In PicoMite.c
 hardware/structs/ssi.h: no such file or directory
Edited 2024-12-26 12:20 by Mark
 
Mark
Regular Member

Joined: 26/11/2022
Location: United States
Posts: 85
Posted: 01:53pm 04 Jan 2025
Copy link to clipboard 
Print this post

I'm back with a new issue.

I'm able to build for the Pico, but when I try any of the RP2350 (Pico 2) versions, the build fails with a missing

pico/rand.h


Mark
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3996
Posted: 02:03pm 04 Jan 2025
Copy link to clipboard 
Print this post

From the SDK - check you have the right INCLUDE paths.

Possibly it being #included as pico\rand.h is causing trouble?
Would usually be a / instead of \

John
Edited 2025-01-05 00:05 by JohnS
 
Mark
Regular Member

Joined: 26/11/2022
Location: United States
Posts: 85
Posted: 02:05pm 04 Jan 2025
Copy link to clipboard 
Print this post

John,

I did a find and found the file in the SDK, how do I configure the INCLUDE path?

Mark
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3996
Posted: 02:07pm 04 Jan 2025
Copy link to clipboard 
Print this post

  Mark said  John,

I did a find and found the file in the SDK, how do I configure the INCLUDE path?

Mark

I gather you've VSCode, which I don't use, so no idea, sorry.

John
 
Mark
Regular Member

Joined: 26/11/2022
Location: United States
Posts: 85
Posted: 02:27pm 04 Jan 2025
Copy link to clipboard 
Print this post

JohnS got it. The backslash "\" rather than forward slash "/" keeps the compiler from finding the file on non-Windows platforms (I'm on a Mac)

This is an issue in 3 files:
Functions.c, MATHS.c, MM_Misc.c.

With the corrections, it builds okay.

I've added an issue to the Github Tailwinds repository.

Mark
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3996
Posted: 03:19pm 04 Jan 2025
Copy link to clipboard 
Print this post

  Mark said  JohnS got it. The backslash "\" rather than forward slash "/" keeps the compiler from finding the file on non-Windows platforms (I'm on a Mac)

This is an issue in 3 files:
Functions.c, MATHS.c, MM_Misc.c.

With the corrections, it builds okay.

I've added an issue to the Github Tailwinds repository.

Mark

Wow. Well found. I just noticed it but didn't actually think it would be the issue.

Thanks for testing it & reporting back.

John
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025