playdate cake

This commit is contained in:
2025-12-10 15:01:20 -06:00
parent 752479e250
commit d0f5dc6951
14 changed files with 2635 additions and 4 deletions

View File

@@ -10,8 +10,20 @@ return {
cpu_family: 'arm',
cpu: 'cortex-m7',
endian: 'little',
c_args: ['-mcpu=cortex-m7', '-mthumb', '-mfloat-abi=hard', '-mfpu=fpv5-sp-d16', '-fno-exceptions'],
c_link_args: ['-mcpu=cortex-m7', '-mthumb', '-mfloat-abi=hard', '-mfpu=fpv5-sp-d16', '-nostartfiles', "-T/Users/john/Developer/PlaydateSDK/C_API/buildsupport/link_map.ld"]
c_args: ['-DTARGET_PLAYDATE=1', '-DTARGET_EXTENSION=1', '-mcpu=cortex-m7', '-mthumb', '-mfloat-abi=hard', '-mfpu=fpv5-sp-d16', '-fno-exceptions'],
c_link_args: ['-mcpu=cortex-m7', '-mthumb', '-mfloat-abi=hard', '-mfpu=fpv5-sp-d16', '-nostartfiles', '-T/Users/john/Developer/PlaydateSDK/C_API/buildsupport/link_map.ld']
},
playdate_simulator: {
c: 'clang',
cpp: 'clang++',
ar: 'ar',
strip: 'strip',
system: 'playdate',
cpu_family: 'x86_64',
cpu: 'x86_64',
endian: 'little',
c_args: ['-U__APPLE__ -DTARGET_SIMULATOR=1', '-DTARGET_EXTENSION=1', '-fPIC'],
c_link_args: ['-shared']
},
windows: {
c: 'x86_64-w64-mingw32-gcc',