From bd42cb3e9e9eb4b433aefae8b78e49941d488537 Mon Sep 17 00:00:00 2001 From: greyhash Date: Sat, 6 Jun 2020 17:11:24 +0200 Subject: [PATCH] I added my init --- platformio.ini | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/platformio.ini b/platformio.ini index 2f4d29a..9c400b4 100644 --- a/platformio.ini +++ b/platformio.ini @@ -152,6 +152,11 @@ build_flags = -DDEFAULT_GASMAX=2000 -DDEFAULT_BREMSMIN=600 -DDEFAULT_BREMSMAX=2300 + -DPINS_DPAD_UP=23 ;runter + -DPINS_DPAD_DOWN=32 + -DPINS_DPAD_CONFIRM=22 ;rauf + -DPINS_DPAD_BACK=27 + -DFEATURE_DPAD [env:greyhash_usb] platform = ${common_env_data.platform} @@ -166,18 +171,18 @@ build_flags = ${greyhash.build_flags} upload_speed = 921600 upload_port = /dev/ttyUSB* -;[env:greyhash_ota] -;platform = ${common_env_data.platform} -;board = ${common_env_data.board} -;framework = ${common_env_data.framework} -;board_build.partitions = ${common_env_data.board_build.partitions} -;lib_deps = ${common_env_data.lib_deps} -;lib_compat_mode = ${common_env_data.lib_compat_mode} -;build_unflags = ${common_env_data.build_unflags} -;build_flags = ${greyhash.build_flags} +[env:greyhash_ota] +platform = ${common_env_data.platform} +board = ${common_env_data.board} +framework = ${common_env_data.framework} +board_build.partitions = ${common_env_data.board_build.partitions} +lib_deps = ${common_env_data.lib_deps} +lib_compat_mode = ${common_env_data.lib_compat_mode} +build_unflags = ${common_env_data.build_unflags} +build_flags = ${greyhash.build_flags} -;upload_protocol = espota -;upload_port = 192.168.127. +upload_protocol = espota +upload_port = 192.168.127.198