From 23734ee76d34dd1d01a2c42619a0d81c5b7c39cc Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Sat, 30 May 2020 18:21:24 +0200 Subject: [PATCH] Added environment for greyhash --- .travis.yml | 1 + platformio.ini | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/.travis.yml b/.travis.yml index db3d27f..5fad96e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ install: env: - BUILD_CONFIG=feedc0de_usb + - BUILD_CONFIG=greyhash_usb - BUILD_CONFIG=aveexy_usb - BUILD_CONFIG=testbench_usb - BUILD_CONFIG=mickdermack_usb diff --git a/platformio.ini b/platformio.ini index 4b308fb..6ef9b91 100644 --- a/platformio.ini +++ b/platformio.ini @@ -126,6 +126,44 @@ upload_port = 192.168.127.171 +[greyhash] +build_flags = + ${common_env_data.build_flags} + ${peters_platine.build_flags} + ${default_limits.build_flags} + -DDEFAULT_GASMIN=400 + -DDEFAULT_GASMAX=2000 + -DDEFAULT_BREMSMIN=600 + -DDEFAULT_BREMSMAX=2300 + +[env:greyhash_usb] +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_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} + +;upload_protocol = espota +;upload_port = 192.168.127. + + + [env:aveexy_usb] platform = ${common_env_data.platform} board = ${common_env_data.board}