Skip to content

Commit

Permalink
Disable cordio cleans for BLE projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Aug 23, 2024
1 parent 2bf086f commit 89e7344
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@

def build_project(project:Path, target, board, maxim_path:Path, distclean=False, extra_args=None) -> Tuple[int, tuple]:
clean_cmd = "make clean" if not distclean else "make distclean"
if "Bluetooth" in project.as_posix() or "BLE" in project.as_posix():
# Clean cordio lib for BLE projects
clean_cmd += "&& make clean.cordio"
# NOTE: Disabled Cordio re-builds as of 8/23/2024 now that the library files should
# account for basic changes across projects like trace levels and hard/softfp
# if "Bluetooth" in project.as_posix() or "BLE" in project.as_posix():
# # Clean cordio lib for BLE projects
# clean_cmd += "&& make clean.cordio"
res = run(clean_cmd, cwd=project, shell=True, capture_output=True, encoding="utf-8")

# Test build
Expand Down

0 comments on commit 89e7344

Please sign in to comment.