Skip to content

Commit 130dc24

Browse files
author
rajszym
committed
a few minor changes
1 parent d0f6a1b commit 130dc24

File tree

9 files changed

+10
-396
lines changed

9 files changed

+10
-396
lines changed

device/stm32f0discovery/stm32f030x4_io.h

Lines changed: 0 additions & 386 deletions
This file was deleted.

intros/port/cortexm/compiler/clang/oscore.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
@file IntrOS: oscore.c
44
@author Rajmund Szymanski
5-
@date 29.03.2020
5+
@date 21.11.2022
66
@brief IntrOS port file for ARM Cotrex-M uC.
77
88
******************************************************************************
@@ -36,7 +36,7 @@
3636
#if __FPU_USED
3737

3838
__attribute__((naked))
39-
int setjmp(/*jmp_buf buf*/)
39+
int setjmp( jmp_buf buf )
4040
{
4141
__asm volatile
4242
(
@@ -56,7 +56,7 @@ int setjmp(/*jmp_buf buf*/)
5656
#if __FPU_USED
5757

5858
__attribute__((naked))
59-
void longjmp(/*jmp_buf buf, int val*/)
59+
void longjmp( jmp_buf buf, int val )
6060
{
6161
__asm volatile
6262
(

make/stm8sdiscovery/makefile.csmc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
TARGET_PLATFORM := stm8sdiscovery
44
TARGET_CHIP := stm8s105c6
55
TARGET_DEVICE := stm8s
6-
TARGET_CORE := stm8
6+
TARGET_CORE := STM8S105x6
77
TARGET_ARCH := stm8
88
TARGET_COMPILER := csmc
99

make/stm8sdiscovery/makefile.iarc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
TARGET_PLATFORM := stm8sdiscovery
44
TARGET_CHIP := stm8s105c6
55
TARGET_DEVICE := stm8s
6-
TARGET_CORE := stm8
6+
TARGET_CORE := STM8S105x6
77
TARGET_ARCH := stm8
88
TARGET_COMPILER := iarc
99

make/stm8sdiscovery/makefile.sdcc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
TARGET_PLATFORM := stm8sdiscovery
44
TARGET_CHIP := stm8s105c6
55
TARGET_DEVICE := stm8s
6-
TARGET_CORE := stm8
6+
TARGET_CORE := STM8S105x6
77
TARGET_ARCH := stm8
88
TARGET_COMPILER := sdcc
99

make/toolchain-cortexm-clang.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ $(info Using nowarnings)
9595
DEFS := $(DEFS:NOWARNINGS=)
9696
COMMON_F += -Wall
9797
else
98-
COMMON_F += -Wall -Wextra -Wpedantic -Wconversion -Wshadow -Wsign-conversion
98+
COMMON_F += -Wall -Wextra -Wpedantic -Wconversion -Wshadow -Wsign-conversion -Wno-strict-prototypes
9999
CXX_FLAGS += -Wzero-as-null-pointer-constant
100100
endif
101101
ifneq ($(filter ISO,$(DEFS)),)

make/toolchain-stm8-csmc.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,6 @@ clean :
118118

119119
flash : all $(HEX)
120120
$(info Programing device...)
121-
$(STVP) -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=$(TARGET_CHIP) -verif -no_loop -no_log -FileProg=$(HEX)
121+
$(STVP) -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=$(TARGET_CORE) -verif -no_loop -no_log -FileProg=$(HEX)
122122

123123
.PHONY : all far lib clean flash

make/toolchain-stm8-iarc.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ clean :
136136

137137
flash : all $(HEX)
138138
$(info Programing device...)
139-
$(STVP) -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=$(TARGET_CHIP) -verif -no_loop -no_log -FileProg=$(HEX)
139+
$(STVP) -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=$(TARGET_CORE) -verif -no_loop -no_log -FileProg=$(HEX)
140140

141141
.PHONY : all far lib clean flash
142142

make/toolchain-stm8-sdcc.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ clean :
124124

125125
flash : all $(HEX)
126126
$(info Programing device...)
127-
$(STVP) -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=$(TARGET_CHIP) -verif -no_loop -no_log -FileProg=$(HEX)
127+
$(STVP) -BoardName=ST-LINK -Port=USB -ProgMode=SWIM -Device=$(TARGET_CORE) -verif -no_loop -no_log -FileProg=$(HEX)
128128

129129
debug : all $(HEX)
130130
$(info Debugging device...)

0 commit comments

Comments
 (0)