Hey,
This is in relation to the errata #198 where tx buffer for spim has to be assigned its own section in RAM. I've updated the linker file to do so but I want to add a compile-time check in the driver defining and using the buffer to make sure every app using the driver assigns the special RAM section to it. Is it possible to do so?
Thanks,
Vandita
Linker file section
```
SECTIONS
{
. = ALIGN(4);
/* placing spi tx buffer in own section at given address: */
.spiCOMMANDS 0x20008000 :
{
KEEP(*(.spicmdSection)) /* keep my variable even if not referenced */
. = 0x2000;
} > RAM
.mem_section_dummy_ram :
{
}
.log_dynamic_data :
{
PROVIDE(__start_log_dynamic_data = .);
KEEP(*(SORT(.log_dynamic_data*)))
PROVIDE(__stop_log_dynamic_data = .);
} > RAM
.fs_data :
{
PROVIDE(__start_fs_data = .);
KEEP(*(.fs_data))
PROVIDE(__stop_fs_data = .);
} > RAM
} INSERT AFTER .data;
```