CI: add build workflow (thumbv6m-none-eabi check); remove dead traveo-hal dependency (upstream repo 404, blocked all dependency resolution)
All checks were successful
build / build-test (push) Successful in 23s

This commit is contained in:
Jan-Peter von Hunnius 2026-09-01 06:24:59 +02:00
parent c27af61f27
commit b700752fa0
307 changed files with 1068 additions and 9 deletions

View file

@ -0,0 +1 @@
This file has an mtime of when this was started.

View file

@ -0,0 +1,66 @@
/* Infineon Traveo Memory Configuration for Cortex-M0+ */
/* Memory regions for Cortex-M0+ (Traveo II CYT2B7/CYT2B9) */
MEMORY
{
FLASH : ORIGIN = 0x10000000, LENGTH = 2112K
RAM : ORIGIN = 0x08000000, LENGTH = 256K
}
/* Stack and heap configuration */
_stack_start = ORIGIN(RAM) + LENGTH(RAM);
_heap_size = 32K;
/* Section definitions */
SECTIONS
{
.vector_table ORIGIN(FLASH) :
{
KEEP(*(.vector_table));
} > FLASH
.text :
{
*(.text .text.*);
} > FLASH
.rodata :
{
*(.rodata .rodata.*);
*(.srodata .srodata.*);
} > FLASH
.data : ALIGN(4)
{
_data_start = .;
*(.data .data.*);
_data_end = .;
} > RAM AT > FLASH
.bss : ALIGN(4)
{
_bss_start = .;
*(.bss .bss.*);
*(COMMON);
_bss_end = .;
} > RAM
.uninit : ALIGN(4)
{
_uninit_start = .;
*(.uninit .uninit.*);
_uninit_end = .;
} > RAM
/* Discard sections that shouldn't be linked */
/DISCARD/ :
{
*(.ARM.exidx .ARM.exidx.*);
*(.ARM.extab .ARM.extab.*);
}
}
/* Stack configuration */
PROVIDE(_stack_start = ORIGIN(RAM) + LENGTH(RAM));
PROVIDE(_heap_start = _bss_end);
PROVIDE(_heap_end = _heap_start + _heap_size);

View file

@ -0,0 +1,10 @@
cargo:rerun-if-changed=build.rs
cargo:rerun-if-changed=memory.x
cargo:rerun-if-changed=memory-m0.x
cargo:rustc-link-arg-bins=--script=memory-m0.x
cargo:rustc-link-arg=-Tmemory-m0.x
cargo:rustc-link-arg=-Tlink.x
cargo:rustc-link-arg=-lc
cargo:rustc-link-arg=-lm
cargo:rustc-link-arg=-lgcc
cargo:rustc-env=OPT_LEVEL=s

View file

@ -0,0 +1 @@
/home/jan/RustroverProjects/rustysar/target/thumbv6m-none-eabi/debug/build/rustysar-81206e6c6fc5cd9e/out