Attention is currently required from: Edward O'Callaghan, Anastasia Klimchuk, Peter Marheine.
4 comments:
File meson.build:
Patch Set #2, Line 98: # 'deps' : list[dep], # fallback: []
Could each dep list additional files that it requires? It looks like every programmer that depends o […]
I'll have a deeper look at it. But I don't think so. I would prefer to have all code needed to build a programmer in the programmers `srcs` list. The code in `pcidev.c` is just a bunch of functions that is shared between programmers.
Patch Set #2, Line 418: p_x.get('deps',[])
deps is already defaulted to [] above, so this doesn't need to specify a fallback.
Done
Patch Set #2, Line 427: elif selected and available
Seems clearer to nest these, since it isn't immediately obvious that this is the same condition as a […]
I found non nested if statements easier. We would need more than 2 levels of nesting to get this right.
selected
(y) / \ (n)
available selected_all+available
(y) / \ (n) (y) / \ (n)
deps_found error() deps_found selected_auto+available+deps_found
(y) / \ (no) (y) / \ (n) (y) |
active=true error() active=true error() active=true
Patch Set #2, Line 464: if host_machine.system() in systems_serial_support
Could we avoid building this if no programmer needs serial? Might need a bit of rework to express it […]
I haven't looked deeply into the serial code how to build it the bust way. But I think there is code shared between the programmer (`serial.c`) and code to support the operating system (`custom_baud/_linux/.c`). For now I've put it to the respective programmer.
To view, visit change 63724. To unsubscribe, or for help writing mail filters, visit settings.