Skip to content

SDK v0.5.1

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Jul 15:06
· 572 commits to main since this release

New Features

Zero Page Sections

The SDK now supports placing sections in the available zero page for all supported targets. To be placed by the target linker scripts, zero page sections must begin with the prefix .zp. By default, sections placed here will be uninitialized at program load time, the semantics are equivalent to the .noinit section in main memory. If a zero page section is prefixed by .zp.bss, the program will initialize it with zeroes at startup, like with .bss. If it is instead prefixed by .zp.data, then the contents of the section will be copied into the zero page at startup, like with .data on ROM targets. Note that the copy routines aren't particularly well optimized yet; they just use the 16-bit memcpy, pending further work on the C side for supporting zero page addressing.

Bug Fixes

  • Fixed internal compiler error where multi-byte increment pseudoinstruction might escape lowering.
  • Fixed inline assembly constraint R in clang; added operand size checking for c and v.