| { |
| "macros": ["MBEDTLS_USER_CONFIG_FILE=\"chip_mbedtls_config.h\""], |
| "target_overrides": { |
| "*": { |
| "platform.stdio-baud-rate": 115200, |
| "lwip.ipv6-enabled": true, |
| "lwip.raw-socket-enabled": true, |
| "lwip.netbuf-recvinfo-enabled": true, |
| "nsapi.default-wifi-security": "WPA_WPA2", |
| "nsapi.default-wifi-ssid": "\"YOUR_SSID\"", |
| "nsapi.default-wifi-password": "\"YOUR_PASSWORD\"", |
| "mbed-trace.max-level": "TRACE_LEVEL_DEBUG", |
| "mbed-trace.enable": true, |
| "target.printf_lib": "std", |
| "mcuboot.bootloader-build": false, |
| "mcuboot.log-enable": true, |
| "mcuboot.log-level": "MCUBOOT_LOG_LEVEL_ERROR" |
| }, |
| "CY8CPROTO_062_4343W": { |
| "target.network-default-interface-type": "WIFI", |
| "target.macros_add": [ |
| "MXCRYPTO_DISABLED", |
| "NL_ASSERT_LOG=NL_ASSERT_LOG_DEFAULT", |
| "NL_ASSERT_EXPECT_FLAGS=NL_ASSERT_FLAG_LOG", |
| "WHD_PRINT_DISABLE" |
| ], |
| "target.components_add": ["capsense"], |
| "lock-state-led": "P9_6", |
| "lock-button": "USER_BUTTON", |
| "mcuboot.primary-slot-address": "0x10022000", |
| "mcuboot.slot-size": "0x180000", |
| "mcuboot.scratch-address": "0x101A2000", |
| "mcuboot.scratch-size": "0x40000", |
| "mcuboot.max-img-sectors": "0xC00", |
| "mcuboot.header-size": "0x400" |
| } |
| }, |
| "config": { |
| "led-active-state": { |
| "help": "GPIO output to turn the LED on.", |
| "value": 0 |
| }, |
| "system-state-led": { |
| "help": "System status LED.", |
| "value": "LED1" |
| }, |
| "lock-state-led": { |
| "help": "Lock status LED.", |
| "value": "LED2" |
| }, |
| "function-button": { |
| "help": "Function button pin.", |
| "value": "BUTTON1" |
| }, |
| "lock-button": { |
| "help": "Lock botton pin.", |
| "value": "BUTTON2" |
| }, |
| "actuator-movement-period-ms": { |
| "help": "Time it takes in ms for the simulated actuator to move from one state to another.", |
| "value": 2000 |
| }, |
| "factory-reset-trigger-timeout": { |
| "help": "'function-button' press timeout to trigger a factory reset (in milliseconds).", |
| "value": 3000 |
| }, |
| "factory-reset-cancel-window-timeout": { |
| "help": "'function-button' press timeout to cancel a factory reset (in milliseconds). The total 'function-button' press time to have the factory reset actually initiated is equal to 'factory-reset-trigger-timeout' + 'factory-reset-cancel-window-timeout'.", |
| "value": 3000 |
| }, |
| "ble-device-name": { |
| "help": "Name used for BLE advertising.", |
| "value": "\"MBED-lock\"" |
| }, |
| "version-number": { |
| "value": "0" |
| }, |
| "version-number-str": { |
| "value": "\"0.1.0\"" |
| }, |
| "vendor-id": { |
| "value": "0xFFF1" |
| }, |
| "product-id": { |
| "value": "0x8006" |
| } |
| } |
| } |