Commit Graph

10270 Commits (91ecc52da0908ebc26d13026c8de5944f13d57d3)

Author SHA1 Message Date
Sam Grove 91ecc52da0 Merge pull request #4003 from productize/master
Fixed OBOE in async serial tx for NRF52 target, fixes #4002
2017-03-29 22:43:24 +01:00
Sam Grove 405ab0c005 Merge pull request #4000 from theotherjimmy/config-typechecking
Add some type checking of configs
2017-03-29 22:39:57 +01:00
Sam Grove c958eb45bb Merge pull request #3998 from theotherjimmy/remove-dead-code
Remove dead code in tools
2017-03-29 22:28:29 +01:00
Sam Grove 432162f9e3 Merge pull request #3997 from theotherjimmy/remove-project-api
Move contents of project_api to export/__init__.py
2017-03-29 22:26:59 +01:00
Sam Grove 8784913052 Merge pull request #3995 from theotherjimmy/targets-refactor
Move target related code into it's own directory
2017-03-29 22:25:46 +01:00
Sam Grove 9875c29e60 Merge pull request #3990 from u-blox/c027_boot_fix
UBLOX_C027: construct a ticker-based wait, rather than calling wait_ms(), in the …
2017-03-29 22:23:06 +01:00
Sam Grove b25eaf5d85 Merge pull request #3979 from NXPmicro/KW24D_Pindefines
KW24D: Add missing SPI defines and Arduino connector definitions
2017-03-29 22:19:23 +01:00
Martin Kojtal 16bf07efae Merge pull request #4021 from bridadan/fix_nrf52840_dk
Fixing a macro to detect when RTOS was in use for the NRF52840_DK
2017-03-29 16:27:19 +01:00
Sam Grove cd7abc019f Merge pull request #3996 from c1728p9/algo_generation
Check in algo generation code
2017-03-27 10:32:14 +01:00
0xc0170 424fd78161 flash: fix flash algo generated - protect with DEVICE_FLASH 2017-03-26 17:59:40 +01:00
Jimmy Brisson 0ed0a9e1b0 Remove the nrf_soc_nosd directory
This removes the duplicate header files from the build. We were getting
lucky on most invocations of `mbed compile` in that these headers were
searched for after some others, but not when exporting to uvision.
2017-03-24 11:21:30 -05:00
Brian Daniels 1019cb0bfe Fixing a macro to detect when RTOS was in use for the NRF52840_DK 2017-03-24 10:16:13 -05:00
Anna Bridge 35a561217a Merge pull request #3934 from stevew817/siliconlabs/update_sdk_tbsense_12
[Silicon Labs] Update to HAL and devices
2017-03-24 14:16:50 +00:00
Anna Bridge a49144a0b2 Merge pull request #3922 from adbridge/master
Fixed/improved error parsing from API messages.
2017-03-24 14:16:30 +00:00
Russ Butler 70f32526b3 Check in algo generation code
Check in scripts which are able to generate flash algos for supported
targets.

To initially download all packs the following command should be run:
"python extract.py --rebuild_all"

After that all supported targets can be rebuilt by running:
"python extract.py"

Finally, to rebuild an individual target you can used its pack name:
"python extract.py --target STM32F302R8"
2017-03-23 13:57:12 -05:00
Jimmy Brisson 75ec7b744e Remove dead code in tools 2017-03-23 11:39:40 -05:00
Anna Bridge 12eb5b702d Merge pull request #3841 from nvlsianpu/nRF52840_target
Add nRf52840 target
2017-03-23 15:45:44 +00:00
Anna Bridge 039ef42822 Merge pull request #3867 from geky/fs-revert-filehandle
Filesystem: Revert deprecation of FileHandle
2017-03-23 15:45:01 +00:00
Anna Bridge 2fb65e7bd9 Merge pull request #3949 from andresag01/dirent-from-c
Fix C declaration of dir functions and types
2017-03-23 15:41:58 +00:00
Anna Bridge 2bf97910ad Merge pull request #3968 from OpenNuvoton/nuvoton_ccli8
[Greentea] Fix test code mbed-os-tests-mbed_hal-flash
2017-03-23 15:41:21 +00:00
Anna Bridge fd5c327de1 Merge pull request #3976 from yogpan01/master
mbed-coap error fixes merge to mbed OS
2017-03-23 15:40:41 +00:00
Anna Bridge ebfe04a841 Merge pull request #3975 from kjbracey-arm/lwip_buf_free
NSAPI/lwIP: Free held netbuf on close
2017-03-23 15:39:52 +00:00
Mahadevan Mahesh c1ed01e0ed KW24D: Add missing SPI defines and Arduino connector definitions
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-03-23 09:16:29 -05:00
Seppe Stas 5c4c6ace0f Fixed OBOE in async serial tx for NRF52 target, fixes #4002 2017-03-23 10:51:46 +01:00
Jimmy Brisson d5637bb785 Add some type checking of configs
Before, the types were not checked and just expected. The old behavior
would cause lots of tracebacks, or, much worse, convert things like:
```
{
     "target_overrides": {
        "*": {
		"target.macros_add": "CONFIG_GPIO_AS_PINRESET"
        }
     }
}
```
into a definition of each of the letters as macros that expand to
nothing, causing massive compilation problems.

