Skip to content

About webui inflash but not have SD_CS_PIN #180

@XYartlab

Description

@XYartlab

I found an issue. Currently, the SD card and LittleFS are in the same plugin. If I want to put the WebUI in flash, it enables the SD card plugin by default. Once the SD plugin is enabled by default, SD_CS_PIN must be defined for successful compilation, otherwise it throws "error: #error SD card plugin not supported!". However, my control board has no spare pins, and I only want to put the WebUI on flash.
Additionally, I found that in this version, the Ethernet module must be defined as "#define SPI_CS_PIN 17
#define WIZNET_CS_PIN 17" to compile; defining it as "#define SPI_CS_PIN 17" causes an error("D:/grblHAL/260419_RP2040/w5x00_ll_driver.c:33:15: error: 'WIZNET_CS_PIN' undeclared here (not in a function)

33 | .cs_pin = WIZNET_CS_PIN,
| ^~~~~~~~~~~~~")
By the way, I noticed that µCNC already supports using SN74HC165D for input expansion. For the RP2040, using SN74HC595 for output expansion (already supported in grblHAL) and SN74HC165D for input expansion can easily solve the IO shortage problem in grblHAL. I'm designing a new control board using this strategy. Please consider adding this feature: using PIO to drive SN74HC165D for expanded input pins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions