Commit Graph

3150 Commits (546005a72cd04f890af3ff750249031cebdf3e61)

Author SHA1 Message Date
vincent rabbit 546005a72c [mbed][MTS_DRAGONFLY_F411RE] added platform support files and dirs built gcc executable NOT working 2014-12-11 13:20:45 -06:00
vincent rabbit bd9b356816 [export][MTS_DRAGONFLY_F411RE] added iar support for DRAGONFLY 2014-12-11 13:19:08 -06:00
Martin Kojtal 14666bb183 Merge pull request #783 from bcostm/master
Targets: NUCLEO_L053R8 - Removed call to Systick (mbed RTOS compliancy)
2014-12-11 14:01:53 +00:00
bcostm 54999646a1 [NUCLEO_L053R8] Removed call to Systick (mbed RTOS compliancy) 2014-12-11 11:16:02 +01:00
Martin Kojtal b75dadac6c Merge pull request #779 from ndelisi/master
Y5Design LPC11U35 and NRF51822 - Add New targets
2014-12-11 08:28:29 +00:00
Martin Kojtal c155dea6dd Merge pull request #781 from 0xc0170/fix_nordic_uvision_ram
Tools: nordic uvision templates - RAM size set to 0x2000 from 0x800
2014-12-11 08:24:21 +00:00
0xc0170 130c9c282a Tools: nordic uvision templates - RAM size set to 0x2000 from 0x800 2014-12-10 14:25:11 +00:00
Martin Kojtal 2e1ba4df65 Merge pull request #777 from GustavWi/iar_mbed
Targets: CMSIS - Fixed linker files for IAR (Ram size on one) and for the rest increased the heap...
2014-12-10 08:49:10 +00:00
Martin Kojtal 87c17ed748 Merge pull request #778 from sg-/nrf_txirq_patch
Targets: NRF51822 - With the old logic if Serial::writeable() was called before and/or used ...
2014-12-10 08:14:50 +00:00
sg- 91a77d74cf With the old logic if Serial::writeable() was called before and/or used to block calls to Serial::putc() it would never write due to EVENT_TXDRDY trailing a write to TXD. Add a dummy write to TXD before pins are connected to the peripheral. This primes the EVENT_TXDRDY to lead future writes rather than trail. Since STOPTX isn't used this seems safe. 2014-12-09 17:48:10 -06:00
Nick DeLisi a03d3bcd8d Porting of new target: Added new target to target.py, added header files for PinNames.h and device.h
nRF51822 from Nordic Semiconductor

Bluetooth Low-Energy v4.1 compliant - interface to smartphones, tablets

System-on-Chip (SoC) solution - easily transformable into a deployable solution

Drop-in solution for production - no need to design your own antenna

FCC and CE Certified

3x LEDs, 3x Buttons

Powered by interface board or external 3.3V
2014-12-09 14:08:22 -06:00
Nick DeLisi f382af4aed Porting of new target: Added new target to target.py, added header files for PinNames.h and device.h. Added linker library.
Y5 Design LLC Interface Board
LPC11u35 from NXP

Low Power, ARM(r) Cortex-M0 suitable for a wide range of applications

On-Chip Bootloader - In-System programming (ISP) and in-application programming (IAP)

ROM-based USB drivers - Flash updates via USB supported

SPI, GPIO, i2C, UART, ADC

3x LEDs, Reset Button

3.3V powered via USB or external

USB interface - shipped with USB-A, male connector, pads for Micro female
2014-12-09 13:01:20 -06:00
GustavWi 490dd0ddfe Fixed linker files (Ram size on one) and for the rest increased the heap and stack size 2014-12-09 18:37:01 +01:00
Martin Kojtal 3fb8590c6c Merge pull request #776 from 0xc0170/fix_issue#765
Targets: Freescale KSDK - extern } syntax error fix
2014-12-09 14:53:02 +00:00
0xc0170 a36eb12b2f Targets: Freescale KSDK - extern } syntax error fix 2014-12-09 14:52:17 +00:00
Martin Kojtal ea49132428 Merge pull request #770 from GustavWi/iar_mbed
Fix IAR serial fgets fgetc

