-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtarget.json
62 lines (62 loc) · 2.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
{
"device":"PI-PICO",
"processor":"RP2040",
"architecture":"CORTEX_M0_PLUS",
"toolchain":"ARM_GCC",
"post_process":"./build/elf2uf2 <OUTPUT_ELF_LOCATION> <OUTPUT_HEX_DESTINATION>/<OUTPUT_HEX_NAME>.uf2",
"pre_process":"python ./utils/call_cmake.py ./libraries/codal-rp2040/pico-sdk/tools/elf2uf2 -f elf2uf2 -o ./build",
"generate_bin":true,
"generate_hex":true,
"config":{
"CODAL_TIMESTAMP":"uint64_t",
"USB_EP_FLAG_NO_AUTO_ZLP":"0x01",
"USB_EP_FLAG_ASYNC":"0x02",
"DEVICE_SRAM_BASE":"0x20000000",
"DEVICE_SRAM_END":"0x20042000",
"DEVICE_STACK_BASE":"DEVICE_SRAM_END",
"DEVICE_STACK_SIZE":8192,
"TARGET_DEBUG_CLASS":"NOT_IMPLEMENTED",
"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":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,
"USB_MAX_PKT_SIZE":64,
"USB_DEFAULT_VID": "0x2e8a",
"USB_DEFAULT_PID": "0x93bf",
"DEVICE_USB_ENDPOINTS":16,
"DEVICE_USB_ENDPOINT_SHARING":1,
"PROCESSOR_WORD_TYPE":"uint32_t",
"FORCE_RAM_FUNC": "__attribute__((noinline, long_call, section(\".time_critical.codal\")))",
"REAL_TIME_FUNC": "__attribute__((section(\".time_critical.codal\")))"
},
"definitions":"-DPICO_FLOAT_SUPPORT_ROM_V1 -DPICO_DOUBLE_SUPPORT_ROM_V1",
"cpu_opts":"-mcpu=cortex-m0plus -mthumb",
"asm_flags":"",
"c_flags":"",
"cpp_flags":"-std=c++11 -fwrapv -fno-rtti -fno-threadsafe-statics -fno-exceptions -fno-unwind-tables -Wl,--gc-sections -Wl,--sort-common -Wno-ignored-qualifiers",
"linker_flags":"",
"libraries":[
{
"name":"codal-core",
"url":"https://github.com/lancaster-university/codal-core",
"branch":"master",
"type":"git"
},
{
"name":"codal-rp2040",
"url":"https://github.com/lancaster-university/codal-rp2040",
"branch":"master",
"type":"git"
}
]
}