Commit Graph

3890 Commits (mbed-os-5.1.5)

Author SHA1 Message Date
Martin Kojtal 0b57f8a29a Merge pull request #1481 from mjrgh/patch-2
Fix interrupt handler for endpoints > 2
2016-01-15 07:41:28 +00:00
Martin Kojtal 919364e6e7 Merge pull request #1501 from stevew817/pearl_support_rebased
[Silicon Labs] Add support for the new EFM32 Pearl Gecko
2016-01-15 07:33:40 +00:00
Steven Cooreman 3d8637cdfb Fixes to serial_api:
* Allow pins to be configured as NC without failing or asserting
* Fix putc() to not return before the entire character has been physically shifted out.
* Use MBED_ASSERT
* Fix baudrate calculation to avoid wrong configuration on startup for stdio
2016-01-14 16:45:39 +01:00
Steven Cooreman 6ab14faf91 Fix wrong copy-paste in digitalInOut test 2016-01-14 16:43:02 +01:00
Steven Cooreman 9d35328001 Clean up failed merge 2016-01-13 09:57:38 +01:00
Steven Cooreman 037dd8c455 Add back the manual placement of the DMA section for GCC to optimize the RAM layout w.r.t. alignment. 2016-01-12 17:25:58 +01:00
Steven Cooreman a0ba4e6489 Pull up EFM32 linker and startup files to latest SDK version. 2016-01-12 17:25:55 +01:00
Steven Cooreman 91ad34addb Update emlib to 4.2.1 to get a critical fix for DCDC on Pearl 2016-01-12 17:25:50 +01:00
Mikko Polojarvi 2ba71ea761 SiLabs: Remove emlib LDMA modifications
Emlib should now match the standard SiLabs release. Required extensions
have been moved to dma_api and marked with LDMAx_ prefix.
2016-01-12 17:25:46 +01:00
Steven Cooreman cb2a653bba Typo in AnalogOut 2016-01-12 17:25:43 +01:00
Steven Cooreman 41e2d8b75f Remove static define that would result in erroneous code when unset, and remove said code. 2016-01-12 17:25:41 +01:00
Steven Cooreman 48b20be0e6 Demote LDMA interrupt priority. We assume that completion of a DMA transfer means the transaction is finished already, and its handling is thus less time-sensitive than being in the middle of an interrupt-driven Serial or SPI transaction. 2016-01-12 17:25:38 +01:00
Steven Cooreman 468ddc86bd Fix error in comment 2016-01-12 17:25:36 +01:00
Steven Cooreman 7df5e479a2 Fix version mismatch between included emlib and readme 2016-01-12 17:25:34 +01:00
Steven Cooreman cfc1eea36b No need to set up the interrupt handler every single time in lp_ticker. 2016-01-12 17:25:31 +01:00
Steven Cooreman 495f7a4e45 Removed unnecessary code in _putc. 2016-01-12 17:25:29 +01:00
Steven Cooreman 924d931553 Cleanup and bugfixes of the PWM implementation.
* Setting the PWM period now correctly updates all other channels to keep their duty cycle
* No longer keep values in RAM that can be read directly from a register
* Setting the PWM duty cycle to 100% no longer makes the signal glitch on every period
* Code condensation
2016-01-12 17:25:26 +01:00
Steven Cooreman 919cf3d14e Light documentation on the sleep API 2016-01-12 17:25:24 +01:00
Steven Cooreman f5d44116e8 Reduce I2C object footprint 2016-01-12 17:25:21 +01:00
Steven Cooreman 0847fd5e2e Fixes to Pearl pinmap:
* Added PD9 back in (for some reason it was at some point removed from the pinmap, not sure why because it is a usable pin when you remove the on-board sensor or use the Pearl chip standalone)
* Fixed PWM locations to match the pin-CC channel combinations.
2016-01-12 17:25:18 +01:00
Steven Cooreman 8563fe8c54 Sync port_api.c with port_api.h 2016-01-12 17:25:16 +01:00
Steven Cooreman db45cd476f analogout_api: clean up functions that are no longer part of the API. 2016-01-12 17:25:14 +01:00
Steven Cooreman b233828ebb Cleanup in AnalogIn: remove functions that are unnecessary and no longer part of the API. 2016-01-12 17:25:11 +01:00
Steven Cooreman f20e96008d Update serial_api to not rely on the maximum number of serial peripherals, but rather allocate resources depending on how many peripherals the chip actually has. Should help with memory usage and clarity, also gets rid of a random badly-named #define in objects. 2016-01-12 17:25:09 +01:00
Steven Cooreman a59c73c4de Fixes to analogOut:
* Implement _free
* Make sure the pin is set to disabled
2016-01-12 17:25:06 +01:00
Steven Cooreman b4c171802e Silence GCC 2016-01-12 17:25:04 +01:00
Steven Cooreman dc2e6317ba lp_ticker code condensation 2016-01-12 17:25:01 +01:00
Steven Cooreman 8fac7bb8e6 Pinmap update for Pearl:
* Remove DAC reference
* Assign part of the pins to each PWM CC channel
* Add APORT4X pins to the ADC map
2016-01-12 17:24:58 +01:00
Steven Cooreman 1631aac5aa Remove unnecessary checking of bit before setting GPIO 2016-01-12 17:24:56 +01:00
Steven Cooreman f4133b8d36 Update modules.h to reflect the actual configuration of Pearl Gecko. 2016-01-12 17:24:54 +01:00
Steven Cooreman d7a4ebba21 Removed useless #error in analogin 2016-01-12 17:24:52 +01:00
Steven Cooreman 3f61aafd0a removed a line of code duplication 2016-01-12 17:24:49 +01:00
Steven Cooreman 8bec4e22bb PWM refactoring to be less confusing with all the #ifdef for routes 2016-01-12 17:24:47 +01:00
Steven Cooreman 653e91df5d Get rid of the check_usart_clock function which is unused and unnecessary. Usart-specific clocking resides in either spi or serial (or both) api files. 2016-01-12 17:24:44 +01:00
Steven Cooreman 05ce194f25 Move to CMSIS defines to check for presence of certain LF clock trees 2016-01-12 17:24:42 +01:00
Aksel Skauge Mellbye f05fd7fcea EFM32 Pearl Gecko Serial: Remove dynamic peripheral allocation. 2016-01-12 17:24:40 +01:00
Aksel Skauge Mellbye c0ec7ad8d9 EFM32 Pearl Gecko SPI: Remove dynamic resource allocation.
Allocate peripherals to specific subsets of pins. USART0 is available on port A, B and D, while USART1 is available on port C and F.
2016-01-12 17:24:37 +01:00
Aksel Skauge Mellbye 9dff016946 EFM32 Pearl Gecko test pins. 2016-01-12 17:24:35 +01:00
Aksel Skauge Mellbye d2609676ba EFM32: Fix HFRCO support for P2 devices. 2016-01-12 17:24:32 +01:00
Aksel Skauge Mellbye 8634cf54d6 EFM32 Pearl Gecko IAR support. 2016-01-12 17:22:14 +01:00
Mikko Polojarvi efadf47be6 SiLabs Pearl: Support for clocking via RC oscillators
Allows clocking the device from RC oscillators (HFRCO, LFRCO).
Note that we can not use the em_cmu.h enums directly as the
preprocessor can not do comparisons on them.

Related changes in serial_api, so that LEUART clock is within
acceptable limits on Pearl.

Contains quite a bit of indentation changes to make the preprocessor
logic more readable so recommend viewing the diff in ignore whitespace
mode.
2016-01-12 17:22:12 +01:00
Mikko Polojarvi 73cf96369d SiLabs: serial_api: Allow LEUART IRQ to fire both handlers
When LEUART IRQ fires, check both RX and TX side for active interrupts
and handle both of them.
2016-01-12 17:22:09 +01:00
Mikko Polojarvi cd08228278 SiLabs: serial_api: Add missing object to sleep fix
Commit 49f63130 'SiLabs: serial_api: Keep track of sleep mode changes'
did not include the added field to struct serial_s.
2016-01-12 17:22:07 +01:00
Mikko Polojarvi 6c3418a0c0 SiLabs: serial_api: Fix memory underflow read in DMA handling
Code would index DMA irq fired array without checking the DMA handle,
which would be -1 when DMA was not used.
2016-01-12 17:22:04 +01:00
Mikko Polojarvi a6e137f188 SiLabs: serial_api: Keep track of sleep mode changes
Keep a counter of sleeps blocked for every device, and do not try
to unblock sleep modes we did not block. This fixes problems where
serial events would cause EM1/EM2 to be unblocked too early,
causing the MCU to go to EM3 and not being able to wake up.
2016-01-12 17:22:02 +01:00
Mikko Polojarvi 1c47e974ff SiLabs Zero: Fix clocking when using LEUART for USB board controller
When initializing for use with the board controller, the LEUART must
be clocked from HF clock as the baud rate is otherwise too high.

Do this by first initializing to "standard" 9600, then call serial_baud
which will handle setting up the clocks and dividers.
2016-01-12 17:21:59 +01:00
Mikko Polojarvi ff494c4000 SiLabs: serial_api: Unblock sleep correctly on TX side
Previous commit that added _intern versions of abort functions
did not change calls of TX abort, so sleep would never unblock.
2016-01-12 17:21:57 +01:00
Mikko Polojarvi 96ff20491c SiLabs Pearl: Minimize line glitches when doing LEUART-USART switch
Switch caused a phantom 0xFF frame to appear on the line when we switched
from LEUART to USART due to a baud rate was increase. This was short
enough that it was only visible at high (~115kbps) speeds.

