2020-09-27 15:21:09 +00:00
|
|
|
; PlatformIO Project Configuration File
|
|
|
|
;
|
|
|
|
; Build options: build flags, source filter
|
|
|
|
; Upload options: custom upload port, speed and extra flags
|
|
|
|
; Library options: dependencies, extra library storages
|
|
|
|
; Advanced options: extra scripting
|
|
|
|
;
|
|
|
|
; Please visit documentation for the other options and examples
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
2020-10-27 14:35:02 +00:00
|
|
|
|
2020-09-27 15:21:09 +00:00
|
|
|
[platformio]
|
|
|
|
default_envs = cubecell_board
|
|
|
|
|
|
|
|
[common]
|
|
|
|
framework = arduino
|
|
|
|
monitor_speed = 115200
|
|
|
|
build_flags = -Os
|
2024-04-30 18:01:13 +00:00
|
|
|
-Isrc -Isrc/mesh -Isrc/mesh/generated
|
|
|
|
-D PB_ENABLE_MALLOC=1
|
2024-06-02 12:34:11 +00:00
|
|
|
-D APP_VERSION=0.4.0
|
2024-05-12 18:35:38 +00:00
|
|
|
-DRADIOLIB_EXCLUDE_CC1101
|
|
|
|
-DRADIOLIB_EXCLUDE_NRF24
|
|
|
|
-DRADIOLIB_EXCLUDE_RF69
|
|
|
|
-DRADIOLIB_EXCLUDE_SX1231
|
|
|
|
-DRADIOLIB_EXCLUDE_SX1233
|
|
|
|
-DRADIOLIB_EXCLUDE_SI443X
|
|
|
|
-DRADIOLIB_EXCLUDE_RFM2X
|
|
|
|
-DRADIOLIB_EXCLUDE_AFSK
|
|
|
|
-DRADIOLIB_EXCLUDE_BELL
|
|
|
|
-DRADIOLIB_EXCLUDE_HELLSCHREIBER
|
|
|
|
-DRADIOLIB_EXCLUDE_MORSE
|
|
|
|
-DRADIOLIB_EXCLUDE_RTTY
|
|
|
|
-DRADIOLIB_EXCLUDE_SSTV
|
|
|
|
-DRADIOLIB_EXCLUDE_AX25
|
|
|
|
-DRADIOLIB_EXCLUDE_DIRECT_RECEIVE
|
|
|
|
-DRADIOLIB_EXCLUDE_BELL
|
|
|
|
-DRADIOLIB_EXCLUDE_PAGER
|
|
|
|
-DRADIOLIB_EXCLUDE_FSK4
|
|
|
|
-DRADIOLIB_EXCLUDE_APRS
|
|
|
|
-DRADIOLIB_EXCLUDE_LORAWAN
|
|
|
|
|
2024-04-30 18:01:13 +00:00
|
|
|
lib_deps = nanopb/Nanopb
|
|
|
|
https://github.com/meshtastic/protobufs.git
|
|
|
|
jgromes/RadioLib
|
|
|
|
https://github.com/kokke/tiny-AES-c.git
|
2024-04-27 12:58:16 +00:00
|
|
|
check_tool = cppcheck
|
|
|
|
build_type = release
|
2020-10-27 14:35:02 +00:00
|
|
|
|
2020-09-27 15:21:09 +00:00
|
|
|
[env:cubecell_board]
|
2020-10-27 14:35:02 +00:00
|
|
|
extends = common
|
2024-04-27 12:58:16 +00:00
|
|
|
platform = heltec-cubecell
|
2020-10-27 14:35:02 +00:00
|
|
|
board = cubecell_board
|
2024-05-31 19:43:01 +00:00
|
|
|
platform_packages = platformio/toolchain-gccarmnoneeabi@~1.120301.0
|
2024-05-19 19:50:10 +00:00
|
|
|
;platform_packages = platformio/toolchain-gccarmnoneeabi@^1.130201.0 ;requires manual installation of the package
|
2024-04-30 18:01:13 +00:00
|
|
|
build_flags = ${common.build_flags} -Isrc/platform/cubecell
|
2024-05-12 18:35:38 +00:00
|
|
|
-D CUBECELL
|
2024-04-30 18:01:13 +00:00
|
|
|
-D HW_VENDOR=CUBECELL
|