Skip to content

Commit

Permalink
sanitycheck: Add support for section net_l2_data
Browse files Browse the repository at this point in the history
We missed that section, so sanitycheck was failing.
Also putting the right section in the relevant array.

Change-Id: I361ffa1707c01f0d3c870a7bc36a86ada66af1d2
Signed-off-by: Tomasz Bursztyka <[email protected]>
  • Loading branch information
Tomasz Bursztyka authored and jukkar committed Dec 2, 2016
1 parent 1975c1d commit b56c4df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/sanitycheck
Original file line number Diff line number Diff line change
Expand Up @@ -463,11 +463,11 @@ class SizeCalculator:
"_k_mem_slab_area", "_k_mem_pool_area",
"_k_sem_area", "_k_mutex_area", "_k_alert_area",
"_k_fifo_area", "_k_lifo_area", "_k_stack_area",
"_k_msgq_area", "_k_mbox_area", "_k_pipe_area"]
"_k_msgq_area", "_k_mbox_area", "_k_pipe_area",
"net_if", "net_l2_data", "net_nbr"]
# These get copied into RAM only on non-XIP
ro_sections = ["text", "ctors", "init_array", "reset",
"rodata", "devconfig",
"net_if", "net_l2", "net_nbr"]
"rodata", "devconfig", "net_l2"]

def __init__(self, filename, extra_sections):
"""Constructor
Expand Down

0 comments on commit b56c4df

Please sign in to comment.