mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-14 01:16:37 +02:00
0.8.65 - 2024-01-24
* removed patch for NRF `PLOS` * fix lang issues #1388 * fix build on Windows of `opendtufusion` environments (git: trailing whitespaces)
This commit is contained in:
parent
7f386f07df
commit
97d74d3090
10 changed files with 28 additions and 92 deletions
|
@ -12,11 +12,11 @@ def applyPatch(libName, patchFile):
|
|||
|
||||
os.chdir('.pio/libdeps/' + env['PIOENV'] + '/' + libName)
|
||||
|
||||
process = subprocess.run(['git', 'apply', '--reverse', '--check', '../../../../' + patchFile], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
process = subprocess.run(['git', 'apply', '--ignore-whitespace', '--reverse', '--check', '../../../../' + patchFile], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
if (process.returncode == 0):
|
||||
print('\'' + patchFile + '\' already applied')
|
||||
else:
|
||||
process = subprocess.run(['git', 'apply', '../../../../' + patchFile])
|
||||
process = subprocess.run(['git', 'apply', '--ignore-whitespace', '../../../../' + patchFile])
|
||||
if (process.returncode == 0):
|
||||
print('\'' + patchFile + '\' applied')
|
||||
else:
|
||||
|
@ -32,5 +32,3 @@ if env['PIOENV'][:22] != "opendtufusion-ethernet":
|
|||
if env['PIOENV'][:13] == "opendtufusion":
|
||||
applyPatch("GxEPD2", "../patches/GxEPD2_SW_SPI.patch")
|
||||
applyPatch("RF24", "../patches/RF24_Hal.patch")
|
||||
else:
|
||||
applyPatch("RF24", "../patches/RF24.patch")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue