Skip to content

Commit 4f4698e

Browse files
committed
Rename Telemetry & GS Projects
1 parent bc34566 commit 4f4698e

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/merge-criteria.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ jobs:
189189
run: |
190190
platformio run -d ${{ matrix.project }}
191191
if [[ "${{ matrix.project }}" == "ground_station" ]]; then
192-
python ${{ matrix.project }}/uf2_loader.py ${{ matrix.project }}/.pio/build/esp32-s2-saola-1/firmware
192+
python ${{ matrix.project }}/uf2_loader.py ${{ matrix.project }}/.pio/build/ground_station/firmware
193193
fi
194194
195195
- name: Generate compile_commands.json

ground_station/platformio.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
; SOFTWARE.
3131
;******************************************************************************
3232

33-
[env:esp32-s2-saola-1]
33+
[env:ground_station]
3434
board = esp32-s2-saola-1
3535
framework = arduino
3636
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.06.04/platform-espressif32.zip
@@ -67,7 +67,7 @@ build_flags =
6767
-DCFG_TUSB_CONFIG_FILE='"sdkconfig.h"' ; Use default TinyUSB configuration
6868
-DFIRMWARE_VERSION='"1.1.0"' ; Enter Firmware Version here
6969
-DUSB_MANUFACTURER='"CATS"' ; USB Manufacturer string
70-
-DUSB_PRODUCT='"CATS Groundstation"' ; USB Product String
70+
-DUSB_PRODUCT='"CATS Ground Station"' ; USB Product String
7171
-D USB_SERIAL="0" ; Enter Device Serial Number here
7272
-D USB_VID=0x239A ; Default Adafruit USB VID
7373
-D USB_PID=0x80AB ; Default Adafruit USB PID
@@ -114,13 +114,13 @@ extra_scripts =
114114

115115
upload_protocol = custom
116116
upload_flags =
117-
${env:esp32-s2-saola-1.build_flags} ; Pass build flags as argument to python script
118-
COMPARE_SERIAL_NUMBER=false ; Download only to devices with specified USB Serial Number, otherwise to all connected devices
119-
USE_SERIAL_NUMBER_LIST=false ; Overwrite single USB Serial Number (USB_SERIAL) with list of accepted Serial Numbers
120-
SERIAL_NUMBER_LIST=["0", "1", "2"] ; List of specific USB Serial Numbers to program and open COM-Port (if enabled)
121-
ENABLE_AUTOMATIC_CONSOLE=false ; Enables automatic opening of serial ports
122-
COMPARE_VID_PID_CONSOLE=true ; Open only COM-Ports with same VID/PID as specified above (USB_VID, USB_PID)
123-
USE_TABS_CONSOLE=true ; Use Windows Terminal Tabs-Feature (One Tab for each COM-Port) -> Not fully implemented yet
117+
${env:ground_station.build_flags} ; Pass build flags as argument to python script
118+
COMPARE_SERIAL_NUMBER=false ; Download only to devices with specified USB Serial Number, otherwise to all connected devices
119+
USE_SERIAL_NUMBER_LIST=false ; Overwrite single USB Serial Number (USB_SERIAL) with list of accepted Serial Numbers
120+
SERIAL_NUMBER_LIST=["0", "1", "2"] ; List of specific USB Serial Numbers to program and open COM-Port (if enabled)
121+
ENABLE_AUTOMATIC_CONSOLE=false ; Enables automatic opening of serial ports
122+
COMPARE_VID_PID_CONSOLE=true ; Open only COM-Ports with same VID/PID as specified above (USB_VID, USB_PID)
123+
USE_TABS_CONSOLE=true ; Use Windows Terminal Tabs-Feature (One Tab for each COM-Port) -> Not fully implemented yet
124124

125125
check_tool = clangtidy
126126
check_flags =

ground_station/uf2_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def download(self, inputPath):
294294
# If this script is called directly, it converts the .bin binary into the .UF2 binary
295295
if __name__ == "__main__":
296296
loader = UF2Loader("ESP32S2", 0)
297-
binary_path = ".pio/build/esp32-s2-saola-1/firmware"
297+
binary_path = ".pio/build/ground_station/firmware"
298298
# if an argument is passed to the script, use it as the path to the binary
299299
if len(sys.argv) > 1:
300300
binary_path = sys.argv[1]

telemetry/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
; Please visit documentation for the other options and examples
99
; https://docs.platformio.org/page/projectconf.html
1010

11-
[env:g071]
11+
[env:telemetry]
1212

1313
platform = ststm32
1414
platform_packages = platformio/toolchain-gccarmnoneeabi@^1.100301.220327

0 commit comments

Comments
 (0)