Skip to content

Commit

Permalink
fix flutter dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Barabas5532 committed Aug 3, 2024
1 parent 0897315 commit c727ebd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dart/shrapnel_common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
esp_softap_provisioning:
git:
url: https://github.com/ShrapnelDSP/esp_softap_provisioning.git
ref: shrapnel
ref: no-flutter
freezed_annotation: ^2.4.4
logging: ^1.2.0

Expand Down
2 changes: 1 addition & 1 deletion dart/shrapnel_test_lib/lib/src/shrapnel_test_lib_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ Future<void> nvsSave(String binaryPath, {required String port}) async {
'-b 2000000 '
'--before default_reset --after hard_reset '
'--chip esp32 '
'read_flash --flash_mode dio --flash_size 4MB --flash_freq 80m '
'read_flash '
'0x9000 0x6000 $binaryPath'
.split(' ');

Expand Down
2 changes: 1 addition & 1 deletion dart/shrapnel_test_lib/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
esp_softap_provisioning:
git:
url: https://github.com/ShrapnelDSP/esp_softap_provisioning.git
ref: shrapnel
ref: no-flutter
flutter_libserialport: ^0.4.0
logging: ^1.2.0
path: ^1.8.0
Expand Down
2 changes: 2 additions & 0 deletions dart/shrapnel_test_tool/lib/shrapnel_test_tool.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ void main(List<String> arguments) {

_log.info('hello $arguments');
nvsSave('nvs_${DateTime.now().toIso8601String()}.bin', port: '/dev/ttyUSB0');

// TODO Add command to reload from file
}
12 changes: 2 additions & 10 deletions dart/shrapnel_test_tool/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ packages:
dependency: transitive
description:
path: "."
ref: shrapnel
resolved-ref: f4d5fc671568f50753fc90c3e9b99bc2165c6a39
ref: no-flutter
resolved-ref: "9edee663e053efb8668dd591b09a0c989b0a21c6"
url: "https://github.com/ShrapnelDSP/esp_softap_provisioning.git"
source: git
version: "1.0.1"
Expand Down Expand Up @@ -482,14 +482,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.3.2"
universal_io:
dependency: transitive
description:
name: universal_io
sha256: "1722b2dcc462b4b2f3ee7d188dad008b6eb4c40bbd03a3de451d82c78bba9aad"
url: "https://pub.dev"
source: hosted
version: "2.2.2"
vector_math:
dependency: transitive
description:
Expand Down

0 comments on commit c727ebd

Please sign in to comment.