Skip to content

bl_factory_params_IoTKitA_40M.dts is not compliable with dtc #97

Description

@licheng-public

There are some minor issues in bl_iot_sdk/tools/flash_tool/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts, which makes compiling with dtc impossible.

Here is the quick fix to address the issue.

    diff --git a/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts b/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts
    index 4f02725..ddd5473 100644
    --- a/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts
    +++ b/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts
    @@ -1,5 +1,5 @@
     /dts-v1/;
    -/include/ "bl602_base.dtsi";
    +///include/ "bl602_base.dtsi";
     // version: 17
     // last_comp_version: 16
     // boot_cpuid_phys: 0x0
    @@ -35,8 +35,10 @@
                 feature = "button";
                 active = "Hi";
                 mode = "multipress";
    +            hbn_use = "disable";
                 button {
                     debounce = <10>;
    +                trig_level = "Hi";
                     short_press_ms {
                         start = <100>;
                         end = <3000>;
    @@ -51,9 +53,7 @@
                         start = <15000>;
                         kevent = <4>;
                     };
    -                trig_level = "Hi";
                 };
    -            hbn_use = "disable";
             };
         };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions