Skip to content

Commit

Permalink
samples/tests: reduce ram & code size for failing tests on nRF5x boards
Browse files Browse the repository at this point in the history
These samples/tests fail to build on some of the nRF5x platforms.  We
don't need Bluetooth enabled for these tests so we can reduce footprint
by turning it off.

Change-Id: I87e62a1d70f80d2bc22414d6a9e591e36ad9fa06
Signed-off-by: Kumar Gala <[email protected]>
  • Loading branch information
galak authored and Anas Nashif committed Jan 10, 2017
1 parent 183e417 commit d19910f
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/legacy/kernel_event_logger/nanokernel/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ CONFIG_KERNEL_EVENT_LOGGER_INTERRUPT=y
CONFIG_KERNEL_EVENT_LOGGER_SLEEP=y
CONFIG_IDLE_STACK_SIZE=512
CONFIG_LEGACY_KERNEL=y
CONFIG_BLUETOOTH=n
1 change: 1 addition & 0 deletions samples/legacy/philosophers/nanokernel/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
CONFIG_LEGACY_KERNEL=y
CONFIG_BLUETOOTH=n
1 change: 1 addition & 0 deletions tests/kernel/mem_slab/prj.conf
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# nothing yet
CONFIG_BLUETOOTH=n
3 changes: 3 additions & 0 deletions tests/legacy/benchmark/latency_measure/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ CONFIG_SYS_CLOCK_TICKS_PER_SEC=1
# We use irq_offload(), enable it
CONFIG_IRQ_OFFLOAD=y
CONFIG_LEGACY_KERNEL=y

# Reduce memory/code footprint
CONFIG_BLUETOOTH=n
1 change: 1 addition & 0 deletions tests/legacy/kernel/test_events/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_IRQ_OFFLOAD=y
CONFIG_LEGACY_KERNEL=y
CONFIG_BLUETOOTH=n
1 change: 1 addition & 0 deletions tests/legacy/kernel/test_map/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_NUM_IRQS=2
CONFIG_LEGACY_KERNEL=y
CONFIG_BLUETOOTH=n
1 change: 1 addition & 0 deletions tests/legacy/kernel/test_map_priv/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_NUM_IRQS=2
CONFIG_LEGACY_KERNEL=y
CONFIG_BLUETOOTH=n
1 change: 1 addition & 0 deletions tests/legacy/kernel/test_sema/microkernel/prj.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
CONFIG_IRQ_OFFLOAD=y
CONFIG_LEGACY_KERNEL=y
CONFIG_BLUETOOTH=n
1 change: 1 addition & 0 deletions tests/legacy/kernel/test_sema/nanokernel/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CONFIG_NANO_TIMEOUTS=y
CONFIG_IRQ_OFFLOAD=y
CONFIG_LEGACY_KERNEL=y
CONFIG_BLUETOOTH=n

0 comments on commit d19910f

Please sign in to comment.