Taken from PR #770:
setbuf(_file, NULL), and std::setvbuf(_file,NULL,_IONBF,NULL) should both give an unbuffered stream (the data is directly written to the input buffer). IAR sets a buffer anyway of size 512 bytes for these calls. Calling setvbuff(_file,buf,_IONBF,NULL) with a buffer that is not a NULL pointer sets the buffer to size one. Which means that as soon as a char is read it is written to the real buffer. If people are interested in looking at this further they can look at the files under ARM/src/dlib: fgets.c, fflush.c, xfrpep.c and xfwprep.c
2014-12-09 14:39:13 +00:00
Martin Kojtal a96ad0576f Merge pull request #760 from bcostm/master
Targets: NUCLEO_F072RB/F091RC - Remove the call to Systick
2014-12-09 14:31:45 +00:00
Martin Kojtal 0f2b2cdf09 Merge pull request #762 from masaohamanaka/master
Targets: RZ_A1H - Fix some bugs about I2C, SPI, Interruptin and add terminal definition of user button.
2014-12-09 14:27:50 +00:00
Martin Kojtal 75673df767 Merge pull request #772 from mbrudevoldlpd/master
Add support for mDot with STM32F411RE processor
2014-12-09 14:13:28 +00:00
Martin Kojtal 35ba8d709f Merge pull request #774 from Sissors/ksdk
Targets: K20D50M - Serial baudrate improvements / clk_freqs.h fix
2014-12-09 14:01:54 +00:00
GustavWi bd6836396b Moved IAR serial differences to retarget.cpp 2014-12-09 14:30:34 +01:00
Sissors a6c9b1c40b [HAL][K20D50M] Serial baudrate improvements / clk_freqs.h fix
Three changes, first it fixes:
https://github.com/mbedmicro/mbed/issues/761 (which was reported
slightly wrong because K20 has again different clocking from KLXX for
uarts).

Second it adds mcgpllfll to clk_freqs, which again is different for K20
compared to KLXX .

Finally it adds the fractional baudrate divider for more accurate serial
baudrates.
2014-12-08 21:15:24 +01:00
Michael Brudevold 2f5cbcb1c6 Add support for mDot with STM32F411RE processor 2014-12-08 10:58:25 -06:00
GustavWi 9909e7ca56 Fixed IAR serial fgets fgetc 2014-12-08 13:12:37 +01:00
Masao Hamanaka 0b512e5e6f Change I2C driver transfer sequence
Change I2C driver transfer sequence to go according to H/W manual.
Changed contents are as below.
- Access procedure of ACTBT bit of MR3 register
- Issuance procedure of stop condition
2014-12-08 16:47:28 +09:00
Martin Kojtal 3413e21e59 Merge pull request #764 from shirishb/master
Gitignore - Ignore cscope and vim swap files
2014-12-08 07:26:15 +00:00
Martin Kojtal fb0eb349dd Merge pull request #766 from ohagendorf/reorg_hal_stm324
Targets: DISCO_F4xx - add PeripheralPins.c/.h
2014-12-08 07:25:11 +00:00
Martin Kojtal a17c1dd8f7 Merge pull request #767 from ohagendorf/nucleo_disco_coide
STM32xxx: CoIDE/gcc_arm exporter and startup_stm32xx update
2014-12-08 07:24:22 +00:00
Masao Hamanaka 48448527bd Fix a bug that usticker wait interval is not constant.
When read the timer value, it have a potential to read abnormal value.
Because we used 16bit + 16bit cascade timer and read timer count separately.
Changed usticker timer from 16bit + 16bit cascade timer to 32bit timer to fix the bug.
2014-12-08 15:47:49 +09:00
ohagendorf f762a60f48 [DISCO_F303] missing wrap main in gcc_arm template 2014-12-08 01:02:40 +01:00
ohagendorf 86647d8387 [DISCO_F4xx] add PeripheralPins.c/.h 2014-12-07 22:25:38 +01:00
ohagendorf 967046e1d6 [STM32xxx] gcc_arm startup files
Updates startup files to actual versions of STM32 Cube drivers without
any changes of STs drivers:
- DISCO_F303VC
- DISCO_F334
- NUCLEO_F030
- NUCLEO_F072
- NUCLEO_F302
- NUCLEO_F334
2014-12-07 20:52:49 +01:00
ohagendorf 883b2bc0ce [STM32xxx] CoIDE exporter and gcc_arm
- CoIDE options: wrap main and linker option DiscradUnusedSection=1 was
missing in some targets
- CoIDE options: corrected flash loader config for Nucleo_F030 and
Nucleo_F072
- CoIDE options: corrected memory layout (not used per default but now
it is the same as in linker script)
- gcc linker script: changed the memory size from hex number e.g. 0x2000
to decimal 8K
2014-12-07 20:07:56 +01:00
Shirish Baskaran 6c27c66d29 Ignore cscope and vim swap files 2014-12-05 23:43:25 -05:00
Masao Hamanaka e2a8d32343 Add definition of User button(SW0 and SW1)
Add definition of User button for users.
2014-12-05 17:37:53 +09:00
Masao Hamanaka 4473a517a8 Fix some bugs that IRQ Edge Interrupt will not operation normal.
The bugs of IRQ Edge Interrupt as below.
- Not call a function that was registered in rise, always call a function that was registered in the fall.
- If there are multiple interrupt sources, there is a possibility that end the wrong interrupt processing.
2014-12-05 17:36:52 +09:00
Masao Hamanaka a36c4462f2 Fix a bug that initialize setting of SPI clock value is not correct.
Modify the value as below.
 uint16_t mask = 0x000c0; ->
 uint16_t mask = 0x000c;
