Restructure the files for different CPUs

This commit is contained in:
Wayne Venables
2025-09-05 20:26:42 -07:00
parent 18e31a5204
commit c149b77db2
11 changed files with 20 additions and 20 deletions

View File

@@ -44,19 +44,19 @@ macro(add_picovga project)
if(PICO_PLATFORM STREQUAL "rp2040")
target_sources(${project} PRIVATE
${PICOVGA_PATH}/src/render/vga_tilepersp.S
${PICOVGA_PATH}/src/render/vga_tilepersp15.S
${PICOVGA_PATH}/src/render/vga_tilepersp2.S
${PICOVGA_PATH}/src/render/vga_tilepersp3.S
${PICOVGA_PATH}/src/render/vga_tilepersp4.S
${PICOVGA_PATH}/src/render/rp2040/vga_tilepersp.S
${PICOVGA_PATH}/src/render/rp2040/vga_tilepersp15.S
${PICOVGA_PATH}/src/render/rp2040/vga_tilepersp2.S
${PICOVGA_PATH}/src/render/rp2040/vga_tilepersp3.S
${PICOVGA_PATH}/src/render/rp2040/vga_tilepersp4.S
)
elseif(PICO_PLATFORM STREQUAL "rp2350-arm-s")
target_sources(${project} PRIVATE
${PICOVGA_PATH}/src/render/vga_tilepersp.rp2350.S
${PICOVGA_PATH}/src/render/vga_tilepersp15.rp2350.S
${PICOVGA_PATH}/src/render/vga_tilepersp2.rp2350.S
${PICOVGA_PATH}/src/render/vga_tilepersp3.rp2350.S
${PICOVGA_PATH}/src/render/vga_tilepersp4.rp2350.S
${PICOVGA_PATH}/src/render/rp2350/vga_tilepersp.S
${PICOVGA_PATH}/src/render/rp2350/vga_tilepersp15.S
${PICOVGA_PATH}/src/render/rp2350/vga_tilepersp2.S
${PICOVGA_PATH}/src/render/rp2350/vga_tilepersp3.S
${PICOVGA_PATH}/src/render/rp2350/vga_tilepersp4.S
)
else()
message(FATAL_ERROR "Unsupported PICO_PLATFORM='${PICO_PLATFORM}'")

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address

View File

@@ -11,7 +11,7 @@
// wb ... LOW8=number of bits of tile map width, HIGH8=number of bits of tile map height
// wrapy ... segment height
#include "../define.h" // common definitions of C and ASM
#include "../../define.h" // common definitions of C and ASM
#include "hardware/regs/sio.h" // registers of hardware divider
#include "hardware/regs/addressmap.h" // SIO base address