Commit Graph

5589 Commits (0651e2c29e19d9534916f2b9ebdf6534b8d895d5)

Author SHA1 Message Date
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
Martin Kojtal 0fa5e462e6 Exporters uvision - fix template name 2016-03-11 08:27:39 +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
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
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
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
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
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
0xc0170 67fe82479a Build release - add nucleo f746zg 2016-03-02 11:01:46 +01:00
0xc0170 6915f09663 Targets - fix nucleo f410rb 2016-03-02 11:01:24 +01:00
0xc0170 38f4c1df6b Exporter - progen include dirs fix
mbed scripts copy files, therefore file paths are not valid at the moment of ahe project generation.
Therefore checks like os.path.isdir or isfile fail. If include is set to TARGET/FOLDER, this would be
treated as a file, and added to the project workspace. This commit fixes it, it adds dirs only to
include_paths, as it should.
2016-03-02 10:29:30 +01:00
Peter Conheeney ca41874978 disabled i2c slave 2016-03-01 08:51:08 +00:00
Martin Kojtal 2b8c9ef4fb Merge pull request #1578 from bridadan/add-not-supported-to-tests
Adding NOT_SUPPORTED errors to tests
2016-03-01 08:08:45 +01:00
Martin Kojtal dbb832657f Merge pull request #1579 from bridadan/upload-not-supported-skipped-tests
Uploading skipped [NOT_SUPPORTED] tests
2016-03-01 08:07:19 +01:00
Martin Kojtal 420f8cf283 Merge pull request #1581 from 0xc0170/fix_rtc_f7
[STM32F7 family] fix issue with RTC init
2016-03-01 08:05:48 +01:00