esp-idf-hal/riscv-ulp/riscv_ulp_start_assemble.ps1
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

8 lines
373 B
PowerShell

# remove existing blob because otherwise this will append object file to the old blob
Remove-Item -Force 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
Remove-Item riscv_ulp_start.o