CoreIF for F2/F4 is not different, use CPUID to distinguish. F4 errata seems to give...
[fw/stlink] / 49-stlinkv1.rules
1 # stm32 discovery boards, with onboard st/linkv1
2 # ie, STM32VL
3
4 SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", \
5     MODE:="0666", \
6     SYMLINK+="stlinkv1_%n"
7
8 # If you share your linux system with other users, or just don't like the
9 # idea of write permission for everybody, you can replace MODE:="0666" with
10 # OWNER:="yourusername" to create the device owned by you, or with
11 # GROUP:="somegroupname" and mange access using standard unix groups.