I was reading the the specification of LoRaWAN, a network for IoT which uses AES for the security, when I saw this:
Note: The network server uses an AES decrypt operation in ECB mode to encrypt the join-accept message so that the end-device can use an AES encrypt operation to decrypt the message. This way an end-device only has to implement AES encrypt but not AES decrypt.
This Q&A, along with several other sources*, indicates that ECB should not be used. The answer of the question linked add that "OFB/CFB is better because you only need encryption and not decryption, which can save code space". So why have the conceptors of LoRaWAN choosen to use ECB?
*: Wikipedia gives a striking example with a picture ciphered with AES-ECB.