mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-14 14:52:32 +00:00
Compare commits
5 Commits
self-hoste
...
v2.5.1.c13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c13b44b992 | ||
|
|
baceb48f07 | ||
|
|
6aa3705b8a | ||
|
|
c4c63a8af3 | ||
|
|
a6e16e901d |
27
.github/workflows/main_matrix.yml
vendored
27
.github/workflows/main_matrix.yml
vendored
@@ -353,3 +353,30 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
add-paths: |
|
add-paths: |
|
||||||
version.properties
|
version.properties
|
||||||
|
|
||||||
|
- name: Checkout meshtastic/meshtastic.github.io
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: meshtastic/meshtastic.github.io
|
||||||
|
token: ${{ secrets.ARTIFACTS_TOKEN }}
|
||||||
|
path: meshtastic.github.io
|
||||||
|
|
||||||
|
- name: Display structure of downloaded files
|
||||||
|
run: ls -R
|
||||||
|
|
||||||
|
- name: Extract firmware.zip
|
||||||
|
run: |
|
||||||
|
unzip ./firmware-${{ steps.version.outputs.version }}.zip -d meshtastic.github.io/firmware-${{ steps.version.outputs.version }}
|
||||||
|
|
||||||
|
- name: Display structure of downloaded files
|
||||||
|
run: ls -R
|
||||||
|
|
||||||
|
- name: Commit and push changes
|
||||||
|
run: |
|
||||||
|
cd meshtastic.github.io
|
||||||
|
find . -type f -name 'meshtasticd_*' -exec rm -f {} +
|
||||||
|
git config --global user.name "github-actions[bot]"
|
||||||
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add .
|
||||||
|
git commit -m "Add firmware version ${{ steps.version.outputs.version }}"
|
||||||
|
git push
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
; The Portduino based sim environment on top of any host OS, all hardware will be simulated
|
; The Portduino based sim environment on top of any host OS, all hardware will be simulated
|
||||||
[portduino_base]
|
[portduino_base]
|
||||||
platform = https://github.com/meshtastic/platform-native.git#ad8112adf82ce1f5b917092cf32be07a077801a0
|
platform = https://github.com/meshtastic/platform-native.git#6b3796d697481c8f6e3f4aa5c111bd9979f29e64
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
|
||||||
build_src_filter =
|
build_src_filter =
|
||||||
|
|||||||
@@ -271,13 +271,6 @@ void doDeepSleep(uint32_t msecToWake, bool skipPreflight = false)
|
|||||||
digitalWrite(LORA_CS, HIGH);
|
digitalWrite(LORA_CS, HIGH);
|
||||||
gpio_hold_en((gpio_num_t)LORA_CS);
|
gpio_hold_en((gpio_num_t)LORA_CS);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(I2C_SDA)
|
|
||||||
Wire.end();
|
|
||||||
pinMode(I2C_SDA, ANALOG);
|
|
||||||
pinMode(I2C_SCL, ANALOG);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAS_PMU
|
#ifdef HAS_PMU
|
||||||
@@ -315,6 +308,14 @@ void doDeepSleep(uint32_t msecToWake, bool skipPreflight = false)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(ARCH_ESP32) && defined(I2C_SDA)
|
||||||
|
// Added by https://github.com/meshtastic/firmware/pull/4418
|
||||||
|
// Possibly to support Heltec Capsule Sensor?
|
||||||
|
Wire.end();
|
||||||
|
pinMode(I2C_SDA, ANALOG);
|
||||||
|
pinMode(I2C_SCL, ANALOG);
|
||||||
|
#endif
|
||||||
|
|
||||||
console->flush();
|
console->flush();
|
||||||
cpuDeepSleep(msecToWake);
|
cpuDeepSleep(msecToWake);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user