Commit Graph

6247 Commits (42bc1a43eeba2724f105ed98b76aa5276f83d1cc)

Author SHA1 Message Date
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
adustm c97e05f496 [STM32F7_NUCLEO_F746ZG] Update target files with latest STM32F7Cube_FW version 2016-03-04 14:32:17 +01:00
adustm 49338852ad [STM32F7_DISCO_F746NG] Update target files with latest STM32F7Cube_FW version 2016-03-04 14:32:00 +01:00
adustm 0b9cc09727 [STM32F7] Update STM32Cube_FW version 2016-03-04 14:28:07 +01:00
Martin Kojtal 1020d7cb91 Merge pull request #1585 from toyowata/master
[LPC824] Fixed PwmOut SCT Bugs
2016-03-04 12:29:21 +01:00
Christopher Haster 8dd5647069 Increased allocated netbufs to handle DTLS handshakes
UDP based protocols such as DTLS may fragment large packets, resulting
in many packets being sent at once. This can lead to significant/irrecoverable
packet loss on systems that respond to packets slower than network transfers.

Increasing MEMP_NUM_NETBUF to 8 allows lwip to handle a DTLS handshake
successfully and should be more robust for similar protocols.

DTLS handshake:
https://tools.ietf.org/html/rfc4347#section-4.2.3
2016-03-04 04:02:28 -06:00
Toyomasa Watarai a86504d205 [LPC824] Add more comments for PwmOut fix 2016-03-04 16:00:32 +09:00
neilt6 792b359a36 [LPC11U68, LPC1549] Fixed PwmOut SCT Bugs
* 0% duty cycle now reads back correctly
* Period & pulse-width changes now take effect immediately if the timer
is halted
2016-03-03 15:28:59 -07:00
Martin Kojtal 7f693b7df8 Merge pull request #1582 from 0xc0170/fix_include_dirs
Exporter - progen include dirs fix
2016-03-03 15:09:39 +01:00
Toyomasa Watarai 6ab159af26 [LPC824] Fixed PwmOut SCT Bugs
* Fixed period & pulse-width off-by-one errors
* Fixed 0% and 100% duty cycle output
2016-03-03 17:09:35 +09:00
Martin Kojtal aa4fddcddc Merge pull request #1584 from bridadan/more-not-supported-tests
Adding more [NOT_SUPPORTED] messages to tests
2016-03-03 07:09:48 +01:00
Brian Daniels c38209f6d6 Adding more [NOT_SUPPORTED] messages to tests 2016-03-02 13:13:36 -06:00
Martin Kojtal de3b14ec92 Merge pull request #1576 from PeterConheeney/master
latest changes to add arduino support, plus fixes for IOTSS BEID
2016-03-02 15:29:53 +01:00
Martin Kojtal c0da36d9a4 Merge pull request #1577 from bcostm/rtos_nucleo-l073rz
[NUCLEO_L073RZ] Add device in RTOS files
2016-03-02 12:28:28 +01:00
0xc0170 b9f6f5c776 mbed lib revision - 115 2016-03-02 11:02:18 +01:00