Commit Graph

5761 Commits (9d06547135c6549b2f28aa4c0b8cc9578afe0d06)

Author SHA1 Message Date
Martin Kojtal fec574a5ed Merge pull request #1596 from geky/master
Increased allocated netbufs to handle DTLS handshakes
2016-03-14 16:14:12 +00:00
Martin Kojtal 2144dadad2 Merge pull request #1608 from MultiTechSystems/f4-serial-overrun
avoid getting stuck in serial IRQ if ORE is set without RXNE
2016-03-14 16:02:28 +00:00
bcostm 9db204bcf0 Add DEVICE_RTC_LSI=0 2016-03-14 16:01:24 +00:00
Martin Kojtal 8b5dd6eb6b Merge pull request #1613 from bridadan/fixing-test-not-supported
Fixing issue with NOT_SUPPORTED messages
2016-03-14 15:53:25 +00:00
Brian Daniels 3362325a03 Fixing issue with NOT_SUPPORTED messages 2016-03-14 10:29:23 -05:00
bcostm b956e27237 Add DEVICE_RTC_LSI = 0 to all targets
Added for clarity. This flag must be set to 1 if the LSE xtal is not
present on the board or if the RTC must be clocked by the internal
clock.
2016-03-14 14:26:27 +01:00
Martin Kojtal 768fbd7de2 Merge pull request #1609 from TomoYamanaka/master
Modify macro value of device error in device.h
2016-03-14 09:49:50 +00:00
tomoyuki yamanaka 23c02e1675 Modify macro value of device error in device.h.
We modified the value of "DEVICE_STDIO_MESSAGES" and "DEVICE_ERROR_PATTERN" in order to output the error message.
2016-03-14 11:24:37 +09:00
Martin Kojtal 0651e2c29e Exporters uvision - templates - enable c99 mode 2016-03-13 18:42:34 +01:00
Martin Kojtal cfda78d2ca Exporters uvision - fix timestamp - asm does not like decimal point
The mbed time build stamp is with decimal point, which is causing ASM to fail,
with strange command error. As a workaround, we truncate the number when exporting
to uvision.
2016-03-13 18:42:09 +01:00
Martin Kojtal 7e650da9d7 Exporters uvision - template --bin fix 2016-03-12 07:55:08 +01:00
Mike Fiore 68b034541a avoid getting stuck in serial IRQ if ORE is set without RXNE - issue #1605 2016-03-11 11:49:03 -06:00
Martin Kojtal f178fc4835 Merge pull request #1602 from sunsmilearm/master
Change the uart pin to DIP pin for XBED_LPC1768
2016-03-11 09:10:17 +01:00
Martin Kojtal 0fa5e462e6 Exporters uvision - fix template name 2016-03-11 08:27:39 +01:00
Martin Kojtal 7bcdcc71d3 Merge pull request #1604 from adustm/b_stm32f7_iar_compilation
[STM32F7] Allow IAR compilation
2016-03-11 08:22:04 +01:00
Martin Kojtal d7961208a5 Exporters uvision template - remove objects 2016-03-11 08:21:04 +01:00
Martin Kojtal aa0e8a5b4f Targets - remove uvision default template 2016-03-10 20:26:23 +01:00
Martin Kojtal 3dcdd6e981 Exporters uvision - fix wording 2016-03-10 19:57:27 +01:00
Martin Kojtal ccdf5b25ed Exporters uvision - add default mbed templates 2016-03-10 19:52:25 +01:00
Martin Kojtal 8df53e4c07 Exporters uvision - remove all old templates 2016-03-10 19:39:06 +01:00
adustm 52c70867e6 [STM32F7] fix typo in targets.py + remove tabs in iar.py 2016-03-10 18:24:10 +01:00
Martin Kojtal 12b716c66f Merge pull request #1606 from 0xc0170/fix_f746_template
Targets nucleo f746zg - fix template name
2016-03-10 17:19:50 +00:00
Martin Kojtal ae7e7fe1e7 Targets nucleo f746zg - fix template name 2016-03-10 17:07:01 +00:00
adustm 1e1ed26327 [STM32F7] Allow IAR compilation
targets.py : add IAR for NUCLEO_F746ZG and DISCO_F746NG

iar.py: in case of Cortex-M7F, change it into Cortex-M7 and add --fpu
VFPv5_sp
I have been confirmed that for Cortex-M4F we don't need to add the --fpu
VFPv4_sp
2016-03-10 17:07:16 +01:00
Martin Kojtal c44cf7a04d Exporters - add progen to uvision 2016-03-10 15:58:41 +00:00
Martin Kojtal 906961d781 Targets - add progen uvision templates 2016-03-10 15:50:20 +00:00
Arnaud RICHARD cbcdfab741 Fix IRQ enabled in serial_irq_set()
UART_IT_TC was enabled instead of UART_IT_TXE
 This was causing an issue because UART_IT_TXE (and not UART_IT_TC) was disabled  by same function.
  Consequently if a transfer was ongoing when serial_irq_set() was called to disable IRQ, UART_IT_TC would still trigger (once).
 Side effect is maybe speed: I guess using UART_IT_TC prevented implementation of continuous transfer.
 This commit is focused on solving an issue observed with TARGET_STM32F4. It doesn't presume it should or shouldn't be done for other targets.
