All new devices starting with API level 5.1.0 should support the ":extendedCode" option, but my compiler tells me
WARNING: instinct3amoled45mm: Extended code space is not supported for device 'instinct3amoled45mm'. The (:extendedCode) annotation will be ignored.
WARNING: instinct3amoled50mm: Extended code space is not supported for device 'instinct3amoled50mm'. The (:extendedCode) annotation will be ignored.
WARNING: fr57047mm: Extended code space is not supported for device 'fr57047mm'. The (:extendedCode) annotation will be ignored.
WARNING: vivoactive6: Extended code space is not supported for device 'vivoactive6'. The (:extendedCode) annotation will be ignored.
WARNING: fr970: Extended code space is not supported for device 'fr970'. The (:extendedCode) annotation will be ignored.
WARNING: fr57042mm: Extended code space is not supported for device 'fr57042mm'. The (:extendedCode) annotation will be ignored.
WARNING: venux1: Extended code space is not supported for device 'venux1'. The (:extendedCode) annotation will be ignored.