Re: [PATCH] Avoid StopIteration exception for non-rtems .pc

2023-10-05 Thread Chris Johns
Hi Martin, Thanks for posting the patch. I have pushed it. I have pushed an update after running the change through yapf. I forgot to do that before pushing. I will also add a new function to the rtems module as a separate patch: +def arch_bsp(ctx): +""" Return the list of arch/bsps we are b

Re: [PATCH] Avoid StopIteration exception for non-rtems .pc

2023-10-05 Thread Gedare Bloom
LGTM On Thu, Oct 5, 2023 at 7:40 AM Martin Erik Werner wrote: > > _arch_from_arch_bsp() and _bsp_from_arch_bsp() has overly optimistic > assumptions that the argument must contain a '-'-separated field which > starts with "rtems". These functions are intended to find the target > triplet or the b

Re: [PATCH] Avoid StopIteration exception for non-rtems .pc

2023-10-05 Thread Frank Kühndel
graphic -M xilinx-zynq-a9 -kernel build/arm-rtems6-xilinx_zynq_a9_qemu/hello.exe The hello world executable I used runs fine. Many thanks again, fk On 10/5/23 15:40, Martin Erik Werner wrote: Subject: [PATCH] Avoid StopIteration exception for non-rtems .pc From: Martin Erik Werner Date: 10/5/23,

[PATCH] Avoid StopIteration exception for non-rtems .pc

2023-10-05 Thread Martin Erik Werner
_arch_from_arch_bsp() and _bsp_from_arch_bsp() has overly optimistic assumptions that the argument must contain a '-'-separated field which starts with "rtems". These functions are intended to find the target triplet or the bsp parts of strings like "sparc-gaisler-rtems5-leon3" and "arm-rtems6-xili