2016-03-10 14:40:41 +01:00
sunsmilearm 30df100f88 Update PinNames.h
Change the "tab" to 4 "space"
2016-03-10 17:57:53 +08:00
Xiao Sun 7569cdfda4 Change the uart pin to DIP pin 2016-03-10 14:10:03 +08:00
Martin Kojtal 6501de9044 Merge pull request #1548 from dbestm/dev_F446_rtc
[NUCLEO_F446RE] RTC+LSE+init
2016-03-09 17:55:20 +00:00
dbestm 81f3abc770 Merge remote-tracking branch 'refs/remotes/mbedmicro/master' into dev_F446_rtc 2016-03-09 15:40:37 +01:00
Martin Kojtal 2c6c939564 Merge pull request #1580 from ohagendorf/f3xx_adc
[STM32F3xx] bug fix multiple ADC channels using multiple ADC blocks
2016-03-09 08:33:47 +00:00
Martin Kojtal acd92ac35e Merge pull request #1600 from adamgreen/fixIssue1599
Fix issue #1599
2016-03-08 22:32:11 +00:00
Adam Green 5b5d7ee1d4 Fix issue #1599
My previous commit, c6d2c81, broke Keil builds and maybe even IAR.

I need to learn how to read C code :)  I thought I was masking off the
O_BINARY bit only for GCC builds but it turns out that my update was
in the fall-through case for all toolchains.  This commit now places
the O_BINARY masking operation into a GCC specific #ifdef clause.

Testing:
I tested the same fopen("/local/out.txt","rb") code as before but this
time I built it with the online compiler and GCC_ARM. I tested the
resulting binaries on mbed-LPC11U24 and mbed-LPC1768 boards.

Thanks to @neilt6 for catching & reporting this!
2016-03-08 14:13:00 -08:00
Neil Thiessen c52e0dce48 Update rtos_idle.h
Removed unnecessary loop function prototype.
2016-03-08 10:55:56 -07:00
Martin Kojtal dcda8ec0e3 Merge pull request #1598 from bridadan/update-requirements
Adding requests to requirements
2016-03-08 17:55:17 +00:00
Brian Daniels 9511cc1552 Adding requests to requirements 2016-03-08 11:30:03 -06:00
neilt6 9db32475d6 [RTOS] Added idle hook API
Added a new API for attaching a user-provided function to be executed by
the idle task.
2016-03-08 09:48:02 -07:00
0xc0170 dafb5c3a69 Enable rpc library usage on the Nucleo_F072 & Nucleo_F411RE boards
Adding additional 'defined' statements to line 62 of parse_pins.cpp should in theory enable the rpc libraries for all other Nucleo boards, since all stm32 parts use the same pin labeling scheme i.e. P(port)_pinNumber e.g. PA_3,
PC_15 e.t.c.
2016-03-08 09:03:25 +00:00
Martin Kojtal 4db2961cd0 Merge pull request #1594 from bridadan/update-requirements
Adding missing dependencies
2016-03-08 08:22:31 +00:00
Martin Kojtal 165d2536fe Merge pull request #1595 from adamgreen/gccFOpenBinaryFlagIgnore
LocalFileSystem fails to open binary files
2016-03-08 07:58:05 +00:00
Adam Green c6d2c81c7f LocalFileSystem fails to open binary files
Fixes issue #1562 reported by @justbuchanan.

When building code with GCC-ARM / newlib, attempting to use the
b (binary) mode in a fopen() call would fail. newlib would parse
this option and pass it down to the LocalFileSystem open call which
didn't like the unexpected O_BINARY flag in openmode.

The openmode_to_posix() function in retarget.cpp would never set the
O_BINARY flag for the other toolchains but for GCC it would just pass
down whatever newlib placed there.  This commit masks out the O_BINARY
bit so that it never gets passed down to the file system drivers, just
as occurs for the other supported toolchains.

Test case:
  FILE *fp = fopen("/local/out.txt", "rb");

I tested that code on mbed LPC1768 and LPC11U24 boards while using
GCC_ARM as the toolchain. It failed on both platforms previous to
this change and succeeded there after.
2016-03-07 13:34:32 -08:00
Brian Daniels cb077d17a6 Adding missing dependencies 2016-03-07 15:04:28 -06:00
Martin Kojtal 70c8bcf156 Merge pull request #1591 from bcostm/dev_nucleo-l073rz
[NUCLEO_L073RZ] Add SW4STM32 exporter
2016-03-07 12:46:14 +00:00
bcostm 58e1c63013 [NUCLEO_L073RZ] Add SW4STM32 exporter 2016-03-07 13:17:37 +01:00
Martin Kojtal ee20d03969 Merge pull request #1588 from adustm/master
[STM32F7] Update STM32F7Cube_FW version
2016-03-07 09:45:59 +00:00
Martin Kojtal 57543e50d2 Merge pull request #1590 from TomoYamanaka/master
Bug fix to support the export function to IAR.
2016-03-07 08:34:01 +00:00
tomoyuki yamanaka a4c27c1f40 Bug fix the export function to the IAR.
We added the IAR tool chain to release build.
2016-03-07 13:14:06 +09:00
Martin Kojtal abf43a33ce Merge pull request #1587 from neilt6/master
[LPC11U68, LPC1549] Fixed PwmOut SCT Bugs
2016-03-05 06:52:10 +01:00
neilt6 b3e2763784 [LPC11U68, LPC1549] Improved PwmOut Documentation
Improved commenting in pwmout_write(), pwmout_period_us(), and
pwmout_pulsewidth_us().
2016-03-04 09:23:23 -07:00