Skip to content

Commit

Permalink
T6-1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaban committed Nov 29, 2019
1 parent 1d120aa commit 94754ab
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.pio
.vscode
.pioenvs
.piolibdeps
.clang_complete
Expand Down
2 changes: 1 addition & 1 deletion lib/AFE-Configuration/AFE-Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#define FIRMWARE_VERSION "1.3.3"
#define FIRMWARE_TYPE 5
#elif defined(T6_CONFIG)
#define FIRMWARE_VERSION "1.0.1"
#define FIRMWARE_VERSION "1.1.0"
#define FIRMWARE_TYPE 6
#endif
#endif
40 changes: 39 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
;env_default = AFE_T3_8266_1m, AFE_T3_8285_1m
;env_default = AFE_T4_8266_1m, AFE_T4_8285_1m
;env_default = AFE_T5_8266_1m, AFE_T5_8285_1m
env_default = AFE_T6_8266_1m, AFE_T6_8285_1m, AFE_T6_8266_1m-development
env_default = AFE_T6_8266_4m-development
;env_default = AFE_T6_8266_1m, AFE_T6_8285_1m, AFE_T6_8266_1m-development
;env_default = AFE_T0_8266_1m, AFE_T0_8285_1m, AFE_T0_Shelly-1, AFE_T1_8266_1m, AFE_T1_8285_1m, AFE_T2_8266_1m, AFE_T2_8285_1m, AFE_T3_8266_1m, AFE_T3_8285_1m, AFE_T4_8266_1m, AFE_T4_8285_1m, AFE_T5_8266_1m, AFE_T5_8285_1m, AFE_T6_8266_1m, AFE_T6_8285_1m
lib_extra_dirs = lib, lib-external

Expand Down Expand Up @@ -69,6 +70,14 @@ board_build.f_cpu = ${common.board_build.f_cpu}
build_flags = ${common.build_flags} -Wl,-Tesp8266.flash.1m128.ld
build_unflags = ${common.build_unflags}

[esp8266_07_4M]
board = esp07
board_build.flash_mode = dout
board_upload.maximum_size = 4194304
board_build.f_cpu = ${common.board_build.f_cpu}
build_flags = ${common.build_flags} -Wl,-Teagle.flash.4m2m.ld
build_unflags = ${common.build_unflags}

; AFE Firmware vT0 for ESP8266 1MB
; Preconfiguration
; - GPIO 12 - Relay
Expand Down Expand Up @@ -471,3 +480,32 @@ board_upload.maximum_size = ${esp8285_1M.board_upload.maximum_size}
board_build.f_cpu = ${esp8285_1M.board_build.f_cpu}
build_flags = ${esp8285_1M.build_flags} -D T6_CONFIG
build_unflags = ${esp8285_1M.build_unflags}


[env:AFE_T6_8266_4m-generic]
platform = ${common.platform}
framework = ${common.framework}
lib_deps = ${common.lib_deps}, Wire
lib_ignore = ${production.lib_ignore}, ${T6_common.lib_ignore}
lib_ldf_mode = ${common.lib_ldf_mode}
board = ${esp8266_07_4M.board}
board_build.flash_mode = ${esp8266_07_4M.board_build.flash_mode}
board_upload.maximum_size = ${esp8266_07_4M.board_upload.maximum_size}
board_build.f_cpu = ${esp8266_07_4M.board_build.f_cpu}
build_flags = ${esp8266_07_4M.build_flags}
-D T6_CONFIG
-Llib-external/BSEC-Arduino-library/src/esp8266 -llibalgobsec
build_unflags = ${esp8266_07_4M.build_unflags}

[env:AFE_T6_8266_4m-development]
platform = ${env:AFE_T6_8266_4m-generic.platform}
framework = ${env:AFE_T6_8266_4m-generic.framework}
lib_deps = ${env:AFE_T6_8266_4m-generic.lib_deps}
lib_ignore = ${development.lib_ignore}, ${T6_common.lib_ignore}
lib_ldf_mode = ${env:AFE_T6_8266_4m-generic.lib_ldf_mode}
board = ${env:AFE_T6_8266_4m-generic.board}
board_build.flash_mode = ${env:AFE_T6_8266_4m-generic.board_build.flash_mode}
board_upload.maximum_size = ${env:AFE_T6_8266_4m-generic.board_upload.maximum_size}
board_build.f_cpu = ${env:AFE_T6_8266_4m-generic.board_build.f_cpu}
build_flags = ${env:AFE_T6_8266_4m-generic.build_flags} ${development.build_flags}
build_unflags = ${env:AFE_T6_8266_4m-generic.build_unflags}

0 comments on commit 94754ab

Please sign in to comment.