add lib and config lora
This commit is contained in:
parent
b73bc67c8e
commit
f92d19b61f
@ -14,6 +14,20 @@ build_flags =
|
||||
-D MONITOR_SPEED=${config.monitor_speed}
|
||||
; DO NOT TOUCH --- END
|
||||
|
||||
-D EXAMPLE_NUMBER=69
|
||||
; LoRa pinout
|
||||
-D RADIO_MOSI_PIN=27
|
||||
-D RADIO_MISO_PIN=19
|
||||
-D RADIO_SCLK_PIN=5
|
||||
-D RADIO_CS_PIN=18
|
||||
-D RADIO_RST_PIN=14
|
||||
-D RADIO_DIO0_PIN=26
|
||||
|
||||
;LoRa frequency
|
||||
-D LoRa_frequency=433E6
|
||||
|
||||
;Oled pin
|
||||
-D I2C_SDA=21
|
||||
-D I2C_SCL=22
|
||||
|
||||
|
||||
-D EXAMPLE_STRING=\"Pouet\"
|
||||
|
@ -30,8 +30,8 @@ build_flags = ${config.build_flags} ${secrets.build_flags}
|
||||
extra_scripts = pre:scripts/get_additionnal_envs.py
|
||||
|
||||
; Device Settings (make sure to fix versions where possible!)
|
||||
platform = espressif32@4.2.0
|
||||
board = esp32dev
|
||||
platform = espressif32
|
||||
board = ttgo-lora32-v1
|
||||
framework = arduino
|
||||
|
||||
; Monitoring settings
|
||||
@ -52,6 +52,8 @@ upload_speed = 921600
|
||||
lib_deps =
|
||||
; example:
|
||||
; erropix/ESP32 AnalogWrite@0.2
|
||||
sandeepmistry/LoRa@^0.8.0 ;LoRa lib
|
||||
olikraus/U8g2@^2.34.22 ;Oled Lib
|
||||
|
||||
; Checker settings
|
||||
check_tool = clangtidy, cppcheck
|
||||
|
Loading…
x
Reference in New Issue
Block a user