I had followed the documentation for pio ci
but I can only compile an example of a library, the upload is ignored. This is the command that should work:
pio ci --project-conf platformio.ini --project-option="targets=upload" --project-option="upload_port=COM3" --lib src examples/esp_logger_rotate
What am I missing?