esp-idf-hal/riscv-ulp/riscv_ulp_start_assemble.sh
Ivan Markov 73181d3730
Ulp fsm peripheral (#37)
* ULP peripheral; ULP HAL code renamed

* Use an enum for the chip cores

* riscv-ulp-hal feature bugfixes

* Fix the CI for ULP as well
2022-01-19 21:35:44 +02:00

12 lines
377 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
# remove existing blob because otherwise this will append object file to the old blob
rm -f riscv_ulp_start.a
riscv32-esp-elf-gcc -Desp_ulp -ggdb3 -fdebug-prefix-map=$(pwd)=/riscv_ulp_start -c -mabi=ilp32 -march=rv32imc riscv_ulp_start.S -o riscv_ulp_start.o
riscv32-esp-elf-ar crs libriscv_ulp_start.a riscv_ulp_start.o
rm riscv_ulp_start.o