Skip to content

Commit

Permalink
ESP32-Sx/C3: GitHub Actions CI transition onto Arduino Core 2.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
lyusupov committed Sep 8, 2023
1 parent aeeb06c commit 74cae6d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/softrf-issue-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ Recommended:

- [ ] Standalone
- [ ] Badge
- [ ] Prime Mark III
- [ ] Prime Mark II
- [ ] Dongle
- [ ] SkyView EZ
- [ ] SkyView Pico
- [ ] Uni
- [ ] Mini
<!-- - [ ] Bracelet -->
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
fi
if [[ "$BOARD" =~ "esp32:esp32:esp32s2" ]]; then
arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" --save-prefs ;
arduino --install-boards esp32:esp32:2.0.11 ;
arduino --install-boards esp32:esp32:2.0.12 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32s2_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32s2_none" --save-prefs ;
Expand All @@ -146,7 +146,7 @@ jobs:
fi
if [[ "$BOARD" =~ "esp32:esp32:esp32s3" ]]; then
arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" --save-prefs ;
arduino --install-boards esp32:esp32:2.0.11 ;
arduino --install-boards esp32:esp32:2.0.12 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32s3_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32s3_none" --save-prefs ;
Expand All @@ -162,7 +162,7 @@ jobs:
fi
if [[ "$BOARD" =~ "esp32:esp32:esp32c3" ]]; then
arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json" --save-prefs ;
arduino --install-boards esp32:esp32:2.0.11 ;
arduino --install-boards esp32:esp32:2.0.12 ;
arduino --board $BOARD --save-prefs ;
arduino --pref "custom_CPUFreq=esp32c3_80" --save-prefs ;
arduino --pref "custom_DebugLevel=esp32c3_none" --save-prefs ;
Expand Down
3 changes: 2 additions & 1 deletion software/firmware/source/SoftRF/src/protocol/radio/APRS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ size_t aprs_encode(void *pkt, ufo_t *this_aircraft) {

char buf[APRS_PAYLOAD_SIZE];
uint32_t id = this_aircraft->addr & 0x00FFFFFF;
const char *ToCall = "OGFLR"; // TODO: make use of assigned APSRFx value

#if !defined(SOFTRF_ADDRESS)
uint8_t addr_type = ADDR_TYPE_ANONYMOUS;
Expand Down Expand Up @@ -267,7 +268,7 @@ size_t aprs_encode(void *pkt, ufo_t *this_aircraft) {
"%03d%05.2f%c"
"'"
"%03d/%03d/A=%06d !W00! id%08X +000fpm +0.0rot" /* " 7.8dB -1.6kHz gps8x3" */,
id, "OGFLR",
id, ToCall,
gnss.time.hour(), gnss.time.minute(), gnss.time.second(),
abs(lat_int), fabsf(lat_dec * 60), lat < 0 ? 'S' : 'N',
abs(lon_int), fabsf(lon_dec * 60), lon < 0 ? 'W' : 'E',
Expand Down

0 comments on commit 74cae6d

Please sign in to comment.