Skip to content

Commit

Permalink
device.ini according json files
Browse files Browse the repository at this point in the history
  • Loading branch information
elral committed Feb 28, 2024
1 parent 50fe671 commit a2e0e72
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 14Segment/14Segment_platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ framework = arduino
build_flags =
${env_14seg.build_flags} ; don't change this one!
-I./src/_Boards/Atmel/Board_Mega ; Include the required board definition. If you need your own definition, adapt this to your path (e.g. -I./CustomDevices/_template/_Boards)
'-DMOBIFLIGHT_TYPE="elral 14Segment Mega"' ; this must match with "MobiFlightType" within the .json file
'-DMOBIFLIGHT_TYPE="Elral_14Segment"' ; this must match with "MobiFlightType" within the .json file
'-DMOBIFLIGHT_NAME="Elral 14Segment"' ; this will show up as Name in the settings dialog unless it gets change from there
build_src_filter =
${env.build_src_filter} ; don't change this one!
Expand Down Expand Up @@ -58,7 +58,7 @@ upload_protocol = mbed
build_flags =
${env_14seg.build_flags} ; don't change this one!
-I./src/_Boards/RaspberryPi/Pico ; Include the required board definition. If you need your own definition, adapt this to your path (e.g. -I./CustomDevices/_template/_Boards)
'-DMOBIFLIGHT_TYPE="Elral 14Segment RaspiPico"' ; this must match with "MobiFlightType" within the .json file
'-DMOBIFLIGHT_TYPE="Elral_14Segment"' ; this must match with "MobiFlightType" within the .json file
'-DMOBIFLIGHT_NAME="Elral 14Segment"' ; this will show up as Name in the settings dialog unless it gets change from there
build_src_filter =
${env.build_src_filter} ; don't change this one!
Expand Down
4 changes: 2 additions & 2 deletions 14Segment/Community/boards/elral_14segment_mega.board.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"FirmwareBaseName": "elral_14Segment_mega",
"FirmwareExtension": "hex",
"LatestFirmwareVersion": "0.9.0",
"FriendlyName": "Elral 14Segment",
"MobiFlightType": "Elral 14Segment Mega",
"FriendlyName": "Elral 14Segment Mega",
"MobiFlightType": "Elral_14Segment",
"ResetFirmwareFile": "reset.arduino_mega_1_0_2.hex",
"CustomDeviceTypes": [
"Elral_14Segment"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"CanResetBoard": true,
"FirmwareBaseName": "elral_14Segment_raspberrypico",
"FirmwareExtension": "uf2",
"FriendlyName": "Elral 14Segment",
"FriendlyName": "Elral 14Segment RaspiPico",
"LatestFirmwareVersion": "0.9.0",
"MobiFlightType": "Elral 14Segment RaspiPico",
"MobiFlightType": "Elral_14Segment",
"ResetFirmwareFile": "reset.raspberry_pico_flash_nuke.uf2",
"CustomDeviceTypes": [
"Elral_14Segment"
Expand Down

0 comments on commit a2e0e72

Please sign in to comment.