Skip to content

Commit

Permalink
fix platformio
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Nov 16, 2024
1 parent 8de91ce commit a791fcf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 199 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,6 @@ cmake-build-remote
**/cmake-build*/
.idea/
dist/
debug/
debug/
/examples/receive_lora_cubeide_stm32/receive_lora_cubeide_stm32.launch
/examples/receive_lora_cubeide_stm32/STM32F103RBTX_FLASH.ld
8 changes: 2 additions & 6 deletions extra_script.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
Import('env')

if env.get("PIOPLATFORM") == "ststm32":
env.Replace(SRC_FILTER=["+<*>", "-<*_spi*>", "+<*_stm32_spi.c>"])

if env.get("PIOPLATFORM") == "gd32":
env.Replace(SRC_FILTER=["+<*>", "-<*_spi*>", "+<*_gd32_spi.c>"])

if env.get("PIOPLATFORM") == "espressif32":
env.Replace(SRC_FILTER=["+<*>", "-<*_spi*>", "+<*_esp_spi.c>"])
else:
env.Replace(SRC_FILTER=["+<*>", "-<*_spi*>"])
123 changes: 0 additions & 123 deletions src/sx127x_gd32_spi.c

This file was deleted.

69 changes: 0 additions & 69 deletions src/sx127x_stm32_spi.c

This file was deleted.

0 comments on commit a791fcf

Please sign in to comment.