-
Notifications
You must be signed in to change notification settings - Fork 6
/
target.json
68 lines (67 loc) · 2.48 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
{
"device":"CIRCUIT_PLAYGROUND",
"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":0,
"BOOTLOADER_START_ADDR": "0x00000000",
"BOOTLOADER_END_ADDR": "0x00002000",
"PROCESSOR_WORD_TYPE":"uint32_t",
"SAMD21":1,
"SAMD_PIN_ARRAY":1,
"USE_FULL_ASSERT": 1,
"CODAL_CPU_MHZ": 48,
"SAMD_PIN_ARRAY":1,
"PROTOTYPE_SERCOM_SPI_M_SYNC": "SERCOM0",
"PROTOTYPE_SERCOM_I2CM_SYNC": "SERCOM1",
"PROTOTYPE_SERCOM_USART_ASYNC": "SERCOM2"
},
"definitions":"-DSAMDX1 -D__SAMD21G18A__",
"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",
"libraries":[
{
"name":"codal-core",
"url":"https://github.com/lancaster-university/codal-core",
"branch":"master",
"type":"git"
},
{
"name":"codal-samd",
"url":"https://github.com/lancaster-university/codal-samd",
"branch":"master",
"type":"git"
}
]
}