Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in stm32/f7/nvic.h #974

Closed
srappensperger opened this issue Oct 3, 2018 · 1 comment
Closed

Error in stm32/f7/nvic.h #974

srappensperger opened this issue Oct 3, 2018 · 1 comment

Comments

@srappensperger
Copy link

Hi Guys,

I found some errors in the file nvic.h, located in the directory of stm32 / f7. As this file is automatically created by make, I unfortunately have no idea how to fix this via a pull request.
In the following I have presented the changes in the form of git.
Would be great if someone can fix it for me.

Many Thanks,
Stephan

--- a/stm32/f7/nvic.h
+++ b/stm32/f7/nvic.h
@@ -61,7 +61,7 @@
 #define NVIC_TIM8_TRG_COM_TIM14_IRQ 45
 #define NVIC_TIM8_CC_IRQ 46
 #define NVIC_DMA1_STREAM7_IRQ 47
-#define NVIC_FSMC_IRQ 48
+#define NVIC_FMC_IRQ 48
 #define NVIC_SDMMC1_IRQ 49
 #define NVIC_TIM5_IRQ 50
 #define NVIC_SPI3_IRQ 51
@@ -106,11 +106,23 @@
 #define NVIC_DMA2D_IRQ 90
 #define NVIC_SAI2_IRQ 91
 #define NVIC_QUADSPI_IRQ 92
-#define NVIC_I2C4_EV_IRQ 93
-#define NVIC_I2C4_ER_IRQ 94
-#define NVIC_SPDIFRX_IRQ 95
-
-#define NVIC_IRQ_COUNT 96
+#define NVIC_LP_TIMER1_IQR 93
+#define NVIC_HDMI_CEC_IQR 94
+#define NVIC_I2C4_EV_IRQ 95
+#define NVIC_I2C4_ER_IRQ 96
+#define NVIC_SPDIFRX_IRQ 97
+#define NVIC_DSIHOST_IQR 98
+#define NVIC_DFSDM1_FLT0_IQR 99
+#define NVIC_DFSDM1_FLT1_IQR 100
+#define NVIC_DFSDM1_FLT2_IQR 101
+#define NVIC_DFSDM1_FLT3_IQR_102
+#define NVIC_SDMMC2_IQR 103
+#define NVIC_CAN3_TX_IQR 104
+#define NVIC_CAN3_RX0_IQR 105
+#define NVIC_CAN3_RX1_IQR 106
+#define NVIC_CAN3_SCE_IQR 107
+#define NVIC_JPEG_IQR 108
+#define NVIC_MDIOS_IQR 109
 
 /**@}*/
 
@@ -169,7 +181,7 @@ void tim8_up_tim13_isr(void);
 void tim8_trg_com_tim14_isr(void);
 void tim8_cc_isr(void);
 void dma1_stream7_isr(void);
-void fsmc_isr(void);
+void fmc_isr(void);
 void sdmmc1_isr(void);
 void tim5_isr(void);
 void spi3_isr(void);
@@ -214,9 +226,23 @@ void lcd_tft_err_isr(void);
 void dma2d_isr(void);
 void sai2_isr(void);
 void quadspi_isr(void);
+void lp_timer1_isr(void);
+void hdmi_cec_isr(void);
 void i2c4_ev_isr(void);
 void i2c4_er_isr(void);
 void spdifrx_isr(void);
+void dsihost_isr(void);
+void dfsdm1_flt0_isr(void);
stephan@ThinkPad:~/Dokumente/IntelliFlight$ clear
stephan@ThinkPad:~/Dokumente/IntelliFlight$ git diff
diff --git a/main.cpp b/main.cpp
index 87d93c3..3cff4c2 100644
--- a/main.cpp
+++ b/main.cpp
@@ -61,7 +61,7 @@
 #define NVIC_TIM8_TRG_COM_TIM14_IRQ 45
 #define NVIC_TIM8_CC_IRQ 46
 #define NVIC_DMA1_STREAM7_IRQ 47
-#define NVIC_FSMC_IRQ 48
+#define NVIC_FMC_IRQ 48
 #define NVIC_SDMMC1_IRQ 49
 #define NVIC_TIM5_IRQ 50
 #define NVIC_SPI3_IRQ 51
