add ci
continuous-integration/drone Build was killed Details

master
Roman Kretschmer 5 years ago
parent 9fbdba40aa
commit fce44e7bee

@ -0,0 +1,9 @@
kind: pipeline
name: default
steps:
- name: test
image: rust:1.30
commands:
- cargo build --verbose --all
- cargo test --verbose --all

@ -724,33 +724,33 @@ impl core::fmt::Debug for PRGIO_PRT0 {
#[doc = "Programmable IO port registers"]
pub mod prgio_prt0;
#[doc = "SRSSv2 Registers (Power, Clock, Reset)"]
pub struct CORE_PERIPHERALS {
pub struct SRSS {
_marker: PhantomData<*const ()>,
}
unsafe impl Send for CORE_PERIPHERALS {}
impl CORE_PERIPHERALS {
unsafe impl Send for SRSS {}
impl SRSS {
#[doc = r"Pointer to the register block"]
pub const PTR: *const core_peripherals::RegisterBlock = 0x400b_0000 as *const _;
pub const PTR: *const srss::RegisterBlock = 0x400b_0000 as *const _;
#[doc = r"Return the pointer to the register block"]
#[inline(always)]
pub const fn ptr() -> *const core_peripherals::RegisterBlock {
pub const fn ptr() -> *const srss::RegisterBlock {
Self::PTR
}
}
impl Deref for CORE_PERIPHERALS {
type Target = core_peripherals::RegisterBlock;
impl Deref for SRSS {
type Target = srss::RegisterBlock;
#[inline(always)]
fn deref(&self) -> &Self::Target {
unsafe { &*Self::PTR }
}
}
impl core::fmt::Debug for CORE_PERIPHERALS {
impl core::fmt::Debug for SRSS {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CORE_PERIPHERALS").finish()
f.debug_struct("SRSS").finish()
}
}
#[doc = "SRSSv2 Registers (Power, Clock, Reset)"]
pub mod core_peripherals;
pub mod srss;
#[doc = "External Crystal Oscillators and PLLs"]
pub struct CLK {
_marker: PhantomData<*const ()>,
@ -4920,8 +4920,8 @@ pub struct Peripherals {
pub GPIO_PRT13: GPIO_PRT13,
#[doc = "PRGIO_PRT0"]
pub PRGIO_PRT0: PRGIO_PRT0,
#[doc = "CORE_PERIPHERALS"]
pub CORE_PERIPHERALS: CORE_PERIPHERALS,
#[doc = "SRSS"]
pub SRSS: SRSS,
#[doc = "CLK"]
pub CLK: CLK,
#[doc = "UDB"]
@ -5306,7 +5306,7 @@ impl Peripherals {
PRGIO_PRT0: PRGIO_PRT0 {
_marker: PhantomData,
},
CORE_PERIPHERALS: CORE_PERIPHERALS {
SRSS: SRSS {
_marker: PhantomData,
},
CLK: CLK {

Loading…
Cancel
Save