As a fix, skip disabling the GPIO pins (as their configuration does not
change), and defer disabling the LEUART routing until at the very last
moment. Additionally, do not call serial_format, but immediately
initialize the UART to correct params.
2016-01-12 17:21:54 +01:00
jhokajar 2961d4cc33 SiLabs: analogout_api:
Analog_out fixed. Channel enabled in analogout_init.
2016-01-12 17:21:52 +01:00
Mikko Polojarvi 83401e502b SiLabs Pearl: Correct HFXO frequency
Move to the final HFXO frequency, 40MHz.
2016-01-12 17:21:50 +01:00
Mikko Polojarvi 3b3e52f0a1 SiLabs: serial_api: Fixes for sleep, transmitter disable and uart switch
- Do not attempt to disable the transmitter. Did not find a robust
   way to do so - see comment in file for more info.

 - Do not unblock sleep when abort is called externally, this leads
   to jams as EM1 block gets disabled and the next sleep call places
   the hardware to directly to EM3.

 - Retain more status when switching over from LEUART to USART in
   Pearl: keep registered IRQ handlers and other IRQ status.
2016-01-12 17:21:47 +01:00
jhokajar e48994e9cf Silabs: SPI
Changed SPI implementation: #1 To avoid clearing data from buffers, during splitted DMA transfer
RX/TX buffer clear is done only when transfer is started.
USART transmit is completed instead of DMA/LDMA transfer completed.
2016-01-12 17:21:44 +01:00
jhokajar a9f0fdb200 SiLabs Pearl: SPI
When doing a large transfer over the LDMA it is required to wait TX to be completed
before transferring the next part of the data. Added a loop, to wait until TXC flag is set in function USART_STATUS_TXC.
+ minor code cleanup and EM1 sleep is allowed again.

Second, the TX interrupt was not cleared after processing, causing
it to stay in an infinite loop.
2016-01-12 17:21:42 +01:00
Mikko Polojarvi a7ef4ca830 SiLabs: serial_api: Fix LEUART interrupt dispatch
Conditional when dispatching LEUART irq would always select the RX
side due to a bitwise AND being typoed as a logical AND.

Second, the TX interrupt was not cleared after processing, causing
it to stay in an infinite loop.
2016-01-12 17:21:40 +01:00
Mikko Polojarvi b8ab9fbfed SiLabs Pearl: Use any free UART for stdio
Remove limitation that only a specific UART can be used for the
USB board controller serial line.
2016-01-12 17:21:37 +01:00
Mikko Polojarvi 86376495a6 SiLabs: port_api: Allow individual values on output pins and fix init
Previously, all pins in an mbed Port were set to the same value.
Use GPIO_PortOutSetVal to directly write the desired value to
the pins.

During port initialization the pin mode for input pins was set incorrectly.
Now, input pins are directly set to Input (gpioModeInput) and output pins to
PushPull (gpioModePushPull).
2016-01-12 17:21:35 +01:00
jhokajar 3fc661944a SiLabs Pearl: SPI fixes
Added rx/tx clear before DMA transmit begins. RX DMA descriptor
    fixed
2016-01-12 17:21:33 +01:00
Mikko Polojarvi 81a9dd9031 SiLabs: I2C: Always set master mode on initialization
If an I2C block was reused after being a slave the status would not
be cleared completely, so explicitly initialize to master mode always.
2016-01-12 17:21:30 +01:00
Mikko Polojarvi 316e8733df SiLabs Pearl: I2C: Do not try to force specific locations of pins
Pearl can freely select pins, so do not force both SDA and SCL pins
to have the same "location".
2016-01-12 17:21:27 +01:00
Mikko Polojarvi c1e5c0b907 SiLabs: GPIO interrupts disabled/enabled incorrectly
GPIO_IntEnable/Disable was called with incorrect params due
to missing parens. Operator precedence of & vs << caused the
call to be blank if the port (MSB) nibble of pin was not zero.
2016-01-12 17:21:25 +01:00
jhokajar ee329e5df7 Silabs Pearl: SPI LDMA descriptor fix
Changed correct LDMA descriptor for RX.
2016-01-12 17:21:23 +01:00
jhokajar 2160134d48 Silabs: SPI DMA fix
DMA tranfer was not working in Geckos using DMA. Changed transfer
length calculation in function spi_activate_dma.
2016-01-12 17:21:20 +01:00
jhokajar 0dfca1ad86 SiLabs Pearl: More SPI fixes for 9-16 bit frames
spi_buffer_tx_write fixed to work correctly with 9-16 bit frames,
if transfer length > 1. If frame is 9-16 bit client can use uint16_t or
uint32_t buffer for data storage, spi_api's default is to use uint16_t.

Added precompiler condition USE_UINT16_BUFFER to change assumption for
DMA and IRQ -transfers.
2016-01-12 17:21:18 +01:00
Mikko Polojarvi 6bb98769b0 SiLabs: Update emlib to 4.2.0
Emlib and HW headers updated. ADC pinmap changed to match new
definitions. Pearl linker files updated.
2016-01-12 17:21:15 +01:00
Mikko Polojarvi e865f1fe6f SiLabs Pearl: Keep UART enabled during single byte transfers
We need to explicitly enable the transmitter on Pearl when using the
serial_putc function, to match the disable in the asynch abort.
2016-01-12 17:17:24 +01:00
jhokajar 15b4341162 SiLabs Pearl: SPI fixes for 9-16 bit long frames
LDMA descriptor fixed to support 9-16 bit long frames. Prevented
sleepstate EM1, because USART requires EM0, and entering to EM1
during transfer can crash the system.
2016-01-12 17:17:22 +01:00
jhokajar 3e593439ae SiLabs Pearl: SPI support for 9-16 bit long frames
Added LDMA-transfer support for 9-16 bit long SPI-frames.
2016-01-12 17:17:19 +01:00
Mikko Polojarvi 838b0a6c56 SiLabs Pearl: Allow serial transmitter disable on Pearl
Previous comment on issuing a TXDIS command was incorrect. Actual
root cause was a non-DMA RX interrupt causing the code to run the
TXC handling code as long as the TX DMA interrupt had fired,
which was too early.

Reenable usage of TXDIS on Pearl.
2016-01-12 17:17:17 +01:00
Mikko Polojarvi f6b0c37982 SiLabs Pearl: Support for ARM compiler toolchain
Startup files and linker scripts added for standard and
micro variants of the ARM compiler toochain.
2016-01-12 17:17:14 +01:00
jhokajar 73db782a73 SiLabs: spi implementation
Added implementation for spi_irq_handler_asynch
2016-01-12 17:17:12 +01:00
Mikko Polojarvi 6067de0428 SiLabs Pearl: Rename files and dirs to correct STK code
Pearl STK is offically known as SLSTK3401A, but we well go
with the same naming convention as with Happy so Pearl's
name in Mbed will be STK3401.

Renames all files and directories that previously had the
placeholder STKXXXX. Build, target and export scripts
modified accordingly.
2016-01-12 17:17:10 +01:00
Mikko Polojarvi 20a5bc2ab6 SiLabs: Fix compiler warnings and other cleanup
- Compiler warnings fixed
 - Some private functions marked static
 - Removed unneeded comments
 - Some trailing whitespace stripped
2016-01-12 17:01:41 +01:00
Mikko Polojarvi 9149e88dd1 SiLabs Pearl: Serial support for LEUART-USART switch
Serial HAL now allocates the LEUART first, and will switch
to using a standard UART only if the parameters require it.

Note that this switch can currently only happen one way, from
LEUART to USART. So once a higher baudrate or invalid frame
bit amount has been used, that instance of Serial object
will be locked to using an USART.

TODO: Parts of the UART (re)initialization code are now spread
between three places. They should be combined into single,
generic function.
2016-01-12 17:01:38 +01:00
Mikko Polojarvi 09c94d3091 SiLabs: Fix incorrect TX active conditional in serial_api
Part of condition to detect active TX was not only incorrect
but also not needed in the first place. TX active state is
now always detected only via active TXBL/TXC interrupt.
2016-01-12 17:01:36 +01:00
Mikko Polojarvi 763ce3dbbc SiLabs Pearl: Free(er), dynamic allocation of UARTs
UARTs are no longer fixed to certain pins on Pearl, so
we need to allocate them as needed, and allow for free
pin selection.

TX and RX pin locations in the main serial struct have been
separated, and pin routing modified accordingly.

serial_api_HAL.h interface keeps track of which UARTS are
currently in use, and provides alloc/free functions. Serial
and SPI components modified to use the new API.

TODO: Magic to support LEUART. This code will also need to
be able to dynamically switch from LEUART to standard USART
if the user later sets params (baud rate or format) that can
not be supported on LEUART.
2016-01-12 17:01:34 +01:00
Mikko Polojarvi 0e75dd3257 SiLabs: Fix infinite interrupt loop when using LEUART with DMA
Issuing a CLEARTX to LEUART command together or after TXEN caused
the DMA transfer to jam or cause repeated interrupts.

Also cleanup duplicated interrupt clears and add correct LEUART
branches when disabling RX/TX.
2016-01-12 17:01:30 +01:00
Mikko Polojarvi e30c1e1468 SiLabs: Compilation fix for incorrect LFE clock flagging
cmuClock_LFE conditional compliation was using the incorrect flag.
2016-01-12 17:01:28 +01:00
Mikko Polojarvi 97e5eabffa SiLabs: Multiple fixes for serial_api
- Allow emlib to read the HFPER clock when initializing
   USART. This corrects the baud rate on the serial line.

 - Always use the TXC interrupt to signal when a transmission
   is over when using (L)DMA. Removes a race condition
   between flipping from TXBL to TXC, and TXC activating.

 - With the previous change, serial_tx_active can now poll
   the TXBL/TXC interrupts to see if a transmission is active.
   previous code would fail in cases that the DMA transfer
   had ended, but TX was still active, occasionally leading
   to partial transfers when CLEARTX command was issued on
   the next transfer.

 - Add some sync points (SYNCBUSY poll) when twiddling around
   LEUART registers.

