forked from lancaster-university/codal-microbit-v2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
target.json
77 lines (76 loc) · 3.13 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
76
77
{
"device":"MICROBIT",
"processor":"NRF52833",
"architecture":"CORTEX_M4F",
"toolchain":"ARM_GCC",
"post_process":"",
"generate_bin":true,
"generate_hex":true,
"config":{
"MBED_CONF_NORDIC_NRF_LF_CLOCK_SRC": "NRF_LF_SRC_XTAL",
"CONFIG_GPIO_AS_PINRESET": 1,
"CONFIG_NFCT_PINS_AS_GPIOS": 1,
"DEVICE_SRAM_BASE":"0x20000000",
"DEVICE_SRAM_END":"0x20020000",
"DEVICE_STACK_BASE":"DEVICE_SRAM_END",
"DEVICE_STACK_SIZE":2048,
"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::Down",
"DEVICE_PANIC_HEAP_FULL":1,
"DMESG_SERIAL_DEBUG":0,
"CODAL_DEBUG":"CODAL_DEBUG_DISABLED",
"DEVICE_USB":0,
"CODAL_TIMESTAMP":"uint64_t",
"PROCESSOR_WORD_TYPE":"uint32_t",
"DEVICE_I2C_IRQ_SHARED":1,
"CODAL_PROVIDE_PRINTF":1,
"NRF52ADC_SOFTWARE_OVERSAMPLING": 1,
"NRF52I2C_ERRATA_219": 1,
"TOUCH_BUTTON_SENSITIVITY": 5,
"TOUCH_BUTTON_CALIBRATION_PERIOD": 500,
"TOUCH_BUTTON_DECAY_AVERAGE": 2,
"LED_MATRIX_MAXIMUM_BRIGHTNESS": 245,
"LED_MATRIX_MINIMUM_BRIGHTNESS": 1,
"CAPTOUCH_DEFAULT_CALIBRATION" : 3500,
"HARDWARE_NEOPIXEL": 1,
"CODAL_TIMER_32BIT": 1,
"DEVICE_BLE": 1,
"CODAL_VERSION": "\"unknown\""
},
"definitions":"-DAPP_TIMER_V2 -DAPP_TIMER_V2_RTC1_ENABLED -DNRF_DFU_TRANSPORT_BLE=1 -DNRF52833_XXAA -DNRF52833 -DTARGET_MCU_NRF52833 -DNRF5 -DNRF52833 -D__CORTEX_M4 -DS113 -DTOOLCHAIN_GCC -D__START=target_start",
"cmake_definitions":{
"MBED_LEGACY_TOOLCHAIN":"GCC_ARM;"
},
"cpu_opts":"-mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp",
"asm_flags":"-fno-exceptions -fno-unwind-tables --specs=nosys.specs -mcpu=cortex-m4 -mthumb",
"c_flags":"-std=c99 --specs=nosys.specs -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 -Wl,--wrap,atexit -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group",
"libraries":[
{
"name":"codal-core",
"url":"https://github.com/lancaster-university/codal-core",
"branch":"master",
"type":"git"
},
{
"name":"codal-nrf52",
"url":"https://github.com/lancaster-university/codal-nrf52",
"branch":"master",
"type":"git"
},
{
"name":"codal-microbit-nrf5sdk",
"url":"https://github.com/microbit-foundation/codal-microbit-nrf5sdk",
"branch":"master",
"type":"git"
}
]
}