Commit Graph

2638 Commits (a1b06cd93914485f3d68c7b7f3858bf12f678216)

Author SHA1 Message Date
dbestm 8df74cfcda [NUCLEO_F030R8] port HAL to support cube and ad cube files as well 2014-10-08 11:24:16 +02:00
ohagendorf f256f79b63 [DISCO_F429ZZI] pin function definition
Added mostly all pin function (ADC, I2C, SPI, UART, PWM).

The basis of the target was DISCO_F407. The 429 has some additional pin
functions which are added with this commit. Also ports, pins and pin
functions of the larger packages are added not only the available of the
F429ZI package.
2014-10-08 10:41:06 +02:00
Martin Kojtal 2c00ff11de Merge pull request #537 from xiongyihui/stm32f407
HAL: DISC_F407VG, ARCH_MAX - change default toolchain

- ARCH_MAX - use different PeriheralNames.h files
2014-10-08 08:55:24 +01:00
Yihui Xiong 5098e3b480 [HAL][ARCH_MAX] use different PeripheralNames.h for STDIO_UART 2014-10-08 15:40:18 +08:00
Martin Kojtal 8013ae4480 Merge pull request #538 from bcostm/master
HAL: NUCLEO_F091RC - pin_mode for Serial only if the pin is present
2014-10-08 08:24:56 +01:00
bcostm 7a32e539fb [NUCLEO_F091RC] pin_mode for Serial only if the pin is present
Same as all other targets.
2014-10-08 08:50:05 +02:00
Yihui Xiong 8383cf97d6 [DISC_F407VG & ARCH_MAX] change default toolchain 2014-10-08 10:48:27 +08:00
sg- 3bd868408b [K64F] Add mbed_mac_address implementation 2014-10-07 17:41:39 -05:00
ohagendorf 70b576d1b3 [DISCO_F429ZI] missing interrupt vectors
Added some missing F429 interrupt vectors
2014-10-07 18:34:44 +02:00
Martin Kojtal 46e37048a8 Merge pull request #535 from bcostm/dev_F091RC
Platform: New platform addition - NUCLEO_F091RC
2014-10-07 09:23:49 +01:00
ohagendorf cb23f2f47d [EXPORT][NUCLEO_F334R8] removed accidentally 2 macros
The commit 'export to gcc_arm and coide' removed accidentally 2 macros
from NRF51822 and NRF51 targets.
2014-10-06 22:11:08 +02:00
bcostm 6fd2118f1d [NUCLEO_F091RC] First commit of CMSIS files 2014-10-06 16:33:16 +02:00
bcostm 8b6ee09232 [NUCLEO_F091RC] Update python files for this target, add uVision exporter 2014-10-06 16:31:48 +02:00
bcostm 294db2502e [NUCLEO_F091RC] First commit of HAL files 2014-10-06 16:08:56 +02:00
Bogdan Marinescu 29fc31ec88 Merge branch 'ohagendorf-DISCO_F429' 2014-10-06 14:33:45 +01:00
Bogdan Marinescu a156b0f4f2 Merge branch 'DISCO_F429' of git://github.com/ohagendorf/mbed into ohagendorf-DISCO_F429
Conflicts:
	workspace_tools/export/gccarm.py
2014-10-06 14:33:21 +01:00
Bogdan Marinescu 43bee35a52 Keeping git happy about line endings
Not exactly sure why, but git shows diffs right after cloning
a fresh copy of the mbed repo. Definitely has something to do
with line endings, but not 100% sure why. Hopefully this will
fix things.
2014-10-06 14:28:55 +01:00
Andrii Anpilogov ff83792d52 Fix NRF51822 PWM and Serial:
- imlement pwmout_free()
- check UART interrupt type carefully
- implement serial_set_flow_control()
- add serial_clear() stub
2014-10-06 20:17:51 +08:00
Martin Kojtal 6d6dd0be3a Merge pull request #530 from Sissors/master
HAL: Allow Serial pin to be NC for all targets
2014-10-06 11:38:36 +01:00
Bogdan Marinescu 101c6308b0 Merge pull request #521 from EmBlocks/master
[EXPORT] EmBlocks EIX plugin support
2014-10-06 03:16:24 -07:00
Sissors 1b833cbd67 Changed serial pin_mode with brackets and for all targets 2014-10-06 12:15:24 +02:00
Bogdan Marinescu 9028a2a577 Merge pull request #533 from Cheong2K/master
Added RedBearLab BLE Nano board.
2014-10-06 02:58:56 -07:00
Bogdan Marinescu 067f2b6eb8 Merge pull request #511 from pbrook/usbserial-fix
Fix USB serial RX bug
2014-10-06 02:48:40 -07:00
Martin Kojtal b30176a071 Merge pull request #531 from toyowata/master
Platform: LPC824 - new platform addition
2014-10-06 09:53:12 +01:00
Martin Kojtal d583b167c5 Merge pull request #529 from xiongyihui/stm32f407
HAL: ARCH_MAX - STM_MODE_IT_EVT_RESET undefined error fix, uvision and gcc template
2014-10-06 09:12:21 +01:00
Martin Kojtal 8601be3b1e Merge pull request #522 from neilt6/master
HAL: Better ADC self-calibration for LPC11U6X & LPC15XX
2014-10-06 09:05:49 +01:00
Cheong e48d309f18 Added RedBearLab BLE Nano board. 2014-10-06 11:29:01 +08:00
ohagendorf 70eef62d9f [DISCO_F429ZI] new target with [EXPORT] to gcc_arm and CoIDE
- build and export to toolchains gcc_arm and CoIDE is OK
- compiling is OK
- mbed/blinky is OK
2014-10-05 23:05:16 +02:00
Toyomasa Watarai 685f97da37 Add LPC824 platform
LPCXpresso824-MAX support
uARM target support
RTOS support
2014-10-05 16:18:48 +09:00
Sissors 86e71216fa Allow Serial pin to be NC on Freescale/NXP devices
Nordic(?)/STM should also be done, but I don't know if they do their own
stuff.

