sipeed / bl602-hal

Hardware Abstract Layer for BL602 RISC-V WiFi + BLE SoC in embedded Rust
Other
74 stars 14 forks source link

Linker script does not exclude cache ram #33

Closed 9names closed 2 years ago

9names commented 2 years ago

The ITCM region is conditionally used as the Flash Cache. The default cache config is the maximal one, with 32KiB used by the cache and 16KiB available as SRAM itcm_details . The current linker script does not exclude this region, which means any variables placed in this region are not written.