0bd1eb80ff
- Split 'qemu-arm' from 'unix' for generating tests. - Add frozen module to the qemu-arm test build. - Add test that reproduces the requirement to half-word align native function data.
14 lines
184 B
Python
14 lines
184 B
Python
import micropython
|
|
|
|
@micropython.native
|
|
def native_x(x):
|
|
print(x + 1)
|
|
|
|
@micropython.native
|
|
def native_y(x):
|
|
print(x + 1)
|
|
|
|
@micropython.native
|
|
def native_z(x):
|
|
print(x + 1)
|