Update missing licenses and rat excludes
diff --git a/.rat-excludes b/.rat-excludes
index 672c0e7..bed75ef 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -28,3 +28,6 @@
 
 # mbuf implementation - BSD License
 os_mbuf.c
+
+# Bluetooth Mesh badge sample - Apache 2.0 License
+mesh_badge
diff --git a/targets/dialog_cmac/pkg.yml b/targets/dialog_cmac/pkg.yml
index 31242b2..0b0ef27 100644
--- a/targets/dialog_cmac/pkg.yml
+++ b/targets/dialog_cmac/pkg.yml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
+
 pkg.name: targets/dialog_cmac
 pkg.type: target
 pkg.description: Sample target for BLE controller on Dialog CMAC
diff --git a/targets/dialog_cmac/syscfg.yml b/targets/dialog_cmac/syscfg.yml
index 2f4d334..b94427a 100644
--- a/targets/dialog_cmac/syscfg.yml
+++ b/targets/dialog_cmac/syscfg.yml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
+
 syscfg.vals:
     MCU_DEEP_SLEEP: 1
     MCU_SLP_TIMER: 1
diff --git a/targets/dialog_cmac/target.yml b/targets/dialog_cmac/target.yml
index e3ca85c..c28cf3e 100644
--- a/targets/dialog_cmac/target.yml
+++ b/targets/dialog_cmac/target.yml
@@ -1,3 +1,22 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you 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.
+#
+
 target.app: "@apache-mynewt-nimble/apps/blehci"
 target.bsp: "@apache-mynewt-core/hw/bsp/dialog_cmac"
 target.build_profile: speed