1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

31 Commits

Author SHA1 Message Date
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