-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharm_atsam_protocol.h
53 lines (38 loc) · 1.21 KB
/
arm_atsam_protocol.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/*
Copyright 2019 Massdrop Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "samd51j18a.h"
#ifdef MD_BOOTLOADER
#include <stdlib.h> //For abs()
#include "config.h" //From keyboard's directory
#endif
#include "md_bootloader.h"
#include "d51_util.h"
#include "quantum.h"
#include "timer.h"
#include "wait.h"
#include "clks.h"
#include "adc.h"
#include "i2c_master.h"
#include "spi.h"
#include "power.h"
#include "./usb/usb2422.h"
#ifndef MD_BOOTLOADER
#include "main_arm_atsam.h"
#include "led_matrix.h"
#include "issi3733_driver.h"
#include "./usb/compiler.h"
#include "./usb/udc.h"
#include "./usb/udi_cdc.h"
#endif //MD_BOOTLOADER