blob: 07401a00d6075577f7ebe9996035f5fcb93d261e [file] [log] [blame]
Armando Montanez70095662020-01-09 14:25:04 -08001# Copyright 2020 The Pigweed Authors
Armando Montaneza69244e2019-11-15 11:25:10 -08002#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
Wyatt Hepler1a960942019-11-26 14:13:38 -08004# use this file except in compliance with the License. You may obtain a copy of
5# the License at
Armando Montaneza69244e2019-11-15 11:25:10 -08006#
7# https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
Wyatt Hepler1a960942019-11-26 14:13:38 -080012# License for the specific language governing permissions and limitations under
13# the License.
Armando Montaneza69244e2019-11-15 11:25:10 -080014
Alexei Frolov47373492020-03-03 16:37:11 -080015source_filter: "^(FLASH|RAM)$"
Armando Montaneza69244e2019-11-15 11:25:10 -080016
17custom_data_source: {
18 name: "segment_names"
19 base_data_source: "segments"
20
21 rewrite: {
Armando Montanez70095662020-01-09 14:25:04 -080022 pattern: "LOAD #1"
Alexei Frolov47373492020-03-03 16:37:11 -080023 replacement: "FLASH"
Armando Montaneza69244e2019-11-15 11:25:10 -080024 }
25 rewrite: {
Armando Montanez70095662020-01-09 14:25:04 -080026 pattern: "LOAD #2"
Alexei Frolov47373492020-03-03 16:37:11 -080027 replacement: "RAM"
Armando Montaneza69244e2019-11-15 11:25:10 -080028 }
29}