Federico Ruiz Ugalde
011124c33f
stm32f3: i2c support increased. Now it works.
- Several functions added (that only work on the f3)
- The data register now has a 8bit access counter part
that is necessary for 8bit transmissions, together with
the access functions.
- The init master functions doesn't work for the f3.
12 years ago
Federico Ruiz Ugalde
9b2873d874
stm32f3: Adding convinience functions for sending and receiving i2c data.
12 years ago
Federico Ruiz Ugalde
3b274fa2f2
stm32f3: erasing some unused/unnecessary i2c defines.
12 years ago
Federico Ruiz Ugalde
66eab73570
stm32f3: Some additional f3 clock functions for the i2c.
12 years ago
Federico Ruiz Ugalde
4673348ff7
stm32f3: i2c support now in f3 directory.
Very few functions can be shared (~ 3). A possible solutions is to move
i2c_common_all to i2c_common_f124, create i2c_common_all and move f3/i2c to i2c_common_f3. Who agrees?
12 years ago
Federico Ruiz Ugalde
8f3675fbfd
stm32f3: i2c support removed from the i2c_common_all files because f3 is too different.
12 years ago
Federico Ruiz Ugalde
e9375dbfd2
usart set baudrate clock source incorrect. Now fixed.
12 years ago
Federico Ruiz Ugalde
119473f3b1
stm32f3: removed pllmul x16 commented out line as recommended in #82 .
12 years ago
Federico Ruiz Ugalde
efe08e4898
stm32f3: flash_common_f24 now includes f3 support. Also, renamed to f234.
- Makefiles of other stm32s updated accordingly.
- f3/rcc.c updated to some definition changes.
- f3/flash.c removed in order to use flash_common_f234.c to comply with new organization.
12 years ago
Federico Ruiz Ugalde
74a313625f
stm32f3: timer support added.
12 years ago
Federico Ruiz Ugalde
6af6cec101
stm32f3: dma support added.
12 years ago
Federico Ruiz Ugalde
433c1c9db8
stm32f3: spi support added.
12 years ago
Federico Ruiz Ugalde
5c825a78c7
stm32f3: watchdog support added.
12 years ago
Federico Ruiz Ugalde
6b522fc644
stm32f3: Crc support added.
12 years ago
Federico Ruiz Ugalde
ef762f0448
Stm32f3: usart support added.
12 years ago
Federico Ruiz Ugalde
49fe59e82d
stm32f3: adding external interrupts support.
12 years ago
Federico Ruiz Ugalde
78236d6e00
Fixed missing gpio F port stm32f3.
12 years ago
Federico Ruiz Ugalde
a7bcf6446b
stm32f3 dac support added.
12 years ago
Federico Ruiz Ugalde
0a39eab19a
Missing files for adc stm32f3 support added.
12 years ago
Federico Ruiz Ugalde
6732ae25cb
Adc stm32f3 support added.
12 years ago
Federico Ruiz Ugalde
be841154a9
i2c support added.
Most of the changes went to i2c_common_all.h file.
F3 is considerably different than all the other in i2c.
12 years ago
Federico Ruiz Ugalde
b6bae46b71
Unnecessary include of pwr.h removed from rcc.c. Pwr.h becomes unnecessary to run the f3
12 years ago
Federico Ruiz Ugalde
934821aa42
Partial flash support added.
12 years ago
Federico Ruiz Ugalde
d42be7e6e9
F3 missing headers added.
12 years ago
Federico Ruiz Ugalde
45035f2f3c
Fixed compile warning, function declaration in rcc.h wrong
12 years ago
Federico Ruiz Ugalde
44874100c6
pwr headers added. Now f3 support compiles
12 years ago
Federico Ruiz Ugalde
d250e8e269
general gpio for stm32 modified to include f3
12 years ago
Federico Ruiz Ugalde
0ca18eb09f
Added interrupts for f3, Pre_main rutine in vector_chipset, nvic.h modified to include f3.
12 years ago
Federico Ruiz Ugalde
b8764d0214
Makefile for f3 lib added. Gpio.c and rcc.c also in.
12 years ago
Federico Ruiz Ugalde
67c979e5fa
Fixed compile of f4 and l1 after gpio_common_f234.c renaming.
12 years ago
Federico Ruiz Ugalde
be874f065a
Memory map for f3 added.
12 years ago
Federico Ruiz Ugalde
a156b9e8fc
linker script file for f3 added.
12 years ago
Federico Ruiz Ugalde
3af5833b83
Initial support for stm32f3. Changes in makefiles, gpio.
- Makefiles now include building f3 src directory.
- Gpio support added. gpio_common_f24 changed to support also f3.
- f3 still not compiling, but f2 compile not broken (probably also f4).
12 years ago
Ben Gamari
d7fdcefbd7
lpc43xx: Fix rom_to_ram linker script
It was missing some definitions compared to the libopencm3_lpc43xx.ld.
12 years ago
Piotr Esden-Tempski
8769073266
[install] Be more specific about what scripts we want to install.
We now have a subdirectory containing register definitions in scripts,
this confuses the install command so we have to be more specific about
which scripts to install. We actually only want to install the black
magic scripts from there as they are useful for locm3 users.
12 years ago
Piotr Esden-Tempski
b72a3640b3
[CM0] Disabled sync for LPC43xx/M0.
We are currently using the same code for CM0 CM3 and CM4 cores. This
patch is a bodge that disables sync on the LPC43xx/M0 core, it would be
nicer to probably implement a dispatch system similar to the one used in
stm32 peripheral support so that we can accomodate the different
features of the cortex cores. I (esden) assume we will run into more
incompatibilities in the future between the cortex cores.
12 years ago
Ben Gamari
cd1f6fac80
sync.h: Fix spelling
12 years ago
Ben Gamari
11ea9b090c
sync: Add comment
12 years ago
Ben Gamari
78081bd794
lpc43xx: Add irq.yaml for M0 core
12 years ago
Ben Gamari
c25461dfce
lpc43xx: Move M4 specific files to m4/
12 years ago
Ben Gamari
3ab761d244
Remove dead lpc43xx_m0/vector.c
12 years ago
Ben Gamari
9aa2f82164
lpc32xx_ram_only.ld: Fix region name
12 years ago
Ben Gamari
8eb5fba93b
lpc43xx/uart: Fix code style
12 years ago
Ben Gamari
fa47bb80d5
lpc43xx/uart: Fix TER register definition
I'm not sure why bit 7 and offset 0x30 were used previously. Revision
1.6 of UM10503 claims that the TXEN bit is bit 0 in all UARTs' TER
registers.
12 years ago
Ben Gamari
dbf9c3bc39
lpc43xx/uart: Kill _BITMASK definitions for single-bit fields
12 years ago
Ben Gamari
b0550ce0bf
lpc43xx/uart: Uncomment register definitions
12 years ago
Ben Gamari
2b027cf2de
Makefile: Install everything in scripts/
12 years ago
Ben Gamari
8201703e64
lpc43xx/ssp: Fix duplicate function definition from merge
12 years ago
Ben Gamari
994e679fb8
lpc43xx: Clean up linker script breakage from merge
12 years ago
Ben Gamari
580be39e47
lpc43xx: Convert register definitions to YAML
12 years ago