Skip to content

Commit

Permalink
Add optimization options for CC13x2x7 platform (#13226)
Browse files Browse the repository at this point in the history
  • Loading branch information
adabreuti authored Jan 4, 2022
1 parent 4b9ead6 commit 98f58bf
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 15 deletions.
8 changes: 7 additions & 1 deletion examples/lock-app/cc13x2x7_26x2x7/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ ti_simplelink_sysconfig_target =

ti_simplelink_board = "LP_CC2652R7"

# use -Os instead of -Og
# Size Optimizations
# use -Os instead of -Og, LWIP release build
#is_debug = false

# Disable CHIP Logging
#chip_progress_logging = false
#chip_detail_logging = false
#chip_automation_logging = false

# BLE options
chip_config_network_layer_ble = true
chip_bypass_rendezvous = false
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#define CHIP_PROJECT_CONFIG_H

#if BUILD_RELEASE // release build

#else // development build
// Note: Default Pairing/PIN/Serial Numbers being used. These should not be enabled for production builds
#endif // BUILD_RELEASE

// Use a default pairing code if one hasn't been provisioned in flash.
#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE 20202021
Expand All @@ -47,8 +47,6 @@
*/
#define CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER "TEST_SN"

#endif // BUILD_RELEASE

/**
* CHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID
*
Expand Down
8 changes: 7 additions & 1 deletion examples/pump-app/cc13x2x7_26x2x7/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ ti_simplelink_sysconfig_target =

ti_simplelink_board = "LP_CC2652R7"

# use -Os instead of -Og
# Size Optimizations
# use -Os instead of -Og, LWIP release build
#is_debug = false

# Disable CHIP Logging
#chip_progress_logging = false
#chip_detail_logging = false
#chip_automation_logging = false

# BLE options
chip_config_network_layer_ble = true
chip_bypass_rendezvous = false
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#define CHIP_CONFIG_REQUIRE_AUTH 1

#if BUILD_RELEASE // release build

#else // development build
// Note: Default Pairing/PIN/Serial Numbers being used. These should not be enabled for production builds
#endif // BUILD_RELEASE

// Use a default pairing code if one hasn't been provisioned in flash.
#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE 20202021
Expand All @@ -51,8 +51,6 @@
*/
#define CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER "TEST_SN"

#endif // BUILD_RELEASE

/**
* CHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID
*
Expand Down
8 changes: 7 additions & 1 deletion examples/pump-controller-app/cc13x2x7_26x2x7/args.gni
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,15 @@ ti_simplelink_sysconfig_target =

ti_simplelink_board = "LP_CC2652R7"

# use -Os instead of -Og
# Size Optimizations
# use -Os instead of -Og, LWIP release build
#is_debug = false

# Disable CHIP Logging
#chip_progress_logging = false
#chip_detail_logging = false
#chip_automation_logging = false

# BLE options
chip_config_network_layer_ble = true
chip_bypass_rendezvous = false
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#define CHIP_CONFIG_REQUIRE_AUTH 1

#if BUILD_RELEASE // release build

#else // development build
// Note: Default Pairing/PIN/Serial Numbers being used. These should not be enabled for production builds
#endif // BUILD_RELEASE

// Use a default pairing code if one hasn't been provisioned in flash.
#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE 20202021
Expand All @@ -51,8 +51,6 @@
*/
#define CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER "TEST_SN"

#endif // BUILD_RELEASE

/**
* CHIP_DEVICE_CONFIG_DEVICE_VENDOR_ID
*
Expand Down

0 comments on commit 98f58bf

Please sign in to comment.