forked from MikroElektronika/mikrosdk_v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmemake.txt
73 lines (63 loc) · 1.88 KB
/
memake.txt
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
type: library
target: lib_drv
#begin python
import re
drv_def_list = []
if re.match("(^STM32(.+)$)",MEMAKE_MCU_NAME):
drv_def_list.append("ANALOG_IN_RESOLUTION_MEMAKE=ANALOG_IN_RESOLUTION_12_BIT")
elif re.match("(^PIC18(.+)$)",MEMAKE_MCU_NAME):
drv_def_list.append("ANALOG_IN_RESOLUTION_MEMAKE=ANALOG_IN_RESOLUTION_12_BIT")
elif re.match("(^PIC32MZ(.+)$)",MEMAKE_MCU_NAME):
drv_def_list.append("ANALOG_IN_RESOLUTION_MEMAKE=ANALOG_IN_RESOLUTION_12_BIT")
elif re.match("(^PIC32MX(.+)$)",MEMAKE_MCU_NAME):
drv_def_list.append("ANALOG_IN_RESOLUTION_MEMAKE=ANALOG_IN_RESOLUTION_10_BIT")
else:
drv_def_list.append("ANALOG_IN_RESOLUTION_MEMAKE=ANALOG_IN_RESOLUTION_NOT_SET")
#end python
defines: {
<['\r\n'.join(drv_def_list)]>
}
sources: {
src/drv_digital_in.c
src/drv_digital_out.c
src/drv_port.c
src/drv_uart.c
src/drv_i2c_master.c
src/drv_pwm.c
src/drv_spi_master.c
src/drv_analog_in.c
}
headers: {
include/drv_analog_in.h
include/drv_digital_in.h
include/drv_digital_out.h
include/drv_i2c_master.h
include/drv_port.h
include/drv_spi_master.h
include/drv_uart.h
include/drv_name.h
include/drv_pwm.h
}
include: {
./include
}
expInclude: {
include/drv
}
depends: {
MikroC.Core
MikroSDK.Hal
MikroSDK.RingBuffer
}
install: {
src(include/drv_analog_in.h) dst(include/drv/drv_analog_in.h)
src(include/drv_digital_in.h) dst(include/drv/drv_digital_in.h)
src(include/drv_digital_out.h) dst(include/drv/drv_digital_out.h)
src(include/drv_i2c_master.h) dst(include/drv/drv_i2c_master.h)
src(include/drv_port.h) dst(include/drv/drv_port.h)
src(include/drv_spi_master.h) dst(include/drv/drv_spi_master.h)
src(include/drv_uart.h) dst(include/drv/drv_uart.h)
src(include/drv_pwm.h) dst(include/drv/drv_pwm.h)
src(include/drv_name.h) dst(include/drv/drv_name.h)
}
alias: MikroSDK.Driver