TrampolineRTOS / trampoline

Trampoline is a static RTOS for small embedded systems. Its API is aligned with OSEK/VDX OS and AUTOSAR OS 4.2 standards.
GNU General Public License v2.0
620 stars 269 forks source link

Example build issue : Teensy 3.1 isr2onPIT #144

Closed RICCIARDI-Adrien closed 1 year ago

RICCIARDI-Adrien commented 1 year ago
ar@t490s:~/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onPIT$ ../../../../../../goil/makefile-unix/goil --target=cortex/armv7em/mk20dx256/teensy31 --templates=../../../../../../goil/templates isr2onPIT.oil 
Replaced 'isr2onPIT/tpl_dispatch_table.c'.
Replaced 'isr2onPIT/tpl_invoque.S'.
Replaced 'isr2onPIT/tpl_os.h'.
Replaced 'isr2onPIT/tpl_service_ids.h'.
Replaced 'build.py'.
Replaced 'make.py'.
Replaced 'isr2onPIT/tpl_app_custom_types.h'.
Replaced 'isr2onPIT/tpl_app_config.c'.
Replaced 'isr2onPIT/tpl_app_config.h'.
Replaced 'isr2onPIT/tpl_app_define.h'.
Replaced 'isr2onPIT/MemMap.h'.
Replaced 'isr2onPIT/Compiler.h'.
Replaced 'isr2onPIT/Compiler_Cfg.h'.
Replaced 'isr2onPIT/script.ld'.
Replaced 'isr2onPIT/AsMemMap.h'.
Replaced 'isr2onPIT/tpl_static_info.json'.
Replaced 'isr2onPIT/tpl_vectors.c'.
Replaced 'isr2onPIT/tpl_primary_irq.S'.
Replaced 'isr2onPIT/cmsis_wrapper.h'.
Replaced 'isr2onPIT/tpl_external_interrupts.c'.
/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onPIT/isr2onPIT.oil:107:14:21:
semantic error #1: ISR category 2 may use external interrupts only
    SOURCE = PIT0_IRQ;
-------------^^^^^^^^

/home/ar/Documents/Renesas/trampoline_fork/goil/templates/code/cortex/armv7em/mk20dx256/teensy31/custom_code.goilTemplate:126:2:9:
semantic error #2: runtime error
 template if exists tpl_app_interrupts_c in code
-^^^^^^^^

/home/ar/Documents/Renesas/trampoline_fork/goil/templates/code/cortex/armv7em/mk20dx256/teensy31/custom_code.goilTemplate:125:1:5:
semantic error #3: runtime error
write to PROJECT+"/tpl_app_interrupts.c":
^^^^^

/home/ar/Documents/Renesas/trampoline_fork/goil/templates/root.goilTemplate:1554:1:8:
semantic error #4: runtime error
template if exists custom_code in code
^^^^^^^^

Replaced '/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onPIT/build/isr2onPIT.oil.dep'.
No warning, 4 errors.
ar@t490s:~/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onPIT$
jlbirccyn commented 1 year ago

See #104