-
Notifications
You must be signed in to change notification settings - Fork 1
/
target.json
75 lines (75 loc) · 3.38 KB
/
target.json
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
74
75
{
"device":"MKR1300",
"processor":"SAMD21G18A",
"architecture":"CORTEX_M0_PLUS",
"toolchain":"ARM_GCC",
"post_process":"python ./utils/uf2conv.py -o <OUTPUT_HEX_DESTINATION>/<OUTPUT_HEX_NAME>.uf2 -c <OUTPUT_BIN_LOCATION>",
"generate_bin":true,
"generate_hex":true,
"config":{
"CODAL_TIMESTAMP":"uint64_t",
"USB_MAX_PKT_SIZE": 64,
"DEVICE_USB_ENDPOINTS":8,
"USB_DEFAULT_PID":"0x2402",
"USB_DEFAULT_VID":"0x03EB",
"USB_EP_FLAG_NO_AUTO_ZLP":"0x01",
"DEVICE_SRAM_BASE":"0x20000000",
"DEVICE_SRAM_END":"0x20008000",
"DEVICE_STACK_BASE":"DEVICE_SRAM_END",
"DEVICE_STACK_SIZE":2048,
"TARGET_DEBUG_CLASS":"NOT_IMPLEMENTED",
"DEVICE_HEAP_ALLOCATOR":1,
"DEVICE_TAG":0,
"SCHEDULER_TICK_PERIOD_US":6000,
"EVENT_LISTENER_DEFAULT_FLAGS":"MESSAGE_BUS_LISTENER_QUEUE_IF_BUSY",
"MESSAGE_BUS_LISTENER_MAX_QUEUE_DEPTH":10,
"USE_ACCEL_LSB":0,
"DEVICE_DEFAULT_SERIAL_MODE":"SYNC_SLEEP",
"DEVICE_COMPONENT_COUNT":30,
"DEVICE_DEFAULT_PULLMODE":"PullMode::None",
"DEVICE_PANIC_HEAP_FULL":1,
"DEVICE_DMESG":1,
"DEVICE_DMESG_BUFFER_SIZE":1024,
"CODAL_DEBUG":0,
"DEVICE_USB":1,
"BOOTLOADER_START_ADDR": "0x00000000",
"BOOTLOADER_END_ADDR": "0x00002000",
"PROCESSOR_WORD_TYPE":"uint32_t"
},
"definitions":"-DCONF_CLOCKS_H_INCLUDED -DGCLK_PERIPHERAL_CLOCK=GCLK_GENERATOR_3 -DDEVICE_ANALOGIN -DDEVICE_ANALOGOUT -DDEVICE_I2C -DDEVICE_I2CSLAVE -DDEVICE_I2C_ASYNCH -DDEVICE_INTERRUPTIN -DDEVICE_PORTIN -DDEVICE_PORTINOUT -DDEVICE_PORTOUT -DDEVICE_RTC -DDEVICE_SERIAL -DDEVICE_SERIAL_ASYNCH -DDEVICE_SERIAL_FC -DDEVICE_SLEEP -DDEVICE_SPI -DDEVICE_PWMOUT -DDEVICE_SPISLAVE -DDEVICE_SPI_ASYNCH -DCONF_CLOCKS_H_INCLUDED -DGCLK_PERIPHERAL_CLOCK=GCLK_GENERATOR_3 -D__SAMD21G18A__ -D__CORTEX_M0PLUS -D__MBED__=1 -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DMBED_OPERATORS -DTARGET_ARDUINO_MKR1300_G18A -DI2C_MASTER_CALLBACK_MODE=true -DEXTINT_CALLBACK_MODE=true -DUSART_CALLBACK_MODE=true -DTC_ASYNC=true",
"cmake_definitions":{
"MBED_LEGACY_TARGET_DEFINITIONS":"ARDUINO_MKR1300_G18A;Atmel;SAM_CortexM0P;SAMD21",
"MBED_LEGACY_TOOLCHAIN":"GCC_ARM;"
},
"cpu_opts":"-mcpu=cortex-m0plus -mthumb",
"asm_flags":"-fno-exceptions -fno-unwind-tables --specs=nosys.specs",
"c_flags":"-std=c99 --specs=nosys.specs",
"cpp_flags":"-std=c++11 -fwrapv -fno-rtti -fno-threadsafe-statics -fno-exceptions -fno-unwind-tables -Wl,--gc-sections -Wl,--sort-common -Wl,--sort-section=alignment",
"linker_flags":"-Wl,--no-wchar-size-warning,-wrap,main",
"libraries":[
{
"name":"codal-core",
"url":"https://github.com/lancaster-university/codal-core",
"branch":"master",
"type":"git"
},
{
"name":"mbed-classic",
"url":"https://github.com/lancaster-university/mbed-classic",
"branch":"new-build-system",
"type":"git"
},
{
"name":"codal-samd21",
"url":"https://github.com/lancaster-university/codal-samd21",
"branch":"master",
"type":"git"
},
{
"name":"codal-mbed",
"url":"https://github.com/lancaster-university/codal-mbed",
"branch":"master",
"type":"git"
}
]
}