2023-06-26 17:24:06 +02:00

34 lines
753 B
INI

; Project configuration file
[config]
; Hardware Serial baud rate
; Also available in the code as `MONITOR_SPEED`
monitor_speed = 115200
; Software Config
; note: additionnal flags are added by Platform.io (see total amount in `.vscode/c_cpp_properties.json` in the `defines` section)
; notworthy ones:
; __PLATFORMIO_BUILD_DEBUG__ = debug mode
build_flags =
; DO NOT TOUCH --- START
-D MONITOR_SPEED=${config.monitor_speed}
; DO NOT TOUCH --- END
; 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\"