-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtarget.json
70 lines (70 loc) · 2.74 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
{
"device":"ITSYBITSY_M4",
"processor":"ATSAMD51G19A",
"architecture":"CORTEX_M4",
"toolchain":"ARM_GCC",
"post_process":"python ./utils/uf2conv.py -b 0x00004000 -o <OUTPUT_HEX_DESTINATION>/<OUTPUT_HEX_NAME>.uf2 -c <OUTPUT_BIN_LOCATION>",
"generate_bin":true,
"generate_hex":true,
"config":{
"DEVICE_SRAM_BASE":"0x20000000",
"DEVICE_SRAM_END":"0x20030000",
"DEVICE_STACK_BASE":"DEVICE_SRAM_END",
"DEVICE_STACK_SIZE":10240,
"DEVICE_HEAP_ALLOCATOR":1,
"DEVICE_TAG":0,
"SCHEDULER_TICK_PERIOD_US":4000,
"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":60,
"DEVICE_DEFAULT_PULLMODE":"PullMode::None",
"DEVICE_PANIC_HEAP_FULL":1,
"DEVICE_DMESG_BUFFER_SIZE":2048,
"CODAL_DEBUG":"CODAL_DEBUG_DISABLED",
"DEVICE_USB":0,
"CODAL_TIMESTAMP":"uint64_t",
"PROCESSOR_WORD_TYPE":"uint32_t",
"SAMD51":1,
"SAMD_PIN_ARRAY":1,
"USE_FULL_ASSERT": 1,
"USB_MAX_PKT_SIZE": 64,
"BOOTLOADER_START_ADDR" : "0x00000000",
"BOOTLOADER_END_ADDR": "0x00004000",
"APP_START_ADDR": "0x00004000",
"UF2_INFO_ADDR": "(const char*)(*(uint32_t*)(BOOTLOADER_END_ADDR - (16 * 4) + (4 * 4)))",
"USB_EP_FLAG_NO_AUTO_ZLP" :"0x01",
"DEVICE_USB_ENDPOINTS": 6,
"CODAL_CPU_MHZ": 120,
"SAMD_PIN_ARRAY":1,
"USB_DEFAULT_VID": "0x03eb",
"USB_DEFAULT_PID": "0x2066",
"SERCOM_100MHZ_CLOCK": 1,
"PROTOTYPE_SERCOM_SPI_M_SYNC": "SERCOM0",
"PROTOTYPE_SERCOM_I2CM_SYNC": "SERCOM1",
"PROTOTYPE_SERCOM_USART_ASYNC": "SERCOM2"
},
"definitions":" -DSAMDX1 -D__SAMD51J19A__",
"cmake_definitions":{
},
"cpu_opts":"-mcpu=cortex-m4 -mthumb -mfloat-abi=softfp -mfpu=fpv4-sp-d16",
"asm_flags":"-fno-exceptions -fno-unwind-tables",
"c_flags":"-std=c99 -fwrapv -Warray-bounds",
"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 -Wno-array-bounds",
"linker_flags":"-Wl,--no-wchar-size-warning -Wl,--gc-sections -mcpu=cortex-m4 -mthumb -u Reset_Handler",
"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"
}
]
}