From 374ddbe12f20416a050cdaa6c049eecc46a92b45 Mon Sep 17 00:00:00 2001 From: Torsten Stauder Date: Wed, 6 Jan 2021 23:00:46 +0100 Subject: [PATCH] Platform is necessary for common --- platformio.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index 1074634..e1c4581 100644 --- a/platformio.ini +++ b/platformio.ini @@ -24,6 +24,7 @@ lib_deps_external = ; https://github.com/pschatzmann/ESP32-A2DP.git [env:common] +platform = espressif32 build_flags = -DHAL=1 -DHAL=3 -DHAL=4 ; Don't forget to run this script if you changed the html-files provided in any way extra_scripts = @@ -74,8 +75,8 @@ lib_deps = https://github.com/biologist79/rfid.git https://github.com/tueddy/PN5180-Library.git extra_scripts = ${env:common.extra_scripts} -upload_port = /dev/cu.SLAB_USBtoUART -monitor_port = /dev/cu.SLAB_USBtoUART +upload_port = /dev/cu.wchusbserial1420 +monitor_port = /dev/cu.wchusbserial1420 [env:lolin_d32_pro] ;https://docs.platformio.org/en/latest/boards/espressif32/lolin_d32_pro.html @@ -129,7 +130,7 @@ monitor_port = /dev/cu.SLAB_USBtoUART ;;; Change upload/monitor-port of your board regarding your operating-system and develboard! -;MAC: /dev/cu.SLAB_USBtoUART +;MAC: /dev/cu.SLAB_USBtoUART / /dev/cu.wchusbserial1420 / /dev/cu.wchusbserial1410 ;WINDOWS: COM3 ;LINUX: /dev/ttyUSB0 (if it's the first USB-device attached, otherwise increase number)