UserSideException: could not open port 'COM19': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
The terminal process "C:\Users\robin.platformio\penv\Scripts\platformio.exe 'device', 'monitor', '--environment', 'esp32s3', '--port', 'COM19'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it
This is a bare esp32N16r8, no peripheral wired
ILI98341/PCM5102/esp32n16r8 standard configuration for build as below
USB becomes inoperable as soon as image is loaded.
Windows declares an unknown device on the USB
No serial terminal output can be obtained.
Probably a pin conflict with the standard Devkit esp32n16r8
USB becomes unavailable: Executing task: C:\Users\robin.platformio\penv\Scripts\platformio.exe device monitor --environment esp32s3 --port COM19
UserSideException: could not open port 'COM19': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)
This is a bare esp32N16r8, no peripheral wired
ILI98341/PCM5102/esp32n16r8 standard configuration for build as below
USB becomes inoperable as soon as image is loaded. Windows declares an unknown device on the USB No serial terminal output can be obtained. Probably a pin conflict with the standard Devkit esp32n16r8
common.h extract: `// created: 10.Feb.2022 // updated: 08.Feb 2024
pragma once
pragma GCC optimize("Os") // optimize for code size
define _SSID "TP-LINK_EB850C" // Your WiFi credentials here
define _PW "ju87bstuka" // Or in textfile on SD-card
define DECODER 1 // (1)MAX98357A PCM5102A CS4344... (2)AC101, (3)ES8388, (4)WM8978
define TFT_CONTROLLER 0 // (0)ILI9341, (1)HX8347D, (2)ILI9486a, (3)ILI9486b, (4)ILI9488, (5)ST7796, (6)ST7796RPI
define DISPLAY_INVERSION 0 // (0) off (1) on
define TFT_ROTATION 1 // 1 or 3 (landscape)
define TFT_FREQUENCY 40000000 // 80000000, 40000000, 27000000, 20000000, 10000000
define TP_VERSION 1 // (0)ILI9341, (1)ILI9341RPI, (2)HX8347D, (3)ILI9486, (4)ILI9488, (5)ST7796, (3)ST7796RPI
define TP_ROTATION 1 // 1 or 3 (landscape)
define TP_H_MIRROR 0 // (0) default, (1) mirror up <-> down
define TP_V_MIRROR 0 // (0) default, (1) mittor left <-> right
define AUDIOTASK_CORE 0 // 0 or 1
define AUDIOTASK_PRIO 2 // 0 ... 24 Priority of the Task (0...configMAX_PRIORITIES -1)
define I2S_COMM_FMT 0 // (0) MAX98357A PCM5102A CS4344, (1) LSBJ (Least Significant Bit Justified format) PT8211
define SDMMC_FREQUENCY 20000000 // 80000000, 40000000, 27000000, 20000000, 10000000 not every SD Card will run at 80MHz
define FTP_USERNAME "esp32" // user and pw in FTP Client
define FTP_PASSWORD "esp32"
define CONN_TIMEOUT 500 // unencrypted connection timeout in ms (http://...)
define CONN_TIMEOUT_SSL 2000 // encrypted connection timeout in ms (https://...)
define BT_SINK_NAME "MiniWebRadio" // ESP32 only
/**/
include
include
include
include
include
include
include
include
include
include
include
include
include
include "index.h"
include "index.js.h"
include "accesspoint.h"
include "websrv.h"
include "rtime.h"
include "IR.h"
include "tft.h"
include "ESP32FtpServer.h"
include "AC101.h"
include "ES8388.h"
include "WM8978.h"
include "DLNAClient.h"
include "KCX_BT_Emitter.h"
ifdef CONFIG_IDF_TARGET_ESP32
endif
ifdef CONFIG_IDF_TARGET_ESP32S3
endif
`