David Sidrane
d25f8710d2
stm32f40xxx_i2c:Duplicate non CS dev of regval
2017-03-23 11:37:12 -10:00
David Sidrane
f5cf22d871
stm32_i2c_alt:Duplicate non CS dev of regval
2017-03-23 11:36:44 -10:00
David Sidrane
c2a1b719be
stm32_flash:Need conditinal on non F4 targets
2017-03-23 11:33:32 -10:00
rg
9353ca6039
STM32 I2C: Do not allow CONFIG_I2C_POLLED and CONFIG_I2C_DMA
2017-03-23 11:24:18 -06:00
David Sidrane
c73b65c9b9
stm32f7:stm32_allocateheap.c There are 5 configurations
2017-03-22 23:56:54 +00:00
Gregory Nutt
3fb0a00c35
Small changes from review of last PR. Plus spacing and typo fix.
2017-03-22 17:32:52 -06:00
Gregory Nutt
947acd6c1a
Small changes from review of last PR
2017-03-22 15:53:12 -06:00
José Roberto de Souza
b9b4f184a7
stm32: Add workaround for flash data cache corruption on read-while-write
...
This is a know hardware issue on some STM32 see the errata of your model
and if you make use of both memory banks you should enable it.
2017-03-22 13:14:19 -07:00
José Roberto de Souza
09f70c462d
stm32: Make up_progmem thread safe
...
Writing to a flash sector while starting the erase of other sector
have a undefined behavior so lets add a semaphore and syncronize
access to Flash registers.
But for the semaphore to work it needs to be initialized so each
board needs call stm32_flash_initialize() on initialization, so
to avoid runtime problems it is only using semaphore and making
it thread safe if initialized, after all boards starts to call
stm32_flash_initialize() we can remove the boolean and the check.
2017-03-22 13:14:15 -07:00
José Roberto de Souza
80f56e75f9
stm32: Fix erase sector number for microcontrolers with more than 11 sectors
...
Erase a sector from the second bank cause the bit 4 of SNB being set
but never unsed, so trying to erase a sector from the first bank
was acually eraseing a sector from the second bank.
2017-03-22 12:42:20 -07:00
David S. Alessio
7f2c4c4274
XMC4xxx: Add FPU support
2017-03-22 12:04:32 -06:00
Gregory Nutt
3f3aa73b8f
XMC4xxx: USIC SCTR register, appears taht both WLE and FLE fields hold value - 1.
2017-03-21 17:51:55 -06:00
Gregory Nutt
ea93357a1e
XMC4xxx: Fix a typo in the SCU header file
2017-03-21 17:05:47 -06:00
rg
82a5dfddb4
The attached .patch implements DMA support for the stm32f4 I2C. Max and I have verified that it works on our systems.
2017-03-21 16:44:11 -06:00
Gregory Nutt
343f7ceab2
XMC4xxx: Misc clock clean-up; PBDIV should be controllable from board.h
2017-03-21 15:05:17 -06:00
Gregory Nutt
602bdd13fb
XMC4xxx: Fix a pin configuration problem. Fix some mispellings.
2017-03-21 11:24:04 -06:00
Gregory Nutt
21a626878a
XMC4xxx: Clean up problems associated with USIC initialization. USIC still does not work in UART mode.
2017-03-21 10:55:52 -06:00
Gregory Nutt
805a4f65e9
XMC4xxx: Fixes to HIB domain setup, GPIO pin configuration.
2017-03-21 09:31:44 -06:00
Gregory Nutt
886dadae0a
XMC4xxx: Minor updates to naming and comments
2017-03-20 18:10:23 -06:00
Gregory Nutt
b9e29d1083
XMC4xxx: Clean up memory map
2017-03-20 17:08:09 -06:00
Gregory Nutt
4ba091933e
XMC4xxx: Fix for early bringup problems
2017-03-20 16:31:35 -06:00
Gregory Nutt
3a91ba5264
XMC4xxx: Plug last holes to get a first, clean build.
2017-03-20 13:46:02 -06:00
Gregory Nutt
985c137b78
XMC4xxx: Finishes system timer logic.
2017-03-20 13:20:31 -06:00
Gregory Nutt
4519b679af
XMC4xxx: Finish code for USIC serial driver.
2017-03-20 12:47:26 -06:00
Gregory Nutt
8a3422f837
XMC4xxx: Complete lowputc logic
2017-03-20 11:25:51 -06:00
no1wudi
7d6ee0f222
fix a typo
2017-03-20 09:50:27 +08:00
Gregory Nutt
5df421488c
XMC4xxx: Add USIC baudrate calculation.
2017-03-19 18:11:38 -06:00
Gregory Nutt
ae32905fe8
XMC4xxx: Simply some USIC logic, add USIC interface to disable a channel. Add USIC enable logic to UART configuration (a lot more to do there).
2017-03-19 17:06:44 -06:00
Gregory Nutt
e1e4af7454
XMC4xxx: More Ethernet definitions.
2017-03-19 16:25:46 -06:00
Gregory Nutt
c023d41522
XMC4xxx: Beginning of Ethernet register header file
2017-03-19 13:47:27 -06:00
Gregory Nutt
e8a30890f2
Cosmetic changes from review of last PR.
2017-03-19 13:05:31 -06:00
Mateusz Szafoni
9f699e6715
Merged in raiden00/nuttx (pull request #281 )
...
STM32F3: Add COMP support
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-19 18:55:06 +00:00
Gregory Nutt
5c0be816a5
XMC4xxx: Add commin USIC support logic for use in all USIC configurations.
2017-03-19 12:48:37 -06:00
raiden00pl
651b8360c6
STM32F33: Add COMP support
2017-03-19 18:36:44 +01:00
raiden00pl
c760d00158
stm32f33xx_comp.h: fix typos
2017-03-19 18:27:31 +01:00
Gregory Nutt
59b9ef8fdc
XMC4xxx: Revise configuration for USICs. Three USICs but 4 UARTs possible with each channel of USIC.
2017-03-19 11:10:31 -06:00
Gregory Nutt
a9aa11f968
XMC4xxx: A few compilation issues; still a long way to go.
2017-03-19 10:03:31 -06:00
Gregory Nutt
064ae17af5
XMC4xxx: Finishes UIC register definition header file.
2017-03-19 09:46:57 -06:00
Gregory Nutt
9110b7d45c
XMC4xxxx: Add more definitions to USIC register definition header.
2017-03-19 08:44:28 -06:00
Gregory Nutt
6b5dc49573
XMC4xxx: Flesh out USIC header file. Still needs a little work.
2017-03-18 19:16:29 -06:00
Gregory Nutt
47cd105e32
XMC4xxxx: Final clean-up of SCU heder file
2017-03-18 16:41:33 -06:00
Gregory Nutt
e82a3b3ca7
XMC4xxx: Completes most SCU register definitions.
2017-03-18 16:13:59 -06:00
Gregory Nutt
301e70b073
XMC4xxx: A few more SCU register definitions.
2017-03-18 15:19:02 -06:00
Gregory Nutt
7706810fc0
XMC4xxx: A few more SCU register definitions.
2017-03-18 14:08:35 -06:00
Gregory Nutt
cfa75de85a
XMC4xxx: A few more SCU register definitions.
2017-03-18 13:09:07 -06:00
Mateusz Szafoni
5907ec8cf9
Merged in raiden00/nuttx (pull request #279 )
...
STM32F33: Move DMA logic to a separate files + add ADC support
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-03-18 17:54:19 +00:00
Gregory Nutt
9769c67d4d
XMC4xxx: Add pin multiplexing header file.
2017-03-18 11:25:14 -06:00
raiden00pl
fd42900dcc
STM32F33: Add ADC support
2017-03-18 16:34:24 +01:00
raiden00pl
49e4e62aab
STM32F33: Move DMA logic to a separate files
2017-03-18 16:31:06 +01:00
Gregory Nutt
3f0c4871c8
Merge remote-tracking branch 'origin/master' into xmc4
2017-03-18 06:48:37 -06:00