Fix mcu/stm32f103.h.

This commit is contained in:
NIIBE Yutaka
2018-01-18 14:23:36 +09:00
parent c0a84627b6
commit 5cd4871a94
5 changed files with 18 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2018-01-18 NIIBE Yutaka <gniibe@fsij.org>
* mcu/stm32f103.h: Include stm32.h and cortex-m.h.
2018-01-09 Anthony Romano <romanoanthony061@gmail.com>
* contrib/adc-stm32f103.c: Support IN8 config.

10
NEWS
View File

@@ -1,6 +1,16 @@
NEWS - Noteworthy changes
* Major changes in Chopstx 1.8
Released 2018-01-XX
** Minor API fix
In version 1.6, part of mcu/stm32f103.h was moved into mcu/cortex-m.h
and mcu/stm32.h. Now, mcu/stm32f103.h automatically includes
mcu/cortex-m.h and mcu/stm32.h.
* Major changes in Chopstx 1.7
Released 2017-12-19

View File

@@ -3,7 +3,7 @@
* In this ADC driver, there are NeuG specific parts.
* You need to modify to use this as generic ADC driver.
*
* Copyright (C) 2011, 2012, 2013, 2015, 2016
* Copyright (C) 2011, 2012, 2013, 2015, 2016, 2017, 2018
* Free Software Initiative of Japan
* Author: NIIBE Yutaka <gniibe@fsij.org>
*
@@ -32,7 +32,6 @@
#include <stdint.h>
#include <stdlib.h>
#include <chopstx.h>
#include <mcu/stm32.h>
#include <mcu/stm32f103.h>
#include "adc.h"

View File

@@ -1,5 +1,4 @@
#include <stdint.h>
#include <mcu/stm32.h>
#include <mcu/stm32f103.h>
#include "board.h"

View File

@@ -1,3 +1,6 @@
#include <mcu/stm32.h>
#include <mcu/cortex-m.h>
#define CRC_CR_RESET 0x00000001
struct CRC {