@@ -500,11 +500,21 @@ def _combine_bins_helper(target_name, binf):
500
500
os .remove (binf )
501
501
os .rename (target , binf )
502
502
503
+ @staticmethod
504
+ def combine_bins_mts_dot (t_self , resources , elf , binf ):
505
+ """A hook for the MTS MDOT"""
506
+ MTSCode ._combine_bins_helper ("MTS_MDOT_F411RE" , binf )
507
+
503
508
@staticmethod
504
509
def combine_bins_mts_dragonfly (t_self , resources , elf , binf ):
505
510
"""A hoof for the MTS Dragonfly"""
506
511
MTSCode ._combine_bins_helper ("MTS_DRAGONFLY_F411RE" , binf )
507
512
513
+ @staticmethod
514
+ def combine_bins_mtb_mts_dragonfly (t_self , resources , elf , binf ):
515
+ """A hook for the MTB MTS Dragonfly"""
516
+ MTSCode ._combine_bins_helper ("MTB_MTS_DRAGONFLY" , binf )
517
+
508
518
509
519
class LPC4088Code (object ):
510
520
"""Code specific to the LPC4088"""
@@ -621,6 +631,14 @@ def binary_hook(t_self, resources, _, binf):
621
631
binh .write_hex_file (fileout , write_start_addr = False )
622
632
623
633
634
+ class NCS36510TargetCode (object ):
635
+ @staticmethod
636
+ def ncs36510_addfib (t_self , resources , elf , binf ):
637
+ from tools .targets .NCS import add_fib_at_start
638
+ print ("binf " , binf )
639
+ add_fib_at_start (binf [:- 4 ])
640
+
641
+
624
642
class RTL8195ACode (object ):
625
643
"""RTL8195A Hooks"""
626
644
@staticmethod
0 commit comments