Skip to content

Commit

Permalink
Update submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzee119 committed Aug 8, 2022
1 parent 7ff304f commit b5e29c1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 621 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
[submodule "src/lib/tinyalloc"]
path = src/lib/tinyalloc
url = https://github.com/thi-ng/tinyalloc.git
[submodule "src/lib/tusb_xinput"]
path = src/lib/tusb_xinput
url = https://github.com/Ryzee119/tusb_xinput.git
12 changes: 7 additions & 5 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ src_filter =
+<lib/tinyusb/src/common/*.c>
+<lib/tinyusb/src/host/*.c>
+<lib/tinyusb/src/class/hid/*.c>
+<lib/tusb_xinput/*.c>

build_flags =
-O2
Expand All @@ -45,6 +46,7 @@ build_flags =
-Isrc/lib/printf
-Isrc/lib/tinyalloc
-Isrc/lib/tinyusb/src
-Isrc/lib/tusb_xinput
;DEBUG OUTPUT CONFIG
-DDEBUG_STATUS=1 ;General information
-DDEBUG_N64=0 ;For debugging N64 low level info
Expand All @@ -71,15 +73,15 @@ platform = teensy@~4.13.1
board = teensy41
framework = arduino

src_filter =
build_src_filter =
${common_env_data.src_filter}
+<port_teensy41/ILI9341_t3n/src/*.cpp>
+<port_teensy41/ILI9341_t3n/src/*.c>
+<port_teensy41/*.cpp>
+<port_teensy41/*.c>
;TinyUSB (T4 specific)
+<lib/tinyusb/hw/mcu/nxp/mcux-sdk/devices/MIMXRT1062/*.c>
+<lib/tinyusb/src/portable/nxp/transdimension/*.c>
+<lib/tinyusb/src/portable/chipidea/ci_hs/hcd_ci_hs.c>
+<lib/tinyusb/src/portable/ehci/*.c>

build_flags =
Expand All @@ -104,7 +106,7 @@ framework = stm32cube
; I also created code/data areas for flash when I want functions/data to remain on flash to save RAM.
board_build.ldscript = src/port_stm32f7/stm37f750-dk/STM32F750N8HX_EXTFLASH.ld

src_filter =
build_src_filter =
${common_env_data.src_filter}
+<port_stm32f7/common/*.c>
+<port_stm32f7/common/fatfs/*.c>
Expand Down Expand Up @@ -133,7 +135,7 @@ framework = stm32cube
extra_scripts = post:hex_from_elf.py
board_build.ldscript = src/port_stm32f7/stm37f769-dk/STM32F769NIHX_FLASH.ld

src_filter =
build_src_filter =
${common_env_data.src_filter}
+<port_stm32f7/common/*.c>
+<port_stm32f7/common/fatfs/*.c>
Expand All @@ -159,7 +161,7 @@ build_flags =
[env:template]
platform = native

src_filter =
build_src_filter =
${common_env_data.src_filter}
+<port_template/*.cpp>
+<port_template/*.c>
Expand Down
Loading

0 comments on commit b5e29c1

Please sign in to comment.