Skip to content

Commit

Permalink
Fix ZEPHYR_DATA_REGION_START for zephyr 4
Browse files Browse the repository at this point in the history
This has been fixed in upstream Zephyr, so make it conditional.
  • Loading branch information
noahp committed Nov 4, 2024
1 parent 6599e33 commit 1a8dd1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/memfault_platform_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
extern "C" {
#endif

#if defined(CONFIG_SOC_FAMILY_ESP32)
#if KERNEL_VERSION_NUMBER > ZEPHYR_VERSION(3, 7, 0)
#define ZEPHYR_DATA_REGION_START _data_start
#define ZEPHYR_DATA_REGION_END _data_end
#endif
Expand Down
2 changes: 1 addition & 1 deletion prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ CONFIG_LOG_PRINTK=n
CONFIG_LOG_MODE_IMMEDIATE=y

# Disable these temporarily, for debugging.
CONFIG_MEMFAULT_COREDUMP_COLLECT_DATA_REGIONS=n
CONFIG_MEMFAULT_COREDUMP_COLLECT_DATA_REGIONS=y
CONFIG_MEMFAULT_COREDUMP_COLLECT_KERNEL_REGION=n
CONFIG_MEMFAULT_COREDUMP_COLLECT_TASKS_REGIONS=n

Expand Down

0 comments on commit 1a8dd1c

Please sign in to comment.