Hi Jean-Marc,
Wanting to try the Atari emulator on my recently-acquired Teensy 4.1, I downloaded the repository (2b18321) today, and noted the instructions:
# Compilation/flashing (Teensy)
- open the respective ino file with Arduino SDK
- select DISPLAY MODULE in platform_config.h (ST7789 or ILI9341)!!!!
- select VGA or not in platform_config.h (T4.1 using vgat4 lib, T3.6 using uvga lib)
- double check iopins.h for pins configuration!!!!
- compile and install from there.
Just to clarify, in platform_config.h, do I select ST7789/ILI9341/VGA by setting only one of the following?
Code:
#define ST7789 1
#define ILI9341 1
#define HAS_T4_VGA 1
Finally, though I did eventually figure this out after searching these forums for "vga_t4", maybe mention in the Readme that we need to install the VGA_t4 library. Without it, I wasn't able to compile, even if setting #define HAS_T4_VGA 0. For example,
Code:
Arduino: 1.8.13 (Mac OS X), TD: 1.53, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"
In file included from /Teensy/Teensy MCUME/MCUME-2b18321/MCUME_teensy41/teensycastaway41/teensycastaway41.ino:38:0:
/var/folders/xk/0yb20rbd6pv_0y6jp6vcbr1w0000gn/T/arduino_build_990766/sketch/vga_t_dma.h:9:20: fatal error: VGA_t4.h: No such file or directory
compilation terminated.
Error compiling for board Teensy 4.1.
At any rate, after installing the library I was able to compile fine! But I'll have to wait until I can connect a VGA port, resistors, USB port, etc. to my new T4.1. Can't wait.