fix psram-required check
This commit is contained in:
parent
59a61155fc
commit
e78e12fa7c
3 changed files with 5 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -10,3 +10,6 @@
|
||||||
[submodule "lib/Pico-PIO-USB"]
|
[submodule "lib/Pico-PIO-USB"]
|
||||||
path = lib/Pico-PIO-USB
|
path = lib/Pico-PIO-USB
|
||||||
url = https://github.com/tannewt/Pico-PIO-USB
|
url = https://github.com/tannewt/Pico-PIO-USB
|
||||||
|
[submodule "external/pico-extras"]
|
||||||
|
path = external/pico-extras
|
||||||
|
url = https://github.com/raspberrypi/pico-extras.git
|
||||||
|
|
|
||||||
1
external/pico-extras
vendored
Submodule
1
external/pico-extras
vendored
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit f05d4f7371802440cadd36744789a26944d950ac
|
||||||
|
|
@ -40,7 +40,7 @@ while getopts "hvd:m:" o; do
|
||||||
done
|
done
|
||||||
|
|
||||||
TAG=fruitjam_${DISP_WIDTH}x${DISP_HEIGHT}_${MEMSIZE}k
|
TAG=fruitjam_${DISP_WIDTH}x${DISP_HEIGHT}_${MEMSIZE}k
|
||||||
PSRAM=$((MEMSIZE > 448 || DISP_WIDTH > 640))
|
PSRAM=$((MEMSIZE > 448 || DISP_WIDTH < 640))
|
||||||
if [ $PSRAM -ne 0 ] ; then
|
if [ $PSRAM -ne 0 ] ; then
|
||||||
TAG=${TAG}_psram
|
TAG=${TAG}_psram
|
||||||
CMAKE_ARGS="$CMAKE_ARGS -DUSE_PSRAM=1"
|
CMAKE_ARGS="$CMAKE_ARGS -DUSE_PSRAM=1"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue