• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#include "../../hcs/v200zr.hcs"
2root {
3    platform {
4        gpio_config {
5            match_attr = "gpio_config";
6            pin = [0, 1];
7            // touch_ztw523: TSP_RST - GPIO12, TSP_INT-GPIO27
8            // touch_fts: TSP_RST - GPIO05, TSP_INT-GPIO27
9            realPin = [5, 27];
10            config = [5, 2];
11            pinNum = 2;
12        }
13    }
14    misc {
15        fs_config {
16            littlefs_config {
17                match_attr = "littlefs_config";
18                mount_points = ["/data"];
19                partitions = [10];
20                blockSize = [4096];
21                blockCount = [1024];
22            }
23        }
24        storage_config {
25            flash_config {
26                match_attr = "flash_config";
27                partitions = [10];
28                owner = [0];
29                description = ["littlefs"];
30                start_addr = [0xB60000];
31                length = [0x400000];
32                options = [3];
33            }
34        }
35    }
36}
37