micropython/ports/cc3200/util
Jim Mussared 710426024a all: Factor gchelper code to one place and use it for unix & ARM ports.
No functionality change is intended with this commit, it just consolidates
the separate implementations of GC helper code to the lib/utils/ directory
as a general set of helper functions useful for any port.  This reduces
duplication of code, and makes it easier for future ports or embedders to
get the GC implementation correct.

Ports should now link against gchelper_native.c and either gchelper_m0.s or
gchelper_m3.s (currently only Cortex-M is supported but other architectures
can follow), or use the fallback gchelper_generic.c which will work on
x86/x64/ARM.

The gc_helper_get_sp function from gchelper_m3.s is not really GC related
and was only used by cc3200, so it has been moved to that port and renamed
to cortex_m3_get_sp.
2020-04-29 23:45:19 +10:00
..
cortex_m3_get_sp.s all: Factor gchelper code to one place and use it for unix & ARM ports. 2020-04-29 23:45:19 +10:00
cryptohash.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
cryptohash.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
fifo.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
fifo.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
gccollect.c all: Factor gchelper code to one place and use it for unix & ARM ports. 2020-04-29 23:45:19 +10:00
gccollect.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
random.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
random.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
sleeprestore.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
sleeprestore.s ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
socketfifo.c ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00
socketfifo.h ports: Make new ports/ sub-directory and move all ports there. 2017-09-06 13:40:51 +10:00