Skip to content

Commit 13364f9

Browse files
authored
Create board.c
1 parent b923324 commit 13364f9

File tree

1 file changed

+57
-0
lines changed
  • ports/atmel-samd/boards/mini_sam_m4

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Skip to content
2+
3+
Search or jump to
4+
5+
Pull requests
6+
Issues
7+
Marketplace
8+
Explore
9+
@bwshockley Sign out
10+
1
11+
0 1,975 bwshockley/circuitpython
12+
forked from adafruit/circuitpython
13+
Code Pull requests 0 Projects 0 Insights Settings
14+
circuitpython/ports/atmel-samd/boards/itsybitsy_m4_express/board.c
15+
2a26dac on Apr 12
16+
@tannewt tannewt Add initial ItsyBitsy M4 support
17+
18+
40 lines (35 sloc) 1.42 KB
19+
/*
20+
* This file is part of the MicroPython project, http://micropython.org/
21+
*
22+
* The MIT License (MIT)
23+
*
24+
* Copyright (c) 2017 Scott Shawcroft for Adafruit Industries
25+
*
26+
* Permission is hereby granted, free of charge, to any person obtaining a copy
27+
* of this software and associated documentation files (the "Software"), to deal
28+
* in the Software without restriction, including without limitation the rights
29+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30+
* copies of the Software, and to permit persons to whom the Software is
31+
* furnished to do so, subject to the following conditions:
32+
*
33+
* The above copyright notice and this permission notice shall be included in
34+
* all copies or substantial portions of the Software.
35+
*
36+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42+
* THE SOFTWARE.
43+
*/
44+
45+
#include "boards/board.h"
46+
#include "mpconfigboard.h"
47+
#include "hal/include/hal_gpio.h"
48+
49+
void board_init(void) {
50+
}
51+
52+
bool board_requests_safe_mode(void) {
53+
return false;
54+
}
55+
56+
void reset_board(void) {
57+
}

0 commit comments

Comments
 (0)