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
599 stars 263 forks source link

Example build issue : Teensy 3.1 isr2onExternalInterrupt #143

Closed RICCIARDI-Adrien closed 8 months ago

RICCIARDI-Adrien commented 8 months ago
ar@t490s:~/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt$ ../../../../../../goil/makefile-unix/goil --target=cortex/armv7em/mk20dx256/teensy31 --templates=../../../../../../goil/templates isr2onExternalInterrupt.oil 
/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt/isr2onExternalInterrupt.oil:112:14:18:
semantic error #1: PIN25 ENUM value undeclared. One of the following values are expected: ADC0_IRQ, ADC1_IRQ, CAN0_BUS_OFF_IRQ, CAN0_ERROR_IRQ, CAN0_MESSAGE_IRQ, CAN0_RX_WARN_IRQ, CAN0_TX_WARN_IRQ, CAN0_WAKEUP_IRQ, CMP0_IRQ, CMP1_IRQ, CMP2_IRQ, CMT_IRQ, DAC0_IRQ, DMA_CH0_IRQ, DMA_CH10_IRQ, DMA_CH11_IRQ, DMA_CH12_IRQ, DMA_CH13_IRQ, DMA_CH14_IRQ, DMA_CH15_IRQ, DMA_CH1_IRQ, DMA_CH2_IRQ, DMA_CH3_IRQ, DMA_CH4_IRQ, DMA_CH5_IRQ, DMA_CH6_IRQ, DMA_CH7_IRQ, DMA_CH8_IRQ, DMA_CH9_IRQ, DMA_ERROR_IRQ, FLASH_CMD_IRQ, FLASH_ERROR_IRQ, FTM0_IRQ, FTM1_IRQ, FTM2_IRQ, I2C0_IRQ, I2C1_IRQ, I2S0_RX_IRQ, I2S0_TX_IRQ, LOW_VOLTAGE_IRQ, LPTMR_IRQ, MCG_IRQ, PDB_IRQ, PIT0_IRQ, PIT1_IRQ, PIT2_IRQ, PIT3_IRQ, PORTA_IRQ, PORTB_IRQ, PORTC_IRQ, PORTD_IRQ, PORTE_IRQ, RTC_ALARM_IRQ, RTC_SECONDS_IRQ, SOFTWARE_IRQ, SPI0_IRQ, SPI1_IRQ, SysTick, TSI0_IRQ, UART0_ERROR_IRQ, UART0_LON_IRQ, UART0_STATUS_IRQ, UART1_ERROR_IRQ, UART1_STATUS_IRQ, UART2_ERROR_IRQ, UART2_STATUS_IRQ, USB_CHARGE_IRQ, USB_IRQ, WAKEUP_IRQ, WATCHDOG_IRQ
    SOURCE = PIN25 { TRIGGER = RISING; PULL = NONE; };
-------------^^^^^

/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt/isr2onExternalInterrupt.oil:112:22:28:
semantic error #2: TRIGGER is not declared in the IMPLEMENTATION
    SOURCE = PIN25 { TRIGGER = RISING; PULL = NONE; };
---------------------^^^^^^^

/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt/isr2onExternalInterrupt.oil:112:22:28:
semantic error #3: TRIGGER is not an ENUM nor and IDENTIFIER nor an object reference
    SOURCE = PIN25 { TRIGGER = RISING; PULL = NONE; };
---------------------^^^^^^^

/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt/isr2onExternalInterrupt.oil:112:40:43:
semantic error #4: PULL is not declared in the IMPLEMENTATION
    SOURCE = PIN25 { TRIGGER = RISING; PULL = NONE; };
---------------------------------------^^^^

/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt/isr2onExternalInterrupt.oil:112:40:43:
semantic error #5: PULL is not an ENUM nor and IDENTIFIER nor an object reference
    SOURCE = PIN25 { TRIGGER = RISING; PULL = NONE; };
---------------------------------------^^^^

Replaced '/home/ar/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt/build/isr2onExternalInterrupt.oil.dep'.
No warning, 5 errors.
ar@t490s:~/Documents/Renesas/trampoline_fork/examples/cortex/armv7em/mk20dx256/teensy31/isr2onExternalInterrupt$
jlbirccyn commented 8 months ago

See #104