PSRAM support added to hal files

This commit is contained in:
Klaus K Wilting 2018-07-08 12:24:13 +02:00
parent 9298462b54
commit 62d25171fb
4 changed files with 5 additions and 2 deletions

View File

@ -48,6 +48,7 @@ build_flags =
; override lora settings from LMiC library in lmic/config.h and use main.h instead
-D_lmic_config_h_
-include "src/paxcounter.conf"
-w
[env:heltec]
platform = ${common_env_data.platform_espressif32}
@ -118,7 +119,7 @@ lib_deps =
build_flags =
${common_env_data.build_flags}
-include "src/hal/ttgobeam.h"
-DBOARD_HAS_PSRAM
-include
[env:fipy]
platform = ${common_env_data.platform_espressif32}
@ -163,7 +164,6 @@ lib_deps =
build_flags =
${common_env_data.build_flags}
-include "src/hal/lopy4.h"
-DBOARD_HAS_PSRAM
[env:lolin32lite]
platform = ${common_env_data.platform_espressif32}

View File

@ -3,6 +3,7 @@
#define CFG_sx1272_radio 1
#define HAS_LED NOT_A_PIN // FiPy has no on board LED, so we use RGB LED
#define HAS_RGB_LED GPIO_NUM_0 // WS2812B RGB LED on GPIO0
#define BOARD_HAS_PSRAM // use extra 4MB extern RAM
// Hardware pin definitions for Pycom FiPy board
#define PIN_SPI_SS GPIO_NUM_18

View File

@ -3,6 +3,7 @@
#define CFG_sx1276_radio 1
#define HAS_LED NOT_A_PIN // LoPy4 has no on board LED, so we use RGB LED on LoPy4
#define HAS_RGB_LED GPIO_NUM_0 // WS2812B RGB LED on GPIO0
#define BOARD_HAS_PSRAM // use extra 4MB extern RAM
// Hardware pin definitions for Pycom LoPy4 board
#define PIN_SPI_SS GPIO_NUM_18

View File

@ -1,6 +1,7 @@
// Hardware related definitions for TTGO T-Beam board
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC
#define BOARD_HAS_PSRAM // use extra 4MB extern RAM
#define HAS_LED GPIO_NUM_21 // on board green LED_G1
//#define HAS_BUTTON GPIO_NUM_39 // on board button "BOOT" (next to reset button) !! seems not to work!!