Closed RieJuerg closed 3 years ago
Hi @RieJuerg ! What is the reason for using custom upload settings?
hello valeros, thank you very mutch for your replay. I have a problem executing an Arduino sketch via Visual Studio on an Arduino board MKR1000. If I upload the sketch and specify Port6, it will be changed to Port3. When trying to upload the sketch to Port3, an error message appears. I have set the upload Port6 in platformIO.ini at Port6, because the correct upload Port is Port6. I cannot understand why Visual Studio is changing the port to port 3. regards Jurgen
hello valeros, thank you very mutch for your replay. I have a problem executing an Arduino sketch via Visual Studio on an Arduino board MKR1000. If I upload the sketch and specify Port6, it will be changed to Port3. When trying to upload the sketch to Port3, an error message appears. I have set the upload Port6 in platformIO.ini at Port6, because the correct upload Port is Port6. I cannot understand why Visual Studio is changing the port to port 3. regards Jurgen
Hello MaxGerhard, As requested by you, the LOG file:
The terminal process "C:\Users\Riege.platformio\penv\Scripts\pio.exe 'run', '--target', 'upload'" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
Processing mkr1000USB (platform: atmelsam; board: mkr1000USB; framework: arduino) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/atmelsam/mkr1000USB.html PLATFORM: Atmel SAM (5.0.2) > Arduino MKR1000 HARDWARE: SAMD21G18A 48MHz, 32KB RAM, 256KB Flash DEBUG: Current (atmel-ice) External (atmel-ice, blackmagic, jlink) PACKAGES:Terminal will be reused by tasks, press any key to close it.
PlatformIO.INI:
[env:mkr1000USB] platform = atmelsam board = mkr1000USB framework = arduino board_upload.use_1200bps_touch = no board_upload.wait_for_upload_port = no