Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:36 21 Nov 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 : Compiling Picomitevga

Author Message
FredrikBergquist
Newbie

Joined: 16/10/2022
Location: United Kingdom
Posts: 1
Posted: 09:31pm 17 Oct 2022
Copy link to clipboard 
Print this post

Hi
I have tried to compile Picomitevga and have some questions. Checked out the source from Github and compiled it with VS community 221015. The resulting uf2 is not working and the led doesn’t blink.
1 The software has a lot of #ifdefn PICOMITEVGA but it doesn’t seem as it gets defined anywhere.
2 The compiler claims that the allocated ram is too big for the Pico.
3 The core 1 (the second) doesn’t seem to be started in the code but maybe I am blind to it.
The uf2 that can be downloaded works fine.

Would like some info on how to go further with this.

Best regards
Fredrik
 
led-bloon

Senior Member

Joined: 21/12/2014
Location: Australia
Posts: 208
Posted: 09:35pm 18 Oct 2022
Copy link to clipboard 
Print this post

1. Make sure you have the latest PicoMite source code from github.
2. Download the latest PicoMiteVGA source code from github (3 files):
  CMakeLists.txt   Include.h   PicoMiteVGA.pio
3. Overwrite the existing PicoMite files with the PicoMiteVGA files.
4. Ensure you have compiler gcc v10.2 32bit or greater (I am at v10.3, Peter at v11.2.1)
5. Ensure you are using pico-sdk V1.4!
6. You should see one warning when copmpiling about 'text' section but ok.
7. Final uf2 should run.

PICOMITEVGA is defined in the VGA CMakeLists.txt and passed to the compiler.

There are two separate files in the PicoMite repository (spi.h and gpio.c)
which must replace the existing sdk files.
pico-sdk\src\rp2_common\hardware_spi\include\hardware\spi.h
pico-sdk\src\rp2_common\hardware_gpio\gpio.c

I don't think I have missed anything, but if I have it will be corrected I'm sure.
I am using RaspberryPi to compile and so cannot help any further with your setup.
Good luck.
led
Edited 2022-10-19 07:43 by led-bloon
Miss you George
 
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