mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
fix gcc CI project
This commit is contained in:
parent
d149531146
commit
7f4cc5da71
@ -145,7 +145,7 @@ LDSCRIPT = STM32F103RCTx_FLASH.ld
|
|||||||
# libraries
|
# libraries
|
||||||
LIBS = -lc -lm -lnosys
|
LIBS = -lc -lm -lnosys
|
||||||
LIBDIR =
|
LIBDIR =
|
||||||
LDFLAGS = $(MCU) -specs=nano.specs -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections
|
LDFLAGS = $(MCU) -specs=nano.specs -T$(LDSCRIPT) $(LIBDIR) $(LIBS) -Wl,-Map=$(BUILD_DIR)/$(TARGET).map,--cref -Wl,--gc-sections -Wl,--wrap=SysTick_Handler
|
||||||
|
|
||||||
# default action: build all
|
# default action: build all
|
||||||
all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
|
all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET).bin
|
||||||
|
@ -48,11 +48,6 @@ void SysTick_Handler (void)
|
|||||||
systimer_1ms_handler();
|
systimer_1ms_handler();
|
||||||
}
|
}
|
||||||
|
|
||||||
void __real_SysTick_Handler (void)
|
|
||||||
{
|
|
||||||
SysTick_Handler();
|
|
||||||
}
|
|
||||||
|
|
||||||
void delay_ms(uint32_t wMillisecond)
|
void delay_ms(uint32_t wMillisecond)
|
||||||
{
|
{
|
||||||
s_wMSCounter = wMillisecond;
|
s_wMSCounter = wMillisecond;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user