Issue is that since the mbed-assert implementation, calling pin_mode
causes an assert when a pin is NC. Since defining a serial object with
only TX or RX is a valid use case, this should be handled.

pinmap_pinout does accept NC pins, so there no guards are needed (person
who adds asserts there may also fix it in all other code).
2014-10-04 22:47:25 +02:00
Yihui Xiong 84467d593a [ARCH_MAX] add gcc project template 2014-10-04 22:01:50 +08:00
Yihui Xiong 65a41937e3 [ARCH_MAX] add uvision project template 2014-10-04 21:54:08 +08:00
Yihui Xiong 476209445b [ARCH_MAX] fix error - STM_MODE_IT_EVT_RESET undefined 2014-10-04 21:45:26 +08:00
ohagendorf a7a3de3f3a [EXPORT][NUCLEO_F334R8] a missing line in export/coide.py 2014-10-04 01:55:52 +02:00
ohagendorf 71f473c464 [EXPORT][NUCLEO_F334R8] export to gcc_arm and coide
- rtos library is not working because of double defined SysTick_Handler
in system_stm32f3xx.c and in rtos
- please see pullrequest #526 for a correct export
- tests are working fine:
Test summary:

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| Result | Target        | Toolchain | Test ID   | Test Description
| Elapsed Time (sec) | Timeout (sec) | Loops |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
| OK     | NUCLEO_F334R8 | GCC_ARM   | DTCT_1    | Simple detect test
|        0.44        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | EXAMPLE_1 | /dev/null
|        3.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_10   | Hello World
|        0.37        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_11   | Ticker Int
|       11.31        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_12   | C++
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_16   | RTC
|        4.7         |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_2    | stdio
|        0.76        |       20      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_23   | Ticker Int us
|       11.37        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_24   | Timeout Int us
|       11.41        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_25   | Time us
|       11.31        |       15      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_26   | Integer constant
division             |        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A1   | Basic
|        1.32        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A21  | Call function before
main (mbed_main) |        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A5   | DigitalIn DigitalOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A6   | DigitalInOut
|        1.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A7   | InterruptIn
|        9.31        |       10      |  1/1  |
| OK     | NUCLEO_F334R8 | GCC_ARM   | MBED_A9   | Serial Echo at 115200
|        5.97        |       10      |  1/1  |

+--------+---------------+-----------+-----------+---------------------------------------+--------------------+---------------+-------+
Result: 17 OK

Completed in 125.02 sec
2014-10-04 01:45:38 +02:00
Martin Kojtal 6d37d18fca Merge pull request #525 from bcostm/fix_F072RB_spi_slave
[NUCLEO_F072RB] Fix 8-bit data access issue with SPI slave
2014-10-03 08:43:49 -07:00
bcostm 91958f7f56 [NUCLEO_F072RB] Fix 8-bit data access issue with SPI slave 2014-10-03 10:37:00 +02:00
Neil Thiessen 2e441ae239 Update analogin_api.c
Implemented proper self-calibration logic as per UM10736.
2014-09-30 12:53:59 -06:00
Neil Thiessen 14a88d7855 Update analogin_api.c
Implemented proper self-calibration logic as per UM10732, and changed sampling clock to actually divide by 1 (CLKDIV = 0).
2014-09-30 12:51:28 -06:00
EmBlocks e57f488b53 EmBlocks EIX plugin support 2014-09-30 16:27:09 +02:00
Martin Kojtal c285cc81bb Merge pull request #520 from bcostm/dev_analogin
[HAL] NUCLEO_F302R8,F334R8,L053R8 - Increase ADC sampling time.
2014-09-30 07:25:17 -07:00
bcostm 8333923611 [NUCLEO_F302R8,F334R8,L053R8] Increase ADC sampling time.
This change allows to pass the MBED_A8 test.
2014-09-30 14:56:19 +02:00
Mihail Stoyanov dadf009f87 Add TARGET_OTA_ENABLED for targets that support OTA DFU 2014-09-30 01:40:53 +03:00
Martin Kojtal 83f9d0487a Merge pull request #517 from bcostm/tests
[Tests] Add Nucleo targets in MBED_A8 test (those having a DAC)
2014-09-29 10:02:12 -07:00
Martin Kojtal 5c22319fcb Merge pull request #516 from ohagendorf/develop_coide
[EXPORT]  CoIDE - linker script - none fix, memory areas for nucleo 4x1 and disco 407
2014-09-29 10:01:09 -07:00
bcostm eab929a023 Remove duplicated entry 2014-09-29 10:56:06 +02:00
bcostm 98b0981fe4 Add Nucleo targets in MBED_A8 test (those having a DAC) 2014-09-29 10:41:06 +02:00
ohagendorf f11facdc63 [EXPORT][CoIDE] [DISCO_407] and [NUCLEO_F4x1] memory areas
The templates now contains the memory areas preconfigured as they are
used in linker scripts. When the CoIDE linker option 'Use memory layout
from memory window' is manually switch on the correct memory layout is
already there.
2014-09-28 14:49:57 +02:00
ohagendorf b3b70c6c0a [EXPORT][CoIDE] problem with missing linker script
- a missing linker script configures the scatter file option (linker
script path in CoIDE) to 'None' not to ''
2014-09-28 14:40:50 +02:00
Martin Kojtal 25ff4eb5b4 Merge pull request #513 from Sissors/ksdk
[HAL] K22F - UART pinnames
2014-09-27 12:25:54 +01:00