13cc513f30
cpu/stm32l0: add support for stm32l052xx
2019-05-21 09:54:35 +02:00
db9b341a36
cpu/stm32f1-l0: remove redundant PM_BLOCKER_INITIAL define
2019-04-12 11:10:48 +02:00
1f937cedb7
Merge pull request #11141 from fjmolinas/stm32l0_bootloader
...
stm32l0: add riotboot support
2019-03-24 10:48:48 +01:00
2e0a818502
cpu/stm32: all stm32 families now provide pm support
2019-03-21 19:39:16 +01:00
francisco
57d0787311
cpu/stm32l0: define CPU_FLASH_BASE
2019-03-21 15:07:08 +01:00
francisco
31e256734c
cpu/stm32l0: fix CPU_ARCH definition from cortex-m0 to cortex-m0plus
2019-03-06 09:10:56 +01:00
Vincent Dupont
4aadc1ed39
cpu/stm32l0: make use of CPU_LINE_
2018-12-21 11:24:43 +01:00
Vincent Dupont
f28e7a9b01
cpu/stm32l0: use STM32_FLASHSIZE to generate FLASHPAGE_NUMOF
2018-12-21 11:18:43 +01:00
cladmi
e0a5860bb7
cpu/stm32_common: remove inadapted periph_flash_common
...
The `periph_flash_common` feature was only defined here to trigger
inclusion of a source file with common functions.
It even only defines private symbols `_lock` and `_unlock` so no reason
to expose it to the build system.
And in practice, all stm cpus providing `periph_flashpage` or
`periph_eeprom` were required to provide `periph_flash_common` to allow
including it.
The previous implementation was only parsing in the modules were in
`FEATURES_REQUIRED` wich did not take cases of `FEATURES_OPTIONAL` into
account.
And also, in the same time, as the dependencies was declared in
`Makefile.include` it was processed before `Makefile.dep` so never handled
cases where a module could depend on `periph_flashpage` or
`periph_eeprom` feature.
It is replaced by selecting the common source file when module using it
are included.
The now useless feature `periph_flash_common` is removed from
`FEATURES_PROVIDED`.
2018-10-11 15:20:44 +02:00
Francisco Acosta
11b36a7184
stm32l1/0: move EEPROM config to periph_conf.h
2018-08-15 15:27:03 +02:00
Francisco Acosta
73ae563973
eeprom: Makefile.features: reorder features
...
They should be sorted alphabetically
2018-08-15 14:53:56 +02:00
ebc17acb59
cpu/stm32{f0,f3,f7,l0,l4}: unify i2c driver and use new API
2018-07-25 12:01:35 +02:00
fc9a853c20
cpu/stm32l0: add definitions for internal eeprom
2018-05-24 14:07:55 +02:00
331ad0970d
cpu/stm32{f,l}{0,1}: provide flash common feature
2018-05-24 14:07:55 +02:00
633a92929d
boards/nucleo-l031k6: rename to st marketing name
2018-05-23 12:50:33 +02:00
Aurelien Fillau
59b1890ef8
i2c : timeout added on busy waiting loop
...
A timeout has been added to get out of busy waiting loop.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2018-03-29 10:23:43 +02:00
4972f952d4
cpu/stm32l0: add flashpage support
2018-03-13 16:30:04 +01:00
Aurelien Fillau
0368239a63
cpu/stm32l0: power management updated
...
Now, MCU is able to go in stop mode if necessary when
periph_pm feature is activated.
Regarding LPSDSR bit that deactivates or not regulator in stop
mode, it is up to the user to set/clear this bit. In order
to save power, voltage regulator can be set in low power state
during stop mode but it increases wakeup time.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2018-03-11 11:01:25 +01:00
3b42fb49b5
cpu/stm32: unify cpu_init()
2018-03-05 12:35:00 +01:00
Francisco Acosta
38880acad8
Merge pull request #7799 from kYc0o/factorise_stm32_ld
...
ld: refactor stm32 linker scripts
2017-11-30 14:28:51 +01:00
kYc0o
ab60f9dc47
cpu/stm32*/ldscripts: remove all stm32 family linker scripts
2017-11-30 14:11:07 +01:00
smlng
7309171303
build: fix unused parameter errors
...
cpu, sam0_common: fix unused parameter in periph/spi
cpu, kinetis_common: fix unused parameter in periph/spi
cpu, cc2538: fix unused param in periph/i2c
cpu, cc2538: fix unused param in periph/spi
cpu, sam3: fix unused param in periph/spi
cpu, stm32_common: fix unused param in periph/pm
cpu, stm32f3: fix unused params in periph/i2c
cpu, nrf5x_common: fix unused param in periph/gpio
cpu, nrf5x_common: fix unused param in periph/spi
cpu, lpc2387: fix unused params in periph/spi
cpu, cc2538: fix unused params in radio/netdev
cpu, cc2650: fix unused params in periph/uart
cpu, lm4f120: fix unused param in periph/spi
cpu, lm4f120: fix unused params in periph/timer
cpu, lm4f120: fix unused params in periph/uart
cpu, stm32_common: fix unused params in periph/dac
cpu, stm32l0: fix unused params in periph/i2c
cpu, msp430fxyz: fix unused params in periph/uart
cpu, mips: fix unused params
cpu, cc430: fix unused-params in periph/timer
cpu, msp430fxyz: fix unused params in periph/spi
drivers, cc2420: fix unused param
cpu, mips32r2_common: fix unused params in periph/timer
cpu, cc2538: fix unused-param in periph/i2c
cpu, mips32r2_common: fix unused-param in periph/timer
cpu, msp430fxyz: fix unused params in periph/timer
cpu, atmega_common: fix unused params in periph/spi
driver, nrfmin: fix unused params
cpu, cc2538_rf: fix unused params
driver, netdev_ieee802514: fix unused param
cpu, mip_pic32m: fix unused params
cpu, lpc2387: fix unused params in periph/pwm
tests/driver_sdcard_spi: fix unused params
cpu, sam3: fix unused param in periph/pwm
tests/driver_dynamixel: fix unused params, and style issues
cpu, cc430: fix unused param in periph/rtc
cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +01:00
Hauke Petersen
87200c4803
cpu/stm32: removed file guards from periph drivers
2017-11-09 16:27:24 +01:00
283c207c55
Merge pull request #7864 from Marc-Aurele/i2c_timeout_l0
...
cpu/stm32l0: implement i2C non blocking mode
2017-11-09 14:50:13 +01:00
Aurelien Fillau
9907908b2a
cpu/stm32l0: add ADC driver implementation
...
Now, ADC is available on stm32l0 family. A calibration is
done at each new adc_sample. Moreover, when conversion is done,
VREFINT and temperature sensor are dactivated to save power.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-11-08 14:29:42 +01:00
Aurelien Fillau
4eee79aade
cpu/stm32l0: implement i2C non blocking mode
...
Timeouts have been added in I2C driver on the stm32l0
family so that any while loop do not stall the
task forever.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-11-07 22:24:58 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
bf6269e12b
cpu: stm32: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
Hauke Petersen
05e13cdef8
Merge pull request #7731 from haukepetersen/opt_stm32_cpuid
...
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:12:41 +02:00
Hauke Petersen
5a35517787
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:03:32 +02:00
Hauke Petersen
ae48882471
cpu/stm32l0: optimized isr vector definitions
2017-10-06 16:33:38 +02:00
Hauke Petersen
3ede8e9d95
cpu: force size of CPU specific vector table
2017-09-04 15:13:43 +02:00
Hauke Petersen
1a20ef8223
cpu: unified cortex-m base interrupt vector
2017-09-04 15:13:32 +02:00
f5838ebea9
Merge pull request #7467 from Marc-Aurele/i2c_channel2_l0
...
cpu/stm32l0: add i2c channel 2 & 3
2017-08-28 17:54:09 +02:00
b2674e5f69
cpu/stm32l0: cleanup interrupt vectors definitions
2017-08-23 22:20:25 +02:00
Aurelien Fillau
860cd70bb7
i2c: add channel 2 & 3
...
Now, I2C driver on stm32l0 family can handle up to 3
channels.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-08-18 08:03:39 +02:00
Hauke Petersen
73ede74cd8
cpu/stm32: unified and cleaned up DAC driver
...
- removed neccessity to define empty `DAC_NUMOF 0` for each STM
base board
- adapted all board configs to this
- joined stm32f2 to use common DAC driver
- improved code of DAC driver
2017-06-29 13:03:12 +02:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
8b3082da82
cpu/stm32l0: add support for stm32l072cz
2017-06-21 15:08:41 +02:00
750b98c541
cpu/stm32l0: add I2C driver
2017-06-08 09:38:45 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Joakim Nohlgård
339a4da9dc
Makefiles: move to new directory /makefiles
2017-04-04 15:11:54 +02:00
bf45254a8d
cpu/stm32l0: add support for stm32l031k6
2017-03-15 14:06:14 +01:00
Vincent Dupont
7b686b3015
cpu/stm32_common: unify gpio driver
2017-03-13 15:09:12 +01:00
Hauke Petersen
37d4f44379
cpus: mv vendor headers to include/vendor/.
2017-03-07 08:55:15 +01:00
27ad3e6b1f
cpu/stm32l0: add support for stm32l053r8
2017-03-02 13:52:12 +01:00
5bd4ba6da0
cpu/stm32l0: add support for stm32l0 cpu family
2017-02-24 16:12:00 +01:00