@@ -106,11 +106,23 @@
 #define NVIC_DMA2D_IRQ 90
 #define NVIC_SAI2_IRQ 91
 #define NVIC_QUADSPI_IRQ 92
-#define NVIC_I2C4_EV_IRQ 93
-#define NVIC_I2C4_ER_IRQ 94
-#define NVIC_SPDIFRX_IRQ 95
-
-#define NVIC_IRQ_COUNT 96
+#define NVIC_LP_TIMER1_IQR 93
+#define NVIC_HDMI_CEC_IQR 94
+#define NVIC_I2C4_EV_IRQ 95
+#define NVIC_I2C4_ER_IRQ 96
+#define NVIC_SPDIFRX_IRQ 97
+#define NVIC_DSIHOST_IQR 98
+#define NVIC_DFSDM1_FLT0_IQR 99
+#define NVIC_DFSDM1_FLT1_IQR 100
+#define NVIC_DFSDM1_FLT2_IQR 101
+#define NVIC_DFSDM1_FLT3_IQR_102
+#define NVIC_SDMMC2_IQR 103
+#define NVIC_CAN3_TX_IQR 104
+#define NVIC_CAN3_RX0_IQR 105
+#define NVIC_CAN3_RX1_IQR 106
+#define NVIC_CAN3_SCE_IQR 107
+#define NVIC_JPEG_IQR 108
+#define NVIC_MDIOS_IQR 109
 
 /**@}*/
 
@@ -169,7 +181,7 @@ void tim8_up_tim13_isr(void);
 void tim8_trg_com_tim14_isr(void);
 void tim8_cc_isr(void);
 void dma1_stream7_isr(void);
-void fsmc_isr(void);
+void fmc_isr(void);
 void sdmmc1_isr(void);
 void tim5_isr(void);
 void spi3_isr(void);
@@ -214,9 +226,23 @@ void lcd_tft_err_isr(void);
 void dma2d_isr(void);
 void sai2_isr(void);
 void quadspi_isr(void);
+void lp_timer1_isr(void);
+void hdmi_cec_isr(void);
 void i2c4_ev_isr(void);
 void i2c4_er_isr(void);
 void spdifrx_isr(void);
+void dsihost_isr(void);
+void dfsdm1_flt0_isr(void);
+void dfsdm1_flt1_isr(void);
+void dfsdm1_flt2_isr(void);
+void dfsdm1_flt3_isr(void);
+void sdmmc2_isr(void);
+void can3_tx_isr(void);
+void can3_rx0_isr(void);
+void can3_rx1_isr(void);
+void can3_sce_isr(void);
+void jpeg_isr(void);
+void mdios_isr(void);
 
 END_DECLS
karlp added a commit that referenced this issue Oct 3, 2018
Make it a bit more obvious to people what they need to change.

Reported via: #974
@karlp
Copy link
Member

karlp commented Oct 3, 2018

I'm going to leave it at FSMC, not FMC. FSMC is used in RM0431 and RM0385, FMC is only in RM0410.

Otherwise, fixedin 239b4a4 thanks

@karlp karlp closed this as completed Oct 3, 2018
karlp added a commit that referenced this issue Oct 3, 2018
Updated from RM410 rev4, RM0385rev8 and RM0431 rev3

Originally reported at #974
grevaillot pushed a commit to grevaillot/libopencm3 that referenced this issue Jan 11, 2019
Make it a bit more obvious to people what they need to change.

Reported via: libopencm3#974
grevaillot pushed a commit to grevaillot/libopencm3 that referenced this issue Jan 11, 2019
Updated from RM410 rev4, RM0385rev8 and RM0431 rev3

Originally reported at libopencm3#974
BOJIT pushed a commit to BOJIT/PlatformIO-libopencm3 that referenced this issue Jan 30, 2021
Make it a bit more obvious to people what they need to change.

Reported via: libopencm3#974
BOJIT pushed a commit to BOJIT/PlatformIO-libopencm3 that referenced this issue Jan 30, 2021
Updated from RM410 rev4, RM0385rev8 and RM0431 rev3

Originally reported at libopencm3#974
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants