Skip to content

Commit a9f5278

Browse files
committed
solve conflicts
2 parents 01a7a8f + d9c39e2 commit a9f5278

3 files changed

Lines changed: 23 additions & 20 deletions

File tree

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
- name: Clippy Devices
4040
run: |
4141
cd device
42-
echo Clippy $package
4342
for package in $(ls -d usb*); do
44-
(cd $package && cargo clippy -- --Dwarnings)
43+
echo Clippy $package
44+
(cd $package && cargo clippy -- -Dwarnings)
4545
done
4646
- name: Clippy Rust Host
4747
run: |

.gitignore

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
# Generated by Cargo
2-
# will have compiled files and executables
3-
debug/
4-
target/
1+
# MacOS
2+
#
3+
# Folder view configuration files
4+
.DS_Store
5+
Desktop.ini
56

6-
# These are backup files generated by rustfmt
7-
**/*.rs.bk
7+
# Thumbnail cache files
8+
._*
9+
Thumbs.db
810

9-
# MSVC Windows builds of rustc generate these, which store debugging information
10-
*.pdb
11+
# Files that might appear on external disks
12+
.Spotlight-V100
13+
.Trashes
1114

12-
# RustRover
13-
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
14-
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
15-
# and can be added to the global gitignore or merged into this file. For a more nuclear
16-
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
17-
#.idea/
15+
# Compiled Python files
16+
*.pyc
17+
18+
# Compiled C++ files
19+
*.out
20+
21+
# Application specific files
22+
venv
23+
node_modules
24+
.sass-cache

device/usb-bulk-stm32-nucleo-u545re/src/main.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ async fn main(_spawner: Spawner) {
4545
// make sure you provide the `config` parameter here instead of `Default::default()`
4646
let peripherals = embassy_stm32::init(config);
4747

48-
// let mut config = embassy_stm32::usb::Config::default();
49-
50-
// config.vbus_detection = false;
51-
5248
let driver = Driver::new(peripherals.USB, Irqs, peripherals.PA12, peripherals.PA11);
5349

5450
// Create embassy-usb Config

0 commit comments

Comments
 (0)