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

Fix v303 compile error #66

Merged
merged 1 commit into from
Nov 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- ch32v103c8t6
- ch32v203f8u6
- ch32v208wbu6
- ch32v303vct6
- ch32v303cbt6
- ch32v305fbp6
- ch32v307vct6
- ch32x035f7p6
Expand All @@ -39,7 +39,7 @@ jobs:
target: riscv32imc-unknown-none-elf
- chip: ch32v208wbu6
target: riscv32imc-unknown-none-elf
- chip: ch32v303vct6
- chip: ch32v303cbt6
# use rv32imc because ri32imfc does not exist, hal should not use FP anyways
target: riscv32imc-unknown-none-elf
- chip: ch32v305fbp6
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ fn main() {
let ch: u8 = pin.signal.strip_prefix("OUT").unwrap().parse().unwrap();

g.extend(quote! {
impl_dac_pin!( #peri, #pin_name, #ch);
impl_dac_pin!( #peri, #pin_name, #ch);
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub mod dma;

#[cfg(adc)]
pub mod adc;
#[cfg(peri_dac1)]
#[cfg(dac)]
pub mod dac;
pub mod exti;
pub mod gpio;
Expand Down
Loading