From 475c40e7e69aa5878f1ef5e5a180523916f569db Mon Sep 17 00:00:00 2001 From: atc1441 Date: Wed, 26 Jul 2023 17:54:22 +0200 Subject: [PATCH] Added CC1352 CC2652 Board --- ESP32_AP-Flasher/platformio.ini | 36 ++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/ESP32_AP-Flasher/platformio.ini b/ESP32_AP-Flasher/platformio.ini index 2328a9cc..1345d0d3 100644 --- a/ESP32_AP-Flasher/platformio.ini +++ b/ESP32_AP-Flasher/platformio.ini @@ -33,7 +33,41 @@ build_flags = -D DISABLE_ALL_LIBRARY_WARNINGS -D ILI9341_DRIVER -D SMOOTH_FONT - +; ---------------------------------------------------------------------------------------- +; !!! this configuration expects the UniRfInterface PCB with EBYTE E79 CC1352P Module +; +; ---------------------------------------------------------------------------------------- +[env:OpenEPaperLink_CC1352P] +platform = https://github.com/platformio/platform-espressif32.git +board=lolin_s2_mini +board_build.partitions = default.csv +build_unflags = + -D CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y +build_flags = + ${env.build_flags} + -D OPENEPAPERLINK_MINI_AP_PCB + -D ARDUINO_USB_MODE=0 + -D CONFIG_SPIRAM_USE_MALLOC=1 + -D CONFIG_MBEDTLS_EXTERNAL_MEM_ALLOC=y + -D BOARD_HAS_PSRAM + -D POWER_NO_SOFT_POWER + -D FLASHER_AP_SS=-1 + -D FLASHER_AP_CLK=-1 + -D FLASHER_AP_MOSI=-1 + -D FLASHER_AP_MISO=-1 + -D FLASHER_AP_RESET=21 + -D FLASHER_AP_POWER={-1} ;this board has no soft power control + -D FLASHER_AP_TXD=17 + -D FLASHER_AP_RXD=16 + -D FLASHER_AP_TEST=-1 + -D FLASHER_LED=2 + -D FLASHER_RGB_LED=-1 +build_src_filter = + +<*>-- +board_build.psram_type=qspi_opi +board_upload.maximum_size = 4194304 +board_upload.maximum_ram_size = 327680 +board_upload.flash_size = 4MB ; ---------------------------------------------------------------------------------------- ; !!! this configuration expects the Mini_AP ;