Skip to content

Commit

Permalink
Merge pull request #573 from flit/feature/license_headers
Browse files Browse the repository at this point in the history
License headers take 2 and more
  • Loading branch information
flit authored Mar 13, 2019
2 parents bc057ef + c15a921 commit 6294dc8
Show file tree
Hide file tree
Showing 56 changed files with 605 additions and 638 deletions.
31 changes: 15 additions & 16 deletions pyocd/board/__init__.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2013,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2013,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

31 changes: 15 additions & 16 deletions pyocd/board/board.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2013,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2013,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ..target import TARGET
from ..target.pack import pack_target
Expand Down
31 changes: 15 additions & 16 deletions pyocd/gdbserver/context_facade.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2016,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2016,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ..utility import conversion
from ..core.memory_map import MemoryType
Expand Down
31 changes: 15 additions & 16 deletions pyocd/probe/pydapaccess/cmsis_dap_core.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2013,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2013,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import array
from .dap_access_api import DAPAccessIntf
Expand Down
31 changes: 15 additions & 16 deletions pyocd/probe/pydapaccess/dap_access_api.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2013,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2013,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


from enum import Enum
Expand Down
31 changes: 15 additions & 16 deletions pyocd/probe/pydapaccess/dap_access_cmsis_dap.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2013,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2013,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


import re
Expand Down
31 changes: 15 additions & 16 deletions pyocd/probe/pydapaccess/interface/interface.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2013,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2013,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


class Interface(object):
Expand Down
2 changes: 1 addition & 1 deletion pyocd/target/builtin/target_K32W042S1M2xxx.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
'analyzer_address' : 0x8000000, # Analyzer 0x8000000..0x80000600
'page_buffers' : [0x20003000, 0x20004000], # Enable double buffering
'min_program_length' : 8,
};
}

class K32W042S(Kinetis):

Expand Down
2 changes: 1 addition & 1 deletion pyocd/target/builtin/target_LPC1114FN28_102.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'page_size' : 0x00001000,
'min_program_length' : 1024,
'analyzer_supported' : False,
};
}

class Flash_lpc11xx_32(Flash):
def __init__(self, target):
Expand Down
2 changes: 1 addition & 1 deletion pyocd/target/builtin/target_LPC11U24FBD64_401.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
'static_base' : 0x1000019c,
'min_program_length' : 256,
'analyzer_supported' : False
};
}

class Flash_lpc11u24(Flash):

Expand Down
2 changes: 1 addition & 1 deletion pyocd/target/builtin/target_LPC1768.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'min_program_length' : 256,
'analyzer_supported' : True,
'analyzer_address' : 0x10002000 # Analyzer 0x10002000..0x10002600
};
}

class Flash_lpc1768(Flash):

Expand Down
33 changes: 16 additions & 17 deletions pyocd/target/builtin/target_LPC4330.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2015,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2015,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ...core.coresight_target import (SVDFile, CoreSightTarget)
from ...core.memory_map import (FlashRegion, RamRegion, MemoryMap)
Expand Down Expand Up @@ -311,7 +310,7 @@
'min_program_length' : 512,
'analyzer_supported' : False, # Analyzer works, but would fail if a full ROM analysis was performed since there is not enough ram
'analyzer_address' : 0x10005000 # Analyzer 0x10005000..0x10005600
};
}

class LPC4330(CoreSightTarget):

Expand Down
2 changes: 1 addition & 1 deletion pyocd/target/builtin/target_LPC54114J256BD64.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
'page_size' : 0x00000100,
'min_program_length' : 256,
'analyzer_supported' : False
};
}

class Flash_lpc54114(Flash):
def __init__(self, target):
Expand Down
2 changes: 1 addition & 1 deletion pyocd/target/builtin/target_LPC54608J512ET180.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
'page_size' : 0x00000100,
'min_program_length' : 256,
'analyzer_supported' : False
};
}

class Flash_lpc54608(Flash):
def __init__(self, target):
Expand Down
33 changes: 16 additions & 17 deletions pyocd/target/builtin/target_MAX32600.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
"""
mbed CMSIS-DAP debugger
Copyright (c) 2006-2013,2018 ARM Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# pyOCD debugger
# Copyright (c) 2006-2013,2018 Arm Limited
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from ...flash.flash import Flash
from ...core.coresight_target import CoreSightTarget
Expand Down Expand Up @@ -51,7 +50,7 @@
'min_program_length' : 4,
'analyzer_supported' : True,
'analyzer_address' : 0x20004000 # Analyzer 0x20004000..0x20004600
};
}

class MAX32600(CoreSightTarget):

Expand Down
Loading

0 comments on commit 6294dc8

Please sign in to comment.