nrf: use assembly for nrf52, not nrf51
Slightly increase code size, but this is the more correct thing to do.
Этот коммит содержится в:
родитель
87963d3d5b
коммит
c554c7c009
1 изменённых файлов: 1 добавлений и 1 удалений
|
@ -2,7 +2,7 @@
|
|||
"llvm-target": "armv7m-none-eabi",
|
||||
"build-tags": ["nrf", "nrf52", "nrf52832", "js", "wasm"],
|
||||
"linker": "arm-none-eabi-gcc",
|
||||
"pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "targets/arm.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-D__STARTUP_CLEAR_BSS", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/gcc_startup_nrf51.S", "lib/nrfx/mdk/system_nrf52.c"],
|
||||
"pre-link-args": ["-nostdlib", "-nostartfiles", "-mcpu=cortex-m4", "-mthumb", "-T", "targets/arm.ld", "-Wl,--gc-sections", "-fno-exceptions", "-fno-unwind-tables", "-ffunction-sections", "-fdata-sections", "-Os", "-DNRF52832_XXAA", "-D__STARTUP_CLEAR_BSS", "-Ilib/CMSIS/CMSIS/Include", "lib/nrfx/mdk/gcc_startup_nrf52.S", "lib/nrfx/mdk/system_nrf52.c"],
|
||||
"objcopy": "arm-none-eabi-objcopy",
|
||||
"flash": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset"
|
||||
}
|
||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче