Skip to content

Commit

Permalink
Added test to ensure PSRAM is off when using a SPI output.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMueller2003 committed Jan 9, 2024
1 parent 8fea5ba commit bb23b3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ESPixelStick/src/output/OutputSpi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@

#include "../ESPixelStick.h"
#ifdef SUPPORT_SPI_OUTPUT

#ifdef BOARD_HAS_PSRAM
#error "Cannot use a SPI interface with PSRAM enabled. Turn off PSRAM support to continue"
#endif // def BOARD_HAS_PSRAM

#include "OutputPixel.hpp"
#include <driver/spi_master.h>
#include <esp_task.h>
Expand Down

0 comments on commit bb23b3d

Please sign in to comment.