Known issue: Using LEUART and DMA transfer on (at least) Leopard
causes the device to enter an infinite DMA interrupt loop.
2016-01-12 17:01:26 +01:00
jhokajar f6a66ff7e2 SiLabs: Correct low power timer setup
When the requested timeout was not a integer multiple of the
LF clock tick the timestamp was set too short due to rounding,
sometimes causing the ticker event to be missed.
2016-01-12 17:01:24 +01:00
jhokajar ab26722b01 SiLabs: Low power timer / RTC initialization fix
Read as not returning correct values, because RTCC (or RTC in other
Gecko's) was not initiated. This was a problem in every Gecko.

If RTCC is initiated for lptimer it is done without binding it to
irqhandler (since irq not needed). Also implementation for geckos
using RTC added.

Tested with pearl and happy geckos
2016-01-12 17:01:22 +01:00
jhokajar 22879f972d SiLabs Pearl: lpticker wakeup 2016-01-12 17:01:20 +01:00
Mikko Polojarvi a31071275a SiLabs: Fix interrupt amount configurations
Number of interrupt slots reported by different files before this commit:

            giant  happy  leopard  pearl  wonder  zero
spec        39     21     39       34     39      17
nvic        39     21     39       34     40      19
startup.s   39     21     40       34     40      19
gcc link    40     21     41       34     40      19
arm link    40     22     40       -      40      16
reserved    0      0      1        0      0       2

  spec - reference manual
  nvic.h - cmsis_nvic.h
  startup.s - assembler startup files
  gcc link - efm32*.ld linker script for GCC
  arm link - efm32*.sct linker script for ARM (RVCT)
  reserved - number of 'reserved' slots at the end of irq table in startup.s files

Fixed amounts to reflect those in the startup files, including reserved
slots:

Giant
    Reduce amount in GCC and ARM linker files to 39

Happy
    Fix comment in GCC linker file
    Reduce amount in ARM linker file to 21

Leopard
    Increase amount to 40 in cmsis_nvic.h
    Reduce amount to 40 in GCC linker file (this bug caused by
    emlib 4.1.0 port commit 1923e8b4)

Wonder
    No changes, but note that ref. manual does not list FPUEH
    interrupt that is included in startup files at index 39

Zero
    Increase amount to 19 in ARM linker file
2016-01-12 17:01:17 +01:00
jhokajar 7f051e9a22 SiLabs Pearl: SPI LDMA support
SPI dma forced to compile. Continuing improvements...
2016-01-12 17:01:15 +01:00
jhokajar 745d72aeea SiLabs Pearl: SPI pinmappings
Correct routing for SPI pins on Pearl
2016-01-12 17:01:13 +01:00
jhokajar 97a1674a94 SiLabs Pearl: I2C GPIO fix
GPIO pins were uninitialized. Fixed and tested.
2016-01-12 17:01:11 +01:00
Mikko Polojarvi 6095a67b95 SiLabs Pearl: LDMA fixes for serial
LDMA now functional for both RX/TX.

One hack remains - need to check if TXC interrupt check can be
removed from older platforms, or if flagging is necessary.
2016-01-12 17:01:09 +01:00
jhokajar fc49b0e2ac SiLabs Pearl: PWM output functionality
Any channel can be used. It is possible to have 4 pwm outputs
active at a same time, if PinMap_PWM configuration is done properly.

Future improvement proposal: dynamic channel selection!
2016-01-12 17:01:07 +01:00
jhokajar 973141e2e7 SiLabs Pearl: ADC fixes
Channel selection shifted to right place. Now It seems to work
at least with channel PC11. Weird thing is, that floating pin gives
result 0.4. Should be 0.0.
2016-01-12 17:01:04 +01:00
Mikko Polojarvi 7be6799638 SiLabs Pearl: LDMA support for serial_api
LDMA support for serial HAL. Adds callback support for emlib LDMA
code so that most of the old serial code can be reused.

Note: Serial shows some signs of life on the bus, but DMA mode
is completely untested.
2016-01-12 17:01:03 +01:00
Mikko Polojarvi e3e385e16d SiLabs Pearl: Serial HAL USART/LEUART pin routing
Serial pin routing for Pearl. Note that this currently requires
the pins to be in the same "location", even though this is not
needed by the Pearl HW.
2016-01-12 17:01:00 +01:00
jhokajar d238a83042 SiLabs Pearl: AnalogIn support
analogin_api.c changed to make it compile.

Compilation error will be generated if _ADC_SINGLECTRL_POSSEL_MASK ||
_ADC_SINGLECTRL_INPUTSEL_MASK is not defined. This is because NEGATIVE
voltage measurement is not supported by MBED API.
2016-01-12 17:00:58 +01:00
Mikko Polojarvi bafd8e28b8 SiLabs Pearl: LDMA initialization
LDMA support for the dma_api module
2016-01-12 17:00:56 +01:00
Mikko Polojarvi c4018e4ea8 SiLabs Pearl: Correct includes and interrupt names in RTC
Conditionals for including em_rtc.h and em_rtcc.h.
Use the correct interrupt name in RTCC code.
2016-01-12 17:00:54 +01:00
Mikko Polojarvi 21a242049f SiLabs Pearl: Fix I2C pin routing
Use new ROUTEPEN/ROUTELOC0 registers for selecting I2C pins.
2016-01-12 17:00:52 +01:00
Mikko Polojarvi 4990751ace SiLabs Pearl: Correct STDIO_UART definition
Normal UARTs not present, use USART.
2016-01-12 17:00:50 +01:00
Mikko Polojarvi 2cb2ada9b6 SiLabs Pearl: Mbed support for linker script
Mbed needs to have interrupt vectors in RAM so reserve space at
the beginning of memory, and export the relevant symbols.
2016-01-12 17:00:48 +01:00
jhokajar c89d5cae9d SiLabs Pearl: Update pinmap for ADC and DAC
ADC pinmap updated, PinMap_DAC removed, since DEVICE_ANALOGOUT not supported
2016-01-12 17:00:46 +01:00
Mikko Polojarvi 6e7589c5b8 SiLabs Pearl: Remove configuration for HW not present in Pearl
Removed DAC/AnalogOut, I2C1, UART0/1, LEUART1, USART2,
GPIO Drive support and GPIO port E.
2016-01-12 17:00:44 +01:00
Mikko Polojarvi dcc6b61ed5 SiLabs Pearl: lp_ticker HAL adaptation
Use RTCC API for lp_ticker on Pearl. Basic adaptation, but more
work is required.

Now frees RTC when ticker is not used (detected through interrupt
disable), so that sleep modes below EM2 do not remain
permanently blocked.
2016-01-12 17:00:42 +01:00
Mikko Polojarvi bf4cf1a5ec SiLabs Pearl: RTCC support 2016-01-12 17:00:40 +01:00
Mikko Polojarvi e2c33dd166 SiLabs Pearl: GPIO HAL fixes
Pearl GPIO block does not support DOUTSET/DOUTCLR,
so use read+DOUTTGL instead.
2016-01-12 17:00:38 +01:00
Mikko Polojarvi 15ed788fe7 SiLabs Pearl: Pin mappings for PWM
PWM pin mappings. Since the pins can be freely chosen (unlike
in previous HW), there should be no need to use the other channels.

Also corrected frequency for HFXO in ref devices.
2016-01-12 17:00:35 +01:00
Mikko Polojarvi 199f5fa402 SiLabs: Emlib 4.1.0 headers update for Zero Gecko 2016-01-12 17:00:33 +01:00
Mikko Polojarvi 0c066f5c1a SiLabs: Emlib 4.1.0 headers update for Wonder Gecko 2016-01-12 17:00:30 +01:00
Mikko Polojarvi 19a060791c SiLabs: Emlib 4.1.0 headers update for Leopard Gecko 2016-01-12 17:00:27 +01:00
Mikko Polojarvi 567afac8ea SiLabs: Emlib 4.1.0 headers update for Happy Gecko 2016-01-12 17:00:25 +01:00
Mikko Polojarvi 485a08db77 SiLabs: Emlib 4.1.0 headers update for Giant Gecko 2016-01-12 17:00:22 +01:00
Mikko Polojarvi 9234010fb8 SiLabs: Update emlib to 4.1.0
New version with support for Pearl & co.
2016-01-12 17:00:19 +01:00
Mikko Polojarvi e5e896b68d SiLabs Pearl: Initial commit
Leopard Gecko used as baseline.

TODO

 - Peripheral/GPIO pin mappings etc for Pearl are marked "Pearl ok",
   rest are wrong

 - Missing new (4.1.0+) emlib
2016-01-12 17:00:16 +01:00
0xc0170 2d4024eccb mbed lib revision - 112 2016-01-12 09:56:03 +00:00
adustm 26e3c61983 [STM all] Fix #1480: change location of check for RTC already initialised
Need to keep PWR_CLK_ENABLE and LSE LSI oscillator configuration.
Just skip the HAL_RTC_Init in case INITS flag is already set.
2016-01-12 09:30:33 +00:00
Martin Kojtal 42ceddf229 Merge pull request #1467 from mbedmicro/fix_m7core
Fix m7core
2016-01-11 16:55:37 +00:00
Martin Kojtal ab7d3f1d2c Merge pull request #1497 from c1728p9/fix_raw_serial_microlib
Fix RawSerial when used with ARMCC microlib
2016-01-11 16:55:05 +00:00
ytsuboi 9b7d776d40 [TY51822r3] add description on comment, fixed years 2016-01-11 22:57:46 +09:00
0xc0170 50719edaf5 RTOS - M4 files reuse for M7 2016-01-11 13:50:59 +00:00
adustm 4ac44bdea6 [STM_F0] clock the APB2ENR_SYSCFGEN in RCC so that SYSCFG->CFGR1 value can be taken into account in NVIC_SetVector 2016-01-11 09:31:50 +00:00
Russ f8ada507af Fix RawSerial when used with ARMCC microlib
The function vsnprintf does not properly handle a size of zero for
the destination buffer, and will write data to it.  If the buffer is
set to null this will cause a hardfault.  This patch adds a workaround
for this bug by using a buffer of size 1.
2016-01-10 19:01:46 -06:00
ytsuboi 9a9885e5fa [TY51822r3] add platform 2016-01-06 23:17:24 +09:00
adustm 3bf8c187b3 allow rtos support 2016-01-06 13:51:39 +00:00
adustm f4496bb5de Add cmsis files for this new platform 2016-01-06 13:44:36 +00:00
adustm 300d3a0025 add new platform hal files 2016-01-06 13:44:26 +00:00
Martin Kojtal 4dc26b3d27 Merge pull request #1469 from dudmuck/master
release platform MOTE_L152RC to public
2016-01-04 12:15:04 +00:00
Martin Kojtal a63257b05f Merge pull request #1432 from adustm/DEV_FIX_1419_baudrateissue
[TARGET_STMF0] Fix #1419 baudrateissue
2016-01-04 12:14:34 +00:00
Martin Kojtal 7899cff5f6 Merge pull request #1483 from sg-/lpc4337_uart
LPC4337 stdio fixes for lpcxpresso board
2016-01-04 09:19:43 +00:00
Mike Fiore d992c2e3e9 [MTS_DRAGONFLY_F411RE] correct serial signal pin names & add wakeup pin name 2015-12-29 11:43:03 -06:00
sg- 6feb5ed291 maintain support for micromint bambino and lpcxpresso boards 2015-12-28 00:18:59 -06:00
sg- 6bb92b1148 update stdio uart for lpc4337 and set baudrate to 9600 2015-12-28 00:05:28 -06:00
mjrgh 966bf9577a Remove doubling of buffer size in realiseEndpoint()
realiseEndpoint() was unnecessarily allocating twice the buffer space for each endpoint buffer.  This was presumably for the sake of the hardware SIE's double-buffering (EVEN/ODD) system, but that's vestigial - this implementation doesn't use the double-buffering capability at all, leaving the ODDRST bit in the CTL register always set.  The double-size allocation is a pure waste of memory.
2015-12-24 18:17:58 -08:00
mjrgh bd98d88202 Fix interrupt handler for endpoints > 2
The IRQ handler calculated the endpoint number wrong when handling IN and OUT tokens.  The errant code worked by accident for endpoints 1 and 2 but was incorrect for other addresses.  For endpoints 5 and above it resulted in stray pointer read/writes that could crash the device.
2015-12-24 16:30:46 -08:00
Russ Butler e825431c1a Fix nRF51 baud table size
Increase the number of entries in the baud rate table from 17 to 18.
This problem was introduced in the patch:
0a6e345400 -
Add support for 56000 baud on nrf51
2015-12-21 23:59:55 -06:00
Russ Butler 0a6e345400 Add support for 56000 baud on nrf51
Add support for the baudrate 56000.  This is not documented in the
datasheet, but Nordic has indicated in can be used by setting the
BAUD register to 56000.
2015-12-18 11:36:03 -06:00
Russ Butler 8d12e206f6 Remove byte sent at 9600 baud on init on NRF51-DK
Disconnect the TX line before sending a dummy byte, and wait until the
dummy byte is completely sent before continuing.   This prevents
the byte from getting sent on init or re-init of the uart.
2015-12-18 11:36:02 -06:00
0xc0170 48fa2930e5 mbed lib revision - 111 2015-12-15 16:06:22 +00:00
adustm c59167c196 [STM32F0_all] remove the global variable and use SYSCFG register instead 2015-12-14 11:39:39 +01:00
adustm 5784d29fd2 Merge remote-tracking branch 'refs/remotes/origin/master' into DEV_FIX_1419_baudrateissue 2015-12-14 10:42:52 +01:00
jamofer e7d879aaf6 Update i2c_api.c 2015-12-13 23:29:50 +01:00
jamofer 929cf7ffe4 Issue #666 LPC1768 i2c_slave_read fix
LPC1768 slave issues a STOP condition without waiting for master #666: https://developer.mbed.org/forum/bugs-suggestions/topic/5266/
2015-12-13 23:25:23 +01:00
Martin Kojtal 1c75638d14 Merge pull request #1468 from dinau/f030r8-fixed-led-blink-too-fast
[NUCLEO-F030R8] Fixed: The issue of LED blinking too fast.
2015-12-13 21:30:31 +00:00
Russ 5c75dc29ee Fix glitch when initializing NRF51-DK serial port
When initializing the NRF51's serial TX and RTS pins set the
data output register to high before setting the setting them to
output.  This prevents these pins from glitching low before
the UART has been turned on.
2015-12-13 01:27:01 -06:00
U-owner-PC\owner d5d98a76f6 correct LED pins and pass singletest.py 2015-12-11 18:43:40 -08:00
Martin Kojtal bee1c953f0 Merge pull request #1457 from neilt6/fatfs-integer-fix
FATFileSystem -Fixed API integer widths
2015-12-11 16:11:49 +00:00
dinau 46955971ec [NUCLEO-F030R8] Fixed: The issue of LED blink too fast.
Refer to:
https://github.com/mbedmicro/mbed/issues/1329
https://developer.mbed.org/questions/61386/Is-there-system-clock-error-in-STM32F030/
2015-12-09 20:38:32 +09:00
0xc0170 53fa2b9d6c RTOS - add m7 cmsis header 2015-12-07 15:38:55 +00:00
Martin Kojtal a41d1d6c02 Merge pull request #1449 from dbestm/dev_xxxx_xxx
I2C fixes, timeout for startup ~100/200
2015-12-07 07:48:07 +00:00
Martin Kojtal 88bbe088da Merge pull request #1462 from jeremybrodt/blelibrary
Adding BLE library
2015-12-03 16:05:12 +01:00
Martin Kojtal 006c3b9af7 Merge pull request #1461 from bcostm/rtos_disco_f746ng
[DISCO_F746NG] Add support of this target in RTOS config files
2015-12-03 16:04:55 +01:00
Martin Kojtal 3a0741a173 Merge pull request #1442 from dudmuck/master
handle UART RX overrun on stm32l1xx
2015-12-02 09:44:48 +01:00
Jeremy Brodt d16d77b50c [MAXWSNENV] Adding exactLE BLE stack library. 2015-12-01 08:38:43 -06:00
Jeremy Brodt ad739ddd8b [MAXWSNENV] Added missing definitions. 2015-12-01 08:38:43 -06:00
bcostm ea13cda3d2 [DISCO_F746NG] Add support of this target in RTOS config files 2015-11-30 15:42:25 +01:00
Paul Staron f4726ff98c Update i2c_api.c 2015-11-27 19:41:30 +00:00
neilt6 11dbe1d3ae [FATFileSystem] Fixed API integer widths
Several integer widths in the public API were incorrect, and have been
modified to match the underlying FatFs library.
2015-11-26 09:59:52 -07:00
Martin Kojtal 7fcda4012c Merge pull request #1451 from neilt6/master
[FATFileSystem] Updated FatFs to R0.11a & fixed sync bug
2015-11-26 13:28:18 +00:00
Martin Kojtal 95027b726b Merge pull request #1448 from adustm/br_F303K8_new-defines
[NUCLEO_F303K8] add missing pins for arduino nano connector
2015-11-26 13:24:30 +00:00
Martin Kojtal d2dde861b4 Merge pull request #1443 from 0xc0170/fix_interruptin_clear
InterrupIn - attach with null clears the function pointer
2015-11-26 13:19:50 +00:00
Martin Kojtal afe56019e0 Merge pull request #1394 from Timmmm/master
Fix #1393 - I2C assumes NRF_TWI1
2015-11-26 13:09:22 +00:00
Martin Kojtal f4b1d30ff4 Merge pull request #1433 from sg-/enhance-stream
Enhance stream class
2015-11-26 10:04:37 +00:00
0xc0170 7920122bf3 mbed lib revision - 110 2015-11-26 09:51:41 +00:00
neilt6 f0e0545737 [FATFileSystem] Updated FatFs to R0.11a & fixed sync bug
Updated ChaN FatFs to R0.11a, and implemented Raghid Mardini's sync bug
fix.
2015-11-24 14:18:32 -07:00
sg- dfc3b57115 update system include symantic 2015-11-24 09:10:07 -06:00
adustm 51c83aa3e4 [NUCLEO_F303K8] add missing pins for arduino nano connector 2015-11-24 10:15:42 +01:00
sg- 7fff98a3fd use cstdarg lib and not stdarg 2015-11-23 10:08:51 -06:00
adustm 390584a424 [NUCLEO_L476RG] add templates for iar tool 2015-11-23 14:00:11 +01:00
dbestm 035f3ece65 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_xxxx_xxx 2015-11-20 15:51:32 +01:00
dbestm feac60b519 ALL STM32 platform 2015-11-20 15:51:10 +01:00
Wojciech Gorniak c11d54e5b6 Merge https://github.com/mbedmicro/mbed
Conflicts:
	workspace_tools/export/iar.py
	workspace_tools/toolchains/gcc.py
2015-11-20 10:08:05 +01:00
Martin Kojtal 2b2e0d5444 Merge pull request #1438 from ohagendorf/dsp_lib
[DISCO_F746NG] missing gcc_arm in targets.py, travis build and dsp
2015-11-20 08:35:35 +00:00
0xc0170 281c180722 InterrupIn - attach with null clears the function pointer 2015-11-20 08:12:29 +00:00
U-owner-PC\owner 31511c97f3 handle UART RX overrun on stm32l1xx 2015-11-19 16:11:58 -08:00
ohagendorf b34e067ef2 [dsp lib] update CMSIS dsp 4.5
update was necessary to switching on the dsp lib for Cortex M7 (DISCO_F746)
both dsp tests (CMSIS_DSP_1, DSP_1) are OK with DISCO_F746 and DISCO_L476
2015-11-18 23:26:25 +01:00
Veli-Matti Puurunen 1ab3d018a1 Enable ADC A-channels in K22F and K64F
In Kinetis chips some ADC channels have both A and B channels available.
This commit enables both of them.

Added also some missing ADC channels to PinMap table.
2015-11-18 08:23:29 +02:00
adustm c15e382be1 [TARGET_STM32F0] allow DISCO_F051R8 compilation 2015-11-17 16:56:29 +01:00
adustm 7d23f0fd1e [TARGET_STMF0] change numerical value by its define 2015-11-17 16:55:56 +01:00
sg- d0b934eba0 remove std:: namespace and update include accessability 2015-11-17 09:00:10 -06:00
Martin Kojtal 3e0c18b60a Merge pull request #1414 from adustm/DEV_DISCOF429ZI
DISCO_F429ZI - discof429zi
2015-11-17 14:44:41 +00:00
sg- f13226663c add variable arguemnt support to stream 2015-11-17 08:35:45 -06:00
adustm 5ef5f1a43a remove wrlongly added file 2015-11-17 15:30:54 +01:00
adustm 0d72a40495 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into DEV_FIX_1419_baudrateissue 2015-11-17 13:23:16 +01:00
adustm 57650768c8 Fix #1419 : solve baud_rate issue
Issue was : stdio printf is ok, serial.printf is failing, in case it is
inialized as a global variable. It works on mbed version 107.
Fix: revert to version 107 for systemxxx.c, mbed_overrides.c +
cmsis_nvic.c.
Modify cmsis_nvic.c to use direct addressing instead of a pointer (this
pointer is not yet initialized when called in systemxx.c)
Call HAL_Init in mbed_overrides.c for every platforms.
2015-11-17 13:16:07 +01:00
adustm 92fb85f8bd Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into DEV_DISCOF429ZI 2015-11-16 15:02:41 +01:00
Aksel Skauge Mellbye 13957043c7 [EFM32] Fix serial_api bug selecting wrong peripheral for asynch IRQ handler. 2015-11-16 13:28:47 +01:00
Aksel Skauge Mellbye c0253c1fa5 [EFM32] Sleep: Remove EM4 entry, as there is no way of configuring EM4 wakeup in mbed. 2015-11-16 13:27:35 +01:00
Aksel Skauge Mellbye 4e217bacf9 [EFM32] Remove erroneous sleep() call from blocking spi_master_write. 2015-11-16 13:26:44 +01:00
Aksel Skauge Mellbye b9f8f2bc91 [EFM32] Declare spi_api.c helper functions as static. Fixes linker issue with gcc. 2015-11-16 13:26:12 +01:00
WoGorniak 863898b29c changed file permissions 2015-11-16 11:09:16 +00:00
Wojciech Gorniak 28dd5081ca removed whitespace in wfi test 2015-11-13 14:21:58 +01:00
Wojciech Gorniak da07e277d7 Revert "corrected serial port definition of rx test"
This reverts commit 21cfe15bc0.
2015-11-13 14:19:24 +01:00
Mika Laurila 46575188f6 STM32F410RB: Updated startup file for ARM_MICRO and exporter templates for IAR and uVision4 2015-11-13 08:46:07 +02:00
Mika Laurila ce3ccb42bb PB_11 removed 2015-11-13 08:19:51 +02:00
Martin Kojtal 10a39f48b0 Merge pull request #1416 from leibin2014/master
Free hardware resource in pwmout_free()
2015-11-12 14:19:08 +01:00
Wojciech Gorniak 4857b44bb9 Merge branch 'master' of https://github.com/RafalFabich/mbed 2015-11-12 14:00:30 +01:00
Wojciech Gorniak 21cfe15bc0 corrected serial port definition of rx test 2015-11-12 14:00:06 +01:00
Mika Laurila 4efbea4102 Merge branch 'master' of https://github.com/RafalFabich/mbed 2015-11-12 14:18:53 +02:00
Mika Laurila 8a120324a9 Disabled HAL ticker in WFI test case for STM32F4 devices 2015-11-12 13:08:33 +02:00
adustm ab5c2fac1d Remove unused file 2015-11-12 11:35:39 +01:00
adustm 11224405a8 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into DEV_DISCOF429ZI
Conflicts:
	workspace_tools/build_release.py
	workspace_tools/export/gccarm.py
	workspace_tools/export/uvision4.py
	workspace_tools/export_test.py
2015-11-12 10:42:59 +01:00
Wojciech Gorniak 56dd556952 added missing endif 2015-11-12 10:19:56 +01:00
Mika Laurila 6eb721caf2 Added TARGET_FF_ARDUINO to i2c_slave test 2015-11-12 10:02:34 +01:00
Mika Laurila 38b9006df8 Fixed RTOS test cases 2015-11-12 10:02:30 +01:00
Mika Laurila 8ba3a08a1f Fixed F410RB IAR configuration file 2015-11-12 10:02:29 +01:00
Mika Laurila a94946ce89 Removed TIM5 from PWM mapping because it is used by the us_ticker 2015-11-12 10:02:28 +01:00
Mika Laurila 9128ef483f Fixed vector table size 2015-11-12 10:02:27 +01:00
Mika Laurila 8e54df9141 Reverted to old version of cmsis_nvic.h 2015-11-12 10:02:26 +01:00
Mika Laurila 2647edfe72 Revert "Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h""
This reverts commit 4b488736c0.
2015-11-12 10:02:25 +01:00
Mika Laurila 44c5a79afe Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h"
This reverts commit b343fb7e43.
2015-11-12 10:02:24 +01:00
Mika Laurila 3f391d70d0 Removed F410RB specific ifdef from i2c_api.c and added FMPI2C_1 to F446RE PeripheralNames.h to make it compile 2015-11-12 10:02:23 +01:00
Mika Laurila e01230363a Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h 2015-11-12 10:02:22 +01:00
Mika Laurila 3e7a7ce046 Changed FMPI2C specific to F410RB 2015-11-12 10:02:21 +01:00
Wojciech Gorniak 355e2ea0fb fixed FMPI2C1 typo 2015-11-12 10:02:20 +01:00
Mika Laurila d95dfe3edc Changes to make all PWM output pins available 2015-11-12 10:02:19 +01:00
Mika Laurila 90b2228cfb Added TARGET_STM32F410RB to spi_frequency() in spi_api.c 2015-11-12 10:02:18 +01:00
Wojciech Gorniak fe7cff48cf added target definition to RTOS-related files 2015-11-12 09:56:47 +01:00
Mika Laurila 0ffb311bab Fixed FMPI2C ifdefs and macro names 2015-11-12 09:56:46 +01:00
Wojciech Gorniak 716654908a added SetSysClock (merged with F411) 2015-11-12 09:56:45 +01:00
unknown aaba9210db Removed some duplicate I2C pins 2015-11-12 09:56:43 +01:00
unknown a0fc43974a Updated I2C pin mapping 2015-11-12 09:56:43 +01:00
Wojciech Gorniak 5b36773721 added DAC support 2015-11-12 09:56:41 +01:00
Wojciech Gorniak 09a627de19 fixed bug with pwm5 2015-11-12 09:56:41 +01:00
Wojciech Gorniak 3f77d66229 removed PWR5 2015-11-12 09:46:39 +01:00
Rafal Fabich 4999dd050b Updated files used by IAR compiler with those available from STM32CubeF4 package 2015-11-12 09:46:38 +01:00
Wojciech Gorniak 4db4df2411 redefined rest of the peripherialPins 2015-11-12 09:46:37 +01:00
Rafal Fabich b720476e81 Revert "Fixed bug: missing clock enable for PWM_5 (TIM5)"
This reverts commit f1358842bd.
2015-11-12 09:46:36 +01:00
Rafal Fabich 927e72a394 Fixed FMPI2C1 defines in i2c_api.c 2015-11-12 09:46:34 +01:00
Rafal Fabich c374460c5c Fixed bug: missing clock enable for PWM_5 (TIM5) 2015-11-12 09:46:33 +01:00
Wojciech Gorniak d838d5be1c added pwm mapping in peripherialPins 2015-11-12 09:46:31 +01:00
Rafal Fabich e38b06d0fd Added FMPI2C1 controller as 3rd available I2C 2015-11-12 09:46:31 +01:00
Rafal d1e7f13c01 Fixed and re-enabled PWMs 2015-11-12 09:46:30 +01:00
Rafal cc593f0992 Changes in pin mapping in order to build the STM32F410RB Nucelo target.
Target can be built, but not verified due to Flashing problems.
2015-11-12 09:30:17 +01:00
Rafal Fabich 5061da03db Upgraded HAL drivers to 1.4.1.
Note: NUCLEO-F410RB target cannot be built due to incorrect pin mapping, which has to be fixed.
2015-11-12 09:30:16 +01:00
Rafal Fabich 39908eb5dd Renamed linker and startup files
Fixed memory sizes in compilers files
2015-11-12 09:07:49 +01:00
Rafal Fabich dc6fd00d63 Modified memory sizes in linker script 2015-11-12 09:07:48 +01:00
Rafal Fabich 63574f4c48 Added build target for STM32F410RB.
Initial version that can be built is based on STM32F411RE target which is compatible with F410.
TODOs: MCU specific modifications in CMSIS/HAL like memory sizes/map, peripherals, clocks, etc.
2015-11-12 09:07:47 +01:00
Mika Laurila e857c10dcd Added TARGET_FF_ARDUINO to i2c_slave test 2015-11-12 09:10:50 +02:00
Mika Laurila ee15f02151 Fixed RTOS test cases 2015-11-11 11:27:48 +02:00
Mika Laurila 86b9d7518b Fixed F410RB IAR configuration file 2015-11-11 11:07:15 +02:00
Martin Kojtal 6381769700 Merge pull request #1415 from marcusChiou/master
Change PIN name config for DELTA DFCM NNN40
2015-11-11 08:26:49 +01:00
leibin 6127c0bd17 Free hardware resource in pwmout_free() 2015-11-11 13:56:34 +08:00
Mika Laurila 2d43e7cfbf Removed TIM5 from PWM mapping because it is used by the us_ticker 2015-11-11 07:15:30 +02:00
Mika Laurila 49aef08ff4 Fixed vector table size 2015-11-10 16:14:08 +02:00
Mika Laurila 1e5d64df27 Reverted to old version of cmsis_nvic.h 2015-11-10 14:11:25 +02:00
Mika Laurila c089c68fa0 Revert "Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h""
This reverts commit 4b488736c0.
2015-11-10 14:08:09 +02:00
Mika Laurila 4b488736c0 Revert "Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h"
This reverts commit b343fb7e43.
2015-11-10 14:06:02 +02:00
Martin Kojtal 7218418919 Merge pull request #1392 from dbestm/dev_disco_f469ni
DISCO_F469NI - add disco F469NI support
2015-11-10 10:28:21 +01:00
Martin Kojtal e52fa5c42e Merge pull request #1404 from TomoYamanaka/master
Modify to not missed the received data in EthernetInterface
2015-11-10 10:26:28 +01:00
dbestm ef9949b9ea Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_disco_f469ni 2015-11-10 10:09:20 +01:00
Mika Laurila efbcd5171e Removed F410RB specific ifdef from i2c_api.c and added FMPI2C_1 to F446RE PeripheralNames.h to make it compile 2015-11-10 10:23:31 +02:00
Mika Laurila b343fb7e43 Renamed and updated F411->F410 files in TOOLCHAIN_ARM_MICRO and TOOLCHAIN_ARM_STD, updated vector count in cmsis_nvic.h 2015-11-10 10:05:06 +02:00
marcusChiou e86667ddfc Update PinNames.h 2015-11-10 14:26:44 +08:00
marcusChiou f361022675 Update mbed_overrides.c 2015-11-10 14:25:19 +08:00
adustm 58403520af DISCO_F429ZI : add SPI_6 define to UBLOX_C029
Since DISCO_F429ZI uses 6 SPIs (#1 and #3), spi_api was modified to
support it.
This modification needs to be reported in UBLOX_C029, as it is based on
stm32f439, that contains SPI6 define
2015-11-09 19:45:29 +01:00
adustm d6ac3b272a DISCO_F429ZI : add ADC_3 define to NUCLEO_F446RE
Since DISCO_F429ZI uses 2 ADCs(#1 and #3), analogin_api was modified to
support it.
ADC3 is defined in stm32f446xx.h, then ADC_3 needs to be declared in
PeripheralNames.h for NUCLEO_F446RE
2015-11-09 19:37:25 +01:00
adustm bd5f5c55f2 DISCO_F429ZI : add ADC_3 define to DISCO_F407VG
Since DISCO_F429ZI uses 2 ADCs(#1 and #3), analogin_api was modified to
support it.
DISCO_F407VG is based on STM32F407 product, that has 3 ADCs. ADC_3 thus
needs to be defined in the TARGET_DISCO_F407VG/PeripharalNames.h (even
if
not used)
2015-11-09 19:26:49 +01:00
adustm 94aa9c89ba DISCO_F429ZI : add ADC_3 define to ARCH_MAX
Since DISCO_F429ZI uses 2 ADCs(#1 and #3), analogin_api was modified to
support it.
ARCH_MAX is based on STM32F407 product, that has 3 ADCs. ADC_3 thus
needs to be defined in the TARGET_ARCH_MAX/PeripharalNames.h (even if
not used)
2015-11-09 19:10:59 +01:00
adustm b390f4cc27 Merge branch 'master' of https://github.com/mbedmicro/mbed into DEV_DISCOF429ZI 2015-11-09 18:04:26 +01:00
adustm 9783c7bf38 Debut RTOS_7 2015-11-09 17:40:08 +01:00
Martin Kojtal f605825f66 Merge pull request #1410 from kpurusho/master
Added support for SAML21
2015-11-09 14:26:00 +01:00
adustm 202d56ef12 DISCO_F429ZI: Add uvision toolchain. 2015-11-09 11:01:12 +01:00
adustm 923617ceb4 STM_DISCO_F429ZI: allow this test to pass with 2 LEDs for DISCO_F429ZI 2015-11-09 10:41:49 +01:00
adustm 31b410f3cb STM_DISCO_F429ZI: allow the test to pass on this DISCO_F429ZI with only 2 LEDs 2015-11-09 10:40:55 +01:00
adustm 3993489705 DISCO_F429ZI: change copyright year 2015-11-09 10:39:49 +01:00
adustm 445823aae5 DISCO_F429ZI: change LED_RED 2015-11-09 10:39:15 +01:00
adustm 1e65098a5c DISCO_F429ZI: add a comment 2015-11-09 10:38:41 +01:00
adustm b6cab87af1 DISCO_F429ZI: remove pins that are not on the board. 2015-11-09 10:38:16 +01:00
adustm 2bf69bc512 DICSO_F429ZI: align with other F4 products 2015-11-09 10:37:35 +01:00
adustm 9333f8546c DISCO_F429ZI: align startup file with STM32F4Cube version 2015-11-09 10:37:00 +01:00
adustm f182fa73ca DISCO_F429ZI: update the file: comment every impossible combination,
remove pins that are not available on the board.
2015-11-09 10:36:07 +01:00
adustm 790c7f17e6 DISCO_F429ZI: remove ADC2 and DAC0 2015-11-09 10:34:57 +01:00
adustm 47f453e1a7 DISCO_F429ZI: change copyright year + minor typo 2015-11-09 10:33:33 +01:00
adustm d22b43b9e9 DISCO_F429ZI: allow ADC1 and ADC3 2015-11-09 10:32:25 +01:00
adustm 5fc64fff9e DISCO_F429ZI : add SPI6 2015-11-09 10:31:43 +01:00
adustm b3be112ce6 ALL STM32F4 products : reduce LSE timeout 2015-11-09 10:29:36 +01:00
adustm 675a12c2d5 DISCO_F429ZI: align system_stm32f4xx.c file with other products 2015-11-09 10:28:55 +01:00
Mika Laurila e46a3a4475 Changed FMPI2C specific to F410RB 2015-11-06 14:45:13 +02:00
Wojciech Gorniak 98565bc91c fixed FMPI2C1 typo 2015-11-06 13:14:31 +01:00
Mika Laurila fb2776dd76 Changes to make all PWM output pins available 2015-11-06 13:46:26 +02:00
dbestm ba14dee242 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_disco_f469ni 2015-11-06 10:54:09 +01:00
dbestm 96392ac3d7 [xxxxx_F4xxxx] reduce HSE startup time to 200ms 2015-11-06 10:20:44 +01:00
Mika Laurila 647c1a6777 Added TARGET_STM32F410RB to spi_frequency() in spi_api.c 2015-11-06 07:39:11 +02:00
dbestm 306f1290fe [DISCO_F469NI] enhance files to pass pin out tests 2015-11-05 17:30:17 +01:00
Wojciech Gorniak 104bd90a44 Merge branch 'master' of https://github.com/RafalFabich/mbed 2015-11-05 16:20:22 +01:00
Wojciech Gorniak 743c3194a4 added target definition to RTOS-related files 2015-11-05 16:20:04 +01:00
Mika Laurila acf608253e Fixed FMPI2C ifdefs and macro names 2015-11-05 15:04:45 +02:00
Wojciech Gorniak 3df37e29a1 added SetSysClock (merged with F411) 2015-11-05 13:48:53 +01:00
Martin Kojtal c7fe39e4bc Merge pull request #1402 from GymTrack/fix_nrf_analogin
Fix analogin checking the wrong flag for completion
2015-11-05 08:47:59 +00:00
Martin Kojtal f8c0829c67 Merge pull request #1406 from shaneleonard/fix_stm32l152re_uarts
Fix broken STM32_NUCLEO_L152RE UARTs 4 and 5.
2015-11-05 08:38:42 +00:00
unknown 3f7afc51bd Removed some duplicate I2C pins 2015-11-05 09:15:13 +02:00
Martin Kojtal 46af745ef4 Merge pull request #1407 from kpurusho/master
Renamed TARGET_SAM_CortexM0+ to TARGET_SAM_CortexM0P for compatiblity with online compiler
2015-11-04 16:28:06 +00:00
Parthasarathy.S 7d360ad5ad Reverted temp rename 2015-11-04 16:04:30 +05:30
akhilpanayam d7449dc9f8 * added files for Keil IDE Support. 2015-11-04 16:02:49 +05:30
akhilpanayam 7ca0d74564 * added files for KEIL IDE Support for SAML21
* updated Startup files for KEIL IDE Support
2015-11-04 16:02:34 +05:30
akhilpanayam 2c5508bf77 * Base commit of SAML21J18A hal and CMSIS files. 2015-11-04 16:02:03 +05:30
akhilpanayam 6f96d862aa * updated mbed tests for SAML21J18A. 2015-11-04 16:01:49 +05:30
akhilpanayam 5aadeb62c7 * updated with corrections in analogue out implementation for SAML21.
* corrected ARM license year for files.
2015-11-04 16:01:38 +05:30
Parthasarathy.S e312ef7a0b Temp rename for merging 2015-11-04 16:01:11 +05:30
Parthasarathy.S 28c7806b59 Temp rename for merging 2015-11-04 16:00:47 +05:30
unknown 75a5894a87 Updated I2C pin mapping 2015-11-04 10:30:20 +02:00
Wojciech Gorniak bc1d9362a1 added DAC support 2015-11-03 12:59:00 +01:00
akhilpanayam 57dd8871ee * Renamed TARGET_SAM_CortexM0+ to TARGET_SAM_CortexM0P for compatiblity with online compiler 2015-11-03 12:27:50 +05:30
Shane Leonard 3bd04ade93 Fix broken STM32_NUCLEO_L152RE UARTs 4 and 5. 2015-11-02 11:30:56 -08:00
Martin Kojtal 5eccd220ea Merge pull request #1395 from kpurusho/master
Added Keil compiler support for Atmel Targets
2015-11-02 10:05:01 +00:00
tomoyuki yamanaka c3c389744e Modify the format of code
We modified the format of code.
2015-11-02 17:50:04 +09:00
tomoyuki yamanaka 3d708b73dd Modify to not missed the received data in EthernetInerface
In EthernetInerface, we added the measures so as not to miss the received data.
2015-11-02 10:49:41 +09:00
David 1d40c27584 Fix analogin checking the wrong flag for completion 2015-10-30 11:27:00 -04:00
Wojciech Gorniak c90cbb7663 fixed bug with pwm5 2015-10-30 16:13:49 +01:00
Wojciech Gorniak 0b6e85ec95 removed PWR5 2015-10-30 14:23:01 +01:00
Rafal Fabich 668ee0922b Merge branch 'master' of https://github.com/RafalFabich/mbed 2015-10-30 13:33:13 +01:00
Rafal Fabich e0dd831b4d Updated files used by IAR compiler with those available from STM32CubeF4 package 2015-10-30 13:31:31 +01:00
Wojciech Gorniak 326f23c6e1 redefined rest of the peripherialPins 2015-10-30 13:31:27 +01:00
Rafal Fabich 4394cf7e11 Revert "Fixed bug: missing clock enable for PWM_5 (TIM5)"
This reverts commit f1358842bd.
2015-10-30 11:30:20 +01:00
Rafal Fabich 0938cc034f Fixed FMPI2C1 defines in i2c_api.c 2015-10-30 09:14:36 +01:00
Rafal Fabich f1358842bd Fixed bug: missing clock enable for PWM_5 (TIM5) 2015-10-29 16:18:45 +01:00
Wojciech Gorniak eaa226b2ba added pwm mapping in peripherialPins 2015-10-29 16:09:27 +01:00
Rafal Fabich 3d27c7d806 Added FMPI2C1 controller as 3rd available I2C 2015-10-29 14:58:30 +01:00
Rafal e856a30c95 Fixed and re-enabled PWMs 2015-10-29 13:00:12 +01:00
0xc0170 6bdf53a4e8 mbed lib revision - 109
Fix in analogin - DK target does not provide the pins
2015-10-29 11:48:55 +00:00
Rafal 8ef60cdca2 Changes in pin mapping in order to build the STM32F410RB Nucelo target.
Target can be built, but not verified due to Flashing problems.
2015-10-29 12:12:57 +01:00
Rafal Fabich af67241528 Upgraded HAL drivers to 1.4.1.
Note: NUCLEO-F410RB target cannot be built due to incorrect pin mapping, which has to be fixed.
2015-10-29 11:06:44 +01:00
Tim Hutt dbbe290da9 Tabs -> Spaces 2015-10-28 14:01:14 +00:00
bcostm 9a9c147e49 Remove eventual pending stop bit before start 2015-10-28 13:17:19 +01:00
bcostm d459d87749 Add HSI calibration value 2015-10-28 09:53:45 +00:00
dbestm 77a3884c33 [NUCLEO_F042K6] HSI default value rightly set
this resolves a lot of problems and the external clock can be check
2015-10-27 17:02:51 +01:00
Rafal Fabich f1578435be Renamed linker and startup files
Fixed memory sizes in compilers files
2015-10-27 15:57:24 +01:00
dbestm 403df2fe25 [NUCLEO_F042K6] remove external clock 2015-10-27 15:05:33 +01:00
Rafal Fabich 29922943eb Modified memory sizes in linker script 2015-10-27 13:58:08 +01:00
Rafal Fabich 274d769a0e Added build target for STM32F410RB.
Initial version that can be built is based on STM32F411RE target which is compatible with F410.
TODOs: MCU specific modifications in CMSIS/HAL like memory sizes/map, peripherals, clocks, etc.
2015-10-27 13:50:52 +01:00
akhilpanayam 8b0b517378 * updated with changes in ld files for D21 Targets. 2015-10-27 17:03:06 +05:30
akhilpanayam 8eb34cf253 * Added Keil IDE Support for SAMD21J18A and SAMD21G18A. 2015-10-27 17:03:06 +05:30
akhilpanayam c187bc952d * Added Keil Compiler Supprot for SAMR21G18A 2015-10-27 17:03:05 +05:30
Tim Hutt 8aaee5aa4f Fix #1393 - I2C assumes NRF_TWI1; causes SPI lockup if that peripheral is actually used by SPI. 2015-10-27 10:48:47 +00:00
dbestm 8c549f9b9a Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_disco_f469ni 2015-10-26 10:14:58 +01:00
Martin Kojtal 22ef412435 Merge pull request #1384 from bcostm/fix_analogout
STM32xx -Fix analog_out issue with 12 to 16bits conversion
2015-10-26 08:57:15 +00:00
Martin Kojtal 96f5f02eda Merge pull request #1390 from Sissors/lookmartinImadeanewbranch
HAL K20XX - us_ticker changes
2015-10-26 08:54:08 +00:00
Martin Kojtal 0447fe6536 Merge pull request #1388 from al177/master
Copy NVIC to RAM from anywhere in flash for TARGET_K22F
2015-10-26 08:48:56 +00:00
Sissors e1feb7ce5b [HAL][K20XX]
Fixed for the K20D50M a possible race condition in the software part of
the timer.
The Teensy has the ability to chain timers, so similar to the KSDK ones
we switched it to full hardware timers for both Ticker and regular
Timer.
2015-10-24 21:54:36 +02:00
al177 dbd4a85e11 Remove unused vector table flash base macro 2015-10-22 09:42:50 -05:00
dbestm b07521e08a [DISCO_F469NI] RTOS support 2015-10-21 17:26:09 +02:00
al177 aa6ad1c524 Copy NVIC to RAM from anywhere in flash
Copy the NVIC from any address below RAM, not just at 0x0.  This is helpful
when using a bootloader, which must have its own vector table at 0x0.  Identical
to ebcee71 for TARGET_KL46Z.

fix commit id
2015-10-21 10:17:43 -05:00
dbestm 7d245b9cff Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_disco_f469ni 2015-10-21 16:26:16 +02:00
dbestm c01a13fe1f [DISCO_F469NI] add support of the disco f469ni 2015-10-21 16:26:06 +02:00
bcostm 1e3f7cdbf2 Fix analogout issue on 12 to 16 bits conversion 2015-10-19 15:32:09 +02:00
bcostm 0e3e29d5f0 Merge branch 'master' of https://github.com/bcostm/mbed
Conflicts:
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/startup_stm32l476xx.s
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_MICRO/stm32l476xx.sct
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/startup_stm32l476xx.s
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_ARM_STD/stm32l476xx.sct
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_GCC_ARM/STM32L476XX.ld
	libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32L4/TARGET_NUCLEO_L476RG/TOOLCHAIN_IAR/stm32l476xx.icf
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralNames.h
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralPins.c
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PeripheralPins.h
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/PinNames.h
	libraries/mbed/targets/hal/TARGET_Atmel/TARGET_SAM_CortexM0+/TARGET_SAMD21J18A/analogout_api.c
	workspace_tools/build_release.py
	workspace_tools/host_tests/host_test.py
2015-10-19 14:27:45 +02:00
Martin Kojtal 856efdc67d Merge pull request #1379 from dbestm/dev_nucleo_f303k8
NUCLEO_F303K8 - Dev nucleo f303k8
2015-10-16 08:35:48 +02:00
Martin Kojtal 3b17582f80 Merge pull request #1380 from star297/master
Teensy3.1 Update MK20DX256.h
2015-10-16 08:33:18 +02:00
tomoyuki yamanaka 0046b63862 In USB Host, fix bugs of device insertion and removal and isochronous transfer.
Bugs are as below.
- When user disconnect the USB during Audio playback, GR-PEACH may not recognize it.
- When running isochronous transfer multiple at the same time, GR-PEACH can not operate properly.
2015-10-16 13:41:46 +09:00
Paul Staron 1661c1dc78 Update MK20DX256.h
Added missing PIT timer chain defines.
2015-10-14 19:59:24 +01:00
dbestm 86c139d13b [NUCLEO_F303K8] add support for the nucleo_f303k8 2015-10-12 11:34:06 +02:00
Martin Kojtal 3f2632bebc Merge pull request #1375 from TomoYamanaka/master
Reflect the change size of structure of Mutex to Ethernet module
2015-10-09 07:50:07 +01:00
Martin Kojtal 646f4d174d Merge pull request #1377 from star297/master
Update Teensy3.1 PinNames.h
2015-10-07 07:47:38 +01:00
Paul Staron f239d463b2 Update PinNames.h
Correct i2c pin defines
2015-10-06 23:29:55 +01:00
Martin Kojtal 3b75452bbd Merge pull request #1365 from dbestm/dev_nucleo_f042k6
Dev nucleo f042k6
2015-10-06 13:15:39 +01:00
tomoyuki yamanaka eab7196f0f Reflect the change size of the structure of the Mutex to ethernet module.
We reflected the change size of the structure of the Mutex associated with NEON of CMSIS-RTOS RTX for Cortex-A9support to ethernet module.
2015-10-06 21:10:53 +09:00
Martin Kojtal 63942c6a17 Merge pull request #1368 from star297/master
TARGET_STM32F7\rtc_api.c enable backup RTC function
2015-10-06 13:10:23 +01:00
Martin Kojtal 931ac06492 Merge pull request #1351 from struempelix/master
Enabling ADC for NRF51 P26 & P27. Currently these pins can be used as…
2015-10-06 11:45:19 +01:00
Martin Kojtal 0e0bd6f2dd Merge pull request #1361 from Wiznet/mbed_eco
PR for new platform WIZWIKI_W7500ECO.
2015-10-06 11:40:41 +01:00
Mike Fiore 6bec674340 add XBEE_DIO7 pin definition for MTS mDot 2015-10-05 15:38:19 -05:00
0xc0170 d9bb12602a Merge branch 'master' into dev_rel108b 2015-10-05 08:11:31 +01:00
0xc0170 2b2fa3a4e4 mbed lib revision - 108 2015-10-02 19:08:08 +02:00
Paul Staron 63abe6ff15 TARGET_STM32F7\rtc_api.c enable backup RTC function
Simple check to test the RTC ISR register if RTC is set up and running.
Avoids register reset on nRST or power cycle with vBAT present.
2015-10-01 23:50:18 +01:00
dbestm f769fee22f Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_nucleo_f042k6 2015-10-01 14:04:34 +02:00
dbestm d3ae38ced6 [NUCLEO_F042K6] add nucleo_f042k6 support 2015-10-01 14:03:52 +02:00
kaizen8501 9e2dd5b732 Modified LED definition error when test singletest.py. 2015-09-30 12:17:52 +09:00
kaizen8501 e3e7077784 Modified LED definition for WIZwiki-W7500ECO board. 2015-09-30 11:17:59 +09:00
hjjeon0608 59554a1021 Merge branch 'master' of https://github.com/mbedmicro/mbed into mbed_eco 2015-09-30 10:04:03 +09:00
hjjeon0608 836b50605f Add files of WIZWIKI_W7500ECO platform in cmsis and hal folder. 2015-09-30 09:50:05 +09:00
akhilpanayam 6281ee8e71 * Added support for SAMD21G18A for Analog Test. 2015-09-29 10:33:04 +05:30
akhilpanayam 380fab0072 * updated pwmout_api.c for KnR coding standards. 2015-09-29 10:33:03 +05:30
akhilpanayam ed74f3ae73 * Updated with corrections in PWM driver
* Added PWM LED test for W25 (SAMD21G18A)
2015-09-29 10:33:02 +05:30
akhilpanayam 4f52a16b31 * added board specific file for SAM W25. 2015-09-29 10:33:01 +05:30
akhilpanayam fef98f58e3 * updated interrupt chaining test. 2015-09-29 10:33:00 +05:30
vimalrajr 71ae8b0b9f Adding support for SAMD21G18A in SDK tests. 2015-09-29 10:32:59 +05:30
akhilpanayam 77bf03b30b * updated with test support for SAMD21G18A targets. Used pins commonly available in expansion headers of development boards.
* USBTX and USBRX pins updated.
2015-09-29 10:32:58 +05:30
vimalrajr a5fed5201c Adding SERCOM and PWM pinouts. 2015-09-29 10:32:57 +05:30
akhilpanayam 8c6b817ca2 * Base Commit for SAMW25 support. 2015-09-29 10:32:56 +05:30
Martin Kojtal 0fa6058084 Revert "[NUCLEO_F303K8] add support of the STM32F303K8" 2015-09-28 19:01:26 +02:00
Paul Staron 3ee5d7ac62 system_MK20DX256.c 96MHz default set up
Added/changed clock set ups for Teensy3.1.
2015-09-28 15:49:07 +02:00
Paul Staron f2f31c82e1 system_MK20DX256.c description wording correction
Corrected frequency description wording to 72MHz CPU clock, 36MHz Bus
clock, 24MHz Flash clock.
2015-09-28 15:48:46 +02:00
Paul Staron bffd22e2fb system_MK20DX256.c Clock Setup 3 correction
Reduced system and flash clock speeds to specification values. Some
MCU's became unstable at the higher speeds.
2015-09-28 15:48:34 +02:00
dbestm d7ab336a2b Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_nucleo_f303k8
Conflicts:
	workspace_tools/host_tests/host_test.py
2015-09-28 14:23:53 +02:00
0xc0170 4b5bb913d2 Merge branch 'mbed_dev2' of https://github.com/Wiznet/mbed into Wiznet-mbed_dev2 2015-09-28 12:43:52 +02:00
Martin Kojtal 54fbe4144f Merge pull request #1332 from adustm/dev_NUCLEO_F031K6
NUCLEO_F031K6 : Add new target
2015-09-28 11:35:04 +02:00
Martin Kojtal fd08c6a5e9 Merge pull request #1344 from wodji/patch-4
fix [-Wtype-limits] warning
2015-09-28 11:31:09 +02:00
Martin Kojtal 308ee306a9 Merge pull request #1343 from wodji/patch-3
fix [-Wtype-limits] warning
2015-09-28 11:30:57 +02:00
Martin Kojtal fc71328378 Merge pull request #1342 from wodji/patch-2
fix -Wmaybe-uninitialized warning.
2015-09-28 11:30:37 +02:00
Martin Kojtal 87e468c302 Merge pull request #1353 from helmut64/master
Fixed stack location problem for disco and nucleo boards (STM32L4)
2015-09-28 11:23:50 +02:00
Toyomasa Watarai 1f1c68ce19 [LPC1768 GCC_CR exporter] Fixed linker description
* Divide AHB SRAM for USB and Ethernet RAM regions
* Add NOLOAD keyword for .bss sections to avoid redundant data in final
image
2015-09-27 19:52:11 +09:00
Helmut Tschemernjak 8dead7639d Updated RAM config symbols to reflect the L4 device ram names 2015-09-25 19:45:14 +02:00
adustm dd1e6f2843 Merge remote-tracking branch 'mbedmicro/master' into dev_NUCLEO_F031K6 2015-09-25 16:53:15 +02:00
adustm 7d93e9c8ef NUCLEO_STMF031K6 : fix tabulation + coding style
No code change, only style modifications
2015-09-25 15:40:49 +02:00
Martin Kojtal fe238a91ab Merge pull request #1340 from stevew817/master
Silicon Labs - Add support for low-power async Serial
2015-09-25 15:09:04 +02:00
Martin Kojtal e8c24ba90d Merge pull request #1326 from TomoYamanaka/master
RZ_A1H - Modify to support NEON for RTOS.
2015-09-25 14:23:28 +02:00
Aksel Skauge Mellbye 4c4d2fa6a6 serial_api: Remove unnecessary clocking code. 2015-09-25 12:55:59 +02:00
Martin Kojtal 724c07935c Merge pull request #1337 from kpurusho/master
Changes contains only "Copyright year information" and "KR styling". Safe to merge.
2015-09-25 12:52:38 +02:00
Martin Kojtal ff849970fb Merge pull request #1341 from WoGorniak/master
add Espotel Elmo platform
2015-09-25 12:51:52 +02:00
Martin Kojtal b290644b9c Merge pull request #1338 from PeterConheeney/master
changes for adding IoT Subsystem for Cortex-M target
2015-09-25 12:37:58 +02:00
Helmut Tschemernjak cef2da3c75 Fixed stack location problem for disco and nucleo boards.
Move main ram to the 32k L4-SRAM2 which is being retained on in
standby mode. The additional 96k ram comes second.
The new memory layout preserves all vectors and stack in standby mode
2015-09-25 10:59:36 +02:00
Wojciech Gorniak 848494928a updated years in device header 2015-09-25 10:08:43 +02:00
dbestm 0fb5d52a8c [NUCLEO_F303K8] add rtos support 2015-09-24 16:33:57 +02:00
dbestm 1f04d34700 Merge branch 'master' of https://github.com/mbedmicro/mbed into dev_nucleo_f303k8 2015-09-24 16:22:15 +02:00
dbestm a798dbf688 Revert "[NUCLEO_F303K8] add RTOS support"
This reverts commit e9728b552e.
2015-09-24 16:19:40 +02:00
dbestm e9728b552e [NUCLEO_F303K8] add RTOS support 2015-09-24 15:49:02 +02:00