Solved
How to I properly initialize the IO register bits connected to the SWIM pin? (The application does not use this pin for anything)
..
..
You don't have to do anything, SWIM pin is auto configured as input with pullup after reset. For safety reasons you should however disable SWIM by setting the SWD bit, so no one can access your code for reading.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.