We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c164410 commit 00a530fCopy full SHA for 00a530f
samples/subsys/usb/mtp/boards/rpi_pico.overlay
@@ -0,0 +1,36 @@
1
+/*
2
+ * Copyright (c) 2024 Kelly Lord
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+
7
+&flash0 {
8
+ partitions {
9
+ compatible = "fixed-partitions";
10
+ #address-cells = <1>;
11
+ #size-cells = <1>;
12
13
+ storage_partition: partition@100000 {
14
+ label = "storage";
15
+ reg = <0x100000 DT_SIZE_M(1)>;
16
+ };
17
18
+};
19
20
+/ {
21
+ fstab {
22
+ compatible = "zephyr,fstab";
23
+ lfs1: lfs1 {
24
+ compatible = "zephyr,fstab,littlefs";
25
+ read-size = <32>;
26
+ prog-size = <32>;
27
+ cache-size = <256>;
28
+ lookahead-size = <64>;
29
+ block-cycles = <512>;
30
+ partition = <&storage_partition>;
31
+ mount-point = "/lfs1";
32
+ automount;
33
+ mtp-enabled;
34
35
36
0 commit comments