stm32: exclude spammy files from docs by prefixing with _
.
These files end up containing chip-specific info, so they deduplicate really badly when building docs for all 1200 chips. The doc generator removes files starting with `_`.
This commit is contained in:
@ -6,8 +6,8 @@ use core::task::Waker;
|
||||
use embassy::interrupt::{Interrupt, InterruptExt};
|
||||
use embassy::waitqueue::AtomicWaker;
|
||||
|
||||
use crate::_generated::BDMA_CHANNEL_COUNT;
|
||||
use crate::dma::Request;
|
||||
use crate::generated::BDMA_CHANNEL_COUNT;
|
||||
use crate::pac;
|
||||
use crate::pac::bdma::vals;
|
||||
|
||||
@ -65,7 +65,7 @@ pub(crate) unsafe fn init() {
|
||||
crate::interrupt::$irq::steal().enable();
|
||||
};
|
||||
}
|
||||
crate::generated::init_bdma();
|
||||
crate::_generated::init_bdma();
|
||||
}
|
||||
|
||||
foreach_dma_channel! {
|
||||
|
@ -4,7 +4,7 @@ use core::task::Waker;
|
||||
use embassy::interrupt::{Interrupt, InterruptExt};
|
||||
use embassy::waitqueue::AtomicWaker;
|
||||
|
||||
use crate::generated::DMA_CHANNEL_COUNT;
|
||||
use crate::_generated::DMA_CHANNEL_COUNT;
|
||||
use crate::interrupt;
|
||||
use crate::pac;
|
||||
use crate::pac::dma::{regs, vals};
|
||||
@ -59,7 +59,7 @@ pub(crate) unsafe fn init() {
|
||||
interrupt::$irq::steal().enable();
|
||||
};
|
||||
}
|
||||
crate::generated::init_dma();
|
||||
crate::_generated::init_dma();
|
||||
}
|
||||
|
||||
foreach_dma_channel! {
|
||||
|
@ -49,5 +49,5 @@ foreach_dma_channel! {
|
||||
|
||||
/// safety: must be called only once
|
||||
pub(crate) unsafe fn init() {
|
||||
crate::generated::init_dmamux();
|
||||
crate::_generated::init_dmamux();
|
||||
}
|
||||
|
Reference in New Issue
Block a user