Skip to content

Commit d8c3dab

Browse files
committed
cleanup
1 parent 144c933 commit d8c3dab

File tree

9 files changed

+6
-14
lines changed

9 files changed

+6
-14
lines changed

.gdbinit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
target remote :3333
22

3-
# monitor itm port 0 on
4-
# monitor tpiu config internal /tmp/itm.fifo uart off 2000000
5-
63
set print asm-demangle on
74
monitor arm semihosting enable
85
load

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
on:
22
pull_request:
3-
3+
44
name: Continuous integration
55

66
jobs:

.github/workflows/clippy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
branches: [ staging, trying, master ]
44
pull_request:
5-
5+
66
name: Clippy check
77
jobs:
88
clippy_check:

.github/workflows/rustfmt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
push:
33
branches: [ staging, trying, master ]
44
pull_request:
5-
5+
66
name: Code formatting check
77

88
jobs:

LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT LICENSE
22

3-
Copyright (c) 2018-2019 Vitaly Domnikov <[email protected]>
3+
Copyright (c) 2018-2021 Vitaly Domnikov <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# `stm32g0xx-hal`
22

3-
*Warning*: Work in progress.
4-
53
_stm32g0xx-hal_ contains a multi device hardware abstraction on top of the
64
peripheral access API for the STMicro STM32G0 series microcontrollers. The
75
selection of the MCU is done by feature gates, typically specified by board

examples/adc_ext_trig_double_dma_serial.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// command run: cargo run --example adc_ext_trig_double_dma_serial --features stm32g031
44

55
#![deny(warnings)]
6-
// #![deny(unsafe_code)]
76
#![no_main]
87
#![no_std]
98

@@ -40,7 +39,7 @@ const BUFFER_SIZE: u16 = 4;
4039
static G_DMA_BUFFER_ADDR: Mutex<RefCell<Option<u32>>> = Mutex::new(RefCell::new(None));
4140

4241
#[interrupt]
43-
fn DMA_CHANNEL1() {
42+
unsafe fn DMA_CHANNEL1() {
4443
static mut DMA: Option<hal::dma::Channels> = None;
4544
static mut DMA_BUFFER_ADDR: Option<u32> = None;
4645

memory.x

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Linker script for the STM32G071RB */
1+
/* Linker script for the NUCLEO-G071RB (STM32G071RB) */
22
MEMORY
33
{
44
FLASH : ORIGIN = 0x08000000, LENGTH = 128K

openocd.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Patch with STM32G0 family support: http://openocd.zylin.com/#/c/4807/
2-
31
source [find interface/stlink.cfg]
42
source [find target/stm32g0x.cfg]
53

0 commit comments

Comments
 (0)