Commit Graph

10284 Commits (067fe9b0e5634781aad5e22fb625cbb4b01f0419)

Author SHA1 Message Date
Sam Grove 067fe9b0e5 Merge pull request #3848 from jamike/USBAUDIO_JITTER
USBAudio: writesync with 1 sample jitter capability.
2017-03-30 00:01:07 +01:00
Sam Grove b9bc2c0e4c Merge pull request #4065 from NXPmicro/K66_Move_bss_to_RAM2
K66F: Move bss section to m_data_2 Section
2017-03-29 23:08:51 +01:00
Sam Grove d7d45683bb Merge pull request #4059 from stevew817/rename-thunderboard
[Silicon Labs] Rename targets
2017-03-29 23:07:22 +01:00
Sam Grove 782395dfa7 Merge pull request #4049 from tung7970/fix-tools
tools - turn off page alignment of sections
2017-03-29 23:05:47 +01:00
Sam Grove acaf5fbb42 Merge pull request #4046 from jamike/USBHOST_HUB_FIX
USBHOST : fix device disconnection from hub during hub port reset
2017-03-29 23:02:39 +01:00
Sam Grove e3c0ac6c17 Merge pull request #4020 from jeromecoutant/PR_L011
NUCLEO_L011K4 remove unsupported tool chain files
2017-03-29 22:50:35 +01:00
Sam Grove d467f7d4bc Merge pull request #4012 from monkiineko/master
STM32: Correct I2C master error handling
2017-03-29 22:49:15 +01:00
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
Tony Wu 72589dfef3 tools - turn off page alignment of sections
By default, ld sets page alignment of sections to 0x8000, which bloats
up elf file size. This behavior is unnecessary for MCU.

Example:

1. page alignment on

mbed.elf file size 144936

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x008000 0x00000000 0x00000000 0x00400 0x00400 R   0x8000
  LOAD           0x008400 0x00000400 0x00000400 0x00010 0x00010 R   0x8000
  LOAD           0x008410 0x00000410 0x00000410 0x0ab3c 0x0ab3c RWE 0x8000
  LOAD           0x018000 0x20000000 0x0000af4c 0x008d0 0x008d0 RW  0x8000
  LOAD           0x01b81c 0x0000b81c 0x0000b81c 0x00000 0x00004 RW  0x8000
  LOAD           0x020000 0x1fff0000 0x1fff0000 0x00000 0x00400 RW  0x8000
  LOAD           0x0188d0 0x200008d0 0x200008d0 0x00000 0x08860 RW  0x8000

2. page alignment off

mbed.elf file size 91792

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000114 0x00000000 0x00000000 0x00400 0x00400 R   0x4
  LOAD           0x000514 0x00000400 0x00000400 0x00010 0x00010 R   0x1
  LOAD           0x000528 0x00000410 0x00000410 0x0ab3c 0x0ab3c RWE 0x8
  LOAD           0x00b068 0x20000000 0x0000af4c 0x008d0 0x008d0 RW  0x8
  LOAD           0x00b938 0x0000b81c 0x0000b81c 0x00000 0x00004 RW  0x1
  LOAD           0x00b938 0x1fff0000 0x1fff0000 0x00000 0x00400 RW  0x1
  LOAD           0x00b938 0x200008d0 0x200008d0 0x00000 0x08860 RW  0x8

Signed-off-by: Tony Wu <tonywu@realtek.com>
2017-03-29 05:48:30 +08:00
Steven Cooreman 0c20f33d2b [Silicon Labs] Rename targets
Due to limitation in the mbed website backend (board names need to be <= 19 characters), we are shortening the CLI target names from THUNDERBOARD to TB.
@screamerbg
2017-03-28 20:14:16 +02:00
Mahadevan Mahesh 5d45b5a0ca K66F: Move bss section to m_data_2 Section
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-03-28 08:58:42 -05:00
Michel Jaouen f6f73938eb USBHOST : fix device disconnection from hub during hub port reset 2017-03-28 11:32:43 +02:00
Michel Jaouen 5913cf309e USBAudio: writesync with 1 sample jitter capability. 2017-03-28 10:22:20 +02: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
Bradley Scott 2eb4048bbe STM32: Correct I2C master error handling
If I2C slave support is included, then the I2C error handler would
always reset the I2C address, resulting in incorrectly changing the
I2C state to listen for a controller configured as I2C master.  This
change conditionalizes the address setting to only occur if the
controller was in slave mode when the error occurred.
2017-03-24 10:16:34 -04: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
jeromecoutant 2f8d54ab07 NUCLEO_L011K4 remove unsupported tool chain files 2017-03-23 17:56:45 +01: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