2014-12-05 17:35:49 +09:00
Masao Hamanaka dca273e167 Fix a bug that I2C driver can not transfer of 1Byte/2Byte.
I2C driver was not considered about 1Byte/2Byte transfer.
Add 1Byte/2Byte transfer processing in I2C driver.
2014-12-05 17:31:22 +09:00
Martin Kojtal e815194b57 Merge pull request #759 from masaohamanaka/master
Targets: RZ_A1H - Fix bugs that I2C freq become fixed 100kHz and a static value will be indefiniteness.
2014-12-04 07:28:24 +00:00
Masao Hamanaka fe61d8c4f7 Fix a fear of bug that a static value will be indefiniteness.
There was a function that has the potential to be called with indefiniteness argument.
Modify to not call the function with indefiniteness argument.
2014-12-04 16:03:50 +09:00
Masao Hamanaka 7ea2016953 Fix a bug that I2C freq become fixed 100kHz
When I2C read/write, I2C freq ignores the setting of user and it become fixed 100kHz.
Implement change the freq according to the setting of user.
2014-12-04 15:40:38 +09:00
Martin Kojtal a6279aa351 Merge pull request #750 from PrzemekWirkus/travis-linking
Tools: Travis - Simple mbed SDK test linking against popular libraries
2014-12-03 14:34:36 +00:00
bcostm 2b4edd572b [NUCLEO_F091RC] Remove call to systick 2014-12-03 15:13:05 +01:00
bcostm 7761378c39 [NUCLEO_F072RB] Remove call to systick 2014-12-03 15:11:58 +01:00
Martin Kojtal 4d1fc24b2e Merge pull request #757 from GustavWi/iar_mbed
RTOS: IAR support for M0, M0+ and M4
2014-12-03 13:07:25 +00:00
GustavWi 6210f92420 IAR RTOS support M0, M0+ and M4 2014-12-03 12:54:06 +01:00
Przemek Wirkus 63d2735c58 Add back all missing targets 2014-12-03 11:14:09 +00:00
Przemek Wirkus de90b72435 Fixed typo which added wrong parameter value for -t switch 2014-12-03 11:11:22 +00:00
Przemek Wirkus fa5722a39c Added --silent switches to both build.py and make.py.
build_travis.py now executes build.py and make.py with --silent switches to save space on Travis's console output
2014-12-03 11:01:19 +00:00
Przemek Wirkus 6255549570 Modified make.py so now parameter --silent suppreses Copy / Compile messages leaaving only Warning / Errors / build product info 2014-12-03 10:53:50 +00:00