variant.cpp 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. Copyright (c) 2014-2015 Arduino LLC. All right reserved.
  3. Copyright (c) 2016 Sandeep Mistry All right reserved.
  4. Copyright (c) 2018, Adafruit Industries (adafruit.com)
  5. This library is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU Lesser General Public
  7. License as published by the Free Software Foundation; either
  8. version 2.1 of the License, or (at your option) any later version.
  9. This library is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. See the GNU Lesser General Public License for more details.
  13. You should have received a copy of the GNU Lesser General Public
  14. License along with this library; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. */
  17. #include "variant.h"
  18. #include "wiring_constants.h"
  19. #include "wiring_digital.h"
  20. #include "nrf.h"
  21. const uint32_t g_ADigitalPinMap[] =
  22. {
  23. // P0
  24. 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 ,
  25. 8 , 9 , 10, 11, 12, 13, 14, 15,
  26. 16, 17, 18, 19, 20, 21, 22, 23,
  27. 24, 25, 26, 27, 28, 29, 30, 31,
  28. // P1
  29. 32, 33, 34, 35, 36, 37, 38, 39,
  30. 40, 41, 42, 43, 44, 45, 46, 47
  31. };
  32. void initVariant()
  33. {
  34. }