Skip to content

Missing functions in host mocking #5760

Closed
@everslick

Description

@everslick

I tried to build my rather comprehensive firmware using the host mocking and encountered the following missing functions in the linking stage of the build.

// IMHO critical
WiFiServer::setNoDelay(bool)
WiFiServer::status()
WiFiServer::stop()

// IMHO nice to have
spi_flash_read()
spi_flash_erase_sector()
spi_flash_write()

What is the general consensus here? Is having a complete API for host builds a target or should only the minimum API be supported to make the CI test build? I really would love to have a native build of my firmware for testing non HW dependent features during development - this would be a killer feature. :-)

On a side note what I feel would improve this further:

  • Allow configuring a build directory where object files and .gcno files are created to not pollute the source directory
  • Add user .c files to the collected source files, not only .cpp and .ino

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions