work1
Dependencies: mbed MAX44009 mbed-os Si7021
Diff: mbed_app.json
- Revision:
- 0:d3e390d62607
- Child:
- 2:25f27478fdf9
diff -r 000000000000 -r d3e390d62607 mbed_app.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_app.json Wed May 27 11:37:29 2020 +0000 @@ -0,0 +1,93 @@ +{ + "config": { + "timer-thread-stack-size":{ "value": "#error"}, + "thread-stack-size":{ "value": "#error"}, + "main_stack_size":{ "value": "#error"}, + "trace-level": { + "help": "Options are TRACE_LEVEL_ERROR,TRACE_LEVEL_WARN,TRACE_LEVEL_INFO,TRACE_LEVEL_DEBUG", + "macro_name": "MBED_TRACE_MAX_LEVEL", + "value": "TRACE_LEVEL_DEBUG" + }, + + "lora-radio": { + "help": "Which radio to use (options: SX126X, SX1272, SX1276) -- See config/ dir for example configs", + "value": "SX1276" + }, + + "lora-spi-mosi": { "value": "NC" }, + "lora-spi-miso": { "value": "NC" }, + "lora-spi-sclk": { "value": "NC" }, + "lora-cs": { "value": "NC" }, + "lora-reset": { "value": "NC" }, + "lora-dio0": { "value": "NC" }, + "lora-dio1": { "value": "NC" }, + "lora-dio2": { "value": "NC" }, + "lora-dio3": { "value": "NC" }, + "lora-dio4": { "value": "NC" }, + "lora-dio5": { "value": "NC" }, + "lora-rf-switch-ctl1": { "value": "NC" }, + "lora-rf-switch-ctl2": { "value": "NC" }, + "lora-txctl": { "value": "NC" }, + "lora-rxctl": { "value": "NC" }, + "lora-ant-switch": { "value": "NC" }, + "lora-pwr-amp-ctl": { "value": "NC" }, + "lora-tcxo": { "value": "NC" }, + "run-mode": { + "value": "RUN_MODE_STANDARD", + "help": "When enable the sample are transmitted each minutes in alternative mode" + } + }, + "macros": [ "ID1=0x1FF80050", + "ID2=0x1FF80054", + "ID3=0x1FF80064", + "UNIQUE_DEVICE_EUI={ (uint8_t)( ( *( uint32_t* )ID2 ) ), (uint8_t)(( ( *( uint32_t* )ID2 ) ) >> 8), (uint8_t)(( ( *( uint32_t* )ID2 ) ) >> 16), (uint8_t)(( ( *( uint32_t* )ID2 ) ) >> 24), (uint8_t)( ( *( uint32_t* )ID1 )+ ( *( uint32_t* )ID3 ) ), (uint8_t)(( ( *( uint32_t* )ID1 )+ ( *( uint32_t* )ID3 ) ) >> 8), (uint8_t)(( ( *( uint32_t* )ID1 )+ ( *( uint32_t* )ID3 ) ) >> 16), (uint8_t)(( ( *( uint32_t* )ID1 )+ ( *( uint32_t* )ID3 ) ) >> 24) }"], + "target_overrides": { + "*": { + "mbed-trace.enable": 1, + "target.lowpowertimer_lptim": false, + "target.lse-available": true, + "events.use-lowpower-timer-ticker": true, + "events.shared-highprio-stacksize": "#error", + "events.shared-eventsize": "16*EVENTS_EVENT_SIZE", + "platform.stdio-convert-newlines": true, + "platform.stdio-baud-rate": 230400, + "platform.default-serial-baud-rate": 230400, + "lora.public-network": true, + "lora.max-sys-rx-error": 200, + "lora.over-the-air-activation": true, + "lora.duty-cycle-on": true, + "lora.duty-cycle-on-join": false, + "lora.phy": "EU868", + "lora.device-eui": "UNIQUE_DEVICE_EUI", + "lora.application-eui": "{ 0xE6, 0x43, 0xEE, 0x79, 0x89, 0x1C, 0x21, 0x93}", + "lora.application-key": "{ 0x12, 0xDF, 0xFF, 0x85, 0xDF, 0xC8, 0x1D, 0x78, 0xA2, 0xD1, 0x18, 0xCA, 0x26, 0x84, 0x02, 0x67 }" + }, + + + "AGR0": { + "main_stack_size": 1024, + "lora-radio": "SX1276", + "lora-spi-mosi": "LORA_SPI_MOSI", + "lora-spi-miso": "LORA_SPI_MISO", + "lora-spi-sclk": "LORA_SPI_SCLK", + "lora-cs": "LORA_CS", + "lora-reset": "LORA_RESET", + "lora-dio0": "LORA_DIO0", + "lora-dio1": "LORA_DIO1", + "lora-dio2": "LORA_DIO2", + "lora-dio3": "LORA_DIO3", + "lora-dio4": "NC", + "lora-dio5": "NC", + "lora-rf-switch-ctl1": "NC", + "lora-rf-switch-ctl2": "NC", + "lora-txctl": "LORA_ANT_TX", + "lora-rxctl": "LORA_ANT_RX", + "lora-ant-switch": "NC", + "lora-pwr-amp-ctl": "NC", + "lora-tcxo": "LORA_TXCO" + } + }, + "macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_lora_config.h\""] +} + +