I resolved this by adding some type checking to the config data. Now
there is a type check for most of the fields within a library and
application configurations.
2017-03-22 16:55:07 -05:00
Jimmy Brisson 70ac60710c Move contents of project_api to export/__init__.py
The file `project_api.py` was poorly named and caused much confusion.
Given that it was actually a front end to the exporters, I put it into
the export sub-dir.
2017-03-22 15:56:35 -05:00
Jimmy Brisson f590dc11bd Move target related code into it's own directory
This should make it easier to navigate the code base
2017-03-22 15:20:09 -05:00
Rob Meades 965404c09e Construct a ticker-based wait, rather than calling wait_ms(), in the C027 board startup code since, for mbed 5, wait_ms() is an RTOS function and the RTOS is not initialised at this stage in start-up. 2017-03-22 15:15:06 +00:00
Andrzej Puzdrowski 680d086c70 [nRF52840] use core_util_critical_section_enter/exit instead of __enable_irq/__disable_irq 2017-03-22 13:15:11 +01:00
Sam Grove 75f6f2db30 Merge pull request #3969 from bcostm/fix_nucleo-f302r8_can_pins
NUCLEO_F302R8: Add missing PB_8/PB_9 CAN pins
2017-03-22 12:08:16 +00:00
Sam Grove 18dee8f2f2 Merge pull request #3953 from jeromecoutant/PR_LOOP_TESTS
OS2 tests minor updates for STM32
2017-03-22 12:07:21 +00:00
Sam Grove 2ec6ee4a24 Merge pull request #3951 from jeromecoutant/PR_F303ZE
[NUCLEO_F303ZE] Correct ARDUINO pin
2017-03-22 12:06:51 +00:00
Sam Grove 4b04a81d3d Merge pull request #3939 from ARMmbed/update_mbed-trace
Update mbed trace
2017-03-22 12:06:21 +00:00
Sam Grove ead3170d0f Merge pull request #3933 from phyokyaw/master
#3593 Added template entry to fix exported project build error.
2017-03-22 12:05:12 +00:00
Sam Grove 16304ae18d Merge pull request #3924 from theotherjimmy/fix-export-build-dir
Don't set the build_dir to anything on export
2017-03-22 12:04:34 +00:00
Sam Grove 3d50554105 Merge pull request #3920 from mazimkhan/master
Heap size adjusted to work for both tls-client and mbed-client
2017-03-22 12:04:01 +00:00
Sam Grove 2d2479ac1c Merge pull request #3918 from OpenNuvoton/nuvoton
[NUC472/M453] Support unique locally administered MAC address and other driver updates
2017-03-22 12:03:19 +00:00
Sam Grove 9677218d0c Merge pull request #3747 from geky/bd-verbose-test
bd: Add randomness to block device test and more debug friendly output
2017-03-22 12:02:51 +00:00
Sam Grove 586c31a604 Merge pull request #3738 from jamike/fix-3684-TARGET_STM_USB_CONFIG
fix STM USB config after L4 ,F4, F7 file tree changes
2017-03-22 12:02:19 +00:00
Ron Eldor c78f73ca63 Fix compilation errors on linux machine
Change path of include from '\' to '/', which works on linux as well.
2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski 71f302268e [NRF52840] Removed nrf52 targets files form nrf5_sdk13 sources. 2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski f6da6c0283 [NRF52840] code formating, CR changes
corrected spi_init() to properly handle re-initialization… #3842
2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski b1b802f96c i2c_api implementation has been changed in order to support single byte reads and writes (the latter are used in I2CEeprom module used in CI tests, and this caused that tests-i2c-api were failing). These operations (single byte transfers) are not possible to achieve with the driver from nrf5 SDK (nrf_drv_twi), so the new implementation uses TWI HAL only. 2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski e798edc604 [NRF52840]: fix mbed-os-rtos-rtx-target_cortex_m-tests-memory-heap_and_stack@IAR by
increasing heap size for IAR. Corected initial MSP for ARMCC.
2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski 807cd23ed1 [nRF52840] Removed nRF52840 from memory constrained device list. 2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski b1e55094aa [NRF52480] fix bugs:
- 128 bits service's UUID discovered by a GATT client was shifted.
- not possible to connect while being scanning.
- not possible to scanning while being connected.
    for sd >= 3 whitelisting is now setups into setWhitelist method
- Gap::setAddress could failed
- Gap::getWhitelist wron implemenation
2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski 9f0d754ab6 [NRF5_SDK13] fix:
- whitelistin setup modifies identitiy flag and omits address' type.
2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski f32da7a9ee [nRF5_SDK13] fix:
Gap::setAddress implementation
Gap::getPermittedTxPowerValues implemnetation
2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski 3a81e23cf2 [nRF5_SDK13] Changes from CR.
- fix typso, renaming, repharse commnets.
- fix alghoritm of white/id lists setup functions in nRF5xGap class.
2017-03-22 08:38:34 +01:00
Andrzej Puzdrowski 113ae4e06b [NRF5_SDK13] fix:
- bad number of pin from nRF52840 ,
- bad type of mask of gpio for nRF52940
- typo (object.h)
- revert abort func. to spi_master driver
- update twi_master driver to the newest (e8527f65e90eee6a4dd48ca55d3fc051a556320a master SDK nRF5)
2017-03-22 08:38:34 +01:00