I modified the wiring.c file and removed the lines:
for (uint32_t ul = 0 ; ul < NUM_DIGITAL_PINS ; ul++ )
{
pinMode( ul, INPUT ) ;
}
But I didn't noticed any change.
Then I upgraded the Arduino Samd board manager (32-bits ARM Cortex-M0+) 1.6.21 to 1.8.1
And now the current in deepsleep in 0 !! (I mean not measurable)
I'm not specialist and I can't explain why ...
If someone can provide some informations ...
Thanks