added cc40 system ram addressing and configurable ramsize