Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Add Build lines from external make file. (Read 1161 times)
Wiken
Junior Member
**
Offline


Posts: 19
Joined: Jun 8th, 2023
Add Build lines from external make file.
Nov 2nd, 2023 at 12:33pm
Print Post  
Hi.
I'm currently using RP2040-PiZero board and trying to get the HDMI/DVI to build.
A couple of .h-files are built using these lines:

pico_generate_pio_header(libdvi ${CMAKE_CURRENT_LIST_DIR}/dvi_serialiser.pio)
pico_generate_pio_header(libdvi ${CMAKE_CURRENT_LIST_DIR}/tmds_encode_1bpp.pio)

How can I add these into the build of the micro-build, if possible?
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2708
Joined: Feb 13th, 2019
Re: Add Build lines from external make file.
Reply #1 - Nov 2nd, 2023 at 1:48pm
Print Post  
From my understanding these commands will convert the *.pio files in to a C Header file to be included in the project.

If you have the generated C headers you should be able to include them in your vMicro project by including them in the project directory and referencing them in your code.

It may be better to seek help from the Board Package creator for your RP2040 as they will have more intricate knowledge of the RPiPico SDK and there may be an alternative Arduino Compatible route already available.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint