Fix SD card integration and Lua game loading
- Fix SD card MISO pin (was using display MISO instead of SD MISO) - Add FatFS mounting after SD card initialization - Restore SPI baudrate on all SD init failure paths - Add case-insensitive .lua file extension check - Filter out hidden 8.3 filename entries - Add SPI speed management functions for shared SPI bus - Wrap all FatFS operations with SPI speed switching - Restore display SPI speed (32 MHz) after SD operations - Add debug output to Lua game loader This fixes slow display refresh when SD card is present and enables reliable Lua game loading from SD card /games directory.
This commit is contained in:
122
emulator/CMakeFiles/Makefile2
Normal file
122
emulator/CMakeFiles/Makefile2
Normal file
@@ -0,0 +1,122 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 4.2
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : %,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : RCS/%,v
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : SCCS/s.%
|
||||
|
||||
# Disable VCS-based implicit rules.
|
||||
% : s.%
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
# Command-line flag to silence nested $(MAKE).
|
||||
$(VERBOSE)MAKESILENT = -s
|
||||
|
||||
#Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /opt/homebrew/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /opt/homebrew/bin/cmake -E rm -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /Users/adolforeyna/Projects/pico-bare-metal/Adolfo/basic1/emulator
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /Users/adolforeyna/Projects/pico-bare-metal/Adolfo/basic1/emulator
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for the build root directory
|
||||
|
||||
# The main recursive "all" target.
|
||||
all: CMakeFiles/basic1_emulator.dir/all
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive "codegen" target.
|
||||
codegen: CMakeFiles/basic1_emulator.dir/codegen
|
||||
.PHONY : codegen
|
||||
|
||||
# The main recursive "preinstall" target.
|
||||
preinstall:
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive "clean" target.
|
||||
clean: CMakeFiles/basic1_emulator.dir/clean
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/basic1_emulator.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/basic1_emulator.dir/all:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/basic1_emulator.dir/build.make CMakeFiles/basic1_emulator.dir/depend
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/basic1_emulator.dir/build.make CMakeFiles/basic1_emulator.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/Users/adolforeyna/Projects/pico-bare-metal/Adolfo/basic1/emulator/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44 "Built target basic1_emulator"
|
||||
.PHONY : CMakeFiles/basic1_emulator.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/basic1_emulator.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /Users/adolforeyna/Projects/pico-bare-metal/Adolfo/basic1/emulator/CMakeFiles 44
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/basic1_emulator.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /Users/adolforeyna/Projects/pico-bare-metal/Adolfo/basic1/emulator/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/basic1_emulator.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
basic1_emulator: CMakeFiles/basic1_emulator.dir/rule
|
||||
.PHONY : basic1_emulator
|
||||
|
||||
# codegen rule for target.
|
||||
CMakeFiles/basic1_emulator.dir/codegen:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/basic1_emulator.dir/build.make CMakeFiles/basic1_emulator.dir/codegen
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=/Users/adolforeyna/Projects/pico-bare-metal/Adolfo/basic1/emulator/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44 "Finished codegen for target basic1_emulator"
|
||||
.PHONY : CMakeFiles/basic1_emulator.dir/codegen
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/basic1_emulator.dir/clean:
|
||||
$(MAKE) $(MAKESILENT) -f CMakeFiles/basic1_emulator.dir/build.make CMakeFiles/basic1_emulator.dir/clean
|
||||
.PHONY : CMakeFiles/basic1_emulator.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
Reference in New Issue
Block a user