Browse Source

tools: make tools python2 compatible

This allows the tools to be used for Python 2 and Python 3.
pull/520/head
Ayke van Laethem 5 years ago
committed by Ron Evans
parent
commit
7938740bf3
  1. 4
      tools/gen-device-avr.py
  2. 4
      tools/gen-device-svd.py

4
tools/gen-device-avr.py

@ -1,4 +1,6 @@
#!/usr/bin/env python3
#!/usr/bin/env python
from __future__ import print_function
import sys
import os

4
tools/gen-device-svd.py

@ -1,4 +1,6 @@
#!/usr/bin/env python3
#!/usr/bin/env python
from __future__ import print_function
import sys
import os

Loading…